Commit Graph
14503 Commits
Author SHA1 Message Date
holivier b3fbf6d680 Documented: remove old content links for ofbiz-setup, the docs have
been migrated to asciidoc (OFBIZ-11587)
2020-07-22 18:15:07 +02:00
holivier bd0efaf89b Documented: remove docbook migrated to asciidoc, portlet help are now
in ofbiz-plugins / MyPortal (OFBIZ-11587)
2020-07-22 18:13:28 +02:00
Priya SharmaandPriya Sharma 679b2883e1 Improved : Convert createRoleType service to entity-auto from Java and update its service calls (OFBIZ-11894) (#215)
(OFBIZ-11894)
* Improved: Convert createRoleType service to entity-auto from Java and update its service calls
- Removed the java implementation
- Converted the service to entity-auto
- updated the service call in Party tests where this service was used.
* Improved: Removed the testCreateRoleType test, as the base service is now converted to entity-auto and will be handled in entity-auto tests. (OFBIZ-11984)

Co-authored-by: Priya Sharma <priya.sharma@hotwaxsystems.com>

Thanks: Pawan Verma for review.
2020-07-22 11:21:16 +05:30
Suraj Khurana c20b03eca1 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-07-21 12:22:39 +05:30
Suraj Khurana 038d46e51d Improved: Corrected some single line statements to fix checkstyle issues, also removed some remaining extra spaces from code to avoid checkstyle erros in applications component.
(OFBIZ-11886)
2020-07-21 12:22:02 +05:30
Priya SharmaandPawan Verma 7d024e820f Improved: Convert createPartyRelationshipType service to entity-auto from Java and update its service calls (OFBIZ-11895) (#216)
* Improved: Convert createPartyRelationshipType service to entity-auto from Java and update its service calls(OFBIZ-11895)
- Updated the service definition to convert it into entity-auto
- Removed the java implementation of the services
- Removed the test as the service has been converted to entity-auto and it will be tested using entity-auto tests

Co-authored-by: Pawan Verma
2020-07-21 10:51:44 +05:30
Jacques Le Roux 2d7c533e34 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
Removes all error*.jsp reference, no longer used
2020-07-20 19:27:00 +02:00
Jacques Le Roux 775cc26cef Improved: fixes an API typo 2020-07-19 08:56:11 +02:00
Pawan Verma 7799673fa3 Improved: Convert createEmailContent service from mini-lang to groovy DSL(OFBIZ-11370)
Thanks, Devanshu for the report and Rohit for initial patch and Nicolas for updated patch and review.
2020-07-18 22:25:55 +05:30
Pawan Verma 904491ede1 Improved: Convert indexContentKeywords and forceIndexContentKeywords services from miniland to groovy(OFBIZ-11390)(OFBIZ-11392)
Thanks, Devanshu for report and Sourabh and Aishwary for the patch.
2020-07-18 22:11:32 +05:30
Jacques Le Roux 6e5a614b69 Improved: Reflected XSS in content component (OFBIZ-11840)
Fixes a Reflected XSS vulnerability in content component

Harshit Shukla reported it to the OFBiz security team:
https://demo-stable.ofbiz.apache.org/content/control/stream?contentId="><svg/onload=alert(0)>

It's a post-auth vulnerability so we did not ask for a CVE.

Thanks: Harshit Shukla harshit.shukz@gmail.com
2020-07-18 12:07:36 +02:00
Pawan Verma 22bb77ebc6 Improved: Convert updateCommContentDataResource service from mini-lang to groovy DSL(OFBIZ-11379)
Thanks, Devanshu for the report, Sourabh for the initial patch and Nicolas for the updated patch.
2020-07-18 14:21:33 +05:30
Suraj Khurana 0524945bda Improved: Corrected all checkstyle formatting issues: 'typecast' is not followed by whitespace in applications component.
(OFBIZ-11887)
2020-07-18 12:15:16 +05:30
girishvasmatkar 04791d5821 Implemented: New service definition attribute "verb" to denote the corresponding HTTP method (OFBIZ-11328) (#214)
* Added verb as an attribute to specify the REST method OFBiz service is going to serve on

* Added methods to get service IN and OUT parameters as MAP

* Added TODO for supporing nested parameters

* Improvement : Added Restrictions for verb attribute and documentation for the same

* Fixed checkstyle issues

* Changed attribute name from verb to action for better clarity
2020-07-18 08:54:55 +05:30
Jacques Le Roux 2585cadd33 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
Removes ashes in web.xml files
2020-07-17 08:08:19 +02:00
Jacques Le Roux 7d6e5ddbb5 Improved: Hard coded label in ProductUomDropDownOnly (OFBIZ-11891)
The select label is not receiving translations.

There are more related issues, but this is independent.

Thanks: Alex Bodnaru
2020-07-16 14:34:22 +02:00
holivier 9ec3d9ca77 Documented: Framework, delete all docbook files related to migration to
asciidoc (OFBIZ-11587)

Add a link to developer-manual for webtools in old help system
2020-07-14 17:06:56 +02:00
holivier b36943d56f Documented: Check all docbook file in each applications-component
documents directory
(OFBIZ-11587)

remove all files
2020-07-14 16:55:05 +02:00
holivier e5d49b2605 Documented: Check all docbook file in each applications-component
documents directory
(OFBIZ-11587)

theses files have no content except for marketing component (2
sentences, migrated to overview for marketing and sfa)
2020-07-14 16:54:27 +02:00
holivier 28e82c217b Documented: Workeffort migration to asciidoc
(OFBIZ-11587)

deleted related docbook file
2020-07-14 16:25:04 +02:00
holivier f4d01e8610 Documented: Workeffort migration to asciidoc
(OFBIZ-11587)

only one file about portlet-calendar, currently not include in a
document
2020-07-14 16:22:36 +02:00
holivier 63daf25112 Documented: migrate help link to asciidoc user manual for Product
(OFBIZ-11587)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
Product & Facility and add a short page with a link to the new help

Remove docbook help files for Product & Facility
2020-07-14 16:19:48 +02:00
holivier 1c09166948 Documented: Product (catalog) migration to asciidoc
(OFBIZ-11587)

product.adoc included (by include:: ) the other files by sub-component

user-manual is updated to include it in.
2020-07-14 15:38:31 +02:00
Suraj Khurana 2d01d722e6 Improved: Corrected all checkstyle formatting issues: Line has trailing spaces in applications component.
(OFBIZ-11880)
Thanks Jacques for review.
2020-07-13 14:15:34 +05:30
Suraj Khurana bdc8c73fd8 Improved: Corrected checkstyle formatting issues, 'is preceded/not preceded with whitespace' for applications component.
(OFBIZ-11874)
This fixes following checkstyle issues:
'{' is not preceded with whitespace.
'{' is not followed by whitespace.
'}' is not followed by whitespace.
'}' is not preceded with whitespace.
'typecast' is not followed by whitespace.
'try' is not followed by whitespace.
';' is preceded with whitespace.
2020-07-11 14:29:35 +05:30
Pawan Verma 932e28d444 Improved: UI/UX issues found with Find Agreements screen(OFBIZ-10373)
Thanks, Aayush for the report and Pritam for the patch and Pierre for the review.
2020-07-11 10:22:08 +05:30
Pawan Verma 364978e0fd Print pick sheet has distorted currency symbol(OFBIZ-11781) 2020-07-11 09:55:32 +05:30
Jacques Le Roux 7c4a117448 Improved: Convert getPaymentGroupReconciliationId service from mini-lang to groovy DSL (OFBIZ-11496)
Thanks: Devanshu Vyas for report and Rohit Koushal for the patch

Improved: Convert createPaymentAndApplication service from mini-lang to groovy DSL (OFBIZ-11484)
Thanks: Devanshu Vyas for report and Anushi Gupta for the patch

Sorry due to a bad handling there are 2 commits in one (squashed)
2020-07-09 14:18:05 +02:00
Suraj Khurana 82ce4304ae Improved: Corrected all checkstyle issues related to succeeding space for comma in applications directory.
(OFBIZ-11805)
Thanks Jacques and Ritesh Kumar for review.
2020-07-09 11:59:51 +05:30
Akash Jain e111f194b3 Improved: Convert InventoryTests.xml to Groovy (OFBIZ-11851) 2020-07-08 11:47:35 +05:30
Suraj Khurana 749d4d6d94 Improved: Corrected remaining ', is not followed by whitespace' checkstyle errors in framework component.
(OFBIZ-11805)
2020-07-07 15:25:15 +05:30
Akash Jain cb3b99b9d5 Improved: Convert ShipmentTests.xml to Groovy (OFBIZ-11850) 2020-07-07 11:37:45 +05:30
Akash Jain 38d17e2667 Improved: Convert OrderTests.xml to Groovy (OFBIZ-11849) 2020-07-07 11:01:31 +05:30
Suraj Khurana bfe3adeae9 Improved: Corrected all 'if is not followed by whitespace' checkstyle errors. Also corrected few ', is not followed by whitespace' checkstyle errors in applications component.
(OFBIZ-11805)
Thanks Jacques Le Roux and Ritesh Kumar for review.
2020-07-06 15:34:00 +05:30
lodhiravi 32a0cb865e Fixed: Added employee lookup to search/select employee(person) while creating new employment. This will also fixed the issue of party groups being selected as a employee. (OFBIZ-11697) (#210) 2020-07-04 23:11:58 +05:30
Pawan Verma 52983af7c7 Fixed: Unable to delete Group Order(OFBIZ-11773) (#172)
At 0da10ea897, We converted deleteProductGroupOrder service from XML to Groovy, which generates this issue.
Reimplemented full groovy service to remove releated records.
2020-07-04 22:58:56 +05:30
Akash Jain f3997f1feb Improved: Convert AutoPaymentTests.xml to Groovy (OFBIZ-11535)
Thanks, Rohit Hukkeri for report and Pawan Verma for review.
2020-07-04 17:23:34 +05:30
Suraj Khurana ad586a1c14 Improved: Converted deleteContentKeywords service from mini-lang to groovy DSL.
(OFBIZ-11391)
Thanks Devanshu Vyas for reporting and Yogesh Naroliya for the patch.
2020-07-04 15:12:14 +05:30
Priya Sharma 18b21c1e94 [Improved] Convert getInvoicePaymentInfoList service from mini-lang to groovy DSL (#148)
(OFBIZ-11485)

Done following:
- removed the mini-lang implementation of the service
- updated the service definition to point the groovy service
- added the groovy implementation of the service
2020-07-04 14:57:53 +05:30
Suraj Khurana 9223d40204 Improved: Converted createContentFromDataResource service from mini-lang to groovy DSL.
(OFBIZ-11377)
Thanks Devanshu Vyas for reporting and Anushi Gupta for the patch.
2020-07-04 14:53:12 +05:30
Suraj Khurana dcc848baec Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-07-04 14:48:14 +05:30
Suraj Khurana 84f82a44d1 Improved: Converted getContentAndDataResource service from mini-lang to groovy DSL.
(OFBIZ-11382)
Thanks Devanshu Vyas for reporting and Ravi Lodhi for the patch.
2020-07-04 14:44:29 +05:30
Pawan Verma efc016e5c9 Fixed: BigDecimal casting in Groovy (OFBIZ-11862)
Sometimes use wrong type castings for BigDecimal:

Used BigDecimal.ZERO and BigDecimal.ONE instead.
2020-07-03 14:08:14 +05:30
holivier ef58d647b6 Documented: migrate help link to asciidoc user manual for Party
(OFBIZ-11581)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
Party and add a short page with a link to the new help

Remove docbook help files for Party
2020-07-02 12:19:12 +02:00
holivier 34291541a0 Documented: Party migration to asciidoc
(OFBIZ-11581)

For all of HELP_Party files content has been directly put in
party.adoc

user-manual is updated to include it in.
2020-07-02 12:18:57 +02:00
holivier 56f164d3a8 Documented: migrate help link to asciidoc user manual for Order
(OFBIZ-11580)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
Order and add a short page with a link to the new help

Remove docbook help files for Order
2020-07-02 12:07:05 +02:00
holivier 00176a26c2 Documented: Order migration to asciidoc
(OFBIZ-11580)

For all of HELP_Order files content has been directly put in
order.adoc except for order_report which has its own file

user-manual is updated to include it in.
2020-07-02 12:06:52 +02:00
holivier 51ff39c68a Documented: migrate help link to asciidoc user manual for SFA
(OFBIZ-11577)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
SFA and add a short page with a link to the new help

Remove docbook help files for SFA
2020-07-02 11:33:19 +02:00
holivier 49de6efaf2 Documented: SFA migration to asciidoc
(OFBIZ-11577)

For all of HELP_SFA files content has been directly put in
sfa.adoc
2020-07-02 11:33:18 +02:00
holivier 19f10cc24b Documented: migrate help link to asciidoc user manual for marketing
(OFBIZ-11577)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
marketing and add a short page with a link to the new help

Remove docbook help files for marketing
2020-07-02 11:14:21 +02:00