(OFBIZ-9978)
Here is the first patch with Jquery upgrade from 1.11.0 to 3.2.1 with following
changes:
Removes JQuery 1.11.0 & JQuery migrate 1.2.1
Adds JQuery 3.2.1 & JQuery migrate 3.0.0
Adds JQuery Browse Plugin . The jQuery.browser() method has been deprecated
since jQuery 1.3 and is removed in 1.9.
Upgrades Fancybox 1.3.4 to v3.2.3
Upgrades JQuery Validation Plugin 1.11.0 to 1.17.0
Messages_en.js, Messages_cn.js, Messages_se.js, Messages_tw.js and
Messages_uq.js manually updated with new changes not present in JQuery
Validation Plugin package
Converted file additional-methods.js and validate.js from dos to unix text
Upgrades JQuery Form Plugin version: 2.87 (20-OCT-2011) to 4.2.2
Upgrades MockJax - jQuery Plugin to Mock Ajax requests 1.4.0 to 2.2.1
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815824 13f79535-47bb-0310-9956-ffa450edef68
With this fix, about the Quicksand Google font licensed under the
SIL OPEN FONT LICENSE Version 1.1, we are now clear from all licensing issues
Though we are still waiting for INFRA-15466 to check the RAT Buildbot result...
BTW I referred to https://nifi.apache.org/licensing-guide.html about how to
handle this case. Only a change in NOTICE was needed, not in LICENSE. Nice TLP
document, that I'll check again later...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815412 13f79535-47bb-0310-9956-ffa450edef68
twice
(OFBIZ-9770)
GlobalActions screen of themes/common/widget/CommonScreens.xml is loaded twice.
1. Included in GlobalDecorator screen of themes/common/widget/CommonScreens.xml
2. Included in GlobalActions screen of framework/common/widget/CommonScreens.xml
Solution: removes the first instance i.e. from GlobalDecorator.
Steps to verify:
All the files (js, css etc) included in this screen are still available.
Thanks: Aditya for the patch et Aishwary Shrivastava for testing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814906 13f79535-47bb-0310-9956-ffa450edef68
also remove checkToggle, toggleAll and selectAll js functions
Improved:
(OFBIZ-8300)
Remove inline js for toggleAll, checkToggle and selectAll calling from ftls in
Framework component. Add class="selectAll" on parent checkbox element for select
all functionality.
Also remove js functions from OFBIZUtil.js. Functions are: toggleAll, selectAll,
toggle and checkToggle, as all its usage replaced with generic selectAll class
usage.
Thanks: Amardeep Singh Jhajj and Aditya Sharma
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814723 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9465)
As discussed in http://ofbiz.markmail.org/thread/ti54omjdt4fy662m
inline javascript for various macros like renderLookupField, makeHyperlinkString,
shortDateInput etc in HtmlFormMacroLibrary.ftl should be replaced with a generic
code written as external javascript. Generic Javascript code should be written
in OfbizUtil.js and appropriate classes or identifiers should be used for
applying that. Any additional data can be passed with HTML 5 custom data attribute
(https://www.w3.org/TR/2011/WD-html5-20110525/elements.html
#embedding-custom-non-visible-data-with-the-data-attributes).
Deepak: I think we can use data-mask attribute to recognize the element instead
of adding class.
jeloux: I noticed a MaskFieldExampleForm was introduced with r1804027 but
not used in FormWidgetExampleScreens.xml so was not visible
Thanks: Aditya and Deepak
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814292 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9837)
When you get to cmssite/cms/APACHE_OFBIZ_HTML in trunk HEAD you get this error:
ERROR in error page, (infinite loop or error page not found with name
[/error/error.jsp])
It because the related code does not use the Common Theme. And also because
the Css styles missed in themes/common/widget/Theme.xml
While fixing that I also fixed few points of the Common Theme documentation
in the main README.md file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814063 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9862)
I have added the missing CSS styles for Rainbow theme in
themes/rainbowstone/webapp/rainbowstone/style.css to improve the rendering of
the list of visual themes also attached a screenshot for your quick reference.
Thanks: Yogesh Naroliya for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813647 13f79535-47bb-0310-9956-ffa450edef68
(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-framework/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
Two fixes, remove duplication load of jquery/ui/js/jquery-ui-1.10.3.min.js and move moment-timezone-with-data.min.js, moment-with-locales.min.js and setUserLocale.js in screen action definition to escape js unresvolve variable.
Reorganize import like before the common-theme migration
Thanks to Rohit Rai, Jacques and Deepak for their help to find and resolve theses issues
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806792 13f79535-47bb-0310-9956-ffa450edef68
Instead of use the properties on the current theme, some ftl macro present in the file HtmlFormMacroLibary.ftl used a directl call to widget.properties.
To help the code reader, the modelTheme has been set on the root ftl context, and the previous widget.properties call replace by modelTheme call
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806742 13f79535-47bb-0310-9956-ffa450edef68