Deepak Dixit
aae3cebccc
Improved: Add ability to disable entity eca rule (OFBIZ-9897)
...
We have enabled flag in EntityEcaRule class, if its set false then entity eca rule will not be execute.
But there is not way to disable entity eca.
We can add enabled flag in Entity ECA definition to disable the existing entity eca rule.
Add new attribute on entity eca tag named enabled
Default value will be true for this.
If user want to disable existing OOTB entity eca rule, then user can define same rule in custom component and set the enabled=false
Also as per current flow if same seca rule is define more then once, system will execute all the rule, ideally it should not execute same rule (same rule, condition and action) if its defined more than one.
Also need to ovride hasCode, equals and toString method for EntityEcaRule, EntityEcaAction and EntityEcaCondition class file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814160 13f79535-47bb-0310-9956-ffa450edef68
2017-11-03 10:28:05 +00:00
Jacques Le Roux
4785a20bb5
No functional change, completes r1813964 as suggested on dev ML
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814155 13f79535-47bb-0310-9956-ffa450edef68
2017-11-03 09:49:21 +00:00
Jacques Le Roux
f78a98f616
No functional change, removes trailing blanks
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814117 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 22:10:23 +00:00
Jacques Le Roux
a0e85e028a
Fixed: Error on first access to Online Help
...
(OFBIZ-9925)
There are maybe better fixes but adding a default theme when it's null works
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814116 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 21:58:37 +00:00
Jacques Le Roux
3b1354db19
Fixed: The online help is broken
...
(OFBIZ-9837)
Completes r1814063
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814090 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 15:07:48 +00:00
Jacques Le Roux
778a0616cf
Fixed: The online help is broken
...
(OFBIZ-9837)
When you get to cmssite/cms/APACHE_OFBIZ_HTML in trunk HEAD you get this error:
ERROR in error page, (infinite loop or error page not found with name
[/error/error.jsp])
It because the related code does not use the Common Theme. And also because
the Css styles missed in themes/common/widget/Theme.xml
While fixing that I also fixed few points of the Common Theme documentation
in the main README.md file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814063 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 11:18:33 +00:00
Deepak Dixit
5eb0b46ce3
Improved: Removed io.jsonwebtoken:jjwt dependecy from build.gradle, as these dependency will be downloaded with io.jsonwebtoken:jjwt
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814049 13f79535-47bb-0310-9956-ffa450edef68
2017-11-02 09:05:29 +00:00
Deepak Dixit
1738e721b8
Fixed: doDecrypt method may return ClassNotFoundException, BadPaddingException,so instead of handling GeneralException used Exception class to handle all exception
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813964 13f79535-47bb-0310-9956-ffa450edef68
2017-11-01 10:43:14 +00:00
Deepak Dixit
d261ed11ec
Fixed: Added check in checkoutValidation method, as it should validate only for Sales order, as shipping method, and payment mehtod not set in purchase order (OFBIZ-9755)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813961 13f79535-47bb-0310-9956-ffa450edef68
2017-11-01 10:37:51 +00:00
Jacques Le Roux
6accef9785
No functional change, formatting while reviewing r1812049
...
Actually I'm unsure of how to present multiple expressions for autocloseables
in try blocks (here automatically done by my Eclipse formatter). This should be
discussed with the community so we agreed on formatting rules to create an
official Eclipse formatter as being discussed at https://s.apache.org/0ptF
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813854 13f79535-47bb-0310-9956-ffa450edef68
2017-10-31 08:15:00 +00:00
Jacques Le Roux
5d4f865cd2
Fixed: ofbizsetup cannot create first customer. problem with state/province
...
dropdown
(OFBIZ-6054)
Load only seed and seed-initial
Go to url. https://localhost:8443/ofbizsetup/control/firstcustomer
When entering the postal address, the state/province dropdown is empty and
remains empty regardless of selection of the country dropdown.
Thanks: Wai for report and Oleg Andreyev for patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813833 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 22:06:33 +00:00
Jacques Le Roux
6fe07e9961
Implemented: Token Based Authentication
...
(OFBIZ-9833)
Fixes a typo
Thanks: Deepak on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813732 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 08:19:08 +00:00
Rishi Solanki
9b848c5f4d
Improved: Move all data in applications to the datamodel component. Remove unused files and added additional files to maintain all component data.
...
(OFBIZ-9501)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813726 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 05:57:21 +00:00
Rishi Solanki
a102c955fc
Improved: Move all data in applications to the datamodel component. Remove unused files and added additional files to maintain all component data.
...
(OFBIZ-9501)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813725 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 05:51:08 +00:00
Rishi Solanki
42cc28f78e
Improved: Move all data in applications to the datamodel component. Moved seed and seed-initial data from party, content, security ext and work effort component. Left with few data changes which can be moved to some plugins or confusing. Will share the data over community and proceed accordingly once base effort is complete. Thanks Sourabh Jain, Saurabh Dixit and Prakhar Kumar for your contribution.
...
(OFBIZ-9501)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813724 13f79535-47bb-0310-9956-ffa450edef68
2017-10-30 05:33:32 +00:00
Jacques Le Roux
90a349b441
Implemented: Token Based Authentication
...
(OFBIZ-9833)
This works the same way than externalLoginKey but between 2 servers,
not 2 webapps on the same server.
The Single Sign On (SSO) is ensured by a JWT token, then all is handled as
normal by a session on the reached server. The servers may or may not share a
database but the loginUserIds on the 2 servers must be the same.
OOTB the JWT masterSecretKey is not properly initialised and can not be OOTB.
As we sign on on several servers, so have different sessions, we can't use the
externalLoginKey way to create the JWT masterSecretKey.
The best way to create the JWT masterSecretKey is to use a temporary way to load
in a static final key when compiling. This is simple and most secure.
One of the proposed way is to use sed and uuidgen to modify the masterSecretKey
value. The magic words here are TEMPORARY and FINAL!
I have not tested this between 2 servers yet, only locally where it works well.
I'll do after this commit between my local instance and the trunk demo.
Thanks: Nicolas for the sed ans uuidgen suggestion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813679 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 11:02:00 +00:00
Jacques Le Roux
59fcf3bea6
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, better way to do that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813675 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 09:23:24 +00:00
Jacques Le Roux
0e6a56eda4
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, last changes, we need to check if the
"SIL Open Font License" has been correctly handled
http://www.apache.org/legal/resolved.html
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813673 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 08:54:08 +00:00
Jacques Le Roux
7ca508d5c7
No functional change.
...
While reviewing r1813634, I found that we could use a multi-catch, and while
doing so found that we were missing a CertificateException according to Eclipse
Confirmed by Java:
:compileJava
ofbiz\framework\service\src\main\java\org\apache\ofbiz\service\rmi\socket\ssl\
SSLServerSocketFactory.java:75: error:
unreported exception CertificateException; must be caught or declared to be
thrown
ks.load(fis, passphrase);
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813671 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 08:16:58 +00:00
Jacques Le Roux
dfbd540ec4
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, some more
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813670 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 08:00:46 +00:00
Jacques Le Roux
6b43f7fc3b
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, one more: js/plugins/
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813669 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 07:53:57 +00:00
Jacques Le Roux
549a2655a7
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, most should be done now, the rest needs to be checked
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813668 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 07:46:41 +00:00
Jacques Le Roux
6ba7d490b4
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
No functional change, adds docbook again after INFRA-15395
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813667 13f79535-47bb-0310-9956-ffa450edef68
2017-10-29 07:39:35 +00:00
Jacques Le Roux
8f42e873cd
Improved: Improve Rainbow theme showing themes
...
(OFBIZ-9862)
I have added the missing CSS styles for Rainbow theme in
themes/rainbowstone/webapp/rainbowstone/style.css to improve the rendering of
the list of visual themes also attached a screenshot for your quick reference.
Thanks: Yogesh Naroliya for the patch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813647 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 16:31:08 +00:00
Michael Brohl
89b36c49a8
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.entity.
(OFBIZ-9716)
I modified the patch slightly.
Thanks Julian Leichert for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813640 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 15:19:56 +00:00
Michael Brohl
6ec41780eb
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.datafile.
(OFBIZ-9715)
I modified the patch slightly and did some additional code cleanup by
removing commented out code and some formatting.
Thanks Julian Leichert for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813637 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 14:45:17 +00:00
Michael Brohl
b73414c870
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.service.rmi.socket.ssl.
(OFBIZ-9714)
I modified the patch to keep the previous logic to get the SSL server
socket. The cast should be safe because of the SSLServerSocketFactory
being used to get the socket.
Thanks Dennis Balkir for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813634 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 14:19:22 +00:00
Michael Brohl
972cf88c01
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.entity.condition.
(OFBIZ-9713)
Thanks Dennis Balkir for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813633 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 14:10:07 +00:00
Michael Brohl
e687edb25f
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.entity.finder.
(OFBIZ-9712)
Thanks Dennis Balkir for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813632 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:39:24 +00:00
Michael Brohl
e3665de1f2
Improved: Fixing defects reported by FindBugs, package
...
org.apache.ofbiz.entity.cache.
(OFBIZ-9711)
Thanks Dennis Balkir for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813631 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:36:26 +00:00
Michael Brohl
1f7abbf690
Improved: Update to Apache Derby 10.14.1.0.
...
(OFBIZ-9887)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813630 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:31:31 +00:00
Michael Brohl
1d1e2f9485
Improved: Added a hint to skip tasks which are automatically invoked
...
during the main task and provided an example to run ./gradle build
without the JUnit tests (useful for server deployments).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813628 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:23:40 +00:00
Arun Patidar
3bbb6b8a76
Fixed: Issue while creating new person in the party component.
...
(OFBIZ-9653)
Thanks Rubia Elza Joshep and Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813627 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:16:01 +00:00
Arun Patidar
4a28d14ac6
FIXED:Request handler exception in create billing account from suppliers profile page. (OFBIZ-9751)
...
Thanks Mr. Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813626 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:11:17 +00:00
Arun Patidar
71e4cfa0f4
BUG: Service level check is missing on transfer inventory. (OFBIZ-9842)
...
Thanks Mr. Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813624 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 13:05:53 +00:00
Arun Patidar
8a2ec7ddd4
IMPROVED: Replace ContentAssoc related CRUD services with entity-auto. (OFBIZ-9907)
...
Thanks Mr. Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813623 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:56:17 +00:00
Arun Patidar
a35b4babfd
FIXED: Fixed testExpirePartyRate test. Passed required field as per modification in service definetion. (OFBIZ-9904)
...
Thanks Suraj Khurana for reporting and patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813622 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:47:33 +00:00
Deepak Dixit
982fe0c58a
Added missing licence header
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813620 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:46:43 +00:00
Arun Patidar
45b75f4405
IMPROVED: Create separate Permission Services for CRUD services of ShoppingList and ShoppingListItem. (OFBIZ-9763)
...
Thanks Chinmay Patidar for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813619 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:41:46 +00:00
Akash Jain
7e8b362980
Fixed: Success message also showing before the party identification number is updated, applied patch from jira issue (OFBIZ-9895)
...
Thanks, Pallavi Goyal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813617 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:31:11 +00:00
Akash Jain
f2f544e848
Improved: Required field indicator (*) is missing on edit data resource role, applied patch from jira issue (OFBIZ-9757)
...
Thanks, Rohit Rai for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813614 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 12:07:07 +00:00
Deepak Dixit
af784a0f20
Order : Remove unused imports from groovy files for code optimization. (OFBIZ-9509)
...
Thanks Suraj Khurana and Pradeep Choudhary for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813612 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:55:36 +00:00
Akash Jain
be5f0c5896
Improved: Required field indicator (*) is missing from create contact list, applied patch from jira issue (OFBIZ-9756)
...
Thanks, Rohit Rai for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813611 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:48:55 +00:00
Deepak Dixit
0960dc3963
Reverted 1813609, found some improvements, so reverted commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813610 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:35:42 +00:00
Deepak Dixit
b4aacd8823
Replace Inline Javascript with External Javascript (OFBIZ-9465)
...
Applied patch from jira ticket, Removed inline code for masking and elrte (WYSISYG editor).
Thanks Aditya Sharma for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813609 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:21:34 +00:00
Akash Jain
b18fdf7f7d
Fixed: Issue while removing RateAmount Record, applied patch from jira issue (OFBIZ-9904)
...
Thanks, Parakh Maheshwari and Suraj Khurana for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813608 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 11:11:19 +00:00
Akash Jain
51ea922433
Fixed: Fixed Asset Id field is below update button on EditInventoryItem page, applied patch from jira issue with slightly change (OFBIZ-9503)
...
Thanks, Aditya Sharma and Dhaval Wagela for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813600 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 10:41:25 +00:00
Arun Patidar
3d17256a93
Credit card valdation does not work properly during anonymous quick checkout process. ShoppingCart's 'getPaymentMethodTypes' method should use 'getPaymentMethodTypeIds' internally instead of 'getPaymentMethodIds'
...
Merged patches from ticket OFBIZ-1585 and OFBIZ-9755
Thanks Amit Gadaley, Deepak Dixit, Divesh Dutta and Mridul Pathak for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813598 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 09:30:16 +00:00
Akash Jain
132636ac33
Improved: No option to add Event Purpose on Events page, applied patch from jira issue with slightly changes (OFBIZ-9680)
...
Thanks: Sonal Patwari and Lalit Dashora for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813597 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 09:27:21 +00:00
Deepak Dixit
917a8c0d44
Improved: Add rat exclude files to excludes those files that does not need
...
license header
(OFBIZ-9856)
Updated rat-excludes.txt file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813595 13f79535-47bb-0310-9956-ffa450edef68
2017-10-28 08:33:50 +00:00