Commit Graph
736 Commits
Author SHA1 Message Date
Jacques Le Roux 01d87d625a Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Related with r1816032

Thanks: Aditya 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816033 13f79535-47bb-0310-9956-ffa450edef68
2017-11-22 10:54:27 +00:00
Jacques Le Roux 037f417ebe Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Renames jquery.browser to 0.1.0 and fancybox to 3.2.3

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816032 13f79535-47bb-0310-9956-ffa450edef68
2017-11-22 10:46:54 +00:00
Jacques Le Roux 83083e2eb1 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Removes empty js files and related (package.json)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816025 13f79535-47bb-0310-9956-ffa450edef68
2017-11-22 10:10:52 +00:00
Jacques Le Roux 8b0c09f846 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(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
2017-11-20 17:35:27 +00:00
Jacques Le Roux b360e4a5b5 No functional change about Quicksand font license.
Actually I'm not sure Google owns the Quicksand font, the initial author's 
Github is here: https://github.com/andrew-paglinawan/QuicksandFamily
So I removed Google as "proprietary"; I think enough information
is so given

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815427 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 10:10:13 +00:00
Jacques Le Roux d6c05561d3 No functional change.
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
2017-11-16 05:54:23 +00:00
Jacques Le Roux e907b65e2c No functional change, fixes the links to themeRuby.png
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1815411 13f79535-47bb-0310-9956-ffa450edef68
2017-11-16 05:24:13 +00:00
Deepak Dixit 0497d6e624 Fixed: Fixed typo introdued at r#1814924
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814927 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 08:33:29 +00:00
Deepak Dixit 547b04f2e0 Improved: Set the default value for Html Form Macro Library. (OFBIZ-7985)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814924 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:38:09 +00:00
Deepak Dixit adad0747b0 Improved: Set the default value for Csv Screen Macro Library, Text Screen Macro Library, Xml Form Macro Library and Xls Form Macro Library. (OFBIZ-7992)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814923 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:19:48 +00:00
Deepak Dixit 25dd721be5 Improved: Set the default value for Html Tree Macro Library.(OFBIZ-7988)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814922 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:14:20 +00:00
Deepak Dixit fda86b20a0 Improved: Set the default value for Fo Screen Macro Library. (OFBIZ-7933)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814921 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:06:52 +00:00
Deepak Dixit 562cbe9aea Improved: Set the default value for Fo Form Macro Library. (OFBIZ-7932)
Thanks Renuka Srishti for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814920 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 06:03:23 +00:00
Deepak Dixit 0aec3032e3 Improved: Set the default value for Html screen Macro Library.(OFBIZ-7879)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814919 13f79535-47bb-0310-9956-ffa450edef68
2017-11-11 05:55:58 +00:00
Jacques Le Roux 1f4d24e708 Improved: CSS files defined through layoutSettings in GlobalActions are loaded
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
2017-11-10 19:09:47 +00:00
Jacques Le Roux b1dda75f09 Implemented: Framework: Remove inline js for toggleAll calling from ftls and
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
2017-11-09 12:30:48 +00:00
Jacques Le Roux 8693fb0bdc Improved: Replace Inline Javascript with External Javascript
(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
2017-11-04 14:06:56 +00:00
Jacques Le Roux 62d3137e59 Better formatting (not sure the wiki import will work though)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814229 13f79535-47bb-0310-9956-ffa450edef68
2017-11-03 17:26:09 +00:00
Jacques Le Roux 4c773ecf93 Better formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814228 13f79535-47bb-0310-9956-ffa450edef68
2017-11-03 17:19:43 +00:00
Jacques Le Roux fee69ad58d The ® signs was a bit ostentatious there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814179 13f79535-47bb-0310-9956-ffa450edef68
2017-11-03 13:13:25 +00:00
Jacques Le Roux 3b1354db19 Fixed: The online help is broken
(OFBIZ-9837)

Completes r1814063

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814090 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 15:07:48 +00:00
Jacques Le Roux 778a0616cf Fixed: The online help is broken
(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
2017-11-02 11:18:33 +00:00
Jacques Le Roux 5d4f865cd2 Fixed: ofbizsetup cannot create first customer. problem with state/province
dropdown
(OFBIZ-6054)

Load only seed and seed-initial
Go to url. https://localhost:8443/ofbizsetup/control/firstcustomer

When entering the postal address, the state/province dropdown is empty and 
remains empty regardless of selection of the country dropdown.

Thanks: Wai for report and Oleg Andreyev for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813833 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 22:06:33 +00:00
Jacques Le Roux 8f42e873cd Improved: Improve Rainbow theme showing themes
(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
2017-10-28 16:31:08 +00:00
Deepak Dixit 982fe0c58a Added missing licence header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813620 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:46:43 +00:00
Deepak Dixit 0960dc3963 Reverted 1813609, found some improvements, so reverted commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813610 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:35:42 +00:00
Deepak Dixit b4aacd8823 Replace Inline Javascript with External Javascript (OFBIZ-9465)
Applied patch from jira ticket, Removed inline code for masking and elrte (WYSISYG editor). 
Thanks Aditya Sharma for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813609 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:21:34 +00:00
Deepak Dixit a764afff55 Improved: Moved date plugin from images/date to common/js/plugins(OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813586 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 07:42:41 +00:00
Jacques Le Roux bf43edbdeb 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-framework/trunk@1813480 13f79535-47bb-0310-9956-ffa450edef68
2017-10-27 08:11:12 +00:00
Jacques Le Roux 942cb96b04 No functional change; just a name change
The real English name for saphir (that's French) is sapphire

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812458 13f79535-47bb-0310-9956-ffa450edef68
2017-10-18 05:18:53 +00:00
Deepak Dixit 1620e4e0ca Improved: No functional change, Only added license header
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 18:43:14 +00:00
Deepak Dixit d310aaf2cd Improved: Inconsistent String Comparisons, Applied patch for ftl file.
Thanks Devanshu Vyas for your contribution. (OFBIZ-9254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812285 13f79535-47bb-0310-9956-ffa450edef68
2017-10-16 11:31:40 +00:00
Deepak Dixit 2379a08cdd Improved: Removed unused theme related data, also fix the ofbiz logo for bluelight theme.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812160 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 20:13:29 +00:00
Deepak Dixit 0b5cce399a Improved: Moved some utility js files from images to common-theme/js/util
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812158 13f79535-47bb-0310-9956-ffa450edef68
2017-10-13 18:50:43 +00:00
Deepak Dixit dedd49028a Improved: Removed some old and unused images.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811997 13f79535-47bb-0310-9956-ffa450edef68
2017-10-12 19:02:47 +00:00
Deepak Dixit 7184ba69fb Removed tabstyles.css unused empty file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811224 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:40:31 +00:00
Deepak Dixit 835a11b92c 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-framework/trunk@1811223 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:35:27 +00:00
Deepak Dixit ba33b9b0f3 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-framework/trunk@1811221 13f79535-47bb-0310-9956-ffa450edef68
2017-10-05 18:24:07 +00:00
Deepak Dixit f58e871323 Improved: Moved multiflex theme from themes to plugins (OFBIZ-9789)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811118 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 18:35:31 +00:00
Jacques Le Roux 456ad70aca 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-framework/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 07:12:57 +00:00
Deepak Dixit 9cf0f285dc Improved: Moved images from webapp/multiflex/* to webapp/multiflex/images and updated references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809658 13f79535-47bb-0310-9956-ffa450edef68
2017-09-25 18:53:42 +00:00
Deepak Dixit a4508f90ad Fixed: Corrected Readme.md file path.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809653 13f79535-47bb-0310-9956-ffa450edef68
2017-09-25 18:25:41 +00:00
Deepak Dixit 56050df078 Removed: Unused images from images/tabs, these were unused after r1059564
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809447 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 19:07:42 +00:00
Deepak Dixit af1bcfc45d Improved: Removed unused file categorytree.css from code, this file was unused after r1083662
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809407 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:55:24 +00:00
Arun Patidar c8b2880445 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-framework/trunk@1809406 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:48:18 +00:00
Deepak Dixit 69a3268067 Improved: Moved OfbizUtil.js and fieldlookup.js from images to common-theme and made changes accordingly. (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809391 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 11:01:24 +00:00
Deepak Dixit 88493836bc Improved: Moved jquery related js/plugins from images to common-theme webapp and made changes accordinlgy. (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1809389 13f79535-47bb-0310-9956-ffa450edef68
2017-09-23 10:41:28 +00:00
Nicolas Malin 2d7ea0671c Fixed: Remove hard coded "Bizzness Time" visualTheme specific that have no reason to keep it after its suppression (OFBIZ-8293 Remove redundant backend themes)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1806795 13f79535-47bb-0310-9956-ffa450edef68
2017-08-31 14:06:39 +00:00
Nicolas Malin 6293b943da Fixed: javascript problem detected on date (OFBIZ-9666, OFBIZ-9667, OFBIZ-9668) and lookup field (OFBIZ-9657) after the common-theme migration (OFBIZ-9138 Create a common theme)
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
2017-08-31 13:52:26 +00:00
Nicolas Malin de11d898ad Fixed: HtmlFormMacroLibary.ftl contains direct call to widget.properties (OFBIZ-9138 Create a common theme)
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
2017-08-30 21:40:33 +00:00