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
Adam Heath
14ea43adaf
Fix lines that *only* have whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759255 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 17:01:44 +00:00
Adam Heath
a3adf0acfe
Fix purely empty whitespace lines, and remove trailing whitespace.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757094 13f79535-47bb-0310-9956-ffa450edef68
2009-03-21 23:45:04 +00:00
Jacques Le Roux
cbca93e6b4
securityext component
...
Following best practice.
Changed location="org/ofbiz/......... to location="component:// in the service location attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755939 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 11:47:51 +00:00
Ashish Vijaywargiya
94faebe2b8
Followed best practice.
...
Changed location="org/ofbiz/......... to location="component://
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755828 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 04:25:50 +00:00
Ashish Vijaywargiya
e0b9c086a7
Followed best practice.
...
Changed location="org/ofbiz/......... to location="component:// in the call-map-processor tag.
Will remove the entries in other files ASAP.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755826 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 04:17:41 +00:00
Marco Risaliti
490bf784a4
Artifact cleaning after recent changes on xsd files (OFBIZ-2137)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754738 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 20:07:30 +00:00
Jacques Le Roux
0597116aba
<call-object-method obj-field="(.*)" obj-map="(.*)" method-name="(.*)" ret-field="(.*)" ret-map="(.*)"/> => <call-object-method obj-field="$2.$1" method-name="$3" ret-field="$5.$4"/>
...
<call-object-method obj-field="(.*)" obj-map-name="(.*)" method-name="(.*)" ret-field="(.*)" ret-map-name="(.*)"/> => <call-object-method obj-field="$2.$1" method-name="$3" ret-field="$5.$4"/>
<session-to-field field-name => <session-to-field field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740035 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 16:55:53 +00:00
Jacopo Cappellato
98e71f1922
Misc cleanups for data files:
...
1) added {SHA} prefix to all hashed passwords
2) moved "admin" user to demo data; the only user maintained with seed data is now the "system" user
3) removed password for the "system" user; now there are no passwords in seed data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@739743 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 11:40:55 +00:00
Jacques Le Roux
94225b1a34
Fix issues with now-timestamp-to-env and sequence-id-to-env : their factories names where missing in org.ofbiz.minilang.method.MethodOperation$Factory file
...
also
<sequenced-id-to-env(.*)env-name => <sequenced-id$1field
<now-timestamp-to-env(.*)env-name => <now-timestamp$1field
both on *SimpleMethods*.xml, *events*.xml, *formula*.xml, *services*.xml, *tests*.xml (previously I only used *events*.xml, *services*.xml, but I guess it's not a big deal for now)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730433 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 17:47:37 +00:00
Jacques Le Roux
0272162a99
revert both
...
sequenced-id(.*)field to <sequenced-id-to-env$1env-name
<now-timestamp(.*)field => <now-timestamp-to-env$1env-name
Something is wrong with these 2 tags (inconsistency between xsd and java, I'll look at it)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730397 13f79535-47bb-0310-9956-ffa450edef68
2008-12-31 13:59:08 +00:00
Jacques Le Roux
dbc4228779
<now-timestamp-to-env env-name => <now-timestamp field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730194 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:25:18 +00:00
Jacques Le Roux
c1dd5bc296
<remove-value value-name => <remove-value value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730191 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:21:47 +00:00
Jacques Le Roux
1d979ede39
<store-value value-name = > <store-value value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730190 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:20:41 +00:00
Jacques Le Roux
bbedb431c2
<get-related(.*)value-name => <get-related$1value-field
...
<get-related(.*)list-name => <get-related$1list
<get-related(.*)\R(.*)list-name => <get-related$1\R$2list-name
<get-related(.*)\R(.*)value-name => <get-related$1\R$2value-field
<calculate field-name => <calculate field
<calcop(.*)field-name => <calcop$1field
<result-to-field(.*)field-name => <result-to-field(.*)field
<result-to-field(.*)field="(.*)"(.*) map-name="(.*)" => <result-to-field$1field="$4.$2"$3
<field-to-request field-name => <field-to-request field
(I had a connection break that's while I put all of them in one sole commit)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730183 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 17:12:15 +00:00
Jacques Le Roux
e25c1d9c67
<create-value(.*)value-name => <create-value$1value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730108 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 12:01:09 +00:00
Jacques Le Roux
4ed4fcf8b9
same but with non
...
<set-pk-fields(.*)map-name => <set-pk-fields$1map
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field
I was not very clever on this one ;)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730107 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:59:10 +00:00
Jacques Le Roux
ec8447c72a
<set-pk-fields(.*)map-name => <set-pk-fields$1map
...
<set-pk-fields(.*)value-name => <set-pk-fields$1value-field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730104 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:55:26 +00:00
Jacques Le Roux
288c384783
<find-by-primary-key(.*)map-name => <find-by-primary-key$1map
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730101 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:51:58 +00:00
Jacques Le Roux
0f82bfeb3d
<find-by-primary-key(.*)value-name => <find-by-primary-key$1value-field
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:49:32 +00:00
Jacques Le Roux
5e38ebc0ea
<make-value(.*)value-name => <make-value$1value-field
...
r730090 was naive fix also <iterate list-name and entry-name to <iterate list and entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@730098 13f79535-47bb-0310-9956-ffa450edef68
2008-12-30 11:28:24 +00:00
Marco Risaliti
e41c06e9cf
Renamed some Common labels in EcommerceUiLabels to Ecommerce in the same file (Part of OFBIZ-1780)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@729638 13f79535-47bb-0310-9956-ffa450edef68
2008-12-27 16:23:42 +00:00
Jacques Le Roux
fcfecf350a
A modified patch from Bruno Busco "bug when adding new permissions to group" ( https://issues.apache.org/jira/browse/OFBIZ-2093 ) - OFBIZ-2093
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@728266 13f79535-47bb-0310-9956-ffa450edef68
2008-12-20 11:06:50 +00:00
Jacques Le Roux
f36843386d
Close "Grey list feature for confidential data access" ( https://issues.apache.org/jira/browse/OFBIZ-2074 ) - OFBIZ-2074
...
I put an explanation in http://docs.ofbiz.org/display/OFBTECH/OFBiz+security
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@727508 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 20:50:11 +00:00
Jacques Le Roux
7818a0afe2
A patch from Bruno Busco "Adding forgot password feature in framework" ( https://issues.apache.org/jira/browse/OFBIZ-1984 ) - OFBIZ-1984
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@703647 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 11:01:01 +00:00
Ashish Vijaywargiya
d6aff7df54
As per Bruno's comment on the Dev mailing list for keeping a single message instead of splitted word so that it will be easy to have new message in other language.
...
Thanks Bruno for your tip.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@694264 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 14:11:49 +00:00
Ashish Vijaywargiya
e91f8be483
Some UI label change in passwordemail template.
...
Changed ${userLoginId} to ${userLogin.userLoginId}.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@694183 13f79535-47bb-0310-9956-ffa450edef68
2008-09-11 08:51:39 +00:00
Hans Bakker
559263f78b
add contact purpose to demo data
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687267 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 07:15:52 +00:00
Adam Heath
83de5c84bd
Generics, StringBuilder, for-loop, Number.valueOf.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685939 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:14:11 +00:00
Adam Heath
e410552cc9
No longer *copy* the extra support files into the classes dir;
...
instead, just add them straight to the final jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685934 13f79535-47bb-0310-9956-ffa450edef68
2008-08-14 15:08:14 +00:00
Adam Heath
b6a1ae5e5e
Another minor optimization; no longer need to specify classpathref in
...
all the build.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681935 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 03:41:46 +00:00
Vikas Mayur
3676ba4db6
Fixed indentation from 2 to 4 spaces and added a new map processor userLogin. Patch from Rishi Solanki
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681603 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 06:06:37 +00:00
Adam Heath
18391f98a9
The build.xml files are now much smaller and simpler; they reuse a
...
few global definitions. 1585 lines removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672657 13f79535-47bb-0310-9956-ffa450edef68
2008-06-29 18:39:36 +00:00
Scott Gray
5e401fcd53
Updated all simple methods to use the new attributes
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@667748 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:03:12 +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
Jacopo Cappellato
458fee5883
Fix for compile time error caused by the recent work on password encryption: I hope I have converted the old method in the proper way.
...
Thanks to Vikas Mayur for the report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@652468 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 10:07:30 +00:00
David E. Jones
ae5e0a4331
Moved password seed file to seed-inital to avoid reloading
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@632671 13f79535-47bb-0310-9956-ffa450edef68
2008-03-01 22:47:09 +00:00
Jacopo Cappellato
351b2b2c41
Moved Securityext labels from the applications to the framework to resolve because they are used by the LoginServices in the common component.
...
We should probably rename the files (and the variables that reference them), but for now I've just moved them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 06:53:05 +00:00
Andrew Zeneski
2eed3eec50
added code which uses "rememberMe" parameter to store a cookie with the user's login ID
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@590554 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 04:33:50 +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
David E. Jones
ca526c3957
Some improvements to how sequencing is done, including a new method in the GenericDelegator that does a sequence and create all in one, including a single retry with bank refresh on failure because of duplicate ID just in case two sequencers somehow get the same ID bank; in theory that is impossible but it has been observed in production and this is part of the 2 part solution to handle the problem more elegantly than having to restart the servers, and to try to find out just how two sequencers got the same bank of values; this includes changing a number of key code blocks to use the combined sequence and create for retry, and a little bit of code cleanup too
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582142 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 09:02:49 +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
Jacopo Cappellato
77c9e6e6a6
reverted part of 549443 because it is incomplete as is. Thanks to David Jones for the review.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 04:29:46 +00:00
David E. Jones
44fb76d0d7
Put system in PACKER role since the shipping code likes to do that to satisfy a security thing or something somewhere
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564052 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 00:12:56 +00:00
David E. Jones
2d09644b77
Fixed data loading issue... can't have Party info in a framework component because they don't know about parties, so moved the system Party info to he securityext component
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@562723 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 14:29:07 +00:00
Adrian Crum
9684b69ee5
Moved blog and order component demo data out of the securityext component - OFBIZ-813.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557077 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 22:27:04 +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
9edc949165
Russian labels from Oleg Andreyev OFBIZ-1039 and OFBIZ-1042
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545456 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 08:29:14 +00:00
David E. Jones
07b48643c5
As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00