Commit Graph
18109 Commits
Author SHA1 Message Date
Adrian Crum 999fdc5d96 Added a source code comment and service definition documentation to clear up some confusing behavior in the getWorkEffortEventsByPeriod service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225647 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:52:35 +00:00
Vikas Mayur f970a9f841 Formatting changes only.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225640 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:25:34 +00:00
Vikas Mayur 93639f6c21 Added support to associate ship groups of sales and drop ship purchase orders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225639 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 20:24:28 +00:00
Erwan de Ferrieres 69d9ecc741 Removing DojoJSONServiceEventHandler.java as dojo is no more used in OFBiz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225597 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 17:26:29 +00:00
Jacques Le Roux 96bf9e337e This reverts r1222241 and should fix "Can not create drop shipment order" https://issues.apache.org/jira/browse/OFBIZ-4637 reported by Sergei Biletnikov and confirmed by mz4wheeler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225506 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 12:28:54 +00:00
Hans Bakker 89da49b3f0 add a tagcloud demo to the ecommerce home page, contribution of tom of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225452 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 07:05:42 +00:00
Adrian Crum aa63974531 Moved some of the temporal expression data from demo to seed - so components can reference temporal expressions in their seed data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225330 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 20:51:26 +00:00
Erwan de Ferrieres b2f285eb47 Upgrading tomcat to version 7.0.23 - changelog @ http://tomcat.apache.org/tomcat-7.0-doc/changelog.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225271 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 18:44:59 +00:00
Erwan de Ferrieres afa8f33046 Removing JSON handlers as they are deprecated since December 2009. More info @ http://s.apache.org/6zF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225242 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 17:32:16 +00:00
Adrian Crum 7d71b0b4b6 Fixup for my previous commit. Browsers should not parse the contents of CDATA elements, but apparently they do.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1225224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 16:39:56 +00:00
Adrian Crum 74c2c1552b Fixed a bug in the getWorkEffortEventsByPeriod service, where the period span calculation was incorrect under certain conditions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224994 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 19:54:19 +00:00
Adrian Crum 19cc573a09 Bug fix for lookup screens - jQuery was loaded twice, which resulted in quirky behavior in the lookup screens.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224914 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 14:31:17 +00:00
Adrian Crum c64d47ed76 Fixed ant.bat.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224878 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 07:49:26 +00:00
Hans Bakker 273aa82656 implement the basic janrain package, which enables the login via most social sites, but can not recognize if the same user if logged in from 2 different sites. By default this function is disabled and will not change the functionality of the OFBiz login procedure in any way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224876 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 07:39:43 +00:00
Ashish Vijaywargiya ba271358e7 Applied bug fix from jira issue - OFBIZ-4632.
Secure Url could not be call for service deleteKeywordThesaurus. 
Description - On the editKeywordThesaurus screen when we create a Keyword Thesaurus then try to delete it problem occurs. Replace the direct anchors to forms will fix this problem.
Thanks Rishi !!!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224712 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 11:18:03 +00:00
Erwan de Ferrieres f528be0a2a Simple refactoring in ProjectServices.xml, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224706 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 10:28:07 +00:00
Erwan de Ferrieres 0ea8f28afb OFBIZ-4625 - Project, Phase, Task actualsHours, plannedHours is wrong in some cases after last modification done on ProjectServices.xml - a patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224703 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 10:16:42 +00:00
Hans Bakker 0b2921ed6d - Fix 2 log warnings when checking the entity definitions.
- Using iterate for each keyword type forms.
- Create a screen for display when the tags is created.
- Create junit test for product tag.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224689 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 07:42:42 +00:00
Hans Bakker 9f83e8ce6e fix junit test group order
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1224671 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 03:05:55 +00:00
Adrian Crum 123bf7904e Fixed a bug in the getWorkEffortEventsByPeriod service, where the value of the start parameter was being changed - causing incorrect results with periods that do not start at the beginning of the day.
This change might cause problems with client code that assumes the service aligns the start parameter to the start of the day. In those cases, the start parameter alignment should be moved to the client code. See the WorkEffort component Days.groovy, Week.groovy, or Month.groovy scripts for examples.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1223007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 20:00:50 +00:00
Hans Bakker 10f1cda23e improve group buying.f admin cancel an order the sold number should be decreased in group order.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222616 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 09:17:19 +00:00
Hans Bakker 8e40b2e30d missing quote
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222587 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 07:03:08 +00:00
Hans Bakker 130c8c1380 apply ofbiz patches should not be part of a component in the special purpose directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222574 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 05:42:01 +00:00
Hans Bakker 00c84e8470 new ant allows failonerror parameter
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222573 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 05:41:00 +00:00
Hans Bakker fb504ca2d4 upgrade ant to rev 1.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222547 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 04:08:15 +00:00
Hans Bakker 91d206a71d add the possibility of adding tags to products next to having keywords to products, can also optionally approve/reject via a status field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222544 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 03:49:11 +00:00
Jacques Le Roux 2199261403 A patch from Martin Kreidenweis "typo in javascript prevents live update of content" https://issues.apache.org/jira/browse/OFBIZ-4515
"success" is mistyped as "succes" in PurchaseInvoices.ftl and order.js

jleroux: I wonder why we, committers, are so long to commit such patches... :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222478 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:59:47 +00:00
Jacques Le Roux 456eb16137 A modified patch from Patrick Antivackis "Null values are not synchronized in http mode" https://issues.apache.org/jira/browse/OFBIZ-4602
In order to send over http the values to create, store and remove, Ofbiz is Xml serializing the values. GenericValue xml serialization is managed in GenericEntity.makeXmlElement, unfortunately this method just don't serialized null valued fields.
To solve this issue, I managed null value the same way GenericEntity.setString (which is used for the Xml deserializing). I only managed until case 10, because i'm not sure the setString for the cases 11 to 15 are well managed (not taking care of null value) 

jleroux: After looking at GenericEntity.setString and initial commit (http://svn.ofbiz.org/viewcvs?rev=7779&view=rev) I see no reasons to not handling cases under 10 the same way. So I added these cases as well using fall through.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222241 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 14:14:57 +00:00
Jacques Le Roux c05bd7a89a Replaces tabs by 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222224 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:38:42 +00:00
Jacques Le Roux 6eaf5b54e4 A slightly modified patch from Patrick Antivackis "Entity synchronization is skipping values to create, store and remove" https://issues.apache.org/jira/browse/OFBIZ-4601
assembleValuesTocreate, assembleValuesToStore and assembleKeysToRemove are called multiple times during a synchronization (depending on the syncSplitMillis and the time period to synchronized). There is in theses methods a check to see if at the next call, the method needs to look for values. This check depends only on entity without values at the current run, which is not enough

Solving issue described and fixing the assembleKeysToRemove that was using nextUpdateTxTime instead of nextRemoveTxTime

jleroux: functional changes from patch, only formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222105 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 09:06:18 +00:00
Hans Bakker 81e850ba8b code improvement and typing error correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1222007 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 02:38:37 +00:00
Jacques Le Roux 97d79c74f4 A patch from Leila Mekika "Use-when not working on multi-forms submit button" https://issues.apache.org/jira/browse/OFBIZ-4605
The submit button of a form multi is rendered even if we add a use-when condition

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221913 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 22:24:58 +00:00
Jacques Le Roux 3a2f098fce A modified patch from Leon "Help screen/navigation do not take into account content expiration" https://issues.apache.org/jira/browse/OFBIZ-4626
To enable a disabled html element, there're only two ways, remove "disabled" attribute or use javascript to set disable property to false. The patch updates trivial to enable submit button in ListInvoices.ftl and batchPayments.ftl. btw, it's not w2c compliance to set disabled attribute to other value than 'disabled'.

jleroux: Actually W3C does not define any value for disabled http://www.w3.org/TR/html4/interact/forms.html#adef-disabled and its value in javascript is a boolean so we should rather use true instead of 'disabled' (we could also use false instead of remove it seems, but anyway...)

So more files need to be changed, though they all use ".removeAttr('disabled')"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221889 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 21:14:26 +00:00
Ashish Vijaywargiya 03f94dd0b2 Providing additional details inside GoodIdentificationType.description field for "HS Code" so that it will be easy for someone to understand its purpose.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221669 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 10:43:20 +00:00
Hans Bakker a2311ff616 in ecommerce a user could not update the filemanager section in the ecommerce profile. created a separate security group for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221633 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 07:19:11 +00:00
Hans Bakker 6608079f5f downloadable product does not have a carrierpartyId causing problems in orderoverview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221591 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 03:49:59 +00:00
Hans Bakker d99e8ab7b7 add junit test for configurable service product using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221590 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 03:48:43 +00:00
Ashish Vijaywargiya 99123b1fd3 Minor bug fixes on Pending Reviews page
1) Added <td> to show value of Review By  column in proper place.
2) Added default value 'N' for isAnonymous drop down option
3) Added additional condition to show valid value in Review By Column instead of showing value from previous record value.
Thanks Arun!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221347 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 17:16:12 +00:00
Hans Bakker c31c42d742 implement 404 page tracking in google analytics also for the pages coming from the content component. more info at: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=86927
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1221128 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 07:36:45 +00:00
Erwan de Ferrieres 10f612c5e9 OFBIZ-4487 - enable definition for position on sortfield - patch from Youssef Khaye and Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220927 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 20:16:01 +00:00
Jacopo Cappellato 4da09f109c Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220649 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 08:33:05 +00:00
Hans Bakker 121a671018 new producttype: configurable product service, using inventory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220622 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:40:18 +00:00
Hans Bakker 294c2222f3 add a download button when the ordered item when a downloadable file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220619 13f79535-47bb-0310-9956-ffa450edef68
2011-12-19 06:29:51 +00:00
Jacques Le Roux fb5d588fb3 A patch from andrewzn "Help screen/navigation do not take into account content expiration" https://issues.apache.org/jira/browse/OFBIZ-4626
Help screens use entity-and to retrieve ContentAssoc without fromDate/truDate conditions while help content expiration still may be useful.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220527 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:24:48 +00:00
Hans Bakker 4a6bae7025 split up accounting auto post test in sales and purchase and added some asserts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220339 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 06:27:29 +00:00
Jacques Le Roux 2550ad614b A patch from Sergei Biletnikov "Shipping group Instructions and gift messages can not be changed/set if there are several shipping groups" https://issues.apache.org/jira/browse/OFBIZ-4609
Just add more than 1 shipping group for an order, and you notice that it is not possible to set or edit the shipping instructions and gift messages, because the code ignores multiple shipping groups and the html have the same DOM id elements, so only first shipping group can be edited. Of course, it is just a development issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220298 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 23:02:01 +00:00
Jacques Le Roux 8e3a510662 A patch from Joe Eckard "Add methods to OrderReadHelper to retrieve attributes" https://issues.apache.org/jira/browse/OFBIZ-2800
We agreed to commit in trunk but not to backport to releases

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1220283 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 21:59:29 +00:00
Jacques Le Roux 29a6669291 A patch from Sam Hamilton "Add support to save HS Code in Goods Identification" is not working." https://issues.apache.org/jira/browse/OFBIZ-4610
Add support to save the HS Code ( http://en.wikipedia.org/wiki/Harmonized_System ) in the system.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215536 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 17:52:31 +00:00
Jacopo Cappellato 210988d933 Re-enabled accounting tests: they have been disabled because of an issue with tests failing if executed in a platform with a locale different than en. OFBIZ-4624
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215166 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 14:54:38 +00:00
Jacopo Cappellato 1c1421887a Added missing property needed to successfully run test cases in platforms with locales different from en.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1215142 13f79535-47bb-0310-9956-ffa450edef68
2011-12-16 14:22:01 +00:00