Commit Graph
3703 Commits
Author SHA1 Message Date
Adam Heath 2bdf42b88d DEPRECATION: specialpurpose/projectmgr: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338422 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:26 +00:00
Adam Heath fc175cbec9 DEPRECATION: specialpurpose/pos: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338421 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:17 +00:00
Adam Heath 1600f2a4eb DEPRECATION: specialpurpose/oagis: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338420 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:11 +00:00
Adam Heath 34992a06c6 DEPRECATION: specialpurpose/hhfacility: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338419 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:05 +00:00
Adam Heath 23ca478f7e DEPRECATION: specialpurpose/googlecheckout: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338418 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:59 +00:00
Adam Heath 0398baa71b DEPRECATION: specialpurpose/googlebase: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338416 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:53 +00:00
Adam Heath c1028c2d0b DEPRECATION: specialpurpose/ecommerce: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:45 +00:00
Adam Heath 3309ac43e3 DEPRECATION: specialpurpose/ebaystore: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338414 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:33 +00:00
Adam Heath a5352e0565 DEPRECATION: specialpurpose/ebay: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338413 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:19 +00:00
Adam Heath e75bc67b63 FORMATTING: Add some missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338370 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:52:26 +00:00
Jacopo Cappellato 7e20767b40 removed redundant request entry (the entry is defined in common-controller.xml).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337800 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 08:01:28 +00:00
Adam Heath 3a8846723a DEPRECATION: specialpurpose/workflow: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337686 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:14 +00:00
Adam Heath 9306c2992f DEPRECATION: specialpurpose/webpos: findByPrimaryKey variants replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337685 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:06 +00:00
Adam Heath ede54ec4aa DEPRECATION: specialpurpose/shark: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337684 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:22:00 +00:00
Adam Heath e0d5251b7a DEPRECATION: specialpurpose/scrum: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337683 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:48 +00:00
Adam Heath 3edf9fdad7 DEPRECATION: specialpurpose/projectmgr: findByPrimaryKey variants
replaced with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337682 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:37 +00:00
Adam Heath 10018f6c2b DEPRECATION: specialpurpose/pos: findByPrimaryKey variants replaced with
findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337681 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:31 +00:00
Adam Heath 3cc9210d6a DEPRECATION: specialpurpose/oagis: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337679 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:24 +00:00
Adam Heath faa62162d4 DEPRECATION: specialpurpose/googlebase: findByPrimaryKey variants
replaced with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337678 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:16 +00:00
Adam Heath 758c236614 DEPRECATION: specialpurpose/ecommerce: findByPrimaryKey variants
replaced with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:05 +00:00
Adam Heath a6db87d94b DEPRECATION: specialpurpose/ebaystore: findByPrimaryKey variants
replaced with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337675 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:20:48 +00:00
Adam Heath 60ae46f59d DEPRECATION: specialpurpose/ebay: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337674 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:20:38 +00:00
Adam Heath 162905e200 FORMATTING: Add some missing final newlines to tons of files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337320 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:03:08 +00:00
Jacopo Cappellato afc03d450a Completed migration to new captcha event implemented by Scott; removed old artifacts; removed tempfiles webapp that was causing the error reported in OFBIZ-4856
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337202 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 15:10:45 +00:00
Scott Gray b0f4341784 Changed the Anon Contact Us in ecommerce to use the improved captcha event. Also removed some bad code that would allow a user to impersonate another user and discover their name simply by entering that person's email address in the form.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337059 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:21 +00:00
Scott Gray c158c8668d Copied the captcha image generator into a single event that streams the image to the response for a direct request rather than trying to store it during screen rendering to be served up later.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337057 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:02 +00:00
Ashish Vijaywargiya e1ca311e18 Applied similar fix as we did on trunk r1300463.
On production systems you can't suppress Debug.log( message by the use of debug.properties file. It is always good to use Debug.* statements that are having log level setup in debug.properties file. The real problem comes with Debug.log( statement when you are printing any list or map object that contains so many records(or data) in it. Here I am changing all the occurrence of Debug.log( with Debug.logInfo(, Debug.logError( or Debug.logWarning( so that we can have better control of Debug.* statements on production system. :-)

Bad use of Debug statement. On production system you will get false alarm that you are having error in code base although the resultant statement is only giving additional information instead of error message.

If conditional check is used for some debug level lets say "Verbose" then the containing Debug statement will be Debug.logVerbose() instead of Debug.logInfo() - Comment from Jacopo and Adrian. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337024 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 04:46:26 +00:00
Jacques Le Roux 98198fbbf6 A patch from Pierre Smits "Project resources overview shows button when thruDate < nowTimestamp" https://issues.apache.org/jira/browse/OFBIZ-4858
The button to end the assignment of a resource on a project should only be shown when the thruDate is not set or when the thruDate > nowTimestamp. But the button is also shown when the thruDate < nowTimestamp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335946 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 07:15:19 +00:00
Ashish Vijaywargiya 716b6eb554 Applied similar fix as we did on trunk r1300463.
On production systems you can't suppress Debug.log( message by the use of debug.properties file. It is always good to use Debug.* statements that are having log level setup in debug.properties file. The real problem comes with Debug.log( statement when you are printing any list or map object that contains so many records(or data) in it. Here I am changing all the occurrence of Debug.log( with Debug.logInfo(, Debug.logError( or Debug.logWarning( so that we can have better control of Debug.* statements on production system. :-)

Bad use of Debug statement. On production system you will get false alarm that you are having error in code base although the resultant statement is only giving additional information instead of error message.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335927 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 05:28:17 +00:00
Jacques Le Roux 74b637f170 A patch from Ankit Jain "Fixes js issue due to bad demo data" https://issues.apache.org/jira/browse/OFBIZ-4566
On the edit contact mech page (https://localhost:8443/ecommerce/control/editcontactmech?contactMechId=10001) coming from profile page, there was one js error (in console)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335351 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:29:08 +00:00
Jacques Le Roux 247059db00 A patch from Ankit Jain "Continue shopping does not work" https://issues.apache.org/jira/browse/OFBIZ-4834
After submitting an order using quick checkout, when you want to add products from main page (using Continue shopping or not), at the 1st product you add you get directly to quick checkout and would have to get back to the main page to add another product

This was happening because we had used save-current-view="true" for "quickCheckout" request and in the addItem request we are using view-last that's why it was redirecting to quickCheckout after adding item. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335347 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:07:51 +00:00
Jacopo Cappellato df4239dac6 First pass in fixing the buggy code for captcha support; this is a first pass (the next one will probably be to save the image in the session rather than in the file system); the main problems fixed are related to concurrent access: the class was not thread safe and this, especially in servers with high traffic, could cause a series of issues like:
* captcha images created and then lost
* captcha images created in the wrong location (for example out of the OFBiz folder)
* the folder runtime/tempfiles/captcha could be locked



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335047 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 14:46:07 +00:00
Jacques Le Roux b9da50657d Non functional changes.
Removes a bunch of useless exceptions catches. There are still few cases to discuss, I believe there are useless (or at least without much more information) as well. we will decide on dev ML later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1334497 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 20:46:39 +00:00
Adam Heath 69dd7bc385 FIX: Properly fix 1327736, which was reverted in 1327866. I have no
idea where those bad digest password values came from.  Really, I have
no clue.  Everything worked in testing.  I'm very confused.  I have
verified that I can log in now with the demo accounts.  Sorry about the
breakage.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1334173 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:42:57 +00:00
Adam Heath f589a72776 FEATURE/DEPRECATION: Deprecate HashCrypt.cryptPassword; previously,
it would call String.getBytes(), without specifying an encoding.  That
meant that the platform default encoding would be used, which might
change between different installs(if someone changed an environment
variable, for instance).  Now, there are explicit variants to be called.

When creating a new value, use cryptValueUTF8.  If, for some reason,
calling code is doing it's own comparison, it must continue to use
cryptValueBytes(password.getBytes()).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1334170 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:42:26 +00:00
Adam Heath a2fba1b8c9 OPTIMIZE: Remove cryptPassword(String, String); it is not nescessary to
go thru a deprecation cycle for this, as this method was only recently
added, and has never been officially released.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1333664 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 22:20:24 +00:00
Jacques Le Roux ef7382315d A patch from Tom Burns for "eCommerce Create New Customer Improvement" https://issues.apache.org/jira/browse/OFBIZ-4831
1. Add support for dependent Country / State drop down to newcustomer.ftl
This change makes the behavior of the Country / State drop downs in newcustomer.ftl consistent with the Profile > Contact Information > Postal Address > "Create New" and "Update" behavior.

2. When an eCommerce user, who is not Logged In, clicks "Register" the newcustomer.ftl from opens with a "Go Back" button.
This button navigates to a Login form that prompts the user for a user name and password.
This makes no sense in the context.
A better design is to have a Cancel button. When the user clicks Cancel the application returns to the Main display for the current session.

jleroux: 
1. I wondered about returning to main page when coming from login screen and asking to create a new user. But it makes sense as well and is better when coming directly from main page. Anyway this is purely cosmetic
2. We don't need to get back to this screen (new profile) so no needs to use from-field="selectedStateName" in
<set field="selectedDependentOption" from-field="selectedStateName" default-value="_none_"/>
It makes things clearer

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1331842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:53:54 +00:00
Adrian Crum 2fa0a55b00 Removed unnecessary conversion from Set to List.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1330398 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 16:28:10 +00:00
Sascha Rodekamp c0939c2a0a Move the repository mapping files in a sub package. To differ between file and data mappings.
Each node contains now a field which identifies the party who created the content and the party which modified it last.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1329718 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 13:50:33 +00:00
Adrian Crum 1c6ba80b29 Updated all Mini-language xml files to use the new schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328827 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 09:18:24 +00:00
Erwan de Ferrieres 6204ba6b9c A patch from yashwant dhakad OFBIZ-4829 Missing decorator location in ExampleExt component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328793 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 05:07:49 +00:00
Erwan de Ferrieres e6872bfc5a Missing when reverted at rev 1328790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328791 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 05:07:02 +00:00
Erwan de Ferrieres 7abfecf00a Reverting 1328522 Merging exampleext in example application which was a bad idea
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328790 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 04:59:49 +00:00
Jacques Le Roux 28abfaefab I need to keep this hidden, in case of debug need in XUI libs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328728 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 19:37:18 +00:00
Jacques Le Roux 197a60cc25 Moves guiapp component inside POS component
Closes https://issues.apache.org/jira/browse/OFBIZ-4807



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328727 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 19:19:09 +00:00
Erwan de Ferrieres 8c7487a2a0 Merging exampleext in example application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328522 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:55:33 +00:00
Erwan de Ferrieres 52e25d2ed3 Moving example* applications to specialpurpose OFBIZ-4790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328503 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:11:02 +00:00
Jacques Le Roux d61213727c A patch from Tom Burns for "eCommerce Customer Code Cleanup" https://issues.apache.org/jira/browse/OFBIZ-4830
1. In OFBIZ-4822 it was decided that request to authview would be removed from the eCommerce customer ftl files because their only purpose was to set URL to https. The set field "donePage" in CustomerScreens.xml editperson effects the same result.

2. There are brackets in the password.ftl display for the href:
<a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a>

The brackets are inconsistent with the display for similar elements in the applications


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328205 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 06:12:25 +00:00
Jacopo Cappellato c3d5486642 Reverted rev. 1327736: with it it was impossible to log in with demo accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327866 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 08:43:54 +00:00
Adam Heath 61bfa7a98c FEATURE: Make use of new HashCrypt cryptPassword functionality.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327741 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 23:49:22 +00:00