Commit Graph
1626 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
David E. Jones 70f8da92bb Moved logo and icon images back to images component and removed from everywhere else; all references to these should be to there only now; fixes issue with logo in ecommerce and other little things
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766426 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 06:12:55 +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
Adrian Crum 9a753b9865 Fixed a problem where service definitions were using "GenericValue" as attribute types, but that threw exceptions because the service definitions needed the full class name - "org.ofbiz.entity.GenericValue". The problem was reported in https://issues.apache.org/jira/browse/OFBIZ-2268 and https://issues.apache.org/jira/browse/OFBIZ-2311.
I checked the commit logs and I don't see what changed to cause these services to stop working, so I took the shotgun approach and changed all occurrences of GenericValue service attributes.

If anyone has a better solution, please feel free to revert this commit and change it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765864 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 06:33:43 +00:00
Jacques Le Roux d4da24055a A patch from Erwan de FERRIERES "use up-to-date poi.jar library" https://issues.apache.org/jira/browse/OFBIZ-2299
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765545 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 09:49:52 +00:00
Scott Gray 7531687fdd OFBIZ-2259: Implemented test data rollback per test-suite using the GenericDelegator
Provides the following benefits:
1. Test data independence per component suite
2. Ability to run tests repeatedly without reloading the database
3. Continued database independence for the testing tools
4. The possibility of future improvements for controlling when data is rolled back (per unit test, group of unit tests within a suite or
even tree structured tests where data is partially rolled back before continuing)
5. The future possibility to export data changes resulting from a test run
6. The future possibility to verify a test result automatically based on the output of #4

The rollback currently doesn't catch changes resulting from async service calls and also doesn't rollback changes to SequenceValueItem

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765057 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 06:01:36 +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
David E. Jones 8a7c6083b9 Added some comments about feature application types to clear up some confusion and misconceptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763515 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 04:41:23 +00:00
Jacques Le Roux c1e68e9eda A patch from Divesh Dutta "Some errors and bugs coming on console" https://issues.apache.org/jira/browse/OFBIZ-2280
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 11:48:42 +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 5c924de13c Secured URLs : random fixes (but not done randomly but using <<param-name=(.*)&amp>>, so are the last of this kind)
Fix some French labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762067 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 11:08:43 +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 8e1308aaf6 Better French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761819 13f79535-47bb-0310-9956-ffa450edef68
2009-04-03 22:10:39 +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
Jacques Le Roux ef0137f95b Securing URLs, link element in screens and menus : 26th set + tabs to 4 spaces
We continue to approach the end... But for some exceptions, more than the 2 I found before. I will write a compilation on dev ML at end

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761261 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 12:14:18 +00:00
Jacques Le Roux bc1afdfb39 Securing URLs, link element in screens and menus : 25th set + tabs to 4 spaces
We are near the end...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761240 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:31:49 +00:00
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 e8426631e8 Securing URLs, link element in screens and menus : 22th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761214 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:14:40 +00:00
Jacques Le Roux 798c9f1e55 Securing URLs, link element in screens and menus : 19th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761203 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 08:32:41 +00:00
Hans Bakker cbbe02a1d8 many cleanups, moved customer requests back into order, fixed the edit contactmech in portal as reported in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761186 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 06:57:09 +00:00
Jacques Le Roux 5eb19ca370 Securing URLs, link element in screens and menus : 17th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760990 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 18:13:18 +00:00
Jacques Le Roux c2ee60cb8e Securing URLs, link element in screens and menus : 14th set + tabs to 4 spaces
+ fix a bug introduced in ProjectScreens.xml in previous commit (workEffortTypeId was missing)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760973 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 17:28:03 +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 02c70105d7 Securing URLs, link element in screens and menus : 12th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760791 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:23:45 +00:00