Commit Graph
23360 Commits
Author SHA1 Message Date
Deepak Dixit 8b2ff81cc8 (OFBIZ-7990) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in ebay component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759080 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:11:21 +00:00
Deepak Dixit 6f81a2016a (OFBIZ-7979) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in birt component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759079 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 12:04:24 +00:00
Deepak Dixit e349d6e7c2 (OFBIZ-8002) Applied patch from jira issue (conflict resolved manually)
=====================================
Add UI labels for success / error messages in marketing component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759078 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 11:32:00 +00:00
Deepak Dixit a6d940fa4d (OFBIZ-7987) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in content component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759077 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 11:09:48 +00:00
Arun Patidar acadbd473a Applied patch from jira issue - OFBIZ-7890 - Added CRUD services for BudgetRevision entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759072 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:45:12 +00:00
Jacopo Cappellato 2621cbc031 A couple of unit tests for the UtilCodec class.
Hopefully, now that Gradle provides the tools to build effective unit tests (thanks to the great work by Taher), the test coverage of the framework will improve: contributions are welcome! 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759071 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:41:04 +00:00
Deepak Dixit 2df8b88b6c (OFBIZ-7994) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in order component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759070 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:40:04 +00:00
Deepak Dixit 594e94212e (OFBIZ-7996) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in party component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759069 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:36:56 +00:00
Deepak Dixit 60e5e7fd08 (OFBIZ-7998) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in service component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759068 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:25:14 +00:00
Deepak Dixit e9db139a46 (OFBIZ-7999) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in workeffort component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759067 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:19:36 +00:00
Deepak Dixit b31a96df07 (OFBIZ-8011) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in product component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759066 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 10:14:44 +00:00
Jacopo Cappellato f7e3f2a1f4 In rev. 1536324 Jacques Le Roux changed the value of the attribute allow-html from "safe" to "any" and deprecated the usage of the "safe" value.
However the "safe" behavior is necessary to allow these fields to accept tags in a safe way: for this reason that commit should be reverted and a different solution should be implemented.
In the meantime, this commit changes the allow-html values for the blog entries to "none". 

[CVE-2016-6800] Apache OFBiz blog stored XSS vulnerability
The default configuration of the OFBiz framework offers a blog
functionality. Different users are able to operate blogs which are
related to specific parties. In the form field for the creation of new
blog articles the user input of the summary field as well as the article
field is not properly sanitized. It is possible to inject arbitrary
JavaScript code in these form fields. This code gets executed from the
browser of every user who is visiting this article.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759065 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 09:49:12 +00:00
Deepak Dixit e165a4fd2c (OFBIZ-7980) Applied slightly modified patch from jira issue
=====================================
Add UI labels for success / error messages in common component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759061 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 09:05:46 +00:00
Deepak Dixit fad72e465c (OFBIZ-7726) Applied patch from jira issue
=====================================
Add UI labels for success / error messages in accounting component
=====================================
Thanks Tanmay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759056 13f79535-47bb-0310-9956-ffa450edef68
2016-09-03 08:35:41 +00:00
Deepak Dixit 7f1113eb91 (OFBIZ-7343) Applied slightly modified patch from jira issue
==========================================
Geo Location functionality of facility contact information screen is not working 
==========================================
Thanks Pawan for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759024 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 19:49:52 +00:00
Deepak Dixit 81ccd9b1f5 (OFBIZ-8050) Applied patch from jira issue
=================================
No need to show "---" after selecting any option from drop-down in Find Screens.
=================================
Thanks Renuka for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759018 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 19:19:25 +00:00
Deepak Dixit 36e4a8fd3a (OFBIZ-7602) Removed un-necessary condition from product decorator, due to this condition product tab bar was displaying on create new product screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759014 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 19:09:16 +00:00
Deepak Dixit 353fa0f00a (OFBIZ-7616) Applied patch from jira issue
=================================
Add "changeByUserLoginId" field for PartyStatus
=================================
Thanks Nameet for your contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759012 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:55:06 +00:00
Deepak Dixit fd31d2388e (OFBIZ-7251) Applied patch from jira issue
=================================
As per the https://community.developer.authorize.net, the transactionUrl has been updated from https://certification.authorize.net/gateway/transact.dll to https://test.authorize.net/gateway/transact.dll
=================================
Thanks  Avnindra for your contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759005 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:44:05 +00:00
Deepak Dixit d323b9dd14 (OFBIZ-7986) Fixed console warning related to duplicate field alias.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759002 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 18:27:56 +00:00
Deepak Dixit 300a93a114 (OFBIZ-7390) Applied patch from jira issue:
================================
Print PDF functionality throws exception on Inventory Average Cost screen
================================
Thanks Avnindra Sharma for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758997 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 17:44:55 +00:00
Jacques Le Roux bdc32a12a7 A patch from Pierre Smits for "Updating various Dutch labels in WorkEffortUiLabels.xml" https://issues.apache.org/jira/browse/OFBIZ-7956
jleroux: I let the last review to Hans (I don't know Dutch)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758991 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 17:13:55 +00:00
Jacques Le Roux 45cfc5ed40 Fixes "a bunch of small leaks (closes missing, reported as warnings in Eclipse)" - https://issues.apache.org/jira/browse/OFBIZ-8115
Fixes a possible issue with a Socker being close too early, as reported by Jacopo on dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758990 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 17:06:51 +00:00
Divesh Dutta 4cf39a2738 [OFBIZ-6899] Adding AddCheckForParty.ftl, which I missed in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758953 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 13:35:14 +00:00
Jacques Le Roux 38e9885d3d Fixes "a bunch of small leaks (closes missing, reported as warnings in Eclipse)" - https://issues.apache.org/jira/browse/OFBIZ-8115
At r1758927 I tried to fixe a bunch of closes missing, reported as warnings in Eclipse

Jacopo noticed and reported on dev ML http://markmail.org/message/b4hvzi7foftfq3j5 2 possible issues:
1) you are adding a close statement to code that already had the close statement in the "finally" block; your modification actually introduces a code pattern that is not correct (if an exception is thrown your close statement are not executed)
2) I suspect that you are closing the socket connection too early in PcChargeApi

1)The best option when closing resources (which implement AutoCloseable) is actually to use the try-with-resources statement. At least when there are no performance issues.
I have fixed the issue (only in DatabaseUtil.java) this way because
* there are not performance issues, we anyway create a Statement in both cases, we don't reuse one.
* The finally part is cleaner

I have also used the try-with-resources statement in other places where it fitted.

There is only 1 place where I was undecided: ScriptUtil.parseScript() which uses GroovyUtil.parseClass().
I put only a logError() there and returned null. 
I did not throw an IOException because else it spreads everywhere in FlexibleStringExpander.
Here introducing Optional would be better, but I have no time or that today.

2) was not a problem


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758951 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 13:18:35 +00:00
Jacques Le Roux 8bf34869da Reverts r1758927 to check issues reported by Jacopo on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758935 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 10:47:30 +00:00
Jacques Le Roux 6636d4ae01 Fixes "a bunch of small leaks (closes missing, reported as warnings in Eclipse)" - https://issues.apache.org/jira/browse/OFBIZ-8115
Fixes a bunch of small leaks (closes missing, only warnings in Eclipse)
By-product: automatically sort few imports

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758927 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 10:07:31 +00:00
Divesh Dutta 44df371581 [OFBIZ-6899] Added support to add Check Account from Party profile page. Now user can add separate Check account with Bank name , routing number and other details and these details will be added in recently added new table called CheckAccount. Added Check account will also be shown in Payment method section of Party profile page. Added new service createCheckAccount to support this functionality. Thanks to Jagpreet Kaur for providing the patch and thanks Pierre for reporting the ticket and discussions. Also thanks to Jacques and Swapnil Shah for participating in discussions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758926 13f79535-47bb-0310-9956-ffa450edef68
2016-09-02 10:02:32 +00:00
Jacques Le Roux 6a8b203699 No functional change, removes dead code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758780 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 14:20:15 +00:00
Jacques Le Roux 2fa71d7972 Reverts changes which slipped in inadvertently, thanks to Jacopo on dev ML DhlServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758779 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 14:16:34 +00:00
Jacques Le Roux dabe53062b A patch from Pierre Smits for "Maximise the utilisation of the Label CommonStatus in various ecommerce forms" https://issues.apache.org/jira/browse/OFBIZ-8102
There are forms in the ecommerce component referencing the status. This issue is about applying the CommonLabel label where it is possible in these forms.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758774 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 13:34:17 +00:00
Jacques Le Roux 0e12d84bd0 Fixes a typo introduced with r1758702
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758738 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 09:00:48 +00:00
Jacques Le Roux d93ce24474 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
After commit, please rename readme files of components
manufacturing
assetmaint
birt
ecommerce
lucene
myportal
passport
projectmgr
scrum
solr

jleroux: Due to content I guess Pierre meant to add the .md suffix
I have also removed the useless ASL2 header of example/lib/README file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758702 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 05:11:45 +00:00
Jacques Le Roux b9b162e9d8 A modified patch from Pierre Smits for "Remove legal statement from existing readme files" https://issues.apache.org/jira/browse/OFBIZ-8085
Legal statements are not required in readme files, as per consensus in dev mail thread with title 'Shorter ASL2 header in short files'. The mail thread started here: http://ofbiz.markmail.org/message/pc5bzrsiupef7xjt

jleroux: 
I modified 
  the accounting/lib/README file
  the example/lib/README file
Formatted the Birt README file



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758700 13f79535-47bb-0310-9956-ffa450edef68
2016-09-01 04:53:40 +00:00
Taher A. Alkhateeb 974b531861 fix a bug reported by Hani Hankir in OFBIZ-8097
This is a bug in which createTenant crashes due to groovy gstring
evaluation where a string is needed. The fix is simple by removing
gstring and passing variables directly.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758662 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 18:41:51 +00:00
Arun Patidar 38c29b49aa Applied patch from jira issue - OFBIZ-7883 - Added CRUD services for BudgetItemTypeAttr entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758627 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:44:38 +00:00
Arun Patidar 8a4ee9cb6f Applied patch from jira issue - OFBIZ-7883 - Added CRUD services for BudgetItemTypeAttr entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758626 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:39:06 +00:00
Arun Patidar a6b91ec15c Applied patch from jira issue - OFBIZ-7882 - Added CRUD services for BudgetItemType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758624 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:33:20 +00:00
Arun Patidar 3ddafb87f4 Applied patch from jira issue - OFBIZ-7880 - Added CRUD services for BudgetItemAttribute entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758621 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:27:24 +00:00
Arun Patidar 048e9b66e4 Applied patch from jira issue - OFBIZ-7874 - Added CRUD services for AgreementItemType entity . Thanks Amit Gadaley and Rishi Solanki for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758618 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 15:09:03 +00:00
Arun Patidar 7c92a45414 Applied patch from jira issue - OFBIZ-7861 - Added CRUD services for AgreementItemType entity . Thanks Amit Gadaley for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758614 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 14:48:57 +00:00
Jacques Le Roux d4d91995a5 The portoffset option does not only offset the default network port but all default ports
Better English from Scott (I wrote it right in the comment but not in the class)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758522 13f79535-47bb-0310-9956-ffa450edef68
2016-08-31 06:02:43 +00:00
Jacques Le Roux 9cedcd2ca3 The portoffset option does not only offset the default network port but all default ports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758461 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 20:12:57 +00:00
Pranay Pandey 8dd9964d31 [OFBIZ-7311] - Applied the patch from the ticket. Removing the unused references of the maincss.css from source code, following is done-
1) Removed 'maincss.css' entry from 'allowedPaths' param of from web.xml
Reason: Since, there is no file like 'maincss.css' exist under any includes directory. 
2) Removed the unused references of maincss.css from FTLs, code
<link rel="stylesheet" href="${StringUtil.wrapString(baseUrl!)}/images/maincss.css" type="text/css"/> 
has been removed.
Reason: This is an interesting thing, these FTLs were using the maincss.css located under the images directory.
When I look the history of these files, following were my findings,
The 'maincss.css' file under the 'images' directory exist in release4.0 
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0/framework/images/webapp/images/
after this release, this files no longer exist there.
3) Also, I have updated one file 'InventoryNoticeEmail.ftl' and used the basic HTML code to style, instead of using style defined in 'maincss.css' which were exist in release-4.0
4) Updated some references from 'maincss.css' to style.css in comments.
5) Also removed the entry of including '/images/maincss.css' and '/images/mainrtl.css' in SimpleDecorator
Since, these files no longer exist after release-4.0.

Thanks Wai for reviewing the work and thanks Swapnil M Mane for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758389 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 13:37:27 +00:00
Arun Patidar d62bf7df21 Adding missing file while committing patch from ticket OFBIZ-7846. Thanks Deepak Dixit for reminder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758364 13f79535-47bb-0310-9956-ffa450edef68
2016-08-30 11:13:45 +00:00
Deepak Dixit 5e617d5699 (OFBIZ-7947) Applied slightly patch from jira issue:
================================
Create a Customer fails because password is missing
================================
Thanks  Montalbano Florian and Supatthra Nawicha for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758280 13f79535-47bb-0310-9956-ffa450edef68
2016-08-29 18:30:45 +00:00
Deepak Dixit 9c5a6b2ed2 (OFBIZ-7975) Removed unused import from TestSuiteInfo groovy file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758274 13f79535-47bb-0310-9956-ffa450edef68
2016-08-29 18:01:46 +00:00
Jacques Le Roux dae808e04b A patch from Pierre Smits for "Incorporate the readme for the Product component" https://issues.apache.org/jira/browse/OFBIZ-7507
jleroux: I have removed the useless ASL2 header and Capitalised the Product word


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758179 13f79535-47bb-0310-9956-ffa450edef68
2016-08-29 07:42:30 +00:00
Jacques Le Roux 4b63f8b48f Removes .README.md.html from root svn;ignore properties. It's easier to set the the GFM viewer eclipse plugin to use an user temp folder (this should be the default :/)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758178 13f79535-47bb-0310-9956-ffa450edef68
2016-08-29 07:40:16 +00:00
Jacques Le Roux 98004b489c A patch from Pierre Smits for "Add missing CommonCode label" https://issues.apache.org/jira/browse/OFBIZ-8055
The label CommonCode is used in various places, however the label doesn't exist.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1758143 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 19:36:55 +00:00