Commit Graph
10472 Commits
Author SHA1 Message Date
Andrew Zeneski a39e0f07a0 changed toSring() method to NOT display encyrpted fields for security; add new toStringInsecure() to get the insecure string value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573650 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 18:00:27 +00:00
Andrew Zeneski 6548a71c1e implementation (from Anil Patel) to support restricting changed passwords to not allow the use of a previous password (the length of tracking is configurable in security.properties)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573458 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:58:35 +00:00
David E. Jones fb4a0080b3 Fixed bugs in recently refactored FreeMarkerWorker: a Reader was always being created even if the template was cached, also the reader was never closed which means files stayed open until the garbage collector cleaned up these objects which on busy production systems could lead to many thousands of open files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573442 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:01:25 +00:00
Andrew Zeneski c2c2de5580 dispatcher was ignore the results of pre-auth and pre-in-validate eca responses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573300 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 15:35:35 +00:00
David E. Jones 1d6d5edea5 Refactor of service def attribute default-value stuff, fixes the corner case found in OFBIZ-1226; was able to get through test case that previously erred out
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573140 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 03:25:29 +00:00
David E. Jones 1bd07f8dd8 Small message change so you know which permission is being printed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573137 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 03:02:18 +00:00
David E. Jones e3feec113a Fixed issue reported by Si in #OFBIZ-1226, and added comment to services.xsd to explain how this is used; BTW, the commit that caused this problem broke rule #1 of first do no harm, that broke existing functionality to add something new that didn't work either
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573126 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 00:47:47 +00:00
Alfred Maxwell Byers 8bbce50753 Added this json event handler to deal with a couple of special issues when uploading a file with Dojo.
Dojo expects the json response to be wrapped in html like this:
  <html><head></head><body><textarea style="width: 100%%; height: 100px;">{name: value, name2: value2}</textarea></body></html>
  The other issue is that the JSONObject balks at the "byte" type of uploaded file data.
  I solved that by making the parameters returned by the service (which also contains the input parameters)
  valid for the output parameters defined by the service.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573023 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 18:20:51 +00:00
David E. Jones c29a8eb6a6 Some error handling improvements, especially for problems with ServerHit saving so it doesn't kill the server output, and to handle the rare case where response isCommitter and there is no session because of logout or whatever
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572931 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 10:32:30 +00:00
David E. Jones 5d26a3e817 Finally adding stuff for Sets like the Map and List stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572841 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 23:39:48 +00:00
David E. Jones 136b14faf5 Small format change only in TransactionUtil; in EntityDataAssert fixed a couple of NPE cases and improved to make much more robust
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572413 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 20:22:51 +00:00
Jacques Le Roux e0504ef18d A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" (https://issues.apache.org/jira/browse/OFBIZ-1223)
This patch définitively corrects the problem David raised + some cosmetic UI changes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572375 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:56:51 +00:00
Jacques Le Roux 02e0beac3c Revert 572172 on David's advice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572322 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 13:24:16 +00:00
David E. Jones c5e71667f6 Added some test cases for deadlock and lock wait timeout errors to be used when developing auto retry feature in service engine; note that this isn't implemented yet so these (usually not used) test cases will fail, if that becommes a problem we can comment them out in the test def xml file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572280 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:45:24 +00:00
David E. Jones 04170fbfa1 Updated for change in test def xml spec
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572278 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:43:06 +00:00
David E. Jones 0b43b8b6d8 Changed entity-xml-assert to entity-xml with an action element to specify either assert or load; note that parsing code still supports old entity-xml-assert
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572276 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:41:28 +00:00
David E. Jones eba6f60b7b Fixed NPE caused by passing in a null context, now creates an empty one for use throughout the call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572275 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 10:38:34 +00:00
Jacques Le Roux 0f1cc4f129 A patch from Bilgin Ibryam "Service detail screen in webtools is broken" (https://issues.apache.org/jira/browse/OFBIZ-1218)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572174 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:59:06 +00:00
Jacques Le Roux 504c87ddca A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" (https://issues.apache.org/jira/browse/OFBIZ-1223)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572172 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:46:01 +00:00
David E. Jones 3ad6776a70 Small comment change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571663 13f79535-47bb-0310-9956-ffa450edef68
2007-09-01 01:02:46 +00:00
David E. Jones 427f56690c Added enum value for a conventional variable name to use for this to avoid errors and still keep the enum auto-fill and checking
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571289 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 20:06:10 +00:00
Andrew Zeneski 431a0c4f34 few small moficiations (better error checking) to the javamail container
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571262 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 18:12:02 +00:00
Andrew Zeneski 1413bff0a3 simple implementation of textfield readonly attribute (for html forms)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571237 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 16:41:09 +00:00
Alfred Maxwell Byers 53c93dc747 Added some code to convert Timestamp types to string so that this code will handle them.
Not sure why it is limited to the types - String, Number, Map, List.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571051 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 06:41:21 +00:00
Hans Bakker c004fc0430 avoid having NPE in verbose message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@571020 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 02:33:16 +00:00
David E. Jones 6d1e9778c8 After more testing it looks like I was wrong about this, changing back to use getWriter instead of getOutputStream for Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570857 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 16:31:33 +00:00
David E. Jones 9b347446c8 A few improvements to make error logs less redundant
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570729 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 10:03:11 +00:00
David E. Jones 6ced65fcb1 Cleaned up exception and error handling in getNextSeqId code, was redundant and the tx code in getNextSeqIdLong that getNextSeqId always calls wasn't handling commits right
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570706 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 08:58:10 +00:00
Jacques Le Roux a494d53d5e A patch from Adrian Crum "Improved Title Bar In Webtools Entity Screens" (https://issues.apache.org/jira/browse/OFBIZ-1215)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 21:30:08 +00:00
David E. Jones 2e96095d1c A few extensions to the watchEntity service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570297 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 03:23:23 +00:00
David E. Jones 529ac4df28 Changed so that when set and action elements are interleaved they run in the order specified instead of all set ops and then all actions ops
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570283 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:48:50 +00:00
David E. Jones e20fb4bd36 Added set element for Entity ECA rules, and a simple service to be run as an EECA for watching entire entities or single fields on entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570282 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 00:47:58 +00:00
David E. Jones 772fb21047 Added generic invalid status change message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570036 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:36:30 +00:00
David E. Jones 4364e99744 Added example of how to do statusEndDate for a status date range, plus other little cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@570035 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 08:35:45 +00:00
David E. Jones 20916970e7 Small improvement for the messages when an ECA rule evals to true or false
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569763 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 04:32:02 +00:00
David E. Jones c7bfe4beb7 Added little method like the addToDoubleInMap to do addToListInMap
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569749 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 01:01:58 +00:00
Andrew Zeneski 3cd7c25f6f implemented a simple date based ECA condition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569693 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 16:02:35 +00:00
Andrew Zeneski 09bc5c770b fixed default-value which was using the string instead of the converted object
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569692 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 16:02:19 +00:00
Adrian Crum 6b0bf1a8ba Added a help.gif file to framework/images. It will be used in future commits.
It would be cool to make the background transparent - if anyone has that ability.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569680 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 14:40:25 +00:00
Si Chen 4847d30ca7 Not a political statement, but mail will not get there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569454 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 16:47:14 +00:00
Jacopo Cappellato b1aa7686f3 No functional changes, just a lot of cleanups for rev. 566781 by Al Byers:
1) added missing license headers
2) removed tabs
3) fixed some weird/random formatting

I'm still not sure that it is correct to keep the two *.ftl files in the script folder... but I don't have time to further review this revision.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567558 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 06:48:53 +00:00
David E. Jones fecd5e035f Small change to avoid warning messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567519 13f79535-47bb-0310-9956-ffa450edef68
2007-08-20 02:00:58 +00:00
Jacques Le Roux e2e25b0599 From Adrian argument, I decided to remove the FtlTransform.java file :
<<The FtlTransform.java file duplicates the old code in FreeMarkerWorker.java - therefore anyone wanting to use it can simply use FreeMarkerWorker.java instead.

The drawback to keeping it in the project is that someone may want to use it - which would be a bad thing because it duplicates the mistakes that were made in the old FreeMarkerWorker file, PLUS it keeps its own template cache - which introduces the possibility of having two copies of the same template cached.>>


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567429 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 17:04:19 +00:00
David E. Jones e3cc06b406 Undo changes from Adrian Crum in rev 567090; different way of addressing this is being discussed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567316 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:04:24 +00:00
David E. Jones 344fea6893 Undoing partial revert of rev 567090 by Adrian Crum in 567097; a partial revert is a BAD idea because it turns the rest of it into a manual process; next will be to undo the 567090 commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567315 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:01:55 +00:00
Adrian Crum 71471255c0 Reverted ecommerce style sheet portion of last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567097 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:55:25 +00:00
Adrian Crum 73290f1b58 Moved the ecommain.css file to the ecommerce component. Existing installations will need to update the stylesheet field in their ProductStore entity.
Moved forum.properties file to the content component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567090 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:22:04 +00:00
Alfred Maxwell Byers 2c8afab971 I am adding these GIS related files for safe keeping and to serve notice that a GIS component will be forthcoming.
Actually, they work now, so it will be a matter of filling the out - especially translating ogc filter constraints to 
simple method entity expressions.

WFS is a standard in the GIS world for querying and returning metadata (as opposed to the other two standards, WMS and WMC,
which deal with returning images from vector info or images as the native format (coverages).
By putting a WFS server interface in OFBiz, it can be used to add point-of-interest plotting to many business apps.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566781 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 17:14:18 +00:00
David E. Jones 9484bf4926 Removed property for class that no longer exists in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566645 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 10:18:52 +00:00
Jacopo Cappellato 77c9e6e6a6 reverted part of 549443 because it is incomplete as is. Thanks to David Jones for the review.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 04:29:46 +00:00