Commit Graph
1089 Commits
Author SHA1 Message Date
Jacques Le Roux 76352e305a Securing URLs, link element in screens and menus : 24th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761238 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:27:18 +00:00
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Jacques Le Roux 2ac0493ee6 Securing URLs, link element in screens and menus : 20th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761205 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 08:39:10 +00:00
Jacques Le Roux 492bbdf8d3 Securing URLs, link element in screens and menus : 18th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761002 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:27:08 +00:00
Jacques Le Roux 77a2ff1d9f 21th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements

We are near the end...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759684 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 14:02:55 +00:00
Jacques Le Roux efd4862041 10th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
Some hyperlink tag are still not well indented (3 spaces instead of 4), I gave up :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759515 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 17:36:08 +00:00
Adam Heath 37458aa4c6 Fix lines that *only* have whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759244 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:59:04 +00:00
David E. Jones cb68d8bd03 Changed performance test script to use framework entities instead of applications entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757692 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 09:22:06 +00:00
David E. Jones 86e8e431d7 Removed old webtools workflow engine pages from webtools to a skeleton (non-functional) webapp in the specialpurpose/workflow component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757689 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:52:49 +00:00
David E. Jones 606d48b458 Moved EditCustomTimePeriods page from webtools to accounting in the Global GL Settings tab, plus fixed the groovy script so that screen would actually work, general framework independence changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757683 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:11:22 +00:00
David E. Jones 4a1705a315 Removed some more references to applications stuff from framework, including small cleanup of service engine to get rid of WebAppDispatcher and use new factory method in GenericDispatcher, and changed AvailableServices.groovy to get the real dispatcher list instead of a hard-coded one; also updated eclipse classpath file for new webslinger stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 06:27:03 +00:00
David E. Jones 61e3ed5007 Small formatting cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757315 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 04:37:15 +00:00
Adam Heath b8c6f6efad Fix purely empty whitespace lines, and remove trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757081 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:25:25 +00:00
Jacques Le Roux a94026b21b Some French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755504 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 08:27:39 +00:00
Jacques Le Roux 3dd56b670a Marco's LabelsReferences8.patch : "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@755394 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:01:43 +00:00
Jacques Le Roux 53205d825c I forgot to check svn properties, updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:21:23 +00:00
Jacques Le Roux 24c74d318e I forgot to check svn properties, updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754754 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:18:57 +00:00
Jacques Le Roux 292c8ff669 Better French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754662 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 13:21:49 +00:00
Jacques Le Roux cb89b01690 LabelsReferences6.patch from Marco : "New tool to get labels information." (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ 2 French translations (test), the Labels Manager is now really cool to use, thanks Marco!



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754649 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 10:36:41 +00:00
Adrian Crum a2b63ecabb Fixed Webtools decorator screen problem reported by Joe Eckard - https://issues.apache.org/jira/browse/OFBIZ-2237.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752566 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 18:45:20 +00:00
Jacques Le Roux df82381e83 get rid of deprecated warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751416 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:21:00 +00:00
Jacques Le Roux c3318ad613 CommonEmptyHeader is empty by definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:14:59 +00:00
Bruno Busco 859b9f2f14 Completed the WebToolsMessageXX and WebToolsNoteXX labels update to OFBiz naming standard pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751340 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 23:59:21 +00:00
Bruno Busco bbdb83947c Applyed the standard naming pattern to a first set of WebToolsMessageXX labels.
All strings that are splitted into multiple labels but always rendered concatenated have been replaced with a single label.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 19:22:00 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Jacques Le Roux f796e230d2 catch( => catch(
}else => } else

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:55:43 +00:00
Jacques Le Roux ec8e04ad01 try{ => try {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:49:18 +00:00
Jacques Le Roux 13a934f823 In spirit of Adam's r749341 and following http://java.sun.com/docs/codeconv/html/CodeConventions.doc7.html#489
The idea is also that a lot of code is duplicated and then changed (copy/paste). Hence having a rightly formatted code help to keep it rightly formatted
1st (simple) step : ){ => ) { (I checked all occurrences but of course other pairs of eyeballs are welcome)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 17:31:13 +00:00
Jacques Le Roux eff308b37a A patch from Bruno Busco "Now the VisualTheme is changeable from the Webtools also." (https://issues.apache.org/jira/browse/OFBIZ-2229) - OFBIZ-2229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:53:21 +00:00
Jacques Le Roux 5d7d2f76ea Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750635 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:31:03 +00:00
Jacques Le Roux 0f121e0183 Add some informations for duplicated labels in Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750632 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:17:09 +00:00
Jacques Le Roux eb0aa2409f Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749291 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 12:32:54 +00:00
Jacques Le Roux ccadfbacbb LabelReferences4.patch from Marco "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@748732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 23:01:41 +00:00
Jacques Le Roux e4074b45a4 A simpler solution than Eric DE MAULDE's "Error in log view layout" https://issues.apache.org/jira/browse/OFBIZ-2202 OFBIZ-2202
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 08:08:17 +00:00
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