Commit Graph
9821 Commits
Author SHA1 Message Date
Adam Heath 00a2f8dace s/new Number/Number.valueOf/g
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771135 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 22:40:37 +00:00
Adam Heath 2ec0d94197 Another generics fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771125 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:36:13 +00:00
Adam Heath 1a31984695 Several minor generics fixes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771124 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:35:52 +00:00
Adam Heath 2f59201bbd Make this a bit nicer for generics users.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771123 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:35:00 +00:00
Adam Heath a2fb671036 Remove unused EnumMap import.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:17:37 +00:00
Adam Heath 812b0e50d4 No more generics warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771120 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 20:16:24 +00:00
Jacques Le Roux f29b4787b4 As suggested by David, these lines are not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771090 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 17:19:37 +00:00
Jacques Le Roux 4f6613c9c3 Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771086 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 17:05:44 +00:00
Jacques Le Roux 47a6553d40 Putting new BizznessTime theme as default theme in trunk. This should help to strengthen it (hoping reports from users)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771074 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:23:08 +00:00
Jacques Le Roux 1f5eb1e084 I missed some files in the 1st commit for BizznessTime theme.
I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771073 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:19:04 +00:00
Hans Bakker 71c58d0756 portal page generated menu changed other menus when cache was enabled, tabs for spaces and deleted empty forms file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771035 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 07:38:25 +00:00
David E. Jones 2c4cdde4b8 Reverted changes in SVN revs 770084 and 770408; this gets the example component back to the good old security until things settle and patterns are better established and agreed on for the new stuff that Andrew is proponing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771030 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 06:12:46 +00:00
Adam Heath b23e2f79e0 Generics markup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771016 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:16:13 +00:00
Adam Heath e180117c27 Fix comparison of authenticators with classes loaded by different
classloaders.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771015 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 02:14:11 +00:00
Jacques Le Roux 5c601b2177 New BizznessTime Theme which should be soon replacing SmoothFeather. Please test, report and see more at https://issues.apache.org/jira/browse/OFBIZ-2398
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770997 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 23:05:29 +00:00
Adrian Crum 28bc332e04 Small change to Scott's UEL improvement - convert NodeList to a java.util.List so that it can be treated like a regular List.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770990 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 22:37:08 +00:00
Adrian Crum f4b0b4aac9 UEL improvements:
1. Implemented operator substitution suggested by Jacopo and Scott. It is a subset of the beanshell operator substitution - http://www.beanshell.org/manual/syntax.html#Document_Friendly_Entities.

2. Added an extension to UEL that permits using variables that might not exist in expressions. Example: The expression ${foo + bar} will throw an exception if either foo or bar don't exist. Assuming foo and bar are both intended to be integers, the expression ${foo$integer + bar$integer} will not throw an exception. Instead, Integer instances (initialized to zero) will be created for the missing variables.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770973 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 18:04:21 +00:00
Ashish Vijaywargiya 4fd4adf826 Applied patch from jira issue OFBIZ-2416 (Security error on Remove return items)
Thanks Pranay Pandey for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770929 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 11:23:28 +00:00
Scott Gray 3df729016d Mark orderId optional="false" for the completePack service. Fix a test which wasn't supplying one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770917 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 09:35:34 +00:00
Scott Gray 2b55fa55da OFBIZ-2397
Implement a custom JUEL ELResolver that handles string properties for objects implementing org.w3c.dom.Node 
and org.apache.xerces.dom.NodeImpl. It takes the String and compiles it into an XPathExpression which is 
then evaluated against the base Node. The JUEL evaluation returns either null, a single Node or a NodeList 
depending on the result of the XPath evaluation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770915 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 08:45:22 +00:00
Scott Gray 4049b07769 A little documentation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770905 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 06:57:30 +00:00
Andrew Zeneski 485805fe3f Renamed AbtractAuthorization to AbstractAuthorization (bad typo)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770836 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 21:53:29 +00:00
Andrew Zeneski 87535e2f67 Often thread pools do not clear ThreadLocal, implemented a workaround to handle this
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770771 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 17:47:52 +00:00
Adrian Crum f44142ffd0 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770749 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 16:47:17 +00:00
Adrian Crum cc769deb07 UEL functions improvements. Added str:toLowerCase(String) and str:toUpperCase(String) functions. Added a method to the UelFunctions class to make it easier to add built-in functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770746 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 16:31:55 +00:00
Scott Gray 6943bf8839 Changed testUpdateRequest statusId to comply with the StatusValidChange records, all party tests now pass
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770665 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 13:18:49 +00:00
Vikas Mayur fd3dc10998 While doing a refund return, customer may want to purchase new items in exchange of returned items. A CSR can do this by creating an exchange order against the return.
To support this, new type EXCHANGE added for OrderItemAssocType.

Patch from Akash Jain (reviewd and tested by Pranay Pandey), part of OFBIZ-2377 (https://issues.apache.org/jira/browse/OFBIZ-2377)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770659 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 13:04:24 +00:00
Scott Gray 1e0f7725cd Fix the auth tests
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770655 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 12:47:33 +00:00
Scott Gray 20c8d5ae54 Re-committing r770618 with errors removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770649 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 12:18:39 +00:00
Scott Gray 56b506aeec revert r770618, something wrong with the generics
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770642 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 11:35:28 +00:00
Scott Gray c039fcf724 Code cleanups, generics etc.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770618 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 10:28:34 +00:00
Scott Gray 6fddaf6815 Removed unnecessary delegator since a test delegator is provided by the parent class. I need to make it final so this
doesn't happen but JUnit instantiates the object so I can't do it without extending their class. It's on my todo list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770596 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 09:19:43 +00:00
Scott Gray 2be9af3d89 Fix bug where a list was inadvertently being appended to rather than replaced. Reported in OFBIZ-2396 by Brian Sanders
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770571 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 08:08:04 +00:00
Scott Gray c389533276 Fix an index out of bounds exception I stumbled across
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770544 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 06:08:19 +00:00
Adam Heath 88bbbe4d3a Generics markup, use of StringBuilder in one place, plus
enhanced-for.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770530 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 04:08:25 +00:00
Scott Gray d3bb5b5eb1 Fixed issue reported by Sascha Rodekamp on the user mailing list
enableEditValue was being treated like a boolean but was actually a String

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 00:36:32 +00:00
Andrew Zeneski f0b38d7463 turned off the debugging
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770408 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:35:37 +00:00
Andrew Zeneski 6869b0ca91 This should have been part of rev 770401; just forgot to include it
JIRA OFBIZ-2381


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770407 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:32:42 +00:00
Andrew Zeneski f36c5a9335 No longer requiring the boolean field 'expanded' as part of the API; after dicussing w/ Adrian; the FSE can handle pre-expanded strings
Added new API method findMatchingPermission() which takes a regular expression for the base permission returning the value of all matching permissions (see unit tests)
Fixed missing base permission in SecurityData.xml

JIRA OFBIZ-2381


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770401 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 19:14:48 +00:00
Adrian Crum abda4e364c Removed a bunch of nested expressions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770308 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 16:12:21 +00:00
Hans Bakker 8a12eea06c OFBIZ-2393: portlet list not displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770272 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 15:06:04 +00:00
Jacopo Cappellato f0054a76c8 Removed wrong field name that was causing an error with the new renderers. OFBIZ-2393
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770264 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 14:57:35 +00:00
Jacopo Cappellato 2d2e4870bf Migrated code, and adjusted to work with the new macro renderers, that implements the in-place editor for display fields.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770243 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 14:32:45 +00:00
Vikas Mayur cc87cc205f Misc. cleanups. Btw, I am not able to find any usage of updateReturnItemsStatus service?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770157 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 10:43:48 +00:00
Vikas Mayur 953c5fcc05 Changed currentStatusId --> oldStatusId, as this was actually old status and not current status.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770148 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 10:24:22 +00:00
Vikas Mayur c49aedf159 Added support for new return type "Wait Replacement Reserved".
If a return is created using this return type then
1) If status of this return is changed to accepted then a replacement order is created in Hold status. 
2) If status of this return is changed to recieved then this replacement order status is changed to approved.

Applied slighlty modified patch from Deepesh Kapoor, part of OFBIZ-2376 (https://issues.apache.org/jira/browse/OFBIZ-2376)
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770128 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 09:26:24 +00:00
Jacopo Cappellato 94b153c12a Fixed wrong name of the key used to retrieve the values for checkboxes; OFBIZ-2391 (thanks to Hans Bakker for the bug report).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770125 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 09:23:35 +00:00
Andrew Zeneski 4163690788 Refactored Example Application to use new security mechanics - JIRA OFBIZ-2392
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 06:23:18 +00:00
Hans Bakker 8538e61ac4 delete communication event from unknownCommevent list did not return properly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770083 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 06:21:24 +00:00
Andrew Zeneski 6ada9f4f66 integration with new Authz API - JIRA OFBIZ-2381
(only added to ContextMapper)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770077 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 05:53:08 +00:00