Commit Graph
14503 Commits
Author SHA1 Message Date
Adrian Crum 9c4150aa26 Fixed Mini-language script file that was pointing to the wrong XSD, reported by Tom on the user mailing list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360689 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 14:09:27 +00:00
Adrian Crum a17298a06e Removed unused "authz" security code - https://issues.apache.org/jira/browse/OFBIZ-4839.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360283 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 16:34:26 +00:00
Jacques Le Roux 302e44781d A patch from Ankit for "Error on Shopping List Page" Jain https://issues.apache.org/jira/browse/OFBIZ-4957
In the groovy EditShoppingList.groovy the value of lowIndex is 0 that's why in the ftl we should use lowIndex instead of lowIndex-1.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359500 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 07:11:38 +00:00
Hans Bakker 117d3f409f Add a find/approve/reject function for product reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1359479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 04:53:20 +00:00
Hans Bakker df86e7f69d update revision 1353381 to use CREATE/UPDATE?DELETE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357453 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:24:57 +00:00
Hans Bakker ff9542a4eb update revision 1352768 to use CREATE instead of ADMIN, suggestion from Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 03:07:58 +00:00
Jacques Le Roux e0aeb84002 At Jacopo's demand removes a link to MarkMail. I could have added a link to mail-archives.apache.org/mod_mbox/ofbiz-user but it's very minor anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357235 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 13:09:37 +00:00
Jacques Le Roux 00b4936522 Fixes a duplicated label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1357182 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 08:57:42 +00:00
Jacques Le Roux 6889ac074a No functional changes, only a small comment to better understand the meaning of those fields (excerpt from http://markmail.org/message/tvyghkw7rgq5bmqi there are more things interesting in this thread, other solutions to other problems, etc.)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356882 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 19:34:44 +00:00
Jacques Le Roux eae8348e7d Fixes a bug reported by Krishan Babbar on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355859 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 08:23:38 +00:00
Jacques Le Roux 5cabbee270 A patch from Olivier Heintz "Example Help data files has not been moved to example" https://issues.apache.org/jira/browse/OFBIZ-4935
Example component has been moved from framework to specialpurpose.
When example was in framework content data for help was loaded in content component because example was loaded before content.
Now it's possible (and more logical) to load content help for example in example.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355807 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 20:30:16 +00:00
Jacques Le Roux c34c6aadd5 A patch from Tom Burns for "Defects in Presentation of Role Type" https://issues.apache.org/jira/browse/OFBIZ-4947
Release 10.4 and SVN tunk
In Party Manager go to Profile > Roles(s)
1. Create a New Role Type
2. Click save
Expected: Screen refresh and return to Roles(s) tab on ProfileTabBar
Actual: Screen refresh ProfileTabBar missing

In SVN tunk
In Party Manager go to Profile > Roles(s)
Expected: Roles listed in screenlet Add To Main Role > Role Type Id drop-down list
Actual: Screenlet Add To Main Role > Role Type Id drop-down list is empty.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355801 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 20:12:19 +00:00
Christian Geisert 5f4d64dcfa German translations
See OFBIZ-4906 (https://issues.apache.org/jira/browse/OFBIZ-4906)
Submitted by Martin Kaiser (martin dot kaiser at gmail dot com)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354852 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 08:19:28 +00:00
Jacopo Cappellato 6ba24ed4bc 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@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Jacopo Cappellato 3756ed0294 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@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Hans Bakker 26be6e9d7c Give ACCOUNTING_ADMIN the same access as PAY_INFO_ADMIN because part of accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353381 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 02:22:58 +00:00
Hans Bakker 4b8a5ac0fb corrected coding error in last commit spotted by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352774 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 05:47:20 +00:00
Hans Bakker c512dddd02 allow ACCOUNTING_ADMIN also to do PAYPROC_ADMIN
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352769 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:12:11 +00:00
Hans Bakker f3582a54e4 allow ACCOUNTING_ADMIN also to do MANUAL_PAYMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352768 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 04:04:50 +00:00
Hans Bakker 7e5c9958a5 manual payment is used: reverting r1352439
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352441 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 08:03:11 +00:00
Hans Bakker 66d5f75d5e removed unused security permission: MANUAL_PAYMENT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352439 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:52:23 +00:00
Hans Bakker bd16dfb598 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@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker 26eb43592b re-installed locale lookup with an appropriate fix: adding the locale search
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351928 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 03:17:59 +00:00
Sascha Rodekamp 56c2c6123a Reverting the local lookups which where introduced in Rev 1124153.
The locales are not searchable because they come from a property file and not from the database. It's more handy to have a drop down list instead of a lookup for them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351614 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 09:13:09 +00:00
Hans Bakker 9607b08c5c Removed unused SHIPRATE_* security
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351587 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:07:01 +00:00
Sascha Rodekamp 731215cd7b Contact List Lookup is not working in catalog for products. (https://issues.apache.org/jira/browse/OFBIZ-4633), a patch from Arpit Singh Pandya: Contact List Lookup is not working in catalog for product in Communications tab, when creating new Communication Event for new product. I have tested it on local and on demo-trunk, not sure about other versions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351584 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 06:52:52 +00:00
Hans Bakker 14f4e5a292 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@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Ashish Vijaywargiya ca88d36173 Removed not needed attribute(i.e path="").
Thanks Aman. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350714 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 17:31:08 +00:00
Ashish Vijaywargiya 48b9e8483e Applied bug fix from jira issue - OFBIZ-4933 - Add/Update order item does not accept the negative quantity.
When user update the order item and enter the negative item quantity then system should throw an error message.
Thanks Deepak!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350368 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:42:38 +00:00
Ashish Vijaywargiya b79267a6b5 Applied bug fix from jira issue - OFBIZ-4918 - Not able to add party rate.
User does not able to add party rate via Rate screen.
https://demo-trunk.ofbiz.apache.org/partymgr/control/EditPartyRates?partyId=admin
Thanks Deepak!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350363 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:32:59 +00:00
Ashish Vijaywargiya 31042cd2dc Applied bug fix from jira issue - OFBIZ-4907 - Invalid relation name status item for Production Run.
Could not find relation for relationName: StatusItem for value [GenericEntity:WorkEffort] 
Thanks Deepak for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1350356 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 18:20:02 +00:00
Erwan de Ferrieres ef6659b091 Using labels for product promo codes creation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348805 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 11:42:37 +00:00
Erwan de Ferrieres ecfca3d8c0 Adding missing French translations for promo code screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 11:39:46 +00:00
Jacques Le Roux c78b9f662c Moves addMostRecent services to Attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348546 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 08:04:39 +00:00
Christian Geisert a3f1e53528 German translation for Accounting (WIP)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1348025 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 11:06:11 +00:00
Hans Bakker 0eb0f553d1 split security for catalog and facility over 2 files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1347908 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 07:29:39 +00:00
Jacopo Cappellato a610e70049 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@1347478 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 08:14:28 +00:00
Hans Bakker fff7f99081 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@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Hans Bakker 3910a6ff69 field declared as input but not used inside the service: fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345910 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 10:21:57 +00:00
Jacques Le Roux 8d01c258b5 Fixes "QuickAdd screen rendering exception in ecommerce" https://issues.apache.org/jira/browse/OFBIZ-4882
Revert r1345660, I was caught by the cache I thought it was only that when another change I put before was also needed: the findByHand signature has recently changed. I wonder why this would not affect other groovy scripts as well, there are 245 instances at all. A not neglectable part don't fill the orderBy list (often null is used otherwise) But I run out of time to continue on this...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345661 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 12:20:48 +00:00
Jacques Le Roux 77ae8588ba Fixes "QuickAdd screen rendering exception in ecommerce" https://issues.apache.org/jira/browse/OFBIZ-4882
It was only 
import javolution.util.FastList;
missing

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345660 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 12:08:00 +00:00
Jacques Le Roux bb9abcab50 Better format after r1345547
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345559 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 19:13:25 +00:00
Jacques Le Roux 46248a1be8 A patch from Nandani Aggarwal "Upload file throws java.lang.ClassCastException: java.nio.HeapByteBuffer" https://issues.apache.org/jira/browse/OFBIZ-4919
While creating Promo under catalog in Admin , we create Promo Code so that party or Email can be attached to Promo and also there we can set expiry date for that Promo.While uploading list of Email Ids for which Promo will be applicable,,i encountered with error : java.lang.ClassCasrrException:java.nio.HeapByteBuffer.
Error can be reproduced by following link :
https://localhost:8443/catalog/control/createBulkProductPromoCodeEmail?productPromoCodeId="Name of : Product Promo Code Id"
Or with help of attached screenshot.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345547 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:47:41 +00:00
Jacques Le Roux 2dcc132c41 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@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Jacopo Cappellato 057b9b11d2 Fixed issue introduced with the recent changes to getRelated signatures. The error was blowing up the view cart screen in the backend.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1345528 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 16:07:46 +00:00
Jacques Le Roux 1aaa8943ac 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@1345435 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:20:07 +00:00
Jacques Le Roux e8ded2674d 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@1345379 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 22:32:57 +00:00
Jacopo Cappellato f5fabda4b1 No functional changes: small improvements to code that logs messages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1344996 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 07:03:45 +00:00
Vikas Mayur 52cd73ff2e Cost Center screen under Global GL Settings menu should only show accounts associated to cost centers and not every account related to the organization party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1344568 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 05:29:45 +00:00
Jacopo Cappellato 9943d35c19 Improved code that manages the cache:
* protected the UtilCache object (static field) by making it private and final
* removed unnecessary synchronization
* removed unnecessary null checks
* moved code that initializes static cache fields out of constructors
* replaced get+null check+get with get+null check
* replaced containsKey + null check + get with get + null check
* replaced some put with putIfAbsentAndGet



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343696 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 12:24:19 +00:00