Commit Graph
27737 Commits
Author SHA1 Message Date
Taher A. Alkhateeb d8b35738a0 Implemented: added initial skeleton and some content to developer manual
(OFBIZ-10285)

Provide the following to the developer manual

- an initial draft skeleton of the topics to be covered
- add an introduction
- add an example workflow with corresponding diagram

This is still very much a work in progress. Modifications, improvements and
comments are very welcomed.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827911 13f79535-47bb-0310-9956-ffa450edef68
2018-03-28 10:49:06 +00:00
Nicolas Malin 1a7e890f0d Fixed: correct field name partyId on the service createPartyPrefDocTypeTpl
(OFBIZ-10186)
Thanks to Aditya Sharma for the corective patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827892 13f79535-47bb-0310-9956-ffa450edef68
2018-03-28 07:04:03 +00:00
Sharan Foga e21966636a Improved: Added glossary for human resources (OFBIZ-10258). Thanks Swapnil M Mane for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827834 13f79535-47bb-0310-9956-ffa450edef68
2018-03-27 13:10:54 +00:00
Rishi Solanki a703717803 Fixed: loadCartFromOrder changes order date even when updating order items. It should only set orderDate as nowTimeStamp only if createAsNewOrder flag is true other wise it should set orderDate from existing orderHeader. Also, removed setting of redundant orderName on cart.
(OFBIZ-10301)
Thanks Suraj Khurana for reporting the issue and providing fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827827 13f79535-47bb-0310-9956-ffa450edef68
2018-03-27 10:38:19 +00:00
Jacques Le Roux 2787ddb1f1 Implemented: display improvement in catalog -> categories in OOTB
(OFBIZ-10299)

The category list associated with a catalog that appears under 
"categories" tab of catalog , may also display the category name, 
currently it only displays the categoryId . In case the categoryid is 
numeric / synthetic it is difficult to get an idea about the categories
just by a glance. It shall be more useful to display the category name also.

Thanks: Rajesh Kumar Mallah for report Aditya for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827645 13f79535-47bb-0310-9956-ffa450edef68
2018-03-24 12:59:26 +00:00
Gil Portenseigne 78bf31c937 Fixed: Convert README.md to README.adoc.
(OFBIZ-10272)

Complete Jacques Fix, replacing all README.md occurence with README.adoc.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827470 13f79535-47bb-0310-9956-ffa450edef68
2018-03-22 08:54:00 +00:00
Jacques Le Roux 6813d5d2b1 Fixed: Convert README.md to README.adoc.
(OFBIZ-10272)

Not sure why it went unnoticed so long, but by removing README.md 
(replacing README.adoc) r1827046 brokes testZipReadme

Not a big deal, we can just replace the file in the test (from README.md to 
README.adoc). We could chose a more sure to remain file, but I guess that now we 
are going with asciidoc and README.adoc should stay

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827457 13f79535-47bb-0310-9956-ffa450edef68
2018-03-22 05:30:39 +00:00
Jacques Le Roux 0d919a3774 Fixed: Token Based Authentication
(OFBIZ-9833)

Reverts change in ContextFilter.java committed with 1813679, was wrong

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827441 13f79535-47bb-0310-9956-ffa450edef68
2018-03-21 20:59:49 +00:00
Jacques Le Roux 58ad9fd42d Fixed: The "request" attribute type of the userLogin service is wrong
(OFBIZ-10304)

It should have been org.apache.catalina.connector.RequestFacade"
instead of javax.servlet.http.HttpServletRequest see the Jira for details

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827439 13f79535-47bb-0310-9956-ffa450edef68
2018-03-21 20:53:41 +00:00
Jacques Le Roux 7ff43dd657 Improved: no functional change, fixes a format issue in LoginWorker
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827407 13f79535-47bb-0310-9956-ffa450edef68
2018-03-21 12:30:21 +00:00
Taher A. Alkhateeb 551cada3c5 Improved: remove unnecessary lines for defining owasp repository
We switched to jcenter, and hence no need for these extra lines.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827400 13f79535-47bb-0310-9956-ffa450edef68
2018-03-21 10:25:28 +00:00
Taher A. Alkhateeb 9d31509990 Fixed: bug in running asciidoctor on windows clients
(OFBIZ-9873)

Asciidoctor crashes on some windows systems when generating PDF outputs. The
reason for the crash is an issue in one of the transitive dependencies from
asciidoctorj-pdf to jruby-complete which is problematic on windows.

The solution is to bump jruby-complete to the latest version which resolves the
issue, but keep a comment so that we may remove this line in future upgrades of
asciidoctor. For more info visit the above mentioned JIRA.

Thank you: Jacques Le Roux for researching , providing a solution and testing


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827302 13f79535-47bb-0310-9956-ffa450edef68
2018-03-20 12:33:43 +00:00
Nicolas Malin 73bd798dda Fixed: HttpClient failed to return the error result
(OFBIZ-10281)

When you call the HttpClient on Rest API on url that return you an error, the HttpClient failed to give you the error stream:
    callResult = restClient.getStream();

If the flow is an error in the catch block with the line 
    in = con.getInputStream();
that return a FileNotFoundException

To solve if, if the connexion is an instance of HttpURLConnection we resolve this error inputStream contains the error message

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827212 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 16:04:21 +00:00
Sharan Foga 18cdc95263 Improved: Added initial draft for accounting global settings documentation (OFBIZ-10297)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827195 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 13:06:22 +00:00
Sharan Foga 2c8196356e Improved: Added agreements documentation content and linked it to accounting (OFBIZ-10290)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827188 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 11:57:21 +00:00
Sharan Foga e6a36c3b31 Improved: Added documentation content for accounitng introduction (OFBIZ-10289)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827176 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 09:18:41 +00:00
Michael Brohl f11b2ef14e Improved: Added configuration for icons and source code highlighting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827148 13f79535-47bb-0310-9956-ffa450edef68
2018-03-18 18:57:31 +00:00
Michael Brohl ce13cb0b78 Improved: Added title page image in vector format, some basic author
and version information and table of contents configuration.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827146 13f79535-47bb-0310-9956-ffa450edef68
2018-03-18 16:24:31 +00:00
Michael Brohl dbf4316fbb Improved: Added a general image directory and OFBiz logo to the main
.adoc files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827143 13f79535-47bb-0310-9956-ffa450edef68
2018-03-18 15:55:53 +00:00
Michael Brohl 87586bbffb Improved: Append Apache license header on top of each .adoc file.
Thanks Pierre Smits for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827136 13f79535-47bb-0310-9956-ffa450edef68
2018-03-18 13:04:40 +00:00
Sharan Foga 7238164fe4 Improved: Added Human Resources application description (OFBIZ-10255)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827082 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 12:44:59 +00:00
Michael Brohl 90ec73fe65 Improved: Improve layout and structure of forms.
(OFBIZ-10221)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827077 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 11:54:28 +00:00
Michael Brohl 4b7ef47a59 Improved: Standardise Layout throughout Applications.
(OFBIZ-10242)

This contains the improvements for common.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827076 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 11:39:03 +00:00
Michael Brohl 595e012bbf Improved: Standardise Layout throughout Applications.
(OFBIZ-10242)

This contains the improvements for the content manager.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827074 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 11:37:40 +00:00
Michael Brohl 4d3ad30996 Improved: Standardise Layout throughout Applications.
(OFBIZ-10242)

This contains the improvements for webtools.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827072 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 11:31:26 +00:00
Michael Brohl 93011f5b7a Improved: Fixed some typos.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827070 13f79535-47bb-0310-9956-ffa450edef68
2018-03-17 10:53:19 +00:00
Michael Brohl 1545dfaebf Improved: Adjusted the level offsets for core application includes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827047 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 21:21:36 +00:00
Michael Brohl 57181a35fd Improved: Documentation: Convert README.md to README.adoc.
(OFBIZ-10272)

Replaces the Markdown version with the Asciidoc version to be compatible
with the ongoing efforts of the documentation framework.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827046 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 20:56:15 +00:00
Jacques Le Roux 7b60eaa2f4 Fixed: The server hour normally shown in the jobs list is no longer showing
(OFBIZ-10278)

With FTL formatting in OFBIZ-7636, the commented single line got broken into 3 
lines making it an invalid js code.

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826997 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 15:39:18 +00:00
Taher A. Alkhateeb 521cdfb526 Implemented: Add section numbering to the documentation user manual
(OFBIZ-10285)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826950 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 10:06:11 +00:00
Jacques Le Roux 1592f169af Improved: Token Based Authentication
(OFBIZ-9833)

Removes the code I temporarily removed on trunk demo (controversial) to test my 
changes

Also adds the LoginWorker.autoLoginSet()

This is just a commit to go ahead, later I will revert all related and provide 
a patch for discussion at OFBIZ-9833.

I'll also certainly use Deepak's JWTManager.createJwt() instead of mine, it's
more general and I actually only need to pass the userLoginId. We have though
to discuss that anyway, I see some differences...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826949 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 10:02:03 +00:00
Taher A. Alkhateeb 1266157dd5 Implemented: added an introductory paragraph to the core apps section
(OFBIZ-10285)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826948 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 09:52:17 +00:00
Jacques Le Roux d354300e69 Fixed: Logout do not remove autoLogin
(OFBIZ-4959)

I used the only available (and I must say confusing) WebappInfo.getName() when
I needed the webAppName not the WebappInfoName. So this put in a new 
WebappInfo.getMountPoint() and use it in getWebappInfo

Also use LoginWorker.autoLoginSet() in different places where I missed it. In 
other words all autoUserLogin coockies are deleted on login and logout, and
an autoUserLogin cookie is created when going locally from a webapp to another,
with checkExternalLoginKey


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826938 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 09:35:06 +00:00
Taher A. Alkhateeb ee651182f7 Implemented: add the introduction section of the OFBiz user manual
(OFBIZ-10285)

This brief introduction explains high level concepts along with the welcome
message to give beginners and idea of what OFBiz is and the purpose behind its
design.

Thank you: Michael Brohl and Sharan Foga for review and feedback.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826931 13f79535-47bb-0310-9956-ffa450edef68
2018-03-16 09:27:12 +00:00
Michael Brohl 18913ff6a4 Fixed: Removing Birt dependencies in ReportScreens.xml.
(OFBIZ-10283)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826805 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 12:31:31 +00:00
Jacques Le Roux 94a5a2de98 Fixed: The getJSONuiLabel javascript function is no longer working
(OFBIZ-10277)

The data were well retrieve, but the syntax used to extract them was not working
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826797 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 11:29:59 +00:00
Jacques Le Roux 329e86e312 Reverted: The getJSONuiLabel javascript function is no longer working
(OFBIZ-10277)

Damned I committed from another instance :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826796 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 11:28:45 +00:00
Jacques Le Roux 9644cffa7c Fixed: The getJSONuiLabel javascript function is no longer working
(OFBIZ-10277)

The data were well retrieve, but the syntax used to extract them was not working
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826793 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 10:57:45 +00:00
Jacques Le Roux a8b7e77ec3 Improved: no functional change removes a duplicate getAssociatedStateList
request map already present in the common-controller.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826780 13f79535-47bb-0310-9956-ffa450edef68
2018-03-15 10:22:42 +00:00
Michael Brohl e20665a2fd Fixed: Theme screens do not load properly
(OFBIZ-10276)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826680 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 20:21:55 +00:00
Michael Brohl 7bc137dd35 Improved: Extended UtilFormatOut with new method formatPercentageRate.
(OFBIZ-10199)

Thanks Martin for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826679 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 20:16:12 +00:00
Michael Brohl 0cb4f4af16 Improved: Extend updatePassword service API with optional parameter
requirePasswordChange.
(OFBIZ-10201)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826678 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 20:10:31 +00:00
Michael Brohl b0bb256d60 Improved: Make removeContentAndRelated service fail-save for missing
content and remove related ContentAttributes also.
(OFBIZ-10202)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826677 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 20:03:44 +00:00
Michael Brohl 02c37dc314 Fixed: EmailServices.sendMailFromScreen attachment rendering broken.
(OFBIZ-10246)

Thanks Martin for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826674 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 19:46:28 +00:00
Michael Brohl a2d4fbd708 Fixed: Wrong locale/fallbackLocale logic in CategoryContentWrapper leads
to unavailable alternate locale content.
(OFBIZ-10274)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826671 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 19:37:57 +00:00
Taher A. Alkhateeb b74837d732 Implemented: make documentation tasks delete their artifacts
(OFBIZ-9873)

As per the discussion thread[1], and due to a limitation in the gradle
implementation of "asciidoctor" it was agreed to make documentation tasks clean
their own artifacts before re-running. The limitation is that changes in
included documents (sub-documents) does not re-run the gradle tasks i.e. gradle
thinks no changes happened to require re-running the tasks.

Thus this commit applies the following:
- create delete tasks for ofbiz & plugin docs
- link dependencies on these tasks from the documentation generation tasks

it was a bit tricky to get it right bacause of task dependency order, and thus
we had to add the "mustRunAfter" directive.

Thank you Michael Brohl and Sharan Foga for your input.

[1] https://s.apache.org/aBUR


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826656 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 16:32:00 +00:00
Rishi Solanki 69b9489b20 Reverted: Improve GeneralLedgerServices to set transaction date as payment's effective date. Reverting my commit due to buildbot failure message will check and commit it back.
(OFBIZ-10239)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826633 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 13:49:23 +00:00
Rishi Solanki 5a29b9d29c Improved: Improve GeneralLedgerServices to set transaction date as payment's effective date. Before this improvement if services setting its value to now timestamp and in case of empty payment date it does the same.
(OFBIZ-10239)
Thanks Aishwary Shrivastava for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826627 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 12:49:50 +00:00
Jacques Le Roux 6894cf0250 Improved: no functional change, replaces tabs by spaces (cool now Eclipse shows
the diff, not sure if it's some of my setting changes or what)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826623 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 11:59:45 +00:00
Michael Brohl 1885f9a0a0 Improved: Change log level from INFO to VERBOSE for detail logging in
UtilCache.findSizeInByte
(OFBIZ-10200)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826597 13f79535-47bb-0310-9956-ffa450edef68
2018-03-12 22:08:42 +00:00