Commit Graph
4365 Commits
Author SHA1 Message Date
Jacopo Cappellato 26f9d773df As discussed in the dev list a few months ago, this commits removes Seleniumxml from the trunk.
Seleniumxml was a subcomponent of the framework/testtools intended to facilitate the usage of Selenium tests in OFBiz.
However it was never upgraded to the new version of Selenium and it has not been widely adopted by the community; the OFBiz community agreed to remove components/tools like this from the core distribution if they are optional/very specific or not well maintained or if there is (as in the case of Selenium) a valid external alternative to perform the same actions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Jacopo Cappellato ec61108dec Cleaned up some code that was adding the delegator/dispatcher/security/auth objects in the user session rather than the request;
1) removed the request-maps for changeDelegator from components' controller.xml files: they were not used
2) removed CoreEvents.changeDelegator(...): not used (apart from the request-maps removed at #1)
3) removed CoreEvents.changeDispatcher(...): not used
4) cleaned up some code (related to multitenant development): now the objects are set in the request rather than the session

PS: as a consequence this will also fix the issue reported in OFBIZ-4289


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Hans Bakker 85415ee454 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Sascha Rodekamp aa9dba062d Upgrade the datetime picker to version 1.0 and remove the old libraries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1351638 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 10:11:59 +00:00
Sascha Rodekamp 5bb1a47b5d Upgrade jQuery lib to 1.7.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1351605 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 08:49:53 +00:00
Hans Bakker e84bdd513e reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker 1df3707b0f security file with wrong reader-type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1348534 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 06:22:13 +00:00
Jacopo Cappellato f953d085fa Fixed xml validation for misplaced "error-page" element added by Hans in rev. 1208335.
Unfortunately the bug has been backported by Jacques to the 11.04 branch but I don't have time to backport the fix to the branches at the moment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1347559 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 10:26:40 +00:00
Jacopo Cappellato 6ad4f89105 As discussed in the dev list, removed the experimental jcr component; its development will continue in the proper branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1347478 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 08:14:28 +00:00
Hans Bakker 09aab3c22f reverted unwanted commit, reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1346264 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 07:16:03 +00:00
Hans Bakker 17c3df5c6e introduced a new data-reader : 'security'
Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .
It is still loaded as part of the reader 'demo'

to load the security files:
./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Jacques Le Roux b3c7000def Forgot to commit this file with r1345532
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345553 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:52:30 +00:00
Jacques Le Roux 9c8490bf80 A patch from Ankit Jain "Replaces != nullpattern in ftl file by ?? (which replaces deprecated ?if_exist)" https://issues.apache.org/jira/browse/OFBIZ-4916
jleroux: I simply removed some useless ?? when ?has_content was enough. I also found 3 other cases in returnPolicy.ftl that I fixed the same way than Ankit (using ??)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Jacques Le Roux a5fecf2bb3 Revert r1345473, I will rather review and commit https://issues.apache.org/jira/browse/OFBIZ-4916
Thanks to Jacopo spotting this (was harmful but stupid, really the kind of errors I make when too tired, not enough focus:D )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 11:09:02 +00:00
Jacques Le Roux cfd136db5d Fix a small bug, related to recent Freemarker changes, reported on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345473 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 09:46:28 +00:00
Jacques Le Roux 8513c6f03f A completing patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
Closes the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345435 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:20:07 +00:00
Jacques Le Roux fed8217a82 A patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
fixed few issues, 3 remains, Tri will have to choice

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345379 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 22:32:57 +00:00
Hans Bakker 2ac92d21d1 reverted unwanted change in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344607 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:04:42 +00:00
Hans Bakker 888619f7d8 removed 2 not used data items
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344598 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 08:45:03 +00:00
Jacopo Cappellato c6824a6db8 Improved code that manages the cache:
* removed unnecessary synchronization
 * protected the UtilCache object (static field) by making it private and final


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343646 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:19:21 +00:00
Jacopo Cappellato bb247813f7 Improved code that manages the cache:
* removed unnecessary synchronization
 * replaced non atomic containsKey+put+get with get + putIfAbsentAndGet
 * protected the UtilCache object (static field) by making it private and final


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343643 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 10:17:42 +00:00
Adam Heath dc65cf6699 Deprecate EntityUtil.getRelated(ByAnd|OrderBy)(|Cache), replaced with
the single getRelated variant.

EntityUtil.getRelatedByAnd(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedByAndCache(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedOrderBy(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

EntityUtil.getRelatedOrderByCache(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343532 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:38 +00:00
Adam Heath 123e69b53f DEPRECATION: specialpurpose: GenericValue.getRelated(ByAnd|OrderBy)(|Cache)
replaced by the single getRelated variant.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343530 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:13 +00:00
Adam Heath eea25bda04 DEPRECATION: specialpurpose/workflow: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343525 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:20:13 +00:00
Adam Heath 0367221f07 DEPRECATION: specialpurpose/scrum: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343524 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:20:04 +00:00
Adam Heath e92d3a52f4 DEPRECATION: specialpurpose/projectmgr: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343523 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:56 +00:00
Adam Heath fc00ab4926 DEPRECATION: specialpurpose/pos: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343522 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:47 +00:00
Adam Heath b474257971 DEPRECATION: specialpurpose/googlecheckout: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343521 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:40 +00:00
Adam Heath 803003dd88 DEPRECATION: specialpurpose/ecommerce: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343520 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:33 +00:00
Adam Heath 0019fcc75e DEPRECATION: specialpurpose/ebaystore: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343519 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:23 +00:00
Adam Heath fa6d58e5ed DEPRECATION: specialpurpose/workflow: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343503 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:20 +00:00
Adam Heath ad86a2b8ab DEPRECATION: specialpurpose/webpos: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343502 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:10 +00:00
Adam Heath b777ce3930 DEPRECATION: specialpurpose/scrum: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343501 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:16:02 +00:00
Adam Heath 249d62d4ea DEPRECATION: specialpurpose/projectmgr: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343500 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:53 +00:00
Adam Heath 66f7a6d12f DEPRECATION: specialpurpose/pos: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343499 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:43 +00:00
Adam Heath 4f908eefef DEPRECATION: specialpurpose/oagis: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343498 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:36 +00:00
Adam Heath 6b73b95a46 DEPRECATION: specialpurpose/googlecheckout: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343497 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:27 +00:00
Adam Heath 57b3d7a0a0 DEPRECATION: specialpurpose/googlebase: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343496 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:20 +00:00
Adam Heath c244b122b5 DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343495 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:07 +00:00
Adam Heath 5dcddcaa72 DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343493 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:59 +00:00
Adam Heath 942a106fa0 DEPRECATION: specialpurpose/ebaystore: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:37 +00:00
Adam Heath 8334813120 DEPRECATION: specialpurpose/assetmaint: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343491 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:29 +00:00
Adam Heath e471b1ba67 FORMATTING: Add final trailing newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343473 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:10:28 +00:00
Jacques Le Roux 65cd5c454e Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
These were missing in r1343064 (used * in Eclipse search, needed *.*)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343065 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 16:00:17 +00:00
Jacques Le Roux ceb46d0bb7 Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343064 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 15:47:32 +00:00
Jacques Le Roux 3f093889b9 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Adrian Crum 20994e6381 Fixed a bug in an eCommerce Freemarker template - https://issues.apache.org/jira/browse/OFBIZ-4899.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342852 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 04:32:22 +00:00
Jacopo Cappellato 39419bf4e1 Removed unused handler definitions and a useless comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342305 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:50:57 +00:00
Jacques Le Roux 8f0f2442fd 2 missing ASL2 headers, while at it...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:57:13 +00:00
Hans Bakker 96d7c6ae2f add account activation email type to product store which can be used for the to be approved registrations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341341 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:03:02 +00:00