Commit Graph
9641 Commits
Author SHA1 Message Date
Jacopo Cappellato 24724bfa46 Added 'description' field and accessor methods to the ModelField and ModelViewEntity.ModelAlias classes to store the field level description specified in the entity definition (<description></description> tags).
Added new optional attributes to the alias-all element: function and group-by. If specified then to all the aliased fields the function and/or group-by element will be applied.
In ModelViewEntity, added new method to get the list of group-by fields as a subset of the passed in list: this is useful to get the list of group-by fields limited to the felds that are in the select clause.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584700 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 07:28:48 +00:00
Jacques Le Roux 9b2976071c A forgotten patch from Joe Eckard (sorry Joe) "Typo in RequestHandler.java" (https://issues.apache.org/jira/browse/OFBIZ-597) OFBIZ-597
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584697 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 06:51:12 +00:00
Jacques Le Roux 132fbb4c3b As suggested by Christian Geisert https://issues.apache.org/jira/browse/OFBIZ-1084#action_12534711 OFBIZ-1084
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584688 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 06:24:29 +00:00
Jacques Le Roux b35c2a7d4f A modified patch from Eric Crawford "Customer must add a virtual product to the cart to get the price of that product." (https://issues.apache.org/jira/browse/OFBIZ-618) - OFBIZ-618
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584531 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 12:04:24 +00:00
Jacques Le Roux 27ad68afd8 A patch from Chris Howe "Ofbiz with Google checkout." (https://issues.apache.org/jira/browse/OFBIZ-71) - OFBIZ-71
All is explained in  http://docs.ofbiz.org/display/OFBIZ/Google+Checkout+Integration and in the Readme I added

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584440 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 19:00:03 +00:00
Adrian Crum d1347f62f9 Small fixes to the main CSS style sheet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584418 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 15:55:24 +00:00
Jacques Le Roux 4f33d28293 A patch from Adrian Crum "Main navigation won't display links for apps when user has only _ADMIN permission" (https://issues.apache.org/jira/browse/OFBIZ-1241) - OFBIZ-1241
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584400 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 13:37:01 +00:00
Jacques Le Roux 6404f9a8b1 A patch from Adrian Crum "Improved Common Permission Checking Simple Method & Messages" (https://issues.apache.org/jira/browse/OFBIZ-1246)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584399 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 13:35:05 +00:00
Jacopo Cappellato c3d8fc002a Removed unused screen and empty template file (without the license header).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584373 13f79535-47bb-0310-9956-ffa450edef68
2007-10-13 05:45:39 +00:00
Jacopo Cappellato a89a3e1c85 Defined relation to children inventory items.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@584155 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 13:00:29 +00:00
Si Chen 9b75c133b1 Before creating purchase invoices from purchase shipments, make sure that the items received were for an internal organization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583931 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 19:40:59 +00:00
Si Chen cda6e54287 Changed showcart to show only inventory of the store's facility rather than all facilities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583911 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 18:43:36 +00:00
Si Chen 0f8894dfd7 cut down excessive logging
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583910 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 18:42:43 +00:00
David E. Jones 57f4f769d0 Added a couple of fields to ProductStore to configure some upcoming features
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583675 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 04:24:46 +00:00
Si Chen 97b47323f5 fix a potential bug where an unrelated contactMechId might be assigned to Shipment.destinationTelecomNumberId if there are no phone numbers for a facility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583636 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 22:36:33 +00:00
Alfred Maxwell Byers c8af171051 Needed to add code to deal with conditional presence of "outWriter" param.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583562 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 18:00:06 +00:00
Alfred Maxwell Byers 9e111ea1c1 Made outWriter optional in renderContentAsText service.
Should probably be removed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583557 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 17:51:08 +00:00
David E. Jones ed952253c7 Added a few more options/clarifications for certain carriers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583397 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 09:13:11 +00:00
David E. Jones 8a75c4433c Added new VendorProduct entity, like recent ones for multi-vendor stores; also a few cleanups in other entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583396 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 09:12:25 +00:00
Jacopo Cappellato f0abf80501 In the 'convertUom' service the 'convertedValue' output parameter is now optional: if no converion is available, then null is returned, not an error (and a rollback etc...).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 08:12:07 +00:00
Jacopo Cappellato 79422be8d1 Issue OFBIZ-668
1) replaced the logic inside the isEmail method with a call to org.apache.commons.validator.EmailValidator.isValid(...)
2) I've left the code that returns true if the string is empty
3) the only remarkable difference is that the original code was accepting (by default) a domain without dots (user@localhost); the new code requires a real domain (user@domain.com)

Thanks to John Martin for the advices.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583373 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 07:19:10 +00:00
Jacopo Cappellato fefd8ae37e Added support for default-value attribute to the set operation in form widget actions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583366 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 06:34:13 +00:00
Si Chen 1ca46a5aaa Make the append item to order service more useful to purchase orders. The service required a prodCatalogId, but it needs to be optional for POs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583221 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 16:52:18 +00:00
Jacopo Cappellato 42f265d970 Implemented service that computes the actual/real production run routing task's costs.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583200 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:47:23 +00:00
Jacopo Cappellato 0d3b48eb95 Converted product promo ftl to widgets.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583193 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:23:59 +00:00
Jacopo Cappellato 1a769d225f minor cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583183 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 14:42:20 +00:00
Jacopo Cappellato ae24b42ad7 Added ability to specify an event/action pairs on an hyperlink field.
Added escape code for input text fields.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583091 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 10:17:22 +00:00
David E. Jones ed3f89cdfa Added new data model elements and seed data for modeling vendor-specific store settings and order with ship group per vendor
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583076 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 08:49:46 +00:00
Jacopo Cappellato b32a03073b Fixed typo in last Si's commit (rev. 582967).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@583050 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 05:28:09 +00:00
Si Chen 43b6570003 removed restriction that only internal organization can be owner parties of facilities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582967 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 20:49:48 +00:00
Jacques Le Roux d971f0ffec Complete my previous post (I had to change instance because of not related existing changes in controller.xml files)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 07:08:34 +00:00
Jacques Le Roux 41fe719fb6 To allow to deal with last column empty in CSV files
To allow to render an empty string when null

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582730 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:58:49 +00:00
Jacques Le Roux b8a32ab469 To allow to deal with problems in some DOS file, specifically file extracted from zip archives.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582723 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:40:05 +00:00
Jacques Le Roux b5a7d153c6 Changed name as suggested by Adrian and David in OFBIZ-1230
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582717 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:25:12 +00:00
Andrew Zeneski 08362be9c0 implemented code to support pre-account email verification (verify email before account is created)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582705 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 03:48:24 +00:00
Andrew Zeneski a81553f655 implemented feature to allow setting default values for survey questions; response can be generated by setting v
alues (via a map) in the wrapper before rendering

implemented GEO and ENUMERATION types for Survey Questions; now ANY Geo Group or Enumeration Type can be listed
as survey option lists



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582539 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 22:25:35 +00:00
Adrian Crum 4503af892a Step two of OFBIZ-1230. Reduced redundant code by including common-requests.xml in each component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 17:25:42 +00:00
Adrian Crum b16dfa61f9 Small fixup from last commit. Too many lines were deleted from Example component's controller.xml file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582512 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 16:14:47 +00:00
Jacques Le Roux 13842bd64b A patch from Adrian Crum "Move common requests to a separate xml file to reduce component's controller.xml file size" (https://issues.apache.org/jira/browse/OFBIZ-1230)
Thanks to BJ Freeman to review and suggestion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 15:17:08 +00:00
Jacques Le Roux 3d261d2885 A patch from Bilgin Ibryam "trivial, not related to each other, mostly UI, bug fixes " (https://issues.apache.org/jira/browse/OFBIZ-1231) - OFBIZ-1231
Thanks to Jonathon for review and test !






git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582480 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 12:01:17 +00:00
Jacques Le Roux 9fb098ccbf A patch from Bilgin Ibryam "survey screen fix" (https://issues.apache.org/jira/browse/OFBIZ-1227) - OFBIZ-1227
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582474 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 09:57:22 +00:00
David E. Jones eebd261a10 Small logic change to make it easier to manually retry failed messages, with stuff like the re receive message service
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582473 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 09:05:10 +00:00
Jacopo Cappellato e1b91a99a8 Improved the widget code for the party detail screen: in this way it will be easier to customize.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582468 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 08:23:04 +00:00
David E. Jones 95ed178e49 Improved send message code to better handle errors and save off the send error status if that happens; closes hole where a message can be marked as sent but not actually successfully sent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582464 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 07:15:12 +00:00
David E. Jones e057a72e04 Increased timeout so that when there are lots of back-ordered reservations and it takes a while to process then it will have a better chance of success
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582430 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 01:10:48 +00:00
Jacques Le Roux 735deae442 This solve the "Quote WorkEffort bug" issue reported by Bilgin Ibryam (https://issues.apache.org/jira/browse/OFBIZ-1180) - OFBIZ-1180.
It does not solve the issue reported in comment https://issues.apache.org/jira/browse/OFBIZ-1180#action_12524674 "Adding WorkEffort to Communications in party manager is also broken due to extending EditWorkEffort." because then we get java.lang.IllegalArgumentException: Could not find screen with name [EditCommEventWorkEffort] in class resource [component://party/widget/partymgr/CommunicationScreens.xml]. But this is another problem : no EditCommEventWorkEffort screen is declared in CommunicationScreens.xml ! I will create a new issue for that...

I wait a bit before back porting in release4.0, to be sure that my (very simple) solution is ok for everybody.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582338 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 16:35:33 +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
Jacopo Cappellato 98a1525a55 Minor improvement in the position of postal address information.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@582137 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 08:55:58 +00:00
Si Chen 4efd1f3554 Catch NPE in ResourceBundleMapWrapper.containsKey(Object)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@581979 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 18:20:25 +00:00
Jacopo Cappellato 2e467fac30 Added fromDate and thruDate fields to the ProductPromoCode entity; if the dates are set they are used to specify the validity range of the promotion code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@581961 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 16:23:50 +00:00