Hans Bakker
a4a822cffe
copy usersettings from a template if not found for a certain user
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@673671 13f79535-47bb-0310-9956-ffa450edef68
2008-07-03 13:12:31 +00:00
Adam Heath
357fb50bc6
More generics work.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672672 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 20:33:19 +00:00
Adrian Crum
13be6d006d
Better implementation of last commit, based on a suggestion by David Jones.
...
No additional screen widget code is needed to implement the Find screen search results default behavior.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@670704 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:38:04 +00:00
Adrian Crum
b06a17e6fd
Added LDAP user authentication, based on work contributed by Mohamed Amine Azzi and Torsten Schlabach - https://issues.apache.org/jira/browse/OFBIZ-811 .
...
Internationalization note: this commit contains new UI labels.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@669994 13f79535-47bb-0310-9956-ffa450edef68
2008-06-20 17:09:19 +00:00
David E. Jones
b9d6f8b524
Changed EntityExpr and EntityFunction subclasses to use the factory instead of constructor pattern, plus moved EntityExpr to EntityCondition factory methods; a number of EntityExpr cleanups, but many more to go
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660812 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 05:20:09 +00:00
David E. Jones
3543d6abe3
Changed the way EntityCondition sub-classes work so they use the javolution Reusable class for recycling objects; now all conditions should be created using the factory methods on the EntityCondition object instead of the direct constructors; there is a small variety of classes available there now for ease of use; also changed a bunch of old code to not use the deprecated constructors; note that still need to do a pass similar to this on EntityExpr
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@660780 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 01:58:46 +00:00
David E. Jones
a713ad4bd7
Added support for groovy services, and an example of the same; cleaned up the way that bsh services work and updated the example and such to match, now returns a context as one would expect
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@657701 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 00:22:46 +00:00
David E. Jones
050bbde29a
Reverted fix from Hans that effectively disabled the method to remove the hash type prefix, and fixed the userLogin service code to and fixed the userLogin service code to remove the prefix from the db currentPassword value, which was missing and was causing the problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656515 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:10:50 +00:00
Hans Bakker
0955b594c2
a better fix than rev 656100
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656175 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 09:22:54 +00:00
Hans Bakker
2e43e295da
corrected password entry problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@656100 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 04:43:13 +00:00
Scott Gray
153653615b
Removed the rest of the calls to deprecated GenericDelegator methods, except for the findListIteratorByCondition which takes a DynamicViewEntity as a parameter not sure what to do about that one.
...
There's still all the bsh files to check though.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655235 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 03:29:04 +00:00
Scott Gray
0792342f2a
Removed more calls to deprecated GenericDelegator methods
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@655016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 06:24:19 +00:00
Adrian Crum
d7fa8b25cc
Small improvement to PreferenceServices.java.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@654587 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 17:43:53 +00:00
David E. Jones
329631a4b5
A whole bunch of cleanups to use newer and more consolidated delegator find methods; still lots of deprecation warnings, bots of deprecation warnings but this is a first pass, and things still run as before
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653029 13f79535-47bb-0310-9956-ffa450edef68
2008-05-03 09:40:51 +00:00
David E. Jones
0bc3a402fd
Some improvements for password encryption based on ml discussions: now supports reading weird old password hex conversion, plus a more standard/correct hex conversion using Apache Commons Codex Hex class, plus an attempt to encode using a hash type in a prefix in the database; will always save the encoded password using the default type specified in the config file and will put a hash type prefix on it for portability
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652224 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 01:58:00 +00:00
Jacques Le Roux
6ab6a5f76e
A patch from Anne Jessel "Two Australian "states" missing from drop-down list" ( https://issues.apache.org/jira/browse/OFBIZ-1737 ) - OFBIZ-1737
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@644629 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 07:12:38 +00:00
Christian Geisert
47d8c8b588
Setting svn properties (svn:eol-style,svn:mime-type,svn:keywords)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@634598 13f79535-47bb-0310-9956-ffa450edef68
2008-03-07 10:12:14 +00:00
Adrian Crum
2b5150dad0
Oops, I forgot to remove debugging code before the last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606283 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:32:29 +00:00
Adrian Crum
65d64af698
User preferences feature - https://issues.apache.org/jira/browse/OFBIZ-495 . This is the Java version - I'll commit the simple method version as soon as one is available.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@606269 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 19:02:28 +00:00
Andrew Zeneski
c68348b42b
applied patch which changes the check for existing userLoginId to be case insensitive
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590757 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 17:21:17 +00:00
David E. Jones
75c26763e5
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed; this is tested a fair amount, but obviously needs to be watched as it is new code
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@587433 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 09:52:49 +00:00
Adam Heath
c69096e93a
Switch as much as possible from StringBuffer to StringBuilder.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585805 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:56:02 +00:00
Adam Heath
2ff7a8a575
Make use of the single-arg variants of makePK/makeValue, removeAll,
...
and clearCacheLine
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@585803 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 02:46:57 +00:00
Andrew Zeneski
2efbbe6cca
fixes possible NPE (from Anil Patel)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579088 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 06:29:34 +00:00
Andrew Zeneski
6548a71c1e
implementation (from Anil Patel) to support restricting changed passwords to not allow the use of a previous password (the length of tracking is configurable in security.properties)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@573458 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:58:35 +00:00
Jacques Le Roux
e0504ef18d
A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" ( https://issues.apache.org/jira/browse/OFBIZ-1223 )
...
This patch définitively corrects the problem David raised + some cosmetic UI changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572375 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 15:56:51 +00:00
Jacques Le Roux
02e0beac3c
Revert 572172 on David's advice
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572322 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 13:24:16 +00:00
Jacques Le Roux
504c87ddca
A patch from Adrian Crum for an issue from Bilgin Ibryam"Changing the language in party manager is broken" ( https://issues.apache.org/jira/browse/OFBIZ-1223 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@572172 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 21:46:01 +00:00
David E. Jones
2f62104e62
Changed get states/provinces by country to get ONLY states/provinces and to be more efficient
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@558245 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 05:17:56 +00:00
Jacques Le Roux
2cb6db7b5b
A patch from Adriam Crum "Small Fixups for OFBIZ-642" ( https://issues.apache.org/jira/browse/OFBIZ-1147 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556141 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 20:41:11 +00:00
Jacques Le Roux
834a564d00
A patch from Adriam Crum "Quirky Behavior In New Time Zone Selection Box" ( https://issues.apache.org/jira/browse/OFBIZ-1126 )
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556002 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:58:49 +00:00
Andrew Zeneski
a833b49f60
added Uom -> Calendar worker methods
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@551295 13f79535-47bb-0310-9956-ffa450edef68
2007-06-27 19:47:49 +00:00
Jacopo Cappellato
f9ccd14670
Applied patch from Stefan Huehner OFBIZ-730 to fix some very bad conditions that could cause NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550233 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 14:17:31 +00:00
Jacopo Cappellato
d2169fd325
When a password is updated, added check to verify that the new password is different from the old one.
...
Also moved a a few of labels that were in the wrong component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549443 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 10:20:43 +00:00
Jacopo Cappellato
4e8e2dac8e
Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Jacopo Cappellato
399fab0d33
Applied patch by Adrian Crum to implement User Time Zone Selection Capability.
...
OFBIZ-1079
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548646 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 08:08:53 +00:00
Andrew Zeneski
85e2aa4a42
changed to an explicit space
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540009 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 03:49:57 +00:00
Andrew Zeneski
5b1b4778b6
added code to strip off weird characters
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@540008 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 03:47:33 +00:00
David E. Jones
5e1d6ab6d9
Finished fixing a problem that I almost fixed yesterday, but I didn't quite do it right; now the login won't be called twice, avoiding the UserLoginHistory problem, which was reported for MySQL with the timestamp resolution problem
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@533305 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 06:07:39 +00:00
Andrew Zeneski
e8605a12d4
added UomWorker
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@532557 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 01:24:51 +00:00
Andrew Zeneski
464f744f1b
added test service to test map/list conversions
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@529712 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 19:03:43 +00:00
Andrew Zeneski
df64c2610f
fixed auto-login from x509 cert
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527736 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 00:14:37 +00:00
Andrew Zeneski
8c9e6bd5c6
implemented simple service stream handler; allows reading the inputstream of a request from inside a service; useful for processing non-standard requests
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@526262 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 19:30:22 +00:00
Jacques Le Roux
dad67935f7
A (large) patch from Scott Gray "Update ASL header" ( https://issues.apache.org/jira/browse/OFBIZ-637 ).
...
I put also some svn:ignore for shark build and lib diretories and assetmaint/build
I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.
I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacques Le Roux
a5632fa086
This is hte change of ASL2 headers in java files only.
...
Seems correct (35827 lines to review ;o).
I just wonder if we should keep the copyright comment in Classpath.java (about MortBay)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@496982 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:22:33 +00:00
David E. Jones
6e267dc38d
Refactored KeywordSearch class to move some more generic search code and properties to the common component
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@485561 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 08:57:02 +00:00
Jacques Le Roux
bd428bde64
A patch from Stefan Huehner "Code-Cleanup: new Boolean(true) -> Boolean.TRUE" ( https://issues.apache.org/jira/browse/OFBIZ-530 ).
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:19:28 +00:00
Jacques Le Roux
f855cb3f2b
A patch from Stefan Huehner "Code-Cleanup: remove superflous new String and .toString() calls" ( https://issues.apache.org/jira/browse/OFBIZ-533 ).
...
This files was missing because I had to revert them to resolve previous conflict
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484974 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 12:15:39 +00:00
Jacques Le Roux
eb82782d03
A patch from Stefan Huehner "Remove unused variables" ( https://issues.apache.org/jira/browse/OFBIZ-525 ).
...
Issue is not closed : more patches to come
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@483235 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:18:30 +00:00
Jacopo Cappellato
b26c3800f0
Removed unused imports.
...
Thanks to Stefan Huehner for the patch
OFBIZ-513
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@481561 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 14:06:10 +00:00