Commit Graph
14503 Commits
Author SHA1 Message Date
David E. Jones 7eecc940c3 Changed so that header links for profile, order history, etc are shown when user is not logged in, but not shown when user is anonymous; in some cases it is nice to not show links a user can't use, but in this case they are convenient as the system will simply ask the user to login before showing them the page, so they are better there than not
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742351 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 09:28:53 +00:00
Ashish Vijaywargiya 92e55bb257 Applied patch from jira issue no. OFBIZ-2174 (Request with missing security attributes not getting executed)
Thanks Pranay Pandey for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742335 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 08:55:35 +00:00
David E. Jones 150ebb4beb Fixed issue with general html encoding of String objects in FTL files being applied to dynamic JavaScript from groovy files by leaving them as StringBuffers, ie just removing the toString calls
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742234 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 02:34:23 +00:00
Jacques Le Roux 619487614d Better label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742166 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 21:10:02 +00:00
Jacques Le Roux d33460b61d Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742165 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 21:07:42 +00:00
Jacques Le Roux 9819d35d61 To close "Providing Functionality of ProductFeatureIactn Entity" https://issues.apache.org/jira/browse/OFBIZ-2170 - OFBIZ-2170
It would have been better if we had prevented to show incompatible options as soon we know it (when we select other features). This means building js functions embedded in groovy and I don't have time for that...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742163 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 20:58:12 +00:00
David E. Jones a0d0a10ebc Resolved some more problems with the general html encoding, most of which are from funny code that should be cleaned up anyway so haven't run into any dilemmas so far; still looking though so could happen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742053 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 11:08:32 +00:00
David E. Jones a707f7fa10 A few cleanups plus a couple of fixes for problems caused by the new html encoding from screen widget included files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742014 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08 07:44:20 +00:00
Marco Risaliti fd06ea4d64 A missing $ to get a label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741979 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 23:32:16 +00:00
Marco Risaliti 3c8e2cdda3 Some small more cleaning on Humanres labels discovering it from the new upcoming Label manager references tool
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741972 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 22:12:21 +00:00
Jacques Le Roux 2b46e67795 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741966 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 21:30:26 +00:00
Jacques Le Roux 8224468123 On Scott's suggestion on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741964 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 21:23:51 +00:00
Marco Risaliti 8e0a2866fb Change tabs to 4 spaces introduced in my previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741963 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 21:15:19 +00:00
Marco Risaliti 8ebdd5e621 Some small more cleaning on Accounting labels discovering it from the new upcoming Label manager references tool
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741959 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 21:01:31 +00:00
Jacques Le Roux 03dbd9a377 A patch from Sumit Porwal "On find orders form, user can not select multiple Role Types however the "findOrders" service supports it." (https://issues.apache.org/jira/browse/OFBIZ-2136) - OFBIZ-2136
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741948 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 19:58:28 +00:00
Jacques Le Roux 94c9e25268 The 1st part of Arpit Singh Pandya's patch in "Providing Functionality of ProductFeatureIactn Entity" (https://issues.apache.org/jira/browse/OFBIZ-2170) - OFBIZ-2170
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741912 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 17:04:56 +00:00
Jacques Le Roux b84d7590d5 Complete r741906
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741908 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 16:56:54 +00:00
Jacques Le Roux 04006ec185 A modified patch from Karim Rahimpur "Quote item view improvements (when productId is not specified" (https://issues.apache.org/jira/browse/OFBIZ-2120) - OFBIZ-2120
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741906 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 15:56:57 +00:00
Jacques Le Roux 56c6ad4660 Simple-method and alike tags cleanup. Not sure yet, but I guess there are no "Xerces errors" anymore.
I will post some other errors (of other types I guess) I found using Artifact Info in dev ML soon

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741594 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 15:28:41 +00:00
Ashish Vijaywargiya 3de23d313b Applied patch from JIRA issue OFBIZ-2162 (Reduce the Redundancy of Java script in inlineProductDetail.ftl in order component).
Thanks Arpit Singh Pandya for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741537 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 11:20:46 +00:00
Jacques Le Roux a51f71e4a8 tag cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741489 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:24:43 +00:00
Jacques Le Roux 00212d0af2 <session-to-field field.*="(.*)" map.*="(.*)" session-name="(.*)"/> => <session-to-field field="$2.$1" session-name="$3"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741488 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:22:56 +00:00
Jacques Le Roux ed29821e0a <result-to-field result-name="(.*)" map.*="(.*)"/> => <result-to-field result-name="$1" field="$2.$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741487 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:21:24 +00:00
Jacques Le Roux b8c163a295 <field-to-request field.*="(.*)" map.*="(.*)"/> => <field-to-request field="$2.$1" request-name="$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741479 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:07:11 +00:00
Jacques Le Roux 90741427de <field-to-result field.*="(.*)" map.*="(.*)"/> => <field-to-result field="$2.$1" result-name="$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741477 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:05:26 +00:00
David E. Jones 4d9382e887 Cleanup and pretty-up a bunch of log statements; moved some less helpful ones to verbose, combined some, and generally tried to make logs in various places more user friendly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741424 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:04:58 +00:00
David E. Jones ae4f308ef8 Some playing with simple-method cleanup, inventory quantities service now doesn't have to distinguish between serialized and non-serialized, and using some new UEL stuff instead of calculate op
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741423 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:03:06 +00:00
Hans Bakker 0e58b86c96 more checks on missing data, added error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741383 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 03:03:58 +00:00
David E. Jones afe3dc9c81 A few related changes:
Big refactor of ControlServlet, RequestManager, RequestHandler, and ConfigXMLReader so that simple objects are used instead of Maps within Maps within Maps for the data from the controller.xml file, which results in eliminating hundreds of lines of code including the entire RequestHandler class. I have tested this a lot with different apps that use the ControlServlet differently, but this is a very big change so there could still be issues. Based on this cleanup future issues and new features should be easier and less error prone, and that is why doing it now in order to help with a number of other improvements and bug fixes that are part of this commit.

Also added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues with form data, but if the ID to display (like following a crAlso added redirect-parameter element to go under the request-map -> response element which allows you to specify which parameters will be passed on in a redirect instead of using all of them. Also improved default there and in various places to only include parameters from the URL to avoid issues wd in and also going to the same page after login from auth=true or from clicking on the login link.

Related to cleaning up login URLs also changed how the request and parameters passed to a request before a login are saved and used after a login is successful so that it URL parameters go on the URL in a redirect to the original request to make it more transparent, and non-URL parameters just stay in the session and are used when the original request is run again to avoid putting sensitive information like passwords and big information like textarea data in the URL, which has been a problem before.

To see what some of these things combined can do try going to the example app, login, click on the New Example link, then logout in another tab or window, then go back to the New Example page and enter a name and a whole bunch of text in the long description then click Create, the system will show you the login page so enter username/password, and then after login you'll see a nice URL to EditExample with the correct exampleId parameter and all of the data entered before login successfully saved and never appearing in a URL.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741374 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 02:14:19 +00:00
Marco Risaliti fd589cdd0b To get labels translations it's necessary UtilProperties.getMessage() instead of UtilProperties.getPropertyValue()
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741281 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 20:34:33 +00:00
Jacques Le Roux 92570024a7 A patch from Amit Sharma "Extending the capability of configurable product in OFBiz with Freature tree generation technique" (https://issues.apache.org/jira/browse/OFBIZ-2161) - OFBIZ-2161
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741073 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:57:26 +00:00
Jacques Le Roux e026b40f9b More explicit labels for now but this needs to be generalized in form widget
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741063 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:26:35 +00:00
Jacques Le Roux 2b412a62c4 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741041 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 08:03:01 +00:00
Jacopo Cappellato 8583c2659a Slightly improved ui for form used to add/edit a global gl account.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741034 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 07:30:00 +00:00
Jacques Le Roux 24266dfcc9 <map-to-map map-name="(.*)" to-map-name="(.*)"/>
<map-to-map to-map-name="(.*)" map-name="(.*)"/>

without -name

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740912 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 22:08:33 +00:00
Jacques Le Roux 240f52a598 1) <field-to-request map.*="(.*)" field.*="(.*)" request-name="(.*)"/> => <field-to-request field="$1.$2" request-name="$3"/>
then
2) <field-to-request map.*="(.*)" field.*="(.*)"/> =>  <field-to-request field="$1.$2" request-name="$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740830 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 19:11:24 +00:00
Jacques Le Roux 1cb1de05c4 1) <field-to-result map-name="(.*)" field="(.*)" result-name="(.*)"/> => <field-to-result field="$1.$2" result-name="$3"/>
then
2) <field-to-result map.*="(.*)" field.*="(.*)"/> => <field-to-result field="$1.$2" result-name="$2"/>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740825 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 19:01:58 +00:00
Jacques Le Roux 366209d432 Fix recent wrong changes, investigation continues...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740815 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 18:09:34 +00:00
Jacques Le Roux 0e61e863be Revert 740368
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740530 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 00:22:04 +00:00
Jacques Le Roux d5a2fe9fa6 Revert 740011 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740529 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 00:15:46 +00:00
Jacques Le Roux b19495c19b Revert 740009 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740524 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:59:15 +00:00
Jacques Le Roux cd2df394e8 Revert 740004 (and conflicted changes since then resolved)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:45:09 +00:00
David E. Jones 723031e81e Fixed bug with createSurveyResponse in a way that allows numeric IDs; there is a special problem here because variable names are set and then later used in an expression, which is why most of these expressions are working fine but these are not; also found a bug in updateSurvey with a variable name that was wrong causing updates not to work and fixed that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740515 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:43:00 +00:00
Jacques Le Roux 692ce2f2da Revert 740494
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740505 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:14:57 +00:00
Jacques Le Roux 018dc28a33 Revert 740490
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 23:11:02 +00:00
Jacques Le Roux 18cfc182f0 Some more or less randow deprecated tags fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740494 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:42:46 +00:00
Jacques Le Roux f0a3a7e56a Horrible (it takes a machine..., mine :/)
<field-to-request field="(.*)" request-name="(.*)" request-name="(.*)"/>
fixed by hand 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740491 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:31:51 +00:00
Jacques Le Roux ae77db58c3 <field-to-request field="(.*)" map-name="(.*)"/> => <field-to-request field="$2.$1"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740490 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:26:45 +00:00
Jacques Le Roux 8efd1765bc Fix r740009
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740474 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:08:23 +00:00
Jacques Le Roux 2b78aeb145 Fic r740004
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740450 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:13:50 +00:00