Commit Graph
672 Commits
Author SHA1 Message Date
Jacques Le Roux c55e147b15 We were still missing something in this secured URLs : the calendar was not working. I quickly understood the issue but I had to struggle with this because Firebug made a mess in Firefox. I had to turn to Chrome to understand why Firefox was not finding the calendar after my change. It worked in Chrome, phew! Beware of Firebug, sometimes (not the 1st for me) it hurts more than it helps :(
I will see if we have other cases like this one...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767123 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 12:27:35 +00:00
Jacques Le Roux f324aad896 Fix an URL not secured, reported by Ashish on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767102 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 10:17:43 +00:00
Jacques Le Roux dee90982d1 Even better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767099 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:55:22 +00:00
Jacques Le Roux 6280dec82f Fix typo in r767072
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767098 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:54:45 +00:00
Jacques Le Roux fa26fb7c2a Complete r767072
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767093 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 09:49:34 +00:00
Ashish Vijaywargiya 5681e19fad https://localhost:8443/catalog/control/EditCategoryProdCatalogs?productCategoryId=CATALOG1
Delete link was not working.
Changed code on the basis of David's suggestion on Dev mailing list on thread "Secured URLs strategy".

Am I done it right David ?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@767072 13f79535-47bb-0310-9956-ffa450edef68
2009-04-21 08:42:56 +00:00
Vikas Mayur 1cfdecb839 Fix: In Facility, Picking screen group link was not working. Patch from Arun Patidar, part of OFBIZ-2320 (https://issues.apache.org/jira/browse/OFBIZ-2320)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766307 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 12:08:46 +00:00
Vikas Mayur c317415793 Changed the alt attribute of <img> tag to use label instead of free form string to support i18n stuff for all the lookup screens.
Patch from Divesh, Part of OFBIZ-2276 (https://issues.apache.org/jira/browse/OFBIZ-2276).
I have also changed alt="Lookup" with the label.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764753 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 12:08:55 +00:00
Vikas Mayur 7308fb5995 Small cleanups for last commit - r764685
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764688 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:59:26 +00:00
Vikas Mayur 86795554d5 New stock move screen to do a quick stock move. Part of OFBIZ-2233 (https://issues.apache.org/jira/browse/OFBIZ-2233)
Thanks Divesh for contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764685 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 06:42:37 +00:00
Jacques Le Roux adac58be36 Oops, this one slipped in with r764195 and it's better to keep something that throw an error that something which is hiding it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764199 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:17:57 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux 3c94bec42b I finally reverted almost all Ashish Nagar's patch from https://issues.apache.org/jira/browse/OFBIZ-2260 - OFBIZ-2260 that I commited after a review but no tests in r762149.
This because these URLs in FTL file were not calling services, hence, as explained David, did not need any changes
I kept only changes I found by chances (because I got conflicts in them) in 
specialpurpose\ecommerce\webapp\ecommerce\order\orderitems.ftl
specialpurpose\ecommerce\webapp\ecommerce\order\orderheader.ftl
applications/order/webapp/ordermgr/order/ordershippinginfo.ftl 
I also added one secured URLs - createShipment2 - in this last file and there are more to do just below : quickDropShipOrder, createShipment. I think we need more than good will and chance here. We need to define a strategy to spot the URLs calling services in ftl files. This does not sound like impossible to automatize and I firmly think we should do that before freezing R9.04


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764077 13f79535-47bb-0310-9956-ffa450edef68
2009-04-10 22:09:23 +00:00
Marco Risaliti a657adadf8 Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:45:31 +00:00
Jacopo Cappellato a370d738ed Switched from bsh to groovy scriptlets; the bsh ones are throwing an error.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763526 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 06:24:36 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Vikas Mayur 43266bac3e For creating picklist, grouping can be done with two new methods Warehouse Area and Number of order items
in addition to the default option i.e. Shipping Method.

Patch from Arun Patidar, reviewed by Pranay Pandey and applied from OFBIZ-2223 (https://issues.apache.org/jira/browse/OFBIZ-2223)




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762399 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 15:49:17 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux 61a5c1dcf4 A modified patch from Ashish Nagar "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762149 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 20:16:46 +00:00
Jacques Le Roux 634aaf75e0 Last tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762025 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 22:23:19 +00:00
Jacques Le Roux c262e7e0c9 Securing URLs, link element in screens and menus : 34th and last set + tabs to 4 spaces
End of non regular formattings and other cases.

This is the end of the process, we just have to wait for typos and such now... Hopefully not too much, at least I tried my best.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762022 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 22:12:23 +00:00
Jacques Le Roux 69357dd078 Securing URLs, link element in screens and menus : 33th set + tabs to 4 spaces
Continue to end with non regular formattings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762018 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:46:04 +00:00
Jacques Le Roux fafb422e12 Securing URLs, link element in screens and menus : 32th set + tabs to 4 spaces
Continue to end with non regular formattings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762015 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:35:08 +00:00
Jacques Le Roux 90704214c4 Securing URLs, link element in screens and menus : 31th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761978 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 18:14:01 +00:00
Jacques Le Roux 2ff381283b Securing URLs, link element in screens and menus : 30th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761977 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 18:08:08 +00:00
Jacques Le Roux 3efbbc81cd Securing URLs, link element in screens and menus : 29th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761976 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 17:46:49 +00:00
Jacques Le Roux 67a602c3ed Securing URLs, link element in screens and menus : 28th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761972 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 17:36:48 +00:00
Jacques Le Roux c2ed8b71ac Securing URLs, link element in screens and menus : 27th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761971 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 17:33:50 +00:00
Vikas Mayur 44b5a75ed0 New screen in facility - "Verify Pick" to allow user to verify a pick.
Applied patch from jira issue OFBIZ-2226 (https://issues.apache.org/jira/browse/OFBIZ-2226)

Thanks Akash Jain and Pranay Pandey!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761922 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 12:55:23 +00:00
Jacques Le Roux 4a7189ea0a Should not be an error in FTL file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761720 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 16:34:38 +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 e84464bcda A patch from Henning Schmiedehausen " Category delete links in Catalog view don't work" https://issues.apache.org/jira/browse/OFBIZ-2266
+ Securing URLs, link element in screens and menus : 14th set + tabs to 4 spaces


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760940 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 15:57:25 +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 40f5281303 20th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759680 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 13:33:53 +00:00
Jacques Le Roux bb2d8d5bad 19th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759667 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 11:14:57 +00:00
Jacques Le Roux 8c6d89fe75 18th 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

This one is huge, with some changes by hand, conversion from tabs to 4 spaces and some trailing spaces (I have activated it AnyEdit plugin following the changes I made in http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions but I wonder if I should not reverse all that - I mean my plugin setting and in wiki -, it's a nightmare!)

I did my best on this one, but I'm not sure some typos did not slip in. Anyway, alea jacta est


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759666 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 11:00:00 +00:00
Jacques Le Roux c97ffabfa5 17th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759654 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 09:04:49 +00:00
Jacques Le Roux c2bc362e09 A last bunch of typos
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759612 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 22:52:07 +00:00
Jacques Le Roux 20f479d2e1 Typos from previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759610 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 22:39:38 +00:00
Jacques Le Roux b1766aaa8c Fix some bad changes in previous commit (hyperlinks related)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759605 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 22:06:23 +00:00
Jacques Le Roux 3fe66ef254 tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759574 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 20:13:03 +00:00
Jacques Le Roux e75524ac5b Fix some bad changes in previous commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759572 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 20:11:02 +00:00
Jacques Le Roux 0a55248195 14th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759565 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 20:01:04 +00:00
Jacques Le Roux 2f9c37bd22 13th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759564 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:56:49 +00:00
Jacques Le Roux e3f730799b 12th 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


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759562 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 19:45:05 +00:00
Jacques Le Roux c5d11e9899 9th 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



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759506 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:39:26 +00:00
Jacques Le Roux 10a5ee651a Replace tabs by 4 spaces in previous commit. I used 4 spaces instead of 2 because this was already used in this files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759496 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:16:29 +00:00
Jacques Le Roux a30c0c9f3e 8th 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



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759495 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:14:58 +00:00
Jacques Le Roux ab5ea3cb68 7th 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



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 16:13:37 +00:00