James Yong
219fcc01ce
Improved: multi-block attribute for html-template tag (OFBIZ-11686)
...
Increase value for maxScriptCacheSizePerUserSession as ecommerce application using more inline script tags.
Thanks: Jacques for reporting
2020-08-25 20:49:05 +08:00
James Yong
145eeba9ed
Fixed: multi-block attribute for html-template tag (OFBIZ-11686)
...
update lower value for checkstyleMain.maxErrors
2020-08-24 08:01:24 +08:00
James Yong
2d18b93a2e
Fixed: multi-block attribute for html-template tag (OFBIZ-11686)
...
checkstyle issues
2020-08-24 07:41:01 +08:00
Jacques Le Roux
fda56c6852
Fixed: svg files not removed on clean (OFBIZ-11976)
...
Files like birt/src/docs/asciidoc/images/OFBiz-Logo.svg, in many plugins,
don't get removed on clean.
I simply missed to clean them in pluginAsciidoc Gradle task (OFBIZ-10677)
Thanks: Alex Bodnaru for report
2020-08-23 17:44:53 +02:00
James Yong
4612e49fa6
Improved: multi-block attribute for html-template tag (OFBIZ-11686)
...
Remove support to headerize script and css links from html-template
as importLibrary js function is a more simple solution.
2020-08-23 21:55:09 +08:00
James Yong
5088abe59d
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load jstree js at ProductStoreGroupTree.ftl
Tested at
https://localhost:8443/catalog/control/ListParentProductStoreGroup
2020-08-23 14:24:51 +08:00
James Yong
135c7f5158
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load jstree js at CategoryTree.ftl
Tested at
https://localhost:8443/catalog/control/main
2020-08-23 13:57:03 +08:00
James Yong
9960b1cdb8
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load jstree in DisplayContentNav.ftl.
Tested page at
/exampleext/control/showHelp?helpTopic=EXAMPLEEXT_main&portalPageId=&formName=help&presentation=undefined&id=undefined
2020-08-23 12:23:15 +08:00
girishvasmatkar
fdb67aee72
WIP: Implemented: Added support for defining nested attributes.(OFBIZ-11902) ( #231 )
...
* Added nested attr definition and code to handle nested attributes
* Checkstyle error fix
* Fixed indentation and tabs issues
2020-08-22 23:50:12 +05:30
Akash Jain
121634f8f3
Improved: Unit test case for service - createProductConfigOption (OFBIZ-9090)
...
Thanks, Pradhan Yash Sharma for your contribution
2020-08-22 23:21:57 +05:30
Jacques Le Roux
c097341718
Fixed: Bug in order manager main page when using Arab language (OFBIZ-9687)
...
It seems that we are getting the issue due to the special character "/" which is
present in OrderManager Uilabel.
I just changed the OrderManager Uilabel value from Buy / Sell Order Manager to
Order Manager and removed the special character "/".
Thanks: Mohammed Rehan Khan
2020-08-22 18:16:57 +02:00
Akash Jain
b67eb606a6
Improved: Create new quote button should be removed from new quote screen (OFBIZ-11405)
...
Thanks, Ratnesh for reporting the issue.
2020-08-22 21:30:38 +05:30
Akash Jain
8da5da9a28
Improved: Status ID checkbox for Find InventoryItems screen (OFBIZ-11933)
2020-08-22 19:27:20 +05:30
Pawan Verma
6cb67c1a40
Improved: Replace .size() == 0 with isEmpty() in Java files(OFBIZ-11944)
...
Thanks, priya for the report and patch and jacques for the review.
2020-08-22 19:17:10 +05:30
Pawan Verma
271e3c9bd5
Improved: Convert createCommEventContentAssoc service from mini-lang to groovy DSL(OFBIZ-11380)
...
Thanks, Devanshu for report, rushikesh and priya for the patch and Suraj and jacques for the review.
2020-08-22 19:09:44 +05:30
James Yong
1f9c300027
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load jstree and cookie js in ContentNav.ftl and CategoryTree.ftl.
Tested on
/content/control/navigateContent
/humanres/control/main
2020-08-22 21:11:20 +08:00
Suraj Khurana
ed3e926b76
Improved: Updated tasks.checkstyleMain.maxErrors to 5424. ~(-2800)
2020-08-22 13:27:10 +05:30
Suraj Khurana
9689201b84
Improved: Make data members of class as private and added accessor methods for the same, also corrected occurences of the same in framework component.
...
(OFBIZ-11963)
Also made some related checkstyle code enhancements.
Thanks jacques for finalizing Javadoc pattern during this effort.
2020-08-22 13:20:39 +05:30
Suraj Khurana
d74742d730
Improved: Make data members of class as private and added accessor methods for the same, also corrected occurences of the same in applications component.
...
(OFBIZ-11963)
Also made some related checkstyle code enhancements.
Thanks jacques for finalizing Javadoc pattern during this effort.
2020-08-22 13:00:17 +05:30
James Yong
2eb3282988
Reverted: Error when rendering renderSubmitField macro (OFBIZ-11968)
...
No issue after new checkout.
Thanks Jacques and Dennis for the check
2020-08-22 14:43:00 +08:00
Pawan Verma
568fa2c173
Improved: Convert updateSingleContentPurpose service from mini-lang to groovy DSL(OFBIZ-11367)
...
Thanks: Devanshu for report and Sourabh for the patch.
2020-08-22 10:44:02 +05:30
James Yong
c3c41b28b4
Improved: multi-block attribute for html-template tag (OFBIZ-11686)
...
Moved <@scriptTagsFooter/> within the body tag.
2020-08-21 17:59:00 +08:00
Jacques Le Roux
d014dfa4ed
Fixed: wrong maxheapsize (OFBIZ-11967)
...
Reverts: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
Most likely a local error on my machine because nobody else complained and my
machine did not reboot for weeks
Or an issue with Gradle 6.5.1, but I doubt.
Anyway I still got the
"Expiring Daemon because JVM heap space is exhausted"
error with "org.gradle.jvmargs=-Xmx2g -XX\:MaxHeapSize\=4g"
2020-08-21 11:33:14 +02:00
James Yong
796e0d94ee
Fixed: Error when rendering renderSubmitField macro (OFBIZ-11968)
...
Fixed error rendering renderSubmitField when accessing /humanres/control/FindPartySkills page
2020-08-21 15:44:39 +08:00
James Yong
b480426e10
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
use importLibrary js function to load impersonate.css
2020-08-21 15:13:35 +08:00
Jacques Le Roux
3c687a757c
Improved: Form-Fields of certain types won't render IDs (OFBIZ-11957)
...
While implementing some OFBiz-Forms, I noticed, that certain types of
form-fields will not render the set ID.
Field-Types that won't work for sure are {{submit}} and {{hyperlink}} where the
set name for the parameter {{id-name}} simply will not be rendered in the
HTML-Code that is generated by OFBiz.
Thanks: Dennis Balkir
2020-08-20 15:17:21 +02:00
Pawan Verma
6cd7c1960f
Revert "Revert "Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)""
...
This reverts commit 3ac939772d .
2020-08-19 18:04:32 +05:30
Pawan Verma
71cfe0f8e3
Fixed: Corrected package for marketing tests(OFBIZ-11877)
...
Thanks, Dennis Balkir for the report.
2020-08-19 18:01:01 +05:30
Pawan Verma
3ac939772d
Revert "Improved: Upgrade Gradle to V6.5.1 (OFBIZ-11946)"
...
This reverts commit 8af9413193 .
2020-08-19 17:59:41 +05:30
James Yong
149e90e608
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
use importLibrary js function to load moment js.
2020-08-19 10:17:51 +08:00
James Yong
90e43c9713
Improved: Replace Mask Js (OFBIZ-11964)
...
Replace library from
https://github.com/igorescobar/jQuery-Mask-Plugin
to
https://github.com/RobinHerbots/Inputmask
Tested at
https://localhost:8443/example/control/FormWidgetExamples
2020-08-19 08:37:39 +08:00
Jacques Le Roux
b80fc9075c
Improved: Mark as deprecated ofbiz.locale.default and locale.properties.fallback properties (OFBIZ-11962)
...
It follows this dev thread: https://markmail.org/message/fzg7qrxgnxgbn65o
Also removes deprecation for EntityUtilProperties::getFallbackLocale
It was copied from UtilProperties::getFallbackLocale I guess
UtilProperties::getFallbackLocale is not deprecated and used in some place
2020-08-18 11:49:01 +02:00
James Yong
ede5aa1550
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
ensure select2 lang js is loaded after the main js.
2020-08-17 21:52:19 +08:00
James Yong
7322abbcbe
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring
2020-08-17 20:45:47 +08:00
Suraj Khurana
6a8cc9aa64
Improved: Updated tasks.checkstyleMain.maxErrors to 8223. ~(-1960)
2020-08-17 12:32:07 +05:30
Suraj Khurana
8c10d4ae72
Improved: Added missing Javadocs for some methods, this is required for all classes which looks like designed for extension (can be subclassed).
...
(OFBIZ-11947)
This is done for framework component. Also corrected some variables as per naming convention best practices.
Thanks Jacques for review.
2020-08-17 12:30:26 +05:30
Suraj Khurana
413e0ec3ec
Improved: Added missing Javadocs for some methods, this is required for all classes which looks like designed for extension (can be subclassed).
...
(OFBIZ-11947)
This is done for applications component. Also corrected some variables as per naming convention best practices.
Thanks Jacques for review.
2020-08-17 12:25:56 +05:30
James Yong
0c2c3d4cb9
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
importLibrary function to check for local environment before setting crossDomain.
2020-08-17 13:02:41 +08:00
James Yong
06b4333c54
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring +
use importLibrary js function to load readmore and jgrowl js.
2020-08-16 19:22:18 +08:00
James Yong
39c1e280f9
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
refactoring +
importLibrary function to use crossDomain = true to allow js file to be shown under browser's sources folder
2020-08-16 18:05:32 +08:00
James Yong
55df1c7db0
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load elrte js and css
Tested on
https://localhost:8443/content/control/findForumMessages?forumGroupId=WebStoreFORUM&forumId=10000
https://localhost:8443/content/control/WebSiteCms?webSiteId=CmsSite
2020-08-16 14:35:35 +08:00
James Yong
11e958ff8a
Improved: multi-block attribute for html-template tag (OFBIZ-11686)
...
Return 404 response when getJs has no result.
Also remove script from cache after read by getJs.
2020-08-15 22:01:19 +08:00
James Yong
8b2524d4ad
Fixed: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)
...
Fix missing type arguments for generic class Map<K,V>
2020-08-15 20:35:46 +08:00
James Yong
dd5c7b715a
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Use importLibrary js function to load select2 js and css
Tested on
https://localhost:8443/example/control/FormWidgetExamples
https://localhost:8443/ordermgr/control/FindRequest
2020-08-15 20:25:34 +08:00
James Yong
eb4f082fef
Fixed: Error in log when running renderDropDownField macro (OFBIZ-11959)
...
Fixed unable to render the disable attribute.
2020-08-15 20:01:29 +08:00
James Yong
49e365d9a2
Improved: Freemarker macro for JsLanguageFilesMapping (OFBIZ-11958)
...
A macro is needed to get info from JsLanguageFilesMapping class.
<@jsLangFilesMap>select2</@jsLangFilesMap>
2020-08-15 18:42:52 +08:00
James Yong
c4b5407eb2
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Created new importLibrary js function to load OpenLayer js and css
Tested on
https://localhost:8443/example/control/ExampleGeoLocationPointSet4
https://localhost:8443/example/control/ExampleOsmGeoLocationPointSet4
2020-08-15 11:57:58 +08:00
James Yong
aaa5d9e9a5
Improved: Move page-specific script links to html template (OFBIZ-11799)
...
Moved OpenLayer js and css to html template
Tested on https://localhost:8443/partymgr/control/PartyGeoLocation?partyId=DemoCustomer
2020-08-13 22:16:33 +08:00
Jacques Le Roux
d02a751985
Fixed: Expiring Daemon because JVM heap space is exhausted (OFBIZ-11954)
...
Today I got this in log out of the blue:
Daemon will be stopped at the end of the build after running out of JVM memory
Expiring Daemon because JVM heap space is exhausted
I checked there was no OutOfMemoryError exception. And apart that in log, the
applications were running well
The most relevant articles I found on the Net were:
https://stackoverflow.com/questions/56075455/expiring-daemon-because-jvm-heap-space-is-exhausted
https://medium.com/@tiwarishani/expiring-daemon-because-jvm-heap-space-is-exhausted-in-react-native-e17c2248c8af
I'm not sure this issue will reproduce (why just now?). I'll discuss this on dev
ML before increasing org.gradle.jvmargs
Thanks: Daniel Watford to confirm on dev ML
2020-08-13 12:13:00 +02:00
Jacques Le Roux
421f8c6569
Fixed: error log of a fresh trunk installation (OFBIZ-11953)
...
Typo: missing quotes
Thanks: Alex Bodnaru for report
2020-08-13 12:09:13 +02:00