(OFBIZ-10113)
I found this error in trunk demo error.log
2018-01-16 15:45:48,684 |jsse-nio-8443-exec-3 |FreeMarkerWorker |E| null
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
==> userLogin [in template
"component://common-theme/template/includes/SetMultipleSelectJs.ftl" at line 32, column 20]
----
FTL stack trace ("~" means nesting-related):
- Failed at: ${userLogin.lastLocale!"en"} [in template
"component://common-theme/template/includes/SetMultipleSelectJs.ftl" at line 32, column 18]
----
This fixes it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821268 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-10128)
Fix my previous commits, there is no themes webapp so no URL at
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png
Also I previously wrongly changed from
VT_HDR_IMAGE_Url
not
VT_HDR_IMAGE_URL
now fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820982 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-10128)
The ofbiz_logo.png and ofbiz_logo.ico are now in theme but for Tomahawk which
has still it's own version but not really used I'd say.
So apart for tomahawk/css/style.css which uses a relative path (not sure why)
this replaces the locations for these files in theme files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820961 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-10132)
Currently the number of initially visible applications is hardcoded to 8 in
TopAppBar.ftl
This temporarily do it by putting an appMax properties in a
common/config/rainbowstone.properties file.
Putting it in themes/common/config/rainbowstone.properties does not work yet.
I have to find why, WIP in relation with OFBIZ-7073
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819800 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-10109)
While migrating widget.properties values in ThemeData.xml, "xml" encoder is
added for template "screencsv" which was not persent in the properties file.
By this, special character are not supported in CSV file.
Steps to generate: accounting/control/TrialBalance?organizationPartyId=Company
Click on Inventory Valuation report.
Export report as CSV.
Thanks: Aman Agrawal
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819598 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9906)
Improves the misleading background color on tomahawk themed screens.
I am providing the patch for correcting styling in Tomahawk theme for order
history and compDocs tree screen.
Thanks: Ayushi Rathod
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817747 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9978)
Includes following changes
jQuery UI upgraded to 1.12.1
Included CSS files to theme properties and screens.
Manually added datepicker-en.js and datepicker-it-CH.js a new candidate added
it to jsLanguageFilesMapping
Updated defaultDateTime path of dateTime picker it was having path of
timepicker files.
I18n files for datepicker renamed from jquery.ui.datepicker- to datepicker-
as comes with the JQuery ui package so that we don’t have to rename files
manually everytime we upgrade.
https://github.com/jquery/jquery-ui/tree/master/ui/i18n
Can’t get jquery-ui-i18n.js file though it was not used either.
I have not updated jQuery.cookie-1.4.0.js as it is related to jstree and we will
update & move it when we will update jstree.
Jeditable 1.7.2 upgraded to 1.7.3
I feel JQuery ui should also be in plugins folder with other JQuery plugin
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817026 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9990)
Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png,
instead of the old logo deprecated ofbiz_logo.gif
While at it use the same logo everywhere it's possible. It was needed for links
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists
(actually seems only used for tests so could stay like that but better not refer
to it anyway)
Also use this logo for Bluelight theme where it fits.
It could not be used in Rainbow themes because they are using a Scalable Vector
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
setLocaleFromBrowser request called setUserLocale.js and its executed for each request,
auth is set true for setLocaleFromBrowser service so it return error if it executed from login screen.
Still need to refine way to set setLocaleFromBrowser as this request executed with each time when page refreshed.
This is an improvement related with OFBIZ-9264
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816537 13f79535-47bb-0310-9956-ffa450edef68
(OFBIZ-9991)
Easily checked at
//demo-trunk.ofbiz.apache.org/example/control/ExampleOsmGeoLocationPointSet1
It "works" but OpenStreetMap images are not showing. Locally there are no errors
in log. So hopefully it could be just an OpenStreetMap needed setting change.
Since Pierre said it worked, I searched the reason.
Turned it out it was a CSP exception in my main browser (FF) due to a setting
I'm not sure about. But anyway there are CSP errors reported in browsers tools
console.
I tried to use OpenLayers-4.5.0.js but it did not work as is.
I then tried in GeoLocation.ftl to follow the officially way to use the
Official OSM tileset as protocol-independent URLs
- map.addLayer(new OpenLayers.Layer.OSM());
+ <#-- Official OSM tileset as protocol-independent URLs -->
+ <#noparse>
+ map.addLayer(new OpenLayers.Layer.OSM(['
//a.tile.openstreetmap.org/${z}/${x}/${y}.png',
'//b.tile.openstreetmap.org/${z}/${x}/${y}.png',
'//c.tile.openstreetmap.org/${z}/${x}/${y}.png']));
+ </#noparse>
But for a reason I did not get it did not work either.
Out of desperation this fixes it by using a modified
OpenLayers-2.13.1-modified-for-CSP-.js lib
Thanks: Pierre Smits for initially saying it was working in Safari
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816105 13f79535-47bb-0310-9956-ffa450edef68