Commit Graph
10472 Commits
Author SHA1 Message Date
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
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 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
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
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
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
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
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 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
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
Jacques Le Roux b06357197c A fixing patch from Tufan Kaynak for "Geo data for Turkey" https://issues.apache.org/jira/browse/OFBIZ-7755
Correction for relating to the parent in REGIONS relation (TR instead of right TUR)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751790 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 12:35:10 +00:00
Jacques Le Roux 9ab9f3a70e No functional change, fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751680 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 13:40:21 +00:00
Nicolas Malin fa265a8460 no functionnal change, fix formating if
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751670 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 12:21:04 +00:00
Nicolas Malin 5bb21306a6 no functionnal change, remove space end line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751667 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 12:18:32 +00:00
Nicolas Malin 55660a9859 no functionnal change, remove space end line
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751660 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 11:43:35 +00:00
Jacques Le Roux 2eb79775e5 A patch from Tufan Kaynak for "Geo data for Turkey" https://issues.apache.org/jira/browse/OFBIZ-7755
Files for including Province data for Turkey via GeoData_TR.xml and address format for Turkey in GeoData.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751635 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 09:08:07 +00:00
Nicolas Malin 9e72d270f1 Add new process on entity-auto for create invocation to populate automatically the field changeUserLoginId and statusDate for EntityStatus. The purpose is track userlogin for status change, and apply on all entity that cover the EntityStatus concept. The origin issue has been raise by Nameet Jain on OFBIZ-7611
This improvement add a control to not update or delete an EntityStatus by entity-auto (for help developer) and complete unit test

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751530 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 19:06:52 +00:00
Arun Patidar 7d7fba2cd2 Applied patch from jira issue - OFBIZ-7717 - Enforce noninstantiability to EntityTypeUtil class. Thanks Rahul Singh Kushwah and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751482 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 14:05:06 +00:00
Arun Patidar b0b67a436c Applied patch from jira issue - OFBIZ-7716 - Enforce noninstantiability to CommonWorkers class. Thanks Rahul Singh Kushwah and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751480 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 14:00:40 +00:00
Arun Patidar 3aea5616fb Applied patch from jira issue - OFBIZ-7708 - Enforce noninstantiability to UrlServletHelper class. Thanks Rahul Singh Kushwah and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751477 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:57:14 +00:00
Arun Patidar 13cb2062bc Applied patch from jira issue - OFBIZ-7692 - Enforce noninstantiability to AuthHelper class. Thanks Rahul Singh and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751473 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:51:33 +00:00
Arun Patidar 2ce5aa29ba Applied patch from jira issue - OFBIZ-7684 - Enforce noninstantiability to ServiceConfigUtil class. Thanks Rahul Singh and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751470 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:45:14 +00:00
Pranay Pandey a1e8562c3a [OFBIZ-7636] No functional changes. framework ftl reformatting for better code readability. Thanks Vaibhav Jain for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751469 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 13:41:14 +00:00
Mridul Pathak 2da83e9dc1 [OFBIZ-7443] UI improvements on XML Data Export screen: label "Entity Names:" not positioned correctly; "Entity Sync Dump:" text box not visible in all the themes except Tomahawk. Thanks Gopal Yadav for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751430 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 10:00:20 +00:00
Deepak Dixit dd05dbe7a3 (OFBIZ-7750) Applied patch jira issue.
===========================================
Error adding foreign key: ModelEntity was null for related entity name Tenant
===========================================

Thanks Nameet Jain for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751423 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 08:54:26 +00:00
Ashish Vijaywargiya e1e45da5ed Applied patch from jira issue - OFBIZ-7705 - Remove Google Checkout component from specialpurpose as it was discontinued.
Thanks Ravi for removing the reference of Google Checkout from everywhere.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751393 13f79535-47bb-0310-9956-ffa450edef68
2016-07-05 04:24:53 +00:00
Divesh Dutta 1cdc79d383 [OFBIZ-7667] Webtools : Checkbox and Radio buttons should get selected on clicking upon their labels. Thanks Ratnesh Upadhyay for your patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751348 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 17:09:30 +00:00
Arun Patidar c4a1fcb8e0 Applied patch from jira issue - OFBIZ-7691 - Enforce noninstantiability to PeriodWorker class. Thanks Rahul Singh and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751337 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:40:15 +00:00
Arun Patidar 0b69aac649 Applied patch from jira issue - OFBIZ-7689 - Enforce noninstantiability to PeriodWorker class. Thanks Rahul Singh and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751336 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:36:07 +00:00
Arun Patidar ed5cf7f249 Applied patch from jira issue - OFBIZ-7744 - Enforce noninstantiability to MiniLangUtil class. Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751335 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:31:09 +00:00
Arun Patidar e5eb6194e7 Applied patch from jira issue - OFBIZ-7686 - Enforce noninstantiability to EntityEcaUtil class. Thanks Pratik Kulshreshth and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751333 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:26:14 +00:00
Arun Patidar 43ae3e4492 Applied patch from jira issue - OFBIZ-7688 - Enforce noninstantiability to StatusWorker class. Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751332 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:21:51 +00:00
Arun Patidar 2441a32c25 Applied patch from jira issue - OFBIZ-7687 - Enforce noninstantiability to KeywordSearchUtil class. Thanks Chinmay Patidar and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751331 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:15:33 +00:00
Arun Patidar d364ddc420 Applied patch from jira issue - OFBIZ-7742 - Enforce noninstantiability to EntityGroupUtil class. Thanks Rohit Koushal and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751330 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:12:01 +00:00
Arun Patidar 1b56877e03 Applied patch from jira issue - OFBIZ-7685 - Enforce noninstantiability to RecurrenceUtil class. Thanks Rohit Koushal and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751329 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 16:05:26 +00:00
Arun Patidar 002513ff7e Applied patch from jira issue - OFBIZ-7740 - Enforce noninstantiability to EntityUtilProperties class. Thanks Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751324 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:50:27 +00:00
Arun Patidar 64b8f07724 Applied patch from jira issue - OFBIZ-7541 - Enforce noninstantiability to KeyStoreUtil class. Thanks Rishi Solanki and Pratik Kulshreshth for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751322 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:44:12 +00:00
Arun Patidar d39f4b9dd5 Applied patch from jira issue - OFBIZ-7630 - Enforce noninstantiability to UtilNumber class. Thanks Rishi Solanki and Anurag Chandak for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751321 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:36:44 +00:00
Taher A. Alkhateeb c2cb34d1e9 First commit in replacing Apache ant with Gradle - OFBIZ-7534
This commit represents a pivotal change in the history of the
project in which the build system is being replaced from Apache
Ant to Gradle of which the discussion mail thread link is below.

Thanks to everyone who helped with testing and feedback

This commit delivers the following:

- add the gradle wrapper directory in gradle/* which holds
  all items necessary for gradle to run
- add the build.gradle master script
- add the settings.gradle script which declares all the subprojects
- add documentation for how to use everything in a new file called
  README.md (written in markdown)

The new script is capable of the functionality that used to exist
in Ant with some additional features including automation of eclipse
files generation and many other functions.

To complete this new feature, we need to apply the following _after_
this commit:
- change the buildbot to utilize gradle instead of ant
- delete all ant & maven scripts
- replace all local jars with remote ones from jcenter

Reference thread: http://ofbiz.markmail.org/message/vstt3wxuubmjgmqj?q=Important+Changes+to+Trunk+and+Use+of+Ant+%26+Gradle

Reference JIRA: https://issues.apache.org/jira/browse/OFBIZ-7534



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751309 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:22:47 +00:00
Arun Patidar 19e96ab827 Applied patch from jira issue - OFBIZ-7593 - Enforce noninstantiability to UtilNumber class. Thanks Rishi Solanki and Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751307 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:19:07 +00:00
Arun Patidar 9372e9a540 Applied patch from jira issue - OFBIZ-7733 - Enforce noninstantiability to EntityUtil class. Thanks Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751306 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:06:34 +00:00
Arun Patidar 74afcc004d Applied patch from jira issue - OFBIZ-7710 - Enforce noninstantiability to EntityFinderUtil class. Thanks Rishi Solanki and Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751305 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 15:04:00 +00:00
Arun Patidar 54a13d732f Applied patch from jira issue - OFBIZ-7600 - Enforce noninstantiability to UtilPlist class. Thanks Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751304 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 14:57:02 +00:00
Arun Patidar 96eb92df15 Applied patch from jira issue - OFBIZ-7590 - Enforce noninstantiability to UtilIO class. Thanks Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751300 13f79535-47bb-0310-9956-ffa450edef68
2016-07-04 14:51:45 +00:00