Commit Graph
22214 Commits
Author SHA1 Message Date
Jacques Le Roux c19af8a60b Reverts r1728959 because of misc. issues with the patch, see my comment at https://issues.apache.org/jira/browse/OFBIZ-6884
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728961 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 13:59:41 +00:00
Jacques Le Roux 3a5cc393cf A patch from Pierre Smits for "Replace Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue in .ftl files with EntityUtilProperties variant" https://issues.apache.org/jira/browse/OFBIZ-6884
Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue is used in several .ftl files. 

Replaces with EnittyUtilProperties variant where appropriate.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728959 13f79535-47bb-0310-9956-ffa450edef68
2016-02-07 13:18:50 +00:00
Jacques Le Roux f9928cbc55 Since
r1727987: Removes the forceManualJsessionid feature - OFBIZ-6867 
and
r1728121: Gets rid of the session-cookie-accepted feature - OFBIZ-6871
are done we can remove the now useless cookies variables, this does it


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728660 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 13:18:44 +00:00
Hans Bakker 9d39583bcf be able to set accounting company in the header, so other companent can change it too. https://issues.apache.org/jira/browse/OFBIZ-6802
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728584 13f79535-47bb-0310-9956-ffa450edef68
2016-02-05 01:45:50 +00:00
Julien Nicolas 117acbcbb6 Fix rainbowstone theme personnal avatar image - JIRA6881
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728562 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 22:40:33 +00:00
Nicolas Malin 179106169f correct typo, no functional change
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728560 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 22:07:55 +00:00
Julien Nicolas 584508c51c JIRA6843 - Fix issue on avatar.ftl for rainbowstone theme
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728425 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 08:56:02 +00:00
Taher A. Alkhateeb 907726c1ff fix the classpath file for updated tomcat libraries
The tomcat libraries that were updated in the framework
changed their names slightly. This commit updates the
names for the IDE to work correctly


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728411 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 06:57:52 +00:00
Hans Bakker 047ee1e342 update of accounting NL labels: https://issues.apache.org/jira/browse/OFBIZ-6875
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728398 13f79535-47bb-0310-9956-ffa450edef68
2016-02-04 01:28:39 +00:00
Julien Nicolas 324bc0af74 Add new theme rainbowstone JIRA6843
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728388 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 22:51:33 +00:00
Jacques Le Roux 82cecfdfcc Removes forceHttpSession feature - https://issues.apache.org/jira/browse/OFBIZ-6879
We should always use HTTPS as explained at OFBIZ-6849

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728381 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 22:07:10 +00:00
Jacques Le Roux 7840fa5d02 Not sure it's a real issue but stumbled upon while doing automated tests: webSiteId was null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728376 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 21:24:28 +00:00
Jacques Le Roux fffc684891 Removes all sessionsIds put in URLs - https://issues.apache.org/jira/browse/OFBIZ-6872
We should always use sessionIds in cookies and newer have sessionsIds in URLs. So I will remove all sessionsIds in URLs. There are 2 cases:

* the part related to spiders in RequestHandler
* HtmlFormRenderer.appendExternalLoginKey() (there is also an appendExternalLoginKey method in MacroFormRenderer class but it's not used OOTB)

I also removed some old commented out code in RequestHandler class

There are also many cases where we show the sessionId in logs (using UtilHttp.getSessionId()) I wonder if we should not keep those commented out or change the debug info level. Also HttpSessionEvent.getSession().getId() is directly used in some places for the same purpose (log)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728375 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 21:09:28 +00:00
Gil Portenseigne 63e01c97f7 OFBIZ-6869 : Add properties in widget.properties, for easy customization of JGrowl alert. Thanks Jacques for the idea
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728351 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 19:18:35 +00:00
Nicolas Malin 5e9bc5a1d1 convert simple crud service to entity-auto for the follow entities :
ProductPaymentMethodType, SupplierProduct, CommunicationEventProduct, ProductCategoryMember, ProductFeatureDataResource, ProductConfig, ProductConfigItem, ProductConfigOption, ProductConfigProduct, ProductPriceRule, ProductPriceCond, ProductPriceAction, PhysicalInventory, ProductFacilityLocation, Facility, FacilityLocation, FacilityGroupMember, FacilityGroupRollup, FacilityParty, FacilityContent, InventoryItemLabelType, InventoryItemLabelAppl, InventoryItemLabel, ProductPromo, ProductPromoCode, ProductPromoCategory, ProductPromoCodeEmail, ProductPromoCodeParty, ProductPromoProduct, ProductPromoRule
Added a new service productPriceGenericPermission for acces control to related price service. Issue OFBIZ-6873

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728261 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 07:27:21 +00:00
Jacques Le Roux e4a0586ff2 Gets rid of the session-cookie-accepted feature - https://issues.apache.org/jira/browse/OFBIZ-6871
Since OFBIZ-6867 is now done, it will no longer be used OOTB and anyway should not be needed because we should preferably always use sessionIds in cookies and newer have sessionsIds in URLs.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728121 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 14:10:08 +00:00
Gil Portenseigne f3dd6cbadc OFBIZ-6869 : Jgrowl enhancement for internationalization, center and speed up display, with some format/typo fixes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728029 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 00:38:51 +00:00
Nicolas Malin 40d44a3513 Add new template location : VT_LOGIN_TMPLT_LOC for the login
VT_CHPWD_TMPLT_LOC for the changePassword
VT_FGPWD_TMPLT_LOC for the forgetPassword
VT_GSQUE_TMPLT_LOC for the getSecurityQuestion
Related issue OFBIZ-6868. The origin requirement came from issue OFBIZ-6843 with proposition to adding new theme with dedicate template for these previous element

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728026 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 00:08:55 +00:00
Jacques Le Roux 0e7c4d0a5c Removes the forceManualJsessionid feature - https://issues.apache.org/jira/browse/OFBIZ-6867
This follows Scott's comment at https://issues.apache.org/jira/browse/OFBIZ-6111?focusedCommentId=15076677

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727987 13f79535-47bb-0310-9956-ffa450edef68
2016-02-01 18:30:43 +00:00
Jacques Le Roux e012e37b59 A patch from Pierre Smits for "Have the ability to add terms to invoices" https://issues.apache.org/jira/browse/OFBIZ-6865
Currently in UI there is no way that terms can be added to an invoice.

jleroux: Works well, links to edit/delete a Term, for instance from the list at "createInvoiceTerm" request would be welcome...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727894 13f79535-47bb-0310-9956-ffa450edef68
2016-02-01 07:18:35 +00:00
Jacques Le Roux 3b3420c1f6 Reverts r1727643 for "Load JDBC drivers when creating tenant on PostgreSQL or mySQL" https://issues.apache.org/jira/browse/OFBIZ-6863
As Pierre commented: this is opening up a potential risk in the way that when establishing a new tenant the integrated download task could be downloading a different driver than has been done for older tenants. Resulting in having multiple drivers accessible by the classloader and unexpected results...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727708 13f79535-47bb-0310-9956-ffa450edef68
2016-01-30 15:04:46 +00:00
Jacques Le Roux 9a814915b8 Implements "Load JDBC drivers when creating tenant on PostgreSQL or mySQL" https://issues.apache.org/jira/browse/OFBIZ-6863
It's only a matter of calling respectively ant targets *download-PG-JDBC* and *download-mySQL-JDBC* when chaining *create-tenant-on-MySQL* or *create-tenant-on-PostgreSQL* from *create-tenant* main target

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727643 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 21:47:53 +00:00
Nicolas Malin 0c5de17f41 Add the possibility to set a blackout period for job manager service. During this time all async and scheduled service are put on hold.
This improvement add a entity JobManagerLock, a new screen to add/edit job manager lock and an information for end user on FindJob and ScheduleJob screen.
See more information on issue OFBIZ-6790. Thanks to Jacques for sharing on this improvement.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727570 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 12:52:34 +00:00
Julien Nicolas ccc37aea88 JIRA OFBIZ-6856 - Contact Mech Translation in Facility Application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727207 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 22:28:09 +00:00
Jacques Le Roux 96402ff1c5 A patch from Pierre Smits for "Add wiki documentation regarding the solr component" https://issues.apache.org/jira/browse/OFBIZ-6592
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727001 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 11:29:18 +00:00
Nicolas Malin 63c0ab956e Add service crud for AgreementItemAttribute, related issue OFBIZ-6857
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726951 13f79535-47bb-0310-9956-ffa450edef68
2016-01-27 08:16:07 +00:00
Jacques Le Roux 2dff326b4b Fixes a typo, I missed a NOT in a comment - OFBIZ-6792
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726910 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 21:29:57 +00:00
Jacques Le Roux 6cedfa1a74 Fixes "Error on the Split Payment button from the Quick Finalize Order screen" https://issues.apache.org/jira/browse/OFBIZ-6743
Error in trunk:
ERROR rendering error page [/error/error.jsp], but here is the error text: org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]
Error in stable and old:
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [checkoutpayment]

Vyom Jain added a comment - 22/Nov/15 07:50
This is an issue even in 09.04 and 10.04 code, so it has been there for sometime now.

Scott Gray added a comment - 03/Jan/16 05:43
The view-map was moved to ecommerce in r544053. Probably because the view-map wasn't referenced in the controller.xml for ordermgr. It is actually used though as a view override in component://order/webapp/ordermgr/entry/checkoutoptions.ftl
Just needs to be restored in the controller and have the screen moved back.

jleroux: So I moved back from ecommerce to order (with few adaptations)
* the checkoutpayment.ftl file 
* the order controller view-map
* the screen name checkoutpayment

I tested in both order and ecommerce, works! I will try to backport, let's see...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726828 13f79535-47bb-0310-9956-ffa450edef68
2016-01-26 15:43:17 +00:00
Nicolas Malin b038416b9b I converted following services from simple to entity-auto :
createOrderNotificationLog
    createOrderItemBilling
    createOrderAdjustment
    updateOrderAdjustment
    createOrderAdjustmentBilling
    createOrderShipment
    updateOrderShipment
    deleteOrderShipment
    createCommunicationEventOrder
    removeCommunicationEventOrder
    createOrderItemShipGroup
    createOrderContactMech
    removeOrderContactMech
    createOrderTerm
    removeOrderTerm
    createOrderRequirementCommitment

And from java to entity-auto for createOrderPaymentPreference
Related issue OFBIZ-6854.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726542 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 19:06:32 +00:00
Jacques Le Roux 8e8aabc8c5 Something went wrong with r1720910 for OFBIZ-6226. There are duplicated labels now. Better to revert and redo correctly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726529 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 18:37:24 +00:00
Jacques Le Roux ab179c83c6 A completed patch from Hans Bakker for "Various fixes related with sales opportunity" https://issues.apache.org/jira/browse/OFBIZ-6791
jleroux:
This is related with r1725574 where I  reverted the change done with http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?r1=1723248&r2=1723247&pathrev=1723248 following this thread  http://markmail.org/message/mspie3qdjcac2tci
In few words r1725574 was wrong (broke opportunity creation) and it was better to "improve" the opportunities list

I added a sort to have all same (with different possible roleTypeIds) opportunities subsequent, added the roleTypeId near the salesOpportunityId to make it obvious, and added a RoleType column
I also replaced useless " by real quote in groovy expressions and replaced the link from the opportunities list to a view screen by an edit screen (which can do more hence less)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726493 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 14:14:15 +00:00
Nicolas Malin aa7c52b8dd complete missing franch translate
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726488 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 12:57:03 +00:00
Nicolas Malin 3a07efc5df correct locale (en to fr) associate to french translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726486 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 12:50:01 +00:00
Nicolas Malin c4c57626d8 * add missing french translation
* correct typo error on label WebtoolsEntityCretePermissionError -> WebtoolsEntityCreatePermissionError
* correct typo error on labels WebtoolsErrror* -> WebtoolsError*

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726485 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 12:41:38 +00:00
Nicolas Malin fbae10008c add french label missing for EntityImport* and PageTitle*
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726457 13f79535-47bb-0310-9956-ffa450edef68
2016-01-24 00:06:17 +00:00
Jacques Le Roux 9bbd16e9fa Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Nicolas Malin 74da8e5999 I converted crud services from simple to entity-auto for entities SalesOpportunity and SalesForecastDetail, related issue OFBIZ-6853
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726338 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 23:01:08 +00:00
Nicolas Malin 0c865c8970 I converted CreditCardTypeGlAccount crud service from simple to entity-auto engine.
I also convert updatePaymentMethodType and removePaymentContent service

Related Issue OFBIZ-6852

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726334 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 22:26:09 +00:00
Nicolas Malin 6ad89a445c I converted simple crud service to entity-auto for following entites :
* TaxAuthority
 * TaxAuthorityAssoc
 * TaxAuthorityCategory (not remove)
 * TaxAuthorityGlAccount
 * TaxAuthorityRateProduct

I also move the permission check to the service definition.
related issue OFBIZ-6851

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726327 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:57:48 +00:00
Nicolas Malin 370ccceb8c I converted PartyContent and CommunicationEventPurpose from simple to entity-auto engine, related issue OFBIZ-6850
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726323 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:48:23 +00:00
Jacques Le Roux 340c2b6745 A slightly formatted patch from Gareth Carter for "Add getFieldList method to EntityQuery" https://issues.apache.org/jira/browse/OFBIZ-6848
Improves EntityQuery by adding method getFieldList so we don't have to chain to EntityUtils.getFieldListFromEntityList or getFieldListFromEntityListIterator

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1726184 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 11:50:49 +00:00
Jacques Le Roux 83113c00ed Fixes an issue discussed on dev ML and related with OFBIZ-6791
This before trying to backport the fixes done with commits referenced in the OFBIZ-6791 issue 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725574 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 17:45:19 +00:00
Jacques Le Roux 5120c6ebbb A patch from Pierre Smits for "In DemoTaxAuthority.xml the associated countrycode for Bulgaria is wrong" https://issues.apache.org/jira/browse/OFBIZ-6844
In DemoTaxAuthority.xml the associated CountryCode for the tax office in/of Bulgaria is set to BEL, which is Belgium.
This should be corrected to BGR.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725561 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:40:04 +00:00
Jacques Le Roux 8ff099d69d Reverts r1724954 and reopens OFBIZ-6805
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725556 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 16:12:34 +00:00
Jacques Le Roux 2ea3bcf115 A patch from "Ralph" (info at agentur-m3 dot de) for "ProjectMgr: GanttChart fails, in case of dependencies for tasks" https://issues.apache.org/jira/browse/OFBIZ-6842
the problen is in line 127:
taskInfo.preDecessor = latestTaskIds
This line causes brackets around ids (e.g.: [10098] )
And these brackets cannot be processed by jsgantt.
So in case of dependencies the ganttchart will not be displayed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725257 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 13:08:12 +00:00
Deepak Dixit e706783023 Use html encode type instead string to get the config instruction.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725218 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:35:55 +00:00
Deepak Dixit a917a762e9 Fixed stack trace on configproductdetail.ftl, Used correct method to get INSTRUCTIONS from ProductConfigItemContentWrapper.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725217 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 10:33:26 +00:00
Jacques Le Roux 42c5d3f61e Fixes "The passport component misses a web.xml file" https://issues.apache.org/jira/browse/OFBIZ-6809
While checking OFBIZ-6794 I found a remaining issue in log. Adding an empty web.xml to the passport webapp was sufficient.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1725006 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 17:14:52 +00:00
Divesh Dutta 91d0598a3c [OFBIZ-6753] Fixed issue:The GL account for USA_IRS is set to 224106 (SALES TAX COLLECTED USA - CA) should be 224100 (SALES TAX COLLECTED USA). Thanks Jesse Thomas for reporting the issue and Thanks Ankush for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724978 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:25:20 +00:00
Ashish Vijaywargiya 6caa828896 Applied patch from jira issue - OFBIZ-6735. Tooltip Calendar field (date or date-time) should not stop when using tab key. Thanks Jacques for creating the issue and thanks Jagpreet for the patch contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724975 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 13:47:30 +00:00