Commit Graph
27737 Commits
Author SHA1 Message Date
Mridul Pathak 90772a68c0 [OFBIZ-7561] Attr Name should not be allowed to edit while updating Party Attribute record. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752901 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 07:00:29 +00:00
Deepak Dixit 1db94eeaee (OFBIZ-1319) Replace selectall.js occurance with OfbizUtil.js.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752900 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:46:24 +00:00
Deepak Dixit ef0d840b39 (OFBIZ-1319) Rename selectall.js to OfbizUtil.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752898 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:41:48 +00:00
Mridul Pathak 93a470fcf6 [OFBIZ-7525] UiLabels missing on Examples PDF. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752896 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:37:45 +00:00
Deepak Dixit 2d033da102 (OFBIZ-1319) Rename selectall.js to OfbizUtil.js
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752895 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:36:33 +00:00
Mridul Pathak c95e5b134b [OFBIZ-7823] Product lookup should be available while adding items in the shopping list. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752894 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:28:45 +00:00
Mridul Pathak 910c27ae72 [OFBIZ-7168] Run MRP shows all type of facilities, facilities of type "WAREHOUSE" should only be listed. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752893 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:17:04 +00:00
Mridul Pathak 26fe97b028 [OFBIZ-7700] Fixed file not found exception in export to ebay. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752892 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:09:40 +00:00
Mridul Pathak d2b95c8742 [OFBIZ-7761] Workeffort: Remove unused imports from groovy files. Thanks Ankit Joshi for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752891 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:02:04 +00:00
Jacques Le Roux c15e759b73 A patch from Michael Brohl for "iterateOverActiveComponents exists twice" https://issues.apache.org/jira/browse/OFBIZ-7749 reported by Pierre Smits
Currently the iterateOverActiveComponents function or tasks exists both in build.gradle and settings.gradle. Do we need both? 

This patch introduces a new Gradle file which holds the shared method iterateOverActiveComponents which is used by build.gradle and settings.gradle. Thanks Pierre for the trigger to learn some Gradle stuff


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752890 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 05:22:24 +00:00
Jacques Le Roux ae9935c633 A patch from Pierre Smits for "Move SeoConfig.xml to e-commerce" https://issues.apache.org/jira/browse/OFBIZ-6125
Currently the configuration file (SeoConfig.xml) is incorporated in the product component. However this is more related to how the e-commerce operates than to the functions in the backend catalog and warehousing applications. 
The file should therefore be moved to its appropriate place.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752863 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 18:26:44 +00:00
Jacques Le Roux 702af6cd54 A patch from Pierre Smits for "Add download definition for drivers of commonly used open source rdbms to build gradle" https://issues.apache.org/jira/browse/OFBIZ-7793
With the move to dependency mgt through gradle/gradlew the download definitions for the drivers of the most commonly used rdbms solutions were removed.
Adding these to the build.gradle file will deliver a great pleasure adoption wise through a small effort.

jleroux: This is an agreed temporary workaround while we are trying to implement interactive tasks at OFBIZ-7808

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752843 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 15:45:13 +00:00
Jacques Le Roux 1dd4807be7 A patch from Pierre Smits for "Rename search.properties in special purpose/lucene to lucene.properties" https://issues.apache.org/jira/browse/OFBIZ-6224
Currently many properties files in various components are named after the component, i.e. the bi component has bi.properties.
In order to have consistency from component to component the search.properties file in the special purpose/lucene component must be renamed to lucene.properties and all references in components should reflect the change.

jleroux: I had to handle the src path change

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752842 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 15:31:14 +00:00
Taher A. Alkhateeb b37ef2d280 Migrate ALL java files from /src to /src/main/java - OFBIZ-7790
This is the first of two steps in the above mentioned JIRA. This
first step changes the java source directory for every component
from /src to /src/main/java. The next step will be adding unit
tests to every component in /src/test/java

Thank you to Deepak Dixit for tips on how to use the SVN commands
to make the appropriate file moving.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752838 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 14:17:14 +00:00
Jacques Le Roux 67a988ab0e Fixes "Bug in OfbizSetup Create Customer Step" - https://issues.apache.org/jira/browse/OFBIZ-7797 using a proposition from Derek Lew
jleroux's disclaimer: I did not test but the change is quite straigtforward

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752810 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 10:07:38 +00:00
Jacques Le Roux bc06c7e302 For "Clean the tools directory" - https://issues.apache.org/jira/browse/OFBIZ-7795 - This is in relation with the move from Ant to Gradle
Completes r1752771, I did not change the not concerned scripts. Though I worked carefully, I could have missed something so please check (notably typos, I did not test all). Note: we had no "apply-ofbiz-patches" Ant target (in applyOfbizPatchesAndHotDeploy.sh)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752806 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 09:48:10 +00:00
Jacques Le Roux 6382d9e31b For "Clean the tools directory" - https://issues.apache.org/jira/browse/OFBIZ-7795 - This is in relation with the move from Ant to Gradle
Fixes and remove few scripts, removes useless ofbiz.aptana.js.format.xml file, more to come... 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752771 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 05:11:09 +00:00
Jacques Le Roux c6d6a5ae09 Removes useless commons-httpclient:3.1 library -related with OFBIZ-7534
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752762 13f79535-47bb-0310-9956-ffa450edef68
2016-07-15 04:01:59 +00:00
Taher A. Alkhateeb 477750e81b Fix multiple flaws in the build scripts (mostly OS) related - OFBIZ-7779
Thank you Jacques Le Roux for reporting this! This commit achieves the
following improvements:

- refactor the code for the settings to make it more organized
  by moving blocks of code into more appropriate locations in
  the build script
- Remove the exclusion on a library that is no longer necessary
  thanks to work done by Gil Portenseigne to remove these libraries
- refactor settings.gradle to define projects in an OS independent way.
  I realized that the projects were improperly defined in windows
  which makes their count 49 as opposed to 52 projects on other OSes
- Introduce regex expressions to properly format the .classpath file
  for eclipse. The regex expressions makes identifying the unwanted
  items possible for all OSes

Luckily Jacques Le Roux uses Windows OS and as he was testing the framework
with eclipse he reported imporper path settings generated by the gradle
eclipse task.

Upon investigation, we realized multiple problems exist in the build scripts
relating to operating-system specific path delimiters. All tests pass
on both windows and Linux and eclipse is not complaining on either OS
from the .classpath generated file. Hence committing.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752658 13f79535-47bb-0310-9956-ffa450edef68
2016-07-14 13:12:24 +00:00
Nicolas Malin 8a15d41bdc Add changeByUserLoginId field for BudgetStatus and use entity-auto service to create values. Thanks Nameet Jain for sumbmit and resolve isse on OFBIZ-7619
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752602 13f79535-47bb-0310-9956-ffa450edef68
2016-07-14 08:40:28 +00:00
Jacques Le Roux e833382970 A fixing patch from Charl Bouwer for "Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml" https://issues.apache.org/jira/browse/OFBIZ-7778
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752344 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 20:45:28 +00:00
Taher A. Alkhateeb f62f7b11e9 fix multiple issues in eclipse plugin for gradle - OFBIZ-7779
Thanks to Jacques Le Roux for informing us. This patch fixes
the following in gradle for eclipse:

- First, make all references to files relative to ${rootDir}.
  This has the added value of being able to work when called
  from any directory and resolves some issues with eclipse
- Remove the config resources from eclipse. These config resources
  represent any files in $componentName/config which are necessary
  for OFBiz to work but not needed as a source directory in eclipse.

Still work in progress and more to come


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752302 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 15:21:06 +00:00
Jacques Le Roux e8d4e38164 A patch from Charl Bouwer for "Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml" https://issues.apache.org/jira/browse/OFBIZ-7778
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752253 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 09:31:49 +00:00
Jacques Le Roux 8ffac5b155 DependencyCheck.groovy should not be there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752245 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 07:10:41 +00:00
Nicolas Malin 8c4609e277 Add changeByUserLoginId field for ShipmentStatus and use entity-auto service to create values. Thanks Nameet Jain for the original submit on OFBIZ-7618 and Charles STELTZLEN to finish this issue
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752233 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:14:35 +00:00
Nicolas Malin e79d59a785 Improve FinAccountStatus entity to manage changeByUserLoginId field with conversion of minilang service to entity-auto. This previous service manage a specific case for the statusEndDate field that set the date when a new entry is stored on statusDate and the same value on previous stored on statusEndDate. This field is also present on ExampleStatus, so extend the EntityAuto engine to manage this case. Thanks Nameet Jain for the OFBIZ-7623
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752232 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:05:34 +00:00
Gil Portenseigne 3130f0eb95 OFBIZ-7763 :
Remove all bsh libraries and bsh remaining fonctionnalities.
Bsh interpreter is replaced by GroovyShell evaluation.

To avoid groovyShell undefined var exception, the evaluated expression is analysed, detecting variables used and setting its to null if undefined in context.
Today only alphabetic variable with '_' are detected (i.e. my_variable==null).
Add in example a test replacement of " syntax to simple quote.
Remove all found bsh references

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752231 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 23:04:54 +00:00
Julien Nicolas e16a4d0d10 OFBiz-7622 follow status change user follow up
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752219 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 21:51:24 +00:00
Jacques Le Roux 87d4d4a9da No functional changes, removes superfluous blanks (reported error when validated in OFBiz)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752151 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 12:49:15 +00:00
Jacques Le Roux 640ec64bb7 No functional changes, removes superfluous blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752150 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 12:42:20 +00:00
Taher A. Alkhateeb 36055e3167 remove unused function from the build script - OFBIZ-7534
A properties reader function is no longer needed and hence
deleted from build.gradle.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752146 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 11:37:59 +00:00
Deepak Dixit 2d23e50680 (OFBIZ-7765) Fix typo, Added mistakenly removed closing comment tag.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752142 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 10:30:43 +00:00
Deepak Dixit 96b5ff4f52 (OFBIZ-7765) Removed testBsh service references from code. Thanks Rishi Solanki for pointing out.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752140 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 10:22:32 +00:00
Taher A. Alkhateeb 6c1150e031 Minor: fix the description of gradle loadDefault task - OFBIZ-7534
The correct description is load default data, not load all
data since the default in OFBiz serveri is to load seed,
seed-initial and demo only


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752135 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 09:38:01 +00:00
Taher A. Alkhateeb 5aecee0531 Allow gradle to generate JavaDocs even if they contain bad formatting - OFBIZ-7775
Gradle does not allow generating JavaDocs if they have javadocs that are not properly
formatted. This commit will override this behavior by adding the following code snippet:

javadoc.failOnError = false

However, the long term solution is to actually fix all the JavaDoc errors in our current
OFBiz API

Note that gradle will continue to show the errors in standard output, but the build will
not fail


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752131 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 08:43:34 +00:00
Taher A. Alkhateeb b543e3fb1c Fix the gradle build script on multiple reported issues - OFBIZ-7534
We were lucky to discover some problems in the build script on the
windows operating system (Thank you Jacques Le Roux). After investigating
the matter we realized that among other problems the process name (executable)
is massive and leads to problems on windows. However, this is not the only
problem with the current build script setup. Sometimes exeucting tasks in a combo
fail due to a dependency-tree problem with the current implementation.

The solution was to create a Jar file that holds the classpath and hides it from
the process name. Hence, instead of a massive classpath shown in the command process
it is all declared inside a single jar file. This lead to multiple improvements in the
build script including:

- The process name is now much shorter and cleaner both on Windows and Unix-like systems
- The task teminateOfbiz now has a much cleaner implementation on Unix systems
- Executing any tasks in combos would still maintain the correct ordering of executing graph

The most tricky part to figure out in the implementation is how to build the Jar Class-Path
for each operating system. Unfortunately, on Windows it was extremely tricky as windows
accepts weird naming conventions on the Class-Path manifest input. For example, \C:\whatever
will work but C:\whatever will not work

So the main difference in this implementation now is that the ofbiz server commands will
retrieve the classpath from a jar, and not directly construct it in the command line


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752125 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 06:54:39 +00:00
Taher A. Alkhateeb c863952a75 finetune the .gitignore file since jar tracking is no longer existing - OFBIZ-7534
remove unnecessary jar entries in .gitignore. Also for some reason .gitignore was
not working properly due to some encoding or EOL character so I had to recreate
with the correct entries


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752065 13f79535-47bb-0310-9956-ffa450edef68
2016-07-10 07:05:22 +00:00
Taher A. Alkhateeb 77789a0178 removing delete task in gradle due to duplication - OFBIZ-7534
Not necessary to delete the file because the gradle "clean" task
already deletes the entire build directory


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752060 13f79535-47bb-0310-9956-ffa450edef68
2016-07-10 06:27:17 +00:00
Taher A. Alkhateeb 43d1a738b1 Fix issue with gradle not working on Windows - OFBIZ-7534
Issue reported by Jacques Le Roux (Thank you). Strangely only
Windows detected this issue. It is very simple to resolve, just
run the master script evaluation phase before running the subprojects
evaluation phase of gradle. This fixes the issue and provides a more
solid program for both Unix-OSs and Windows


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752059 13f79535-47bb-0310-9956-ffa450edef68
2016-07-10 06:06:25 +00:00
Jacques Le Roux 23c20543af svn ignores .classpath, now generated with .project (already svn ignored) with new "gradlew eclipse" command
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752044 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 20:06:04 +00:00
Jacques Le Roux 2dbfbea9f9 Temporarily comments because the "high-ascii" test is failing on BuildBot (only) when switching to Gradle
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752043 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 19:56:35 +00:00
Taher A. Alkhateeb 200bcc67e4 Add a tip in the README.md file on how to apply tab completion - OFBIZ-7534
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752035 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:27:36 +00:00
Taher A. Alkhateeb 4d2b415a91 Another major patch for OFBIZ-7534 replacing Ant with Gradle
This is the first patch that takes OFBiz to the point of no return
in terms of switching from Ant to Gradle build system. Specifically
this patch applies the following items:

- Delete all old Ant and Maven build scripts
- Delete 169 Jar libraries and replace them with remote ones in the
  gradle build script
- update the gradle build scripts for the dependencies and other minor
  changes needed for the script work correctly

All tests pass with the command ./gradlew cleanAll loadDefault testIntegration

Again, thank you for everyone who contributed valueble time and effort in this
process.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752033 13f79535-47bb-0310-9956-ffa450edef68
2016-07-09 18:10:19 +00:00
Jacopo Cappellato 6d3f6d1ceb Removed two unused jars.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751951 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 18:05:44 +00:00
Jacopo Cappellato 539084a511 OFBIZ-7763 Removed a series of artifacts dependent on the old Beanshell jar that is going to be removed from the project; specifically:
* removed the code that implemented the deprecated "call-bsh" operation in Minilang
* removed the BeanShellContainer (it has been disabled a long time ago)
* removed the BeanShell service engine, no more used


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751947 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 17:53:59 +00:00
Jacopo Cappellato f6ab874a61 OFBIZ-7765 converted Minilang code that was using the deprecated "call-bsh" element to use the "script" element with Groovy. Thanks to Deepak Dixit for the work and the patch and to Nicolas Malin for the review and imporvement.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751945 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 17:37:36 +00:00
Deepak Dixit 77c06249d4 (OFBIZ-7764) Removed TaxAuthorityVATReport forms and related controller request, as its mark as WIP since 2009.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751865 13f79535-47bb-0310-9956-ffa450edef68
2016-07-08 08:08:23 +00:00
Jacopo Cappellato 02cf86f31e Removed the watermarker jar and the code that was dependent on it because Watermarker is a dead project and the jar is no more publicly available, so we will not be able to run it in releases.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751819 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:35:47 +00:00
Jacopo Cappellato 7820ab91de Removed a label no more used after the removal of JDBM in commit 1751817; thanks to Nicolas Malin for spotting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751818 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:09:47 +00:00
Jacopo Cappellato e0da901504 OFBIZ-7760 Removed from UtilCache the ability to persist entries in the file system.
This feature has been contributed a long time ago as an experimental feature but never really matured into a production ready artifact: since it was contributed, no users asked about how to use it, or tested it, or reported bugs or enhancement requests.
More importantly, the feature has always been disabled in the OFBiz framework (i.e. the widget code and the entity engine code were not using it).
This removal should not impact our user base; however, after the removal, an entry to the Attic will be created to keep track of it and to make it easier, to interested users, to get this code, improve it (e.g. by making it dependent on a live external jar, for example MapDB instead of JDBM) and possibly contribute it back to the project.
The most compelling reason for its removal is that the feature was based on a snapshot, unreleased version of JDBM, which is now a mostly dead project: for licensing reasons we are no more allowed to bundle jars in our releases. Additionally, having code that relies an old jar from a no more active project represents a maintenance issue for the community.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751817 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 17:00:05 +00:00