Commit Graph
27737 Commits
Author SHA1 Message Date
Jacopo Cappellato 3acc5b44d1 Fix for: barcodes elements embedded in XSL-FO templates didn't work because of a
wrong dependency declared in build.gradle.
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761473 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 16:13:53 +00:00
Jacopo Cappellato 0798e39fca Implemented: unit tests for some mechanisms to create delegator objects and for
the initialization of the ControlFilter.

These unit tests are experimental but interesting because they provide test 
coverage in isolation for some aspect of the framework that were not covered 
before or only covered by integration tests.
The tests for the ControlFilter are particularly interesting because they 
leverage Mockito to run the test in isolation by mocking the FilterConfig 
object.
Please review and run these tests in your local environment, provide your 
feedback and report any issues you may find: this will help to define a pattern 
for the definition of unit tests that could be applied more extensively.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761440 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 13:36:32 +00:00
Jacques Le Roux 6f4154dd4d Fixes: Bursted Layout in screen "orderstatus" of ecommerce
(OFBIZ-8265)

The layout of screen "order status" of application "ecommerce"  is busted .

I save the html of the screen into my local file, and It works fine. I don't know the reason exactly, but the patch attached by me works correctly.

jleroux: after review I agree it's the right way to fix it. OrderStatus.ftl indirectly calls OrderItems.ftl through the orderitems screen so nothing is lost when the addCommonToCartForm is moved from OrderStatus.ftl to OrderItems.ft, it's only a rearrangement which fixes the issue.

Thanks: fumiyoshi.to





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761431 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 13:06:30 +00:00
Jacopo Cappellato 2facce9042 Improved: a series of cleanup mostly related to no more necessary handling of
default encoding for the requests and some fine tuning of ControlFilter 
settings; removed no more used code.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761424 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 12:03:13 +00:00
Taher A. Alkhateeb f94944b080 Fix for: removing the need to generate ofbiz-base-test.jar
In reference to the below discussion thread, this commit removes a task
 which generates the above mentioned jar file which holds a service
 definition. The fix is replace the gradle task which automatically
 generates service with a flat directiory (META-INF) that defines the
 service provides. All tests pass.
 
 Thread: http://markmail.org/message/wzmw2qbacg4hup7r
 
 Thanks: Jacques Le Roux for reporting this issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761421 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 10:46:42 +00:00
Jacques Le Roux d7d1202f3a Improves: Use ignore_missing option of the <#include Freemarker directive when fixed
(OFBIZ-8292)

This is a no functional change except for the flatgrey and blueligth themes where svn and git info are added

Working on OFBIZ-8250 and after Deepak at OFBIZ-7942 (too bad I missed that :/)  I found that the ignore_missing option of the <#include Freemarker directive does not work. I reported to the Freemarker incubating project.
Hopefully this will be fixed. It will then remove the need of creating empty files for the svn and git info footers when building. 

In the meantime this provides the change in the themes footers.
I have also added the svn and git info to the flatgrey footer. The result is barely legible there but is also used (include) by the bluelight theme where it's OK
I have also formatted the related div where it was barely legible (too large)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761392 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 07:19:23 +00:00
Jacques Le Roux f5ae39de85 Fixes: SvnInfo.ftl and GitInfo.ftl are not generated by default
(OFBIZ-8250)

The two files are not generated as empty files when building which results in an FTL stacktrace in the footer of the backend applications.
This had been somehow reported at OFBIZ-7942 which I closed not understanding completely the problem

Thanks: Michael, Taher for fixing this issue and Wai for reporting OFBIZ-7942

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761385 13f79535-47bb-0310-9956-ffa450edef68
2016-09-19 06:26:34 +00:00
Michael Brohl 84759f56c6 Reverted: Maximise the utilisation of common labels in various commonext forms.
(OFBIZ-8121)

The changes were not necessary because the button titles are automatically pulled from FormFieldTitle_updateButton.

Thanks: Nicolas Malin for spotting and reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761335 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 15:44:09 +00:00
Michael Brohl 343cb032d5 Improved: Maximise the utilisation of common labels in various commonext forms.
(OFBIZ-8121)

I've slightly modified the patch to only change the button titles.

Thanks: Pierre Smits for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761332 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 15:00:55 +00:00
Nicolas Malin b5eab8a516 Fix for: Adding role for a party show error on the second add
(OFBIZ-7135)

As a supplement to correct the uri call problem, I review the roleTypeId drop-down to list only role without parentTypeId on the main role screen

Thanks: Florian Montalbano this correction.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761323 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 12:41:31 +00:00
Jacques Le Roux e51378d981 Improves:E-commerce : FTL formatting
(OFBIZ-7949)

Fixes a typo introduced by r1761135 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761316 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 10:29:49 +00:00
Nicolas Malin 768c46a0de Improved : review order condition to resolve party enable on Lookup[PartyGroup|Perso]
(OFBIZ-7117)

Review the entity condition order to optimize sql search
Optimize java import
update code format

Thanks : Florian Montalbano to propose the order optimisation.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761314 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 09:59:13 +00:00
Jacopo Cappellato f590602eda Fix for: Add WorkEffort Timesheet to Invoice or to New Invoice does not work.
(OFBIZ-5636)

Thanks: Ahmad Ludin for reporting and Avnindra Sharma for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761309 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 09:11:58 +00:00
Jacques Le Roux f7195ddfd3 Fixes: Bursted Layout in screen "orderstatus" of ecommerce
(OFBIZ-8265)

Reverts r1761305, after testing more I found you can no longer submit an order. I have an idea of the problem but I prefer to revert all for now


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761308 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 08:56:07 +00:00
Jacques Le Roux b485b1001e Fixes: Bursted Layout in screen "orderstatus" of ecommerce
(OFBIZ-8265)

The layout of screen "order status" of application "ecommerce"  is busted .

I save the html of the screen into my local file, and It works fine.
I don't know the reason exactly, but the patch attached by me works correctly. 

jleroux: after a quick check it seems this does not introduce regression

Thanks: fumiyoshi.to

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761305 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 08:42:42 +00:00
Jacopo Cappellato 794a4dfbbb Implemented: removed the "controller" related logic, that is now provided by the
new ControlFilter, from the ContextFilter; modified existing applications to use 
the two filters in a chain; removed from the other specialized filters all the 
logic that was duplicated or extended from ContextFilter.

A web application, in order to leverage the OFBiz framework, requires that a 
series of objects are in its contexts (servlet context, session and request) 
such as "delegator", "delegatorName", "dispatcher", "security" etc. etc...
This setup is performed by the logic contained in the servlet filter implemented 
by the ContextFilter class.
The execution of this logic is required for the application to run properly.
However, before this commit, in the ContextFilter there was other logic, related 
to access control and redirection rules (some of them performed in coordination 
with the ControlServlet), making it difficult to deploy this filter in all the 
web applications, especially the ones that implement special handling of paths.
In fact, this filter was deployed in most but not all the web application in the 
OFBiz codebase: specifically it was not deployed in web applications that 
require the execution of other filters (e.g. CatalogUrlFilter, etc...) like the 
ones in the "ecommerce" and "solr" components.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761304 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 08:08:30 +00:00
Taher A. Alkhateeb c8acf607ee Improved: local library classpath setup in OFBiz
Now that all local jars are removed from OFBiz, there is no need to either
keep the "lib" directory in components or to automatically load these libs
if they exist. If users want to add custom libraries, then can place them
directly in the top level directory "lib".

Hence this commit removes the remaining lib directories in the accounting,
example and ldap components and fixes build.gradle to not iterate the lib
directories in components for loading jars inside of them.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761302 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 06:58:27 +00:00
Jacopo Cappellato 750b6a4d33 Improved: removed the "ecomclone" web application from the "ecommerce"
component.

This web application was created to provide an example of how to leverage the 
mechanism to extend another web application: since then the mechanism has been 
adopted by most of the other OFBiz applications, making this example no more 
useful.  


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761301 13f79535-47bb-0310-9956-ffa450edef68
2016-09-18 06:23:55 +00:00
Michael Brohl 63b4ee54bb Improved: Passport : Remove unused imports from groovy files for code optimization.
(OFBIZ-8034)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761278 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 20:50:48 +00:00
Michael Brohl 93c7c49011 Improved: Lucene : Remove unused imports from groovy files for code optimization.
(OFBIZ-8033)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761277 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 20:42:37 +00:00
Michael Brohl 00383d6069 Improved: AssetMaint : Remove unused imports from groovy files for code optimization.
(OFBIZ-8032)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761271 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 20:36:38 +00:00
Michael Brohl 9b854905eb Improved: ebay : Remove unused imports from groovy files.
(OFBIZ-7895)

Thanks: Ankit Joshi for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761269 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 20:13:39 +00:00
Nicolas Malin 150c585c1b Fix for : LookupAccount search screen 'Find' button redirect to Lookup Group
(OFBIZ-7117)

Use a dynamic target resolution on form LookupPerson and LookupPartyGroup that call by different LookupScreen so different URI.
With a static target, we loosed the preparation on dedicate parameter search realize by the dedicate LookupScreen like LookupAccount or LookupLead

Thanks : Florian Montalbano to spot and explain on detail the problem.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761257 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 16:55:59 +00:00
Nicolas Malin 1c775ed5e6 Improved : Remove unneeded end line space
No functional change


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761249 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 14:50:34 +00:00
Ashish Vijaywargiya 9b9d506a55 Improved: Inconsistencies on the title and the label on button of create forms related to manufacturing.
(OFBIZ-7876)
Thanks: Rahul Bhammarker for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761242 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 14:04:04 +00:00
Ashish Vijaywargiya 77c58755ba Improved: Inconsistencies on the title and the label on button of create forms related to catalog.
(OFBIZ-8140)
Thanks: Rahul Bhammarker for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761240 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 14:01:39 +00:00
Ashish Vijaywargiya b2a4dd1d91 Improved: Clean up commented out code in Java source for Common component.
(OFBIZ-8037)
Thanks: Harsh for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761237 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:52:40 +00:00
Jacopo Cappellato 6508cbb19f Improved: change drop-down option from "Any" to empty in Admin Search of the
"lucene" component to make it consistent with similar search forms in the other 
applications

Thanks: Renuka Srishti for the report and the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761236 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:46:27 +00:00
Jacques Le Roux 5b002a5953 Fixes: jquery.jgrowl.min.css is linked twice in html page
(OFBIZ-7758)

I am running on trunk rev 1751489 on tomahawk theme. 
In the browser, right-click and view the page source. 
There is duplicate linking of jquery.jgrowl.min.css i.e.

<link rel="stylesheet" href="/images/jquery/plugins/jquery-jgrowl/1.4.1/jquery.jgrowl.min.css" type="text/css"/>

The solution is to remove a hack for JPublish in fex Java classes 
and related changes (mostly "page." in ftl and xml files)

Thanks: Rohit Koushal for the path and James Yong the report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761235 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:43:16 +00:00
Ashish Vijaywargiya e22c43c132 Improved: Enhance Event Handler to support an transaction-timeout attribute in the <event> element.
(OFBIZ-8160)
Thanks: Ravi for the contribution. Thanks Jacopo for your comment, it was very helpful.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761234 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:38:23 +00:00
Nicolas Malin 2f9435b2cb Implemented : Enable the status selection for WorkEffort duplication
(OFBIZ-7959)

When duplicate a workEffort, if a status is given, initialize on this or check the first status sequence on the same statusType from the duplicate workEffort
Convert the ftl form EditWorkEffortDupForm to sreen engine form EditWorkEffortDuplicate

Thanks : Montalbano Florian for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761233 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:34:47 +00:00
Arun Patidar f5deecf43e Implemented: Added CRUD services for InvoiceItemAttribute, InvoiceTermAttribute, EmploymentAppSourceType, FacilityType, InventoryItemTempRes, EnumerationType, EntityGroup, EntityGroupEntry, EntitySyncIncludeGroup and InventoryItemAttribute entity.
(OFBIZ-8167) (OFBIZ-8168) (OFBIZ-8169) (OFBIZ-8170) (OFBIZ-8171) (OFBIZ-8208)(OFBIZ-8246)(OFBIZ-8247)(OFBIZ-8259)(OFBIZ-8269)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761231 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:31:24 +00:00
Ashish Vijaywargiya b2766d8859 Fix for: Update Party Invitation does not honour "To Name" field.
(OFBIZ-8151)
Thanks: Ravi for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761224 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:20:39 +00:00
Shi Jinghai 48862e26ab Implemented: To follow Jacopo's change (rev. 1760725) on ControlFilter, cleaned up the OFBizSolrContextFilter and setup a filter chain in web.xml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761214 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:02:36 +00:00
Nicolas Malin 2c95e3757f Improved : Clear unnecessary space to respect XML format notation
No functional change


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761207 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 12:35:42 +00:00
Pranay Pandey 4ee20ddaf9 Fix for: Pagination error in Accounting PaymentGatewayConfigForms.
(OFBIZ-8280)

Added missing paginate-target for PaymentGatewayConfigForms - ListPaymentGatewayConfig and ListPaymentGatewayConfigTypes. 
  
Thanks: Chandan Khandelwal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761204 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 12:20:38 +00:00
Pranay Pandey 3e52377f40 Improved: Add default table style for Payments on ViewGatewayResponse screen.
(OFBIZ-8276)

Thanks:Mohammed Rehan Khan for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761203 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 12:15:56 +00:00
Gil Portenseigne c981418dc9 Implemented: Add tasks from different project on the same invoice (OFBIZ-8116)
This new feature allow to bill task time entries from several projects into one unique Invoice.

Thanks Florian Montalbano for your contribution, i did apply some light improvments in your patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761202 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:56:04 +00:00
Divesh Dutta 5cb4f86e07 Improved:In Agreement screen, rename the button label to create new agreement from Edit Agreement to Create Agreement.
(OFBIZ-7608)

Thanks: Anuj Jain for providing the patch and Swapnil Shah for reporting the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761201 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:41:59 +00:00
Ashish Vijaywargiya da3b8a406f Improved: Clean up commented out code in Java source for Base component.
(OFBIZ-8036)
Thanks: Harsh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761200 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:38:35 +00:00
Arun Patidar 693a3d3f7b Implemented: Added CRUD services for DocumentType, DocumentTypeAttr and EmplPositionTypeClass entity.
(OFBIZ-8164) (OFBIZ-8165) (OFBIZ-8166)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761199 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:35:30 +00:00
Pranay Pandey f92b695d01 Improved: Removed obsolete popUpPrint functions from OfbizUtil.js.
(OFBIZ-8275)

Thanks: Amardeep Singh Jhajj for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761198 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:17:47 +00:00
Pranay Pandey 236f00469a Improved: Content: Aligned column titles in list forms.
(OFBIZ-8272)

Thanks: Aditi Patidar for reporting and providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761197 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:13:24 +00:00
Jacopo Cappellato ebb658f620 Fix for: two broken screen Edit Calendar Exception day and week.
(OFBIZ-8222)

Thanks: Avnindra Sharma for the report and the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761196 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:06:50 +00:00
Pranay Pandey 968f9f0400 Improved: Ecommerce, Ebay - inline js for toggleAll, checkToggle and selectAll calling from ftls
(OFBIZ-7931)

Removed inline js for toggleAll, checkToggle and selectAll calling from ftls in Ecommerce and Ebay component. Add class="selectAll" on parent checkbox element for select all functionality.

Thanks: Amardeep Singh Jhajj for reporting and providing the patch.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761195 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:04:58 +00:00
Arun Patidar 411fbfb43c Implemented: Added CRUD services for DocumentAttribute, Document and DesiredFeature entity.
(OFBIZ-8161) (OFBIZ-8162) (OFBIZ-8163)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761193 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:03:20 +00:00
Divesh Dutta 556279917d Improved:Display from date with default to now timestamp and also add asterisk sign to all the forms where it is part of primary key in all the components.
(OFBIZ-7650) (OFBIZ-7651) (OFBIZ-7653) (OFBIZ-7660) (OFBIZ-7662) (OFBIZ-7665) (OFBIZ-7666) (OFBIZ-8028)(OFBIZ-8029) (OFBIZ-8255)

Thanks: Anuj Jain and Ratnesh for the pathes and Swapnil Shah for reporting the issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761192 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:02:39 +00:00
Ashish Vijaywargiya 6cc967f4d4 Improved: Invalid UiLabel on Edit Return screen.
(OFBIZ-8262)
Thanks: Akshay for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761191 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:00:42 +00:00
Jacopo Cappellato 9cf4187183 Improved: added "required" check for the facility type field in the "Edit
Facility" screen.
(OFBIZ-7480)

Thanks: Avnindra Sharma for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761190 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:58:26 +00:00
Ashish Vijaywargiya a0d922436c Improved: Inconsistencies on the title and the label on button of create forms related to Facility.
(OFBIZ-8141)
Thanks: Rahul Bhammarker for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761189 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 10:56:12 +00:00