Commit Graph
21879 Commits
Author SHA1 Message Date
Sascha Rodekamp c1e2a81191 Update - jQuery UI to version 1.8.11. The current jQuery UI Version is build on jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088549 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 10:42:28 +00:00
Erwan de Ferrieres 239bc9ec70 Some tweaking for the sonar task, putting the work directory in runtime/, and setting values for sonar.java.source and sonar.java.target, which are used in combination with PMD and clover. More info at http://docs.codehaus.org/display/SONAR/Advanced+parameters. Thanks to René Scheibe for the idea
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088528 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:47:35 +00:00
Hans Bakker ed48c03769 error in product detail as reported by mark wheeler fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:36:55 +00:00
Erwan de Ferrieres 7f1b33322c Adding description for cobertura-report task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088524 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:33:01 +00:00
Erwan de Ferrieres 2656065a0c Misc. missing French translations for the accounting component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088523 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:30:01 +00:00
Erwan de Ferrieres e9985a39e3 Adding missing uilabels in menu AccountingAddTax / AccountingConfirmationCancelOrder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088506 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:43:32 +00:00
Sascha Rodekamp 7cc04db7d3 Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Jacques Le Roux 85f8b792d1 Cleans imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088048 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:28:27 +00:00
Jacques Le Roux 46142d46a8 Completes https://issues.apache.org/jira/browse/OFBIZ-4218
Keeps the secure idea but enhance when working in a secure environment (VPN, local network, etc.) to return a comprehensive response. Depends on the secureSoapAnswer property in service.properties, true by default

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088047 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 15:23:40 +00:00
Jacques Le Roux 1756e1df40 A patch from Andreas König "EntityLabel support for Product Category Link Types needed." https://issues.apache.org/jira/browse/OFBIZ-4236
applications/product/data/ProductTypeData.xml defines an EnumerationType with enumTypeId="PCAT_LINK_TYPE".

The relevant elements next to this enumTypeId are used in the module "catalog / category / links" (see screenshot after applying the given patch).
Up to now we use the description given by the XML-Seeds above "hard-wired" in CategoryForms.xml, but it would be nice to have...

    * a way to add i18n support for the Product Category Link Types by using the ProductEntityLabels.xml and
    * support for a dynamic generation of the drop down list.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088017 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 13:09:40 +00:00
Jacques Le Roux c9929cc9f0 Removes useless suppress warning annotations, fixes module name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088014 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 12:14:18 +00:00
Jacques Le Roux a813ce990a Closes "You must set at least a price with PURCHASE purpose to get a displayed price" https://issues.apache.org/jira/browse/OFBIZ-4235
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1088010 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 11:58:21 +00:00
Jacques Le Roux 5effb7f462 Allow To Run From Jenkins. See http://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller. Drawback: the calling Jenkins job does not terminate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087979 13f79535-47bb-0310-9956-ffa450edef68
2011-04-02 08:54:44 +00:00
Jacques Le Roux 63b2a85c6d allow-html="safe" in DataResource.textData like for ELECTRONIC_TEXT
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 21:27:49 +00:00
Jacques Le Roux df2c499190 Better handling of the sql-timestamp case (follow ISO format by default)
sql-Timestamp is defined as xsd:dateTime in ModelService.getTypes(), so try to parse the value as xsd:dateTime first.  
Fallback is java.sql.Timestamp because it has been this way before.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087883 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:22:46 +00:00
Jacques Le Roux fc5a14414d Accurate comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087877 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:07:44 +00:00
Sascha Rodekamp 1194ef701e BUG - PROJECTADMIN cannot create projects in projectmgr (https://issues.apache.org/jira/browse/OFBIZ-3201).
I add a new permission check to the ProjectMenu.xml to check weather the user have PROJECTMGR_ADMIN rights or not. If not he should not be able to create new Projects. 
That means that users which are in the security group PROJECTADMIN aren't allowed to create new projects by default. Because they are responsable for there own projects and not for creating new once. Maybe the name of the Permission group is a little bit confusing. The PROJECTADMIN is not the admin from the project module he is more a Project manager (an admin for his own projects).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087680 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 12:23:12 +00:00
Hans Bakker 06c464c7e8 2 images were added by accident in previous commits
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087632 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 09:42:50 +00:00
Hans Bakker 4eac15e856 missed some files on commit: 1087599
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087622 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 08:26:32 +00:00
Hans Bakker 2af631974d Updates to the image management system:
- Fixed the resize function can resize any format flie
- Fixed share image screen to get host from contentURL (if it has content)
- Fixed product detail screen in ecommerce
- Create the function for set default image to product content screen


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087599 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:49:06 +00:00
Sascha Rodekamp f661e50719 Bug - Unable to create project task contents as admin (https://issues.apache.org/jira/browse/OFBIZ-3952). Apllied Jeremys modified patch. Just add an extra permission check for the PROJECT_ADMIN permission.
Orig.Msg.
When editing a task in the project manager application you cannot add content from the content tab if you have admin privileges. The permission is incorrectly labeled as "PROJECTMGR_ROLE_ADMIN" when it should be "PROJECTMGR_ADMIN."


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087596 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:38:01 +00:00
Hans Bakker 0808b047e8 Update selenium version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087595 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:07:26 +00:00
Sascha Rodekamp 13cf8abcc4 Bug - Create (upload) content in Party Profile does not work (https://issues.apache.org/jira/browse/OFBIZ-4179). The bug occurs when trying to upload a zip file. Tika was missing a class for dealing with zip files. I added commons-compress-1.1.jar. I also updated the UX for the upload function. When no file purpose was set the upload crashes. Therefore i added a field validation.
Orig. Msg.:
As it does not work in trunk I 1st thought it was a jQuery migration issue. But it does not work either in R9.04 and I guess this is the initial reason

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087254 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 11:22:05 +00:00
Sascha Rodekamp 07fae63352 Update - jQuery validation plugin to version 1.8. https://issues.apache.org/jira/browse/OFBIZ-4223
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087222 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 09:03:04 +00:00
Andrew Zeneski b7f1a93d84 minor bug fixes; approving PO requires newStatusId (was missing), errors on receive PO when no currency was found
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087058 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:48:31 +00:00
Jacques Le Roux 1c3fa1b852 Deletes all useless *.rej files generated by apply patches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:42:00 +00:00
Andrew Zeneski b363bf784b fixed error on page when receiving single product w/ no ProductFacilityLocations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087037 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 18:51:59 +00:00
Erwan de Ferrieres 2181b0b013 Consistency with the page title for the tab menu item
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 12:02:08 +00:00
Erwan de Ferrieres 70004982d7 Removing uilabels that doesn't exist, as the associated formFieldTitles are present
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086915 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 12:00:25 +00:00
Erwan de Ferrieres af399d6ada Missing call to ProductUiLabels in invoiceOverview
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086913 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 11:58:43 +00:00
Hans Bakker e7692574ec More and extended geo data for china
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086881 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 09:32:08 +00:00
Jacques Le Roux b8a8a93b0a Typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086844 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:30:53 +00:00
Jacques Le Roux 9cb202e326 Update the link to OFBiz SeleniumXml copy of the presentation that was given at the ApacheCon2008 OFBiz Conference that describes more about the project.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086843 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 05:29:04 +00:00
Adrian Crum 5cb181e8fa Start.java bug fix: Exception is thrown if a string is entered that doesn't contain a ':'. Patch contributed by Chris Snow - https://issues.apache.org/jira/browse/OFBIZ-4237.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086701 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 19:49:26 +00:00
Jacques Le Roux 2b9cf0c882 Right syntax of data-readers for Windows XP. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086642 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 17:09:06 +00:00
Jacopo Cappellato 98a7cdb316 Fixed form action that was missing the ofbizUrl tag; resorted from attributes. Thanks to Divesh Dutta for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086514 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 08:17:15 +00:00
Hans Bakker fbdc5e20c9 catalog category tree now ordered by seqnum and category name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086436 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 22:59:50 +00:00
Erwan de Ferrieres 3f6e48795c Tests should be runned in a known environment, so setting the LC_ALL=C for all test targets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086239 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 14:00:12 +00:00
Hans Bakker 65ccc5ae87 improve error message to indicate where the error happened
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1086096 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 02:11:53 +00:00
Adrian Crum d04a5d75b0 Final Start class code cleanup - moved remaining Config-specific code to the Config class, simplified some code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085806 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:37:00 +00:00
Adrian Crum 11578a9872 Misc Start.java code cleanups: eliminated unnecessary methods, renamed some methods, and fixed another potential thread deadlock issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085802 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:04:34 +00:00
Erwan de Ferrieres 7fc40d3065 Thanks to René Scheibe for spotting a copy/paste error in sonar ant task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085799 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:01:46 +00:00
Adrian Crum 38fb5bae80 Moved Config-specific code from Start class to Config class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085794 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 19:52:44 +00:00
Adrian Crum df91c022e2 Unraveling Start.java spaghetti code: Moved "admin port" code to a separate class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085781 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 18:44:04 +00:00
Jacques Le Roux 3c7721d647 Inspired by Paul Foxworthy's patch at "createAgreementItem doesn't set agreementId in result" https://issues.apache.org/jira/browse/OFBIZ-4224 - OFBIZ-4224
The createAgreementItem service in applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml doesn't set the agreementId in the result map properly.

Line 129 is
<field-to-result field="agreementId" result-name="agreementId"/>
and should be
<field-to-result field="parameters.agreementId" result-name="agreementId"/>

JLR: minor detail I rather used newEntity.agreementId like in the line below newEntity.agreementItemSeqId


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085774 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 17:42:55 +00:00
Adrian Crum 3855697825 Moved nested class in Start.java to its own file - no functional change. This commit changes the StartupLoader API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085757 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 16:29:15 +00:00
Adrian Crum 58a6b3bdeb Reordered methods and fields in Start.java - no functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085745 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:56:19 +00:00
Adrian Crum 355cc6a59e Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me - https://issues.apache.org/jira/browse/OFBIZ-3662.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:11:00 +00:00
Adrian Crum 50abae04f4 Fixed a bug from one of my previous commits: In Start.java there could be a thread deadlock if one of the loaders failed to load.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085733 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:08:41 +00:00
Jacques Le Roux d943265798 A patch from Rene Scheibe "Invoice items should be sorted." https://issues.apache.org/jira/browse/OFBIZ-4230 - OFBIZ-4230
When creating an invoice via the service "createInvoiceForOrderAllItems" the order items are currently just fetched from the database without any sorting. This can result in a different sorting of invoice items vs. order items. Or when creating a new invoice due to a changed order the sorting between invoices can be different.

Sorts invoice items (in case they are derived from OrderItems) by "orderItemSeqId".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085726 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:46:46 +00:00