Commit Graph
355 Commits
Author SHA1 Message Date
David E. Jones 116e53b0d4 Changed order of form fields so that freemarker template URL isn't so confusing, no reason it should be first as it is the less commonly used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746290 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:45:30 +00:00
Jacques Le Roux 9494db14ae Fix some bugs and misc. (not sure about functionalities, at least now it does not hang)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745890 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 14:59:58 +00:00
Jacques Le Roux ae94a956b3 Marco's LabelReferences3.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744842 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:51:34 +00:00
Jacques Le Roux d5dc2d53ab Marco's LabelReferences2.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744635 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 08:42:06 +00:00
David E. Jones b159af592c A number of cleanups for double encoding, encoding that is not wanted (like for surveys, 2 places used toString() and others didn't so were fine), using always there nowTimestamp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744574 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 21:52:16 +00:00
David E. Jones ba3a806edf Changed a couple of services to allow any html (ie not filter for HTML) as they are for incoming XML; related to issue #OFBIZ-2189
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744177 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 17:03:35 +00:00
Jacques Le Roux 469a538600 A enhanced patch from Arun Patidar "While Depressing Next/Previous link in webtools component, Records are not shown even if they are present there." https://issues.apache.org/jira/browse/OFBIZ-2184 - OFBIZ-2184
No need to encode, else double encoding since last changes, I changes all the occurences. I will see if there are other cases in *.groovy files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744085 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:31:08 +00:00
David E. Jones 5dd06ae942 Fixed NPE when a request doesn't have an event that was causing the ArtifactInfo stuff to not successfully load
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742996 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:32:41 +00:00
David E. Jones c1cf18c5a2 Removed response.encodeUrl and funny URL patterns not using @ofbizUrl; resolves issues between those and the new general html encoding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742860 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:45:40 +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
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 2d295a8641 Marco's artifact_cleaning_framework.patch " Artifact cleaning after recent changes on xsd files" (https://issues.apache.org/jira/browse/OFBIZ-2137) - OFBIZ-2137
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740114 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 21:40:50 +00:00
Jacques Le Roux 5abb9596cb LabelsInfo14.patch from Marco "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ some correct changes done with this update of Labels Manager (I updated some wrong ones by hand to keep going forward...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739955 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 10:17:34 +00:00
Jacques Le Roux 5d9fd471dc <field-map(.*)env-name => <field-map$1from-field
<service(.*)result-map-name => <service$1result-map

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739764 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 13:54:08 +00:00
Jacques Le Roux fb9d3a2e18 <entity-condition(.*) list-name= => <entity-condition$1 list=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739740 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:08:49 +00:00
Jacques Le Roux 08915956a1 <if-empty field-name= => <if-empty field=
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739739 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:07:47 +00:00
Jacques Le Roux 81fd022764 LabelsInfo15.patch from (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739720 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 09:21:32 +00:00
Alfred Maxwell Byers 1bd543704e Added FlexibleLocation to "entityImport" service so that "component" protocol could be used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@738962 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 19:00:23 +00:00
Jacques Le Roux 7a259f221f Fixes done automatically by the Label Manager. I changed the wrong ones by hand, see https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737585 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 21:41:15 +00:00
Jacques Le Roux 93d458ba1f LabelsInfo13.patch by Marco from "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737491 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 08:41:44 +00:00
Jacques Le Roux 0d9b46d1b9 Modified LabelsInfo11.patch from Marco Risaliti "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737382 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 15:35:14 +00:00
Jacques Le Roux 572b7683e0 All tabs to 4 spaces in *.groovy, *.java, *.xml : less problems in future with that aspect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@737003 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:08:47 +00:00
Adrian Crum e12f6b91d6 Fixed a broken screen in the Webtools component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@736819 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22 22:04:13 +00:00
Jacques Le Roux 8c74979e18 Fix an issue in case not GeoLocation is available
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735954 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 07:35:11 +00:00
Jacques Le Roux b680c6cd4a Some French labels fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735829 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 21:25:25 +00:00
Jacques Le Roux 372a329c5b Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735465 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 14:25:33 +00:00
Jacques Le Roux 9c5e043c53 Cleanup_labels35.patch from Marco Risaliti 'Clean up labels" (https://issues.apache.org/jira/browse/OFBIZ-1780) - OFBIZ-1780
This close this issue.
There are some labels related to geoLocation in this commit, I will commit the geoLocation work as is since I will not have much time this next weeks to work on it. Anyway it's already sufficient as a basis for other parts. 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735402 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 09:06:03 +00:00
Andrew Zeneski 7e9974c02e enabled xml-rpc event handler to use extensions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@735067 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 17:56:47 +00:00
Hans Bakker ff7759b530 show the component name at the login screen for all components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@734074 13f79535-47bb-0310-9956-ffa450edef68
2009-01-13 08:47:35 +00:00
Jacques Le Roux b8e61c5390 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@733339 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10 20:30:09 +00:00
Adrian Crum f05a636f83 Webtools entity reference now indicates what fields are encrypted.
Internationalization note: this commit contains a new UI label.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732878 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 00:08:49 +00:00
Jacques Le Roux 66ffa47fd6 This does not hurt and help
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732677 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 10:36:01 +00:00
Adrian Crum 484d2a3643 Fixed a bug that was introduced in the Webtools JSP->bsh+ftl refactor, reported in https://issues.apache.org/jira/browse/OFBIZ-1259.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@732565 13f79535-47bb-0310-9956-ffa450edef68
2009-01-08 00:05:08 +00:00
Jacques Le Roux cffe50a549 Some uilabels maintenance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731905 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 10:22:31 +00:00
Jacques Le Roux baa0bc41f4 Better French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731396 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 00:50:04 +00:00
Jacques Le Roux 8bfaac2648 A modified patch from Marco Risaliti "New tool to get labels information" (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
I have already commited merged changes in labels files. I commented out for now the lines in SaveLabelsToXmlFile.java which write the XML changes.
We have, at least, known 2 issued related to SaveLabelsToXmlFile :
. adding the ASL header
. taking care of labels sorting in a case described here https://issues.apache.org/jira/browse/OFBIZ-2070?focusedCommentId=12660632#action_12660632

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731370 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 21:44:14 +00:00
Jacques Le Roux 50989b5dcb Minor labels changes while working on Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731365 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 21:28:59 +00:00
Jacques Le Roux 2881083dbb Labels changes waiting for some time to be commited + changes while working on Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731364 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 21:25:05 +00:00
Jacques Le Roux 3b82200b49 Minor labels changes while working on Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731360 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 21:16:05 +00:00
Jacques Le Roux 970b5c6be7 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731311 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:26:47 +00:00
Jacques Le Roux 77d112eaa1 I meaned <<since we kept auth="false" for main request>> in previous commit (not auth-"true")
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730999 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 14:58:29 +00:00
Jacques Le Roux 40535ed369 WebtoolsMessage14 still needed since we kept auth-"true" for main request
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730997 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 14:55:43 +00:00
Jacques Le Roux 101fe6961c A slightly modified patch from Bruno Busco "Updating Webtool JobList to use PerformFind and FindScreenDecorator" '(https://issues.apache.org/jira/browse/OFBIZ-2103) - OFBIZ-2103
with some i18n and French l10n


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730990 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03 14:33:01 +00:00
Jacques Le Roux 72e54bb6d5 Forgot this one (because of Tortoise change list option)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730570 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 17:30:04 +00:00
Jacques Le Roux 9c5286fc42 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729806 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 23:17:22 +00:00
Jacques Le Roux 4d6546d0a8 Not Perfect but better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729754 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 16:49:12 +00:00
Jacques Le Roux 6226daf19c Oops...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729748 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 15:11:21 +00:00
Jacques Le Roux df59000de5 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729744 13f79535-47bb-0310-9956-ffa450edef68
2008-12-28 14:55:17 +00:00
Jacques Le Roux c890b3ef32 Reverted on Adam's guidances
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728536 13f79535-47bb-0310-9956-ffa450edef68
2008-12-21 22:25:22 +00:00
Jacques Le Roux 7dd8ecf6de Merge all current CompanySubtitle labels in all languages.
It was a real mess. I wondered if I should put them all under a ComonCompanySubtitle label and remove all others. 
But I guess they could be used with other meaning in real world applications (ie not OOTB). So I kept them all.
There are some duplicates in some languages. I kept them commentent out at end of each line.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728061 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19 16:30:55 +00:00