Commit Graph
3776 Commits
Author SHA1 Message Date
Jacques Le Roux 392cdc25e6 Improved: Hardcoded stylesheets and javascript resources
(OFBIZ-)

The 'HtmlHead.ftl' file of the cmssite component contains following hardcoded 
style sheet and javascript resources:
•/images/fieldlookup.js
•/images/selectall.js
•/images/ecommain.css
•/ecommerce/images/blog.css
•/content/images/contentForum.css

Thanks: Pierre Smits, Anil and Swapnil

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1815798 13f79535-47bb-0310-9956-ffa450edef68
2017-11-20 12:41:46 +00:00
Jacques Le Roux 7d897896b7 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.securityext.login.
(OFBIZ-9637)

No functional change, missed a compilation issue, 

Thanks: Builbot :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1815195 13f79535-47bb-0310-9956-ffa450edef68
2017-11-14 10:06:46 +00:00
Deepak Dixit ca0613b630 Improved: Updated tomcat-embed-websocket jar to 8.5.23
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1814926 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 07:09:50 +00:00
Jacques Le Roux a34c732847 Improved: Replace Inline Javascript with External Javascript
(OFBIZ-9465)

The OFBIZ-9465_example.patch was partially committed at r1804027.

Thanks: Aditya 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1814342 13f79535-47bb-0310-9956-ffa450edef68
2017-11-05 09:05:53 +00:00
Jacques Le Roux 8589a4a4ff No functional change
Changes the OFBiz logo file name as it has been changed in the site



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1813480 13f79535-47bb-0310-9956-ffa450edef68
2017-10-27 08:11:12 +00:00
Deepak Dixit d0830deb7e Fixed: Removed getRelatedOneCache cache call, as this method is removed from trunk.
Thanks Suraj Khurana for reporting the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1813273 13f79535-47bb-0310-9956-ffa450edef68
2017-10-25 12:49:55 +00:00
Michael Brohl ca7caa56db Improved: Update Solr/Lucene to 7.1.0 [CVE-2017-9803] [CVE-2017-12629].
(OFBIZ-9835)

There were two security vulnerabilities and it was recommended to 
upgrade to 7.1.0 asap.

The update removed the deprecated setBoost functionality during index 
time. I have removed it completely to be able to update to 7.1.0. 
A new indexing and query strategy has to be implemented here. Might be 
follow-up work in the future.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812790 13f79535-47bb-0310-9956-ffa450edef68
2017-10-20 20:48:01 +00:00
Michael Brohl 584f93dcc8 Improved: Removed unfinished Solr query functionality from the
codebase which was introduced with (OFBIZ-6595) and r1736878.

There is no need for a self-implemented solr query form, this is
already provided by the Solr admin page which is accessible
through the menu.

Removes obsolete requests, screens and forms.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812583 13f79535-47bb-0310-9956-ffa450edef68
2017-10-18 21:14:28 +00:00
Shi Jinghai 561957d343 Removed: Add a new plugin for the redis
(OFBIZ-9829)

Thanks Michael and Taher's comments.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812395 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 11:54:49 +00:00
Deepak Dixit e82e469e24 Improved: Manage life span of SecurityGroupPermission entity.
Applied patch from jira issue(OFBIZ-9801) Thanks Suraj Khurana for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812384 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:48:43 +00:00
Deepak Dixit 8fb62e9937 Improved: Proper use of if-has-permission, Apply slightly modified patch from jira issue, if if-has-permission uses _ADMIN permission to check condition, so its good to have old pattern instead of using permission/action pattern.
Thanks Suraj Khurana for your contribution(OFBIZ-9740)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812382 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:07:57 +00:00
Deepak Dixit f02613b01b Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812310 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:49 +00:00
Deepak Dixit 1e984db782 Inconsistent String Comparisons, Applied patch for plugins classes.
Thanks Devanshu Vyas for your contribution (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812282 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 10:43:56 +00:00
Jacques Le Roux 377e8450c7 Fixed: setLocaleFromBrowser request missing for webpos component
(OFBIZ-9847)

I here revert r1812213 and simply add the required setLocaleFromBrowser 
request-map, the include of the whole common-controller is not needed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812223 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 17:12:24 +00:00
Jacques Le Roux 7f385fa6a4 Fixed: setLocaleFromBrowser request missing for webpos component
(OFBIZ-9847)

Step to regenerate:
Login to webpos component (https://localhost:8443/webpos/control/main)
You get an error in logs

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812213 13f79535-47bb-0310-9956-ffa450edef68
2017-10-15 06:02:24 +00:00
Deepak Dixit 58a5344f2f Improved: Updated miscAjaxFunctions.js location in ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812159 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 18:51:20 +00:00
Jacques Le Roux c034a47efe No functional change in svn:ignore : adds bin (Eclipse specific)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812111 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 10:46:25 +00:00
Shi Jinghai 816fe995d5 Implemented: Add a new plugin for the redis
(OFBIZ-9829)

Thanks Haipeng for this wonderful contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811826 13f79535-47bb-0310-9956-ffa450edef68
2017-10-11 14:06:31 +00:00
Michael Brohl f43d6f1dee Improved: Update Apache Solr/Lucene to release 6.6.0.
(OFBIZ-9391)

This also fixes the problems with the Guava dependency in OFBIZ-9444 and
adds some tests (see OFBIZ-9442). It makes sense to have more tests in
the course of further refactoring.

Thanks Julian Leichert for helping with the tests.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811688 13f79535-47bb-0310-9956-ffa450edef68
2017-10-10 12:54:54 +00:00
Deepak Dixit 8257c91e54 Improved: Moved form.css and reset.css from common theme to ecommerce plugin as its only for ecommerce. (OFBIZ-9771)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811223 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:35:27 +00:00
Deepak Dixit 97ae936753 Improved: Updated ecommain.css reference, as its moved from common theme to ecommerce (OFBIZ-9771)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811222 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:26:49 +00:00
Deepak Dixit c6ad0efc64 Improved: Moved ecommain.css from common theme to ecommerce plugin as its only for ecommerce. (OFBIZ-9771)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811221 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:24:07 +00:00
Deepak Dixit ae025f88ee Improved: Updated contentForum.css path in plugins.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811131 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:57:13 +00:00
Deepak Dixit 33e0226074 Improved: Moved multiflex theme from themes to plugins (OFBIZ-9789)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811118 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:35:31 +00:00
Deepak Dixit 3bd002361b Fixed: Get the header and footer template location correctly in ecommerce main decorator. Now multiflex theme will work fine with ecommerce.(OFBIZ-9805)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811117 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:26:43 +00:00
Deepak Dixit 48f2053e50 Fixed: Added EC_DEFAULT as theme for ecommerce. (OFBIZ-9805)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811116 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:15:40 +00:00
Jacques Le Roux 646e2e9d47 Improved: Add session tracking mode and make cookie secure
(OFBIZ-6655)

Programmatically replaces the web.xml <session-config> declarations and uses 
the @WebListener annotation to start the process. This avoid to duplicates 
things everywhere in web.xml files. Since the web.xml files have precedence 
on annotations, the setting can be easily overridden when necessary.

Now that we also use HTTPS in ecommerce the ecommerce session cookie is 
also secured.

I also noted that we had 8 weird <session-timeout> declarations:
    in solr component: <session-timeout>2</session-timeout>
    in themes: <session-timeout>1</session-timeout>

Also in Rainbowstone we lacked the <cookie-config> and <tracking-mode> 
declarations. I think it's not good.

I resolve these points by simply removing the <session-config> in web.xml files 
of themes and Solr.

Thanks: Pradhan Yash Sharma  for review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 07:12:57 +00:00
Jacques Le Roux 2ef900362f No functional change.
Clarifies in log when a weppabb is not mounted (overriding another)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809747 13f79535-47bb-0310-9956-ffa450edef68
2017-09-26 13:29:10 +00:00
Arun Patidar c5791357a0 ADDED: Apply new ruleSet definition into Ofbiz files. (OFBIZ-9515)
> Thanks Pradhan Yash Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809427 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 13:22:35 +00:00
Arun Patidar bf5a90c3ea FIXED: UI issue on web pos for different themes. (OFBIZ-7253)
Thanks Yogesh Naroliya and Anurag Chandak for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809405 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:47:55 +00:00
Deepak Dixit 93e65a257e Fixed: Ftl error shown on Edit Shopping List page in ecommerce component (OFBIZ-9742), also corrected condition reporeted in (OFBIZ-9762).
Thanks  Parakh Maheshwari, Chandrashekhar Dhakad  and  Mohammed Rehan Khan  for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809401 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:31:34 +00:00
Deepak Dixit d4b11cf0a4 Improved: Updated moved file references for plugins (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809393 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:10:35 +00:00
Jacques Le Roux 73ca76a866 Fixed: Empty rows affect the imported
(OFBIZ-9728)

ofbiz-plugins pricat Component

Affected by the empty rows, the number of rows actually imported is less than 
rows of excel.


Thanks: Zhang Liang

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1809270 13f79535-47bb-0310-9956-ffa450edef68
2017-09-22 07:33:55 +00:00
Jacques Le Roux 50cb48179e No functional change.
Moves all *md.html files to tools/wiki-files 
README.md.html will be removed in the next commit

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1807573 13f79535-47bb-0310-9956-ffa450edef68
2017-09-07 09:24:17 +00:00
Deepak Dixit 4d8538bda6 Fixed: Removed unused code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1807330 13f79535-47bb-0310-9956-ffa450edef68
2017-09-05 09:44:05 +00:00
Jacques Le Roux 77219598cc Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806951 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:49:04 +00:00
Jacques Le Roux c1728ab741 Reverts revision: 1806947, changes in UserEvents.xml inadvertently slipped in
Double revert and commit, the joy of separated plugins...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806949 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:48:10 +00:00
Jacques Le Roux ec483599c7 Fixed: Fix references where Mime type is displayed in HTML encoded pattern
(OFBIZ-9644)

I found various instances where the mimeTypeId is displayed in HTML 
encoded pattern over UI.

jleroux: this also removes 2 duplicated fields in AddLayout form

Thanks: Ankit Joshi

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806947 13f79535-47bb-0310-9956-ffa450edef68
2017-09-01 12:38:47 +00:00
Jacques Le Roux 24d24820a0 Fixes formatting in r1806332
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806336 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 22:26:23 +00:00
Jacques Le Roux 742125a715 Fixes a typo in r1806332
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806335 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 22:25:41 +00:00
Jacques Le Roux 209aea867b Fixed: Unable to create Customer
(OFBIZ-9649)

Steps to regenerate:
1. Go to Party Component 
	(https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/main)
2. Create on *Create Customer* sub-menu 
	(https://demo-trunk-ofbiz.apache.org:8443/partymgr/control/NewCustomer)
3. Fill all the required fields and click on save button

On further exploring, I found that the HashCrypt.getDigestHash() method doesn't 
exist in HashCrypt.java. The method existed in the earlier version of Ofbiz 
(Ofbiz-16.12):

Expected result: Customer should be created successfully.
Actual result: An error is thrown

Aditya Sharma:  Hi Ayushi,
I think methods were removed at revision 1804880 by Jacques as they were 
deprecated methods which can be replaced with digestHash() methods.
Refer the link: http://markmail.org/message/c6d7ukjaldzpng7l

jleroux: I found another case in UserEvents.xml. I also formatted things a bit

Thanks: Ayushi Rathod for the finding analysis, and patch, Aditya for helping 
Ayushi 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806332 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 21:17:45 +00:00
Deepak Dixit c36ce08dc4 Fixed: Found some more vlaue=dollor pattern in set field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806328 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:32:59 +00:00
Deepak Dixit 9f4cb137ef Improved:Use from-field pattern instead of value=dollor pattern in 'set' element
Apply slightly modified patch from jira issue, fixed some typo (OFBIZ-9607)
Thanks Suraj Khurana and Rohit Rai for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806327 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 20:24:09 +00:00
Deepak Dixit c86422ce7c Scrum : Remove unused imports from groovy files for code optimization.
Applied slightly modified patch from jira issue (OFBIZ-9511)
Thanks  Suraj Khurana and Pradeep Choudhary for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806324 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 19:50:12 +00:00
Deepak Dixit 2e8d588be8 Fixed: Stack trace on E-commerce Home page (OFBIZ-9652)
Updated common template path as now these common template moved to common-theme component.
Thanks Devanshu for your contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806291 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 12:21:11 +00:00
Deepak Dixit 6772bc5e7f Reverted mistakenly committed code from Header.ftl at r#1796379
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806290 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 12:09:00 +00:00
Deepak Dixit 783cef3b6a Fixed: HTML encoded path of image is showing on product detail page, applied slightly modified patch from jira issue.(OFBIZ-9654)
Thanks Devanshu Vyas for your contribution.
This was mistakenly committed at r#1796379, I don;t know how plugins was committed as I trigger svn ci only for ofbiz-framework.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806289 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 12:06:57 +00:00
Deepak Dixit 77a7830bcf Fixed: Used semicolon insted of comma to terminate css statement
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806277 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 09:16:45 +00:00
Deepak Dixit 5aca538128 Fixed: Updated images component reference path, as we removed images component and now these files are part of common-theme componnet.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806274 13f79535-47bb-0310-9956-ffa450edef68
2017-08-26 08:32:49 +00:00
Nicolas Malin 83b7d0a52a Fixed: Correct library ftl call to render the email body (OFBIZ-9138 Create a common theme)
add possibility to call the ThemeFactory.resolveTheme() with empty request if the visualTheme normaly present on the service context isn't found, so we return the default theme define in general.properties
Thanks to Jacques for raise this problem

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1806238 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 21:25:50 +00:00