Commit Graph
25261 Commits
Author SHA1 Message Date
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
Michael Brohl aebec6aafc Fixed: UtilCodec URL decoding breaks values with german umlauts.
(OFBIZ-10275)

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826592 13f79535-47bb-0310-9956-ffa450edef68
2018-03-12 21:43:48 +00:00
Michael Brohl 48f9957831 Improved: Create Empty Document templates for Human Resources
Documentation.
(OFBIZ-10254)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826538 13f79535-47bb-0310-9956-ffa450edef68
2018-03-12 12:04:47 +00:00
Deepak Dixit c609f5f530 Improved: Update postgres datasource name in entityengine file for consistency
OFBIZ-10273


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826502 13f79535-47bb-0310-9956-ffa450edef68
2018-03-12 06:40:19 +00:00
Michael Brohl aecab427b2 Improved: Pass JVM options to OFBiz when using Gradle.
(OFBIZ-10253)

This enables passing JVM options like memory, garbage collection or JMX
configurations to the OFBiz VM. Falls back to the previously hard coded
default if not set.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826374 13f79535-47bb-0310-9956-ffa450edef68
2018-03-09 20:46:43 +00:00
Taher A. Alkhateeb c688af9d89 Implemented: PoC for a documentation system for OFBiz based on Asciidoc
(OFBIZ-9837)

This commit has reference to the community discussion thread [1] and [2] in
which it was agreed to commit a PoC for a documentation framework based on
AsciiDoc. The work in this commit includes:
- Applying the necessary requirements and tasks to build.gradle and facilitate
  the addition of two new tasks: generateOfbizDocumentation and
  generatePluginDocumentation.
- Create an initial skeleton for a "user manual" and "developer manual"
- Create a sample initial skeleton for the accounting component

Thanks: Michael Brohl, Sharan Foga, Olivier Heintz for testing and feedback.

[1] https://s.apache.org/4Lat
[2] https://s.apache.org/26kc


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1826199 13f79535-47bb-0310-9956-ffa450edef68
2018-03-08 10:19:17 +00:00
Arun Patidar 2199534c40 Fixed: Removed mode=INOUT from override attribute of service definetion that was added mistakenly in previous patch.
(OFBIZ-7738)
Thanks Dennis Balkir for reporting issue and Dhaval Wagela for providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825537 13f79535-47bb-0310-9956-ffa450edef68
2018-02-28 08:52:46 +00:00
Gil Portenseigne 08a6b96114 Fixed: Error in service definition for deleteOrderHeaderWorkEffort
(OFBIZ-10243)

Thanks Pierre Gaudin for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825450 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 13:56:50 +00:00
Gil Portenseigne ece02fcd38 Fixed: French typo fix
(OFBIZ-10244)

Thanks Pierre Gaudin for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825444 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 13:25:26 +00:00
Taher A. Alkhateeb 19b879e257 Reverted: commit r1825436, inconsistency in results between me and buildbot
WIP, to investigate


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825438 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 10:53:59 +00:00
Taher A. Alkhateeb cc022f8c4a Fixed: a bug in loading seed-only data into the system
When calling OFBiz with the command gradlew "ofbiz -l readers=seed-initial"
the system crashes. The reason is because of a faulty dependency of
"seed-initial" data in the entityext component to "seed" data in the security
component. The fix is simply to change the type of reader for the requested
data in SecurityPermissionSeedData.xml from "seed" to "seed-initial"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825436 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 10:41:14 +00:00
Deepak Dixit 40f25899a1 Fixed: Lookup rendering broken due changes done at r#1825350, conditionGroup is optional paramerter for lookup or related macros, so set empty default parameter value for conditionGroup parameter
(OFBIZ-10195)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825430 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 08:23:43 +00:00
Gil Portenseigne 65fe235f51 Implemented: Add the ability in performFind service to set OR search criteria
(OFBIZ-10195)

This improvement add a way to specify a condition-group attribute on search fields, for performFind service usage.
The same group conditions are gathered with AND operator, and each group is added with a OR
The resulting condition is added to the other with AND operator.
Thanks Taher for your reviews and ideas

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825350 13f79535-47bb-0310-9956-ffa450edef68
2018-02-26 09:57:36 +00:00
Nicolas Malin 2a2e0b6edc Improved: Resolve invoiceItem description from InvoiceWorker
(OFBIZ-10240)
To help the invoiceItem description resolution, I created a worker in InvoiceWorker to resolve it like this :
 1 take the item description field
 2 if tax associate, resolve the taxAuthorityRateProduct description
 3 if product associate, call content wrapper to resolve PRODUCT_NAME or take the brandName
 4 take the item Type line description

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825300 13f79535-47bb-0310-9956-ffa450edef68
2018-02-25 10:33:33 +00:00
Nicolas Malin 9ea367ab4c Improved: Convert createContactList service from simple to entity-auto (OFBIZ-9585)
thanks to Suraj Khurana for this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825296 13f79535-47bb-0310-9956-ffa450edef68
2018-02-25 09:21:45 +00:00
Michael Brohl c46c18e706 Fixed: Unable to create inventory item label.
(OFBIZ-10015)

Thanks Priya Sharma for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825262 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 16:43:46 +00:00
Michael Brohl 441673a2bd Improved: Improve layout and structure of forms.
(OFBIZ-10221)

This includes the webtools templates. 

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825261 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 16:23:19 +00:00
Arun Patidar 8345feffab Fixed: Incorrect Party profile view redirection in SFA due to missing roleType.
(OFBIZ-10121)
Thanks Ankit Joshi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825233 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 12:40:32 +00:00
Arun Patidar 51f51c1623 Improved:Update regex used for validating credit cards.
(OFBIZ-9761)
Thanks Amit Gadaley for your contribution and Michael Brohl for reviewing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825216 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 11:32:18 +00:00
Deepak Dixit 2ac53b6170 Fixed: Found element binding issue related to lookup work done at r#1825205
(OFBIZ-10012)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825211 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 10:56:00 +00:00
Arun Patidar a980ef317a Improved: all the service level error messages for missing required field for workeffort component (OFBIZ-7738)
Thanks Ratnesh Upadhyay and Dhaval Wagela for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825209 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 10:46:30 +00:00
Deepak Dixit 23e4b72f17 Fixed: Alert message : Developer: for lookups to work you must provide a form name! appears when try to select contentId from Lookup.
(OFBIZ-10012)
Applied slightly modified patch 
Thanks  Sonal for reporting and Aditya Sharma for providing patch for the issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825205 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 10:22:18 +00:00
Deepak Dixit a52c62d726 Improved: In 'ValidateMethod.java', when we don't pass any className from xml files. default value 'org.apache.ofbiz.base.util.UtilValidate' should be set for className. (OFBIZ-9969)
Thanks Suraj Khurana and Sonal Patwari for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825197 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 08:31:14 +00:00
Arun Patidar 38c6d6e634 Fixed: Survey response data lost on loadCartFromOrder service.
(OFBIZ-10232)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825192 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 07:49:54 +00:00
Arun Patidar ac125443c7 Improved: Introduce support for condition-service for entity eca's as well.
(OFBIZ-10220)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825191 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 07:27:54 +00:00
Nicolas Malin 7f8189de69 Implemented: Use agreement on drop shipment process (OFBIZ-10227)
Extend the drop shipment process to manage an agreement for the supplier related to the order context.
For a supplier we have different agreements with same products but on different prices

Agreement A
  GIZMO-1 100€
  GIZMO-1 110$
Agreement B
  GIZMO-1 90€
Agreement C
  GIZMO-1 600¥

During sales order process we resolve the purchase agreement that match the case and put on OrderItemShipGroup related to the supplier. Like that when the drop shipment process run it to resolve the product price for the agreement present on the OrderItemShipGroup. With this implementation we have an adaptable system to manage complex case.

Properly this patch implemented :
  an attribute on entity OrderItemShipGroup.supplierAgreementId
  an attribute on entity OrderHeader.agreementId (necessary when you update the order to keep the price)
  update the service caculatePurchasePrice for resolve the price from a agreement if it's present
  update the shoppingCart to insert a purchase agreement

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1825002 13f79535-47bb-0310-9956-ffa450edef68
2018-02-21 20:40:53 +00:00
Jacques Le Roux 5977381e62 Reverted: Secure the login.secret_key_string
(OFBIZ-9966)

I forgot to revert this part; I guess got conflict issues and then forgot.

I'll also revert in R16 and R17 and close as won't fix, I gave my arguments
that's enough for me.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1824855 13f79535-47bb-0310-9956-ffa450edef68
2018-02-20 11:59:07 +00:00