David E. Jones
0b2e7e05c5
Added owasp esapi library, uses of it soon to come
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741442 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 07:02:59 +00:00
Hans Bakker
9ea7eebcc0
make example dashboard working again with the recent portal page changes and removed fulladmin pages from myportal because not required
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741439 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:59:53 +00:00
Hans Bakker
2638cce966
relation name too long
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741428 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 06:17:30 +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
20b94a0056
data files loaded in the wrong order
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741418 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 05:43:46 +00:00
David E. Jones
da0f617961
Small change to make use-cache easier to parameterize; since cache conflicts with the iterator, have the use-cache setting override the use-iterator setting
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741396 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 04:18:20 +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
7fdd5220cf
Moved Help link from tab bar to the link section below it as the Help page was NOT a tab, or in other words by clicking on it you go to a screen outside fo the tab set and the tabs disappear
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741381 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 02:32:10 +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
Hans Bakker
077bd4641a
the myportal component is functionally complete now having also different page sets for different securitygroups.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741129 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 15:18:47 +00:00
Jacopo Cappellato
358b545a97
Fix to avoid the test to fail after recent change to "system" seed data.
...
By the way: is it correct to have a test rely on demo data like this one?
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741119 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 15:01:34 +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
Hans Bakker
75a0525222
new registration in myportal now also creates a customer request why the registered person would like a userlogin
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741062 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 10:20:39 +00:00
Bilgin Ismet Ibryam
e7cd2e3bd0
Changed Double parameters to BigDecimal in convertUom and convertUomCustom services.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741049 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 08:52:24 +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
David E. Jones
4bd8c4399b
Added XSD catalog file for webapp component, like exists in other components
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740697 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 11:10:46 +00:00
Hans Bakker
d6ff5551b0
registration in myportal now requests a email address and sends a confirmation email
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 06:47:16 +00:00
Hans Bakker
f139bf7b5c
improved 'not yet billed project hours' form to better check before invoicing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740600 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 04:31:22 +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
Jacques Le Roux
7a644d0548
Temporarliy fix current issue when creating Party Contact Mechs (actually reverted to 739820)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740439 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:00:04 +00:00
Jacques Le Roux
4187133151
Fix issues introduced recently while trying to clean deprecated simple-method tags
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 20:10:41 +00:00
Jacques Le Roux
62b6192c21
<field-to-result map-name="(.*)" field="(.*)"/> => <field-to-result field="$1.$2"/>
...
<field-to-request map-name="(.*)" field="(.*)"/> => <field-to-request field="$1.$2"/>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740368 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 18:18:49 +00:00
Jacques Le Roux
b402219255
Begin a discussion about i18n of typography on dev ML...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740351 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:55:11 +00:00
Jacques Le Roux
5c95acc38d
Thanks to Labels Manager the French translation is now complete
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740338 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 16:24:30 +00:00
Jacques Le Roux
8b80224434
Some French labels which were missing
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740302 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:31:53 +00:00
Bruno Busco
389fc8bbbc
Used localized labels
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740301 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:26:11 +00:00
Jacques Le Roux
345d64b204
A patch from Bruno Busco " Moving Timestamp to footer" '( https://issues.apache.org/jira/browse/OFBIZ-2164 ) - OFBIZ-2164
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740299 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:21:30 +00:00
Bruno Busco
10a0feba88
Added ExpandAll function in javascript. This allows to expand or collapse all fieldgroups present in a page.
...
An example on how to use is present in the CommonProductDecorator
TODO: does not work on IE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740296 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 13:12:49 +00:00
Jacopo Cappellato
7c088ad2e5
Fixed bug created during my last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740261 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 09:49:01 +00:00
Jacques Le Roux
79d5490066
Revert 740127. Waiting for a global and real solution allowing digit at 1st char in Id
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740260 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 09:34:10 +00:00
Jacopo Cappellato
f46ea50361
Fixed wrong pref group type id.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740249 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 09:07:00 +00:00