Jacopo Cappellato
f498d726e1
First step in the process of refactoring the permission checks on order's creation/update.
...
I've tried to isolate in a centralized method all the permission logic for a subset of the order related services; next step will be that of further cleaning up the logic (and code) and move the logic in a modern permission service.
To all committers and developers: I'd really appreciate if you could review this commit; by the way I'll continue my tests on this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579242 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 13:33:28 +00:00
Jacopo Cappellato
e714ab1536
Fixed permission check (from CREATE to UPDATE) since the service is called when the order is updated.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579241 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 13:29:01 +00:00
Jacopo Cappellato
b03243208b
Added events to handle more than one shopping cart in session.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@579148 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 09:35:04 +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
David E. Jones
d41b683cf4
Changed order of validation operations in send process shipment service to do auth check last because many orders won't need it, and an error in the auth check causes strange problems for that code right now
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578998 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 22:23:19 +00:00
Adrian Crum
00100b0d73
New feature - assign parties to products. Patch is from Ean Schuessler - OFBIZ-1177, plus some additional work from me. Still needs a party ID lookup screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578930 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 19:38:03 +00:00
Si Chen
23be2b01f3
Fix bug in request-redirect when attributes contains error messages of type MessageString
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578886 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 17:36:22 +00:00
Si Chen
c396b92ff4
Fix some potential NPEs from Oleg Andreyev OFBIZ-1244
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578874 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 16:39:40 +00:00
Jacopo Cappellato
dc47de5212
Ship to address is cleared if the ship to customer party is changed.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578818 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 14:11:41 +00:00
David E. Jones
85613bb07a
A couple of fixes/cleanup, and added support for state/province and country fields
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578754 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 10:54:59 +00:00
David E. Jones
a8463d73c9
Small cleanup, reformat for easier reading, etc
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578753 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 10:53:39 +00:00
David E. Jones
dd9811fd17
Small tweak so that it doesn't blow up when doing the all entity thing with a fromDate; unfortunately the all entities thing no longer checks for view entities and not auto-checking those boxes, which is lame and I wish whoever removed it hadn't, but oh well
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578752 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 10:53:04 +00:00
David E. Jones
68b5e5988c
Added a couple of new types, no code/template to use them yet, but there as a placeholder
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578685 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 07:34:16 +00:00
Jacques Le Roux
9d87790e6a
A slightly modified patch from Anil K. Patel "Re-Factor WorkEffort permissions to follow new patterns" ( https://issues.apache.org/jira/browse/OFBIZ-615 )
...
I added a comment to drop latter the commented out part in WorkEffortSimpleServices.xml
I fixed a typo in the patch the permission for unassignPartyFromWorkEffort is not UPDATE but DELETE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578473 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 18:41:11 +00:00
Si Chen
fffdfb6430
Add currency of order to order header and payment pref view. This helps us tell what currency maxAmount is in.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578295 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 22:31:09 +00:00
Andrew Zeneski
b330fea32e
fixed bug where runtime data was not being deleted
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578274 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 21:03:19 +00:00
Andrew Zeneski
ebfbea1b9a
uses nested trys
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578273 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 21:03:03 +00:00
Si Chen
14e78e6560
slight improvement to auth.net error message
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578226 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 18:52:07 +00:00
Alfred Maxwell Byers
f751ac43e1
Tuning the method so that it gives passed dataResourceId priority over passed contentId, but not
...
over content.dataResourceId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578181 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 15:49:07 +00:00
Jacopo Cappellato
a058b50ab0
formatting fix
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578047 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 10:12:50 +00:00
David E. Jones
c9641f924e
Data cleanup, mostly killing data that the entity engine maintains
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578004 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 07:21:44 +00:00
David E. Jones
c9ada07b64
Fixed problem caused by this data killing the gift card store survey records
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578003 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 07:18:54 +00:00
Jacopo Cappellato
75f7a0e5c3
Updated the 'edit content category' screens to look similar to the 'product content' screens.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@578000 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 06:47:09 +00:00
David E. Jones
1c746f7234
Chagned type for very-long in MySQL from TEXT to LONGTEXT to be more similar to what we expect in other databases; TEST has a max size of 64KB, LONGTEXT has a max size of 4GB
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577960 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 02:04:29 +00:00
Alfred Maxwell Byers
3c191bdfde
I felt that there was a need to show that a content was "available" instead of in progress, draft, etc.
...
If a content gets published, then deactivated, but is available for republishing - that is the scenario i had in mind.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577933 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:32:49 +00:00
Alfred Maxwell Byers
e0d985e8cc
The content widget was not using the dataResourceId attribute. To make it work I had to
...
copy someone's brilliant WidgetContentWorker pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577932 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 21:30:44 +00:00
Anil Patel
f0dd2096d5
added two report to get value of stock Inventory
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577898 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:58:03 +00:00
Si Chen
879bd7443b
Support CVV in authorize.net
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577893 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:42:08 +00:00
Si Chen
a83619140e
clean up authorize.net
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577849 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 18:17:02 +00:00
Jacopo Cappellato
6dad59b10f
Misc cleanups and improvements to the Edit product content screen.
...
Implemented new service (and forms) to make relatively simple the creation of text contents (simple texts) in alternate locale: there is still room for improvements here...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577814 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 16:57:26 +00:00
Jacques Le Roux
fdf6348bf9
Transparency added
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577740 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:35:58 +00:00
Jacopo Cappellato
0bb70cb6ec
Fix for partially picked items excluded from picking lists under certain special circumstances.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577734 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:12:59 +00:00
Jacopo Cappellato
1c830ff200
Misc improvements to the 'manage production run' screen.
...
Added ui to specify the location from where the each material required by the running task will be isued.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577724 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 12:47:26 +00:00
Scott Gray
549486a953
Updated .classpath with correct log4j jar
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577600 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 07:33:50 +00:00
Scott Gray
3f2315e54c
Fixed bad entity name
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577589 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 07:09:38 +00:00
Alfred Maxwell Byers
c7c2045158
Just implementing Adam's request.
...
Line 51 now looks like:
if (this.alias.equals(aliases[x])) {
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577544 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 04:44:23 +00:00
Anil Patel
6e6d10bcc0
added Notes form/screen to Project/task/summary screens. Minor cleanups in code.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577516 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 02:45:29 +00:00
David E. Jones
469d3b57f5
Change to comment out name for userLogin; not working and I don't want to rewrite it now, at least the page is working again
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577510 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 02:27:19 +00:00
David E. Jones
da59001889
Fixed bug from last commit, reversed logic
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577500 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 01:58:44 +00:00
Andrew Zeneski
e90e4a4194
added checks to prevent NPE when results are not sent for AVS and CVV2
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577496 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 01:42:00 +00:00
David E. Jones
236b7a794b
Refactored for better error handling, especially in send receive delivery for return but also a couple of improvement in send process shipment
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577486 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 00:45:54 +00:00
Andrew Zeneski
ec514e6482
now showing user to effects status change
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577454 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 22:02:12 +00:00
Anil Patel
df38d1b3a4
adding order from date and thru date in report form AND fields to show price value of the Open Order items Report.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577449 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 21:23:50 +00:00
Jacopo Cappellato
e0cbf4c3fc
Misc cleanups and refactoring for the issueProductionRunComponent* services; added ability to specify the location from where the materials are issued.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577408 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 18:11:58 +00:00
Jacopo Cappellato
9eb823a1db
Misc improvements by Marco Risaliti to the eBay import service: added support for sales taxes and address2 field.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577215 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 09:34:30 +00:00
Hans Bakker
d9c3bd36c7
revert rev 576755 and 576743: community decided not interesting for general use.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577189 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 07:58:44 +00:00
Alfred Maxwell Byers
6e6c07e12d
updateContentAssoc was failing when when contentId was set to contentIdTo which is what happens when updateTextContent is run.
...
Changed it to first look for parameters.contentIdFrom, then parameters.contentId.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577167 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 06:43:52 +00:00
Andrew Zeneski
1ef6a9f731
changed where semaphores are released (in finally block to make sure it is run even in the case of an exception) implemented per-service configurable settings for wait/sleep (sleep in milliseconds; wait in seconds) semaphore-wait-seconds="300" (default) is 5 minutes. The max time a service will wait before failing to run.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577141 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 04:04:08 +00:00
David E. Jones
f63513b53f
Refactored to use a loop instead of recursion for the retries so the stack doesn't get so huge; also added notes about some things that need to be done on this semaphore stuff
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577139 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 03:06:55 +00:00
Anil Patel
4d26be64c1
Changed report options screen to Two column screen.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@577120 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 00:21:28 +00:00