Commit Graph
171 Commits
Author SHA1 Message Date
Deepak Dixit 2a8a37f308 Improved: Manage life span of SecurityGroupPermission entity.
Applied patch from jira issue(OFBIZ-9801) Thanks Suraj Khurana for your contribution


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812383 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:47:47 +00:00
Deepak Dixit 6f39c2d18d Improved: Update Currency Uom data (OFBIZ-9413)
While adding numericCode to currency UOM, I found that we need to update some old currency UOM, as uomId has been updated.
https://www.currency-iso.org/en/home/tables/table-a1.html
https://www.currency-iso.org/en/home/amendments.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799183 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 11:47:58 +00:00
Deepak Dixit 29bea444f5 Improved: Added numeric code for Currency UOM. (OFBIZ-9409)
The three-digit numeric code is useful when currency codes need to be understood in countries that do not use Latin scripts and for computerised systems. Where possible the 3 digit numeric code is the same as the numeric country code.

https://www.iso.org/iso-4217-currency-codes.html
https://www.currency-iso.org/en/home/tables/table-a1.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798907 13f79535-47bb-0310-9956-ffa450edef68
2017-06-16 10:26:03 +00:00
Deepak Dixit d78bd1d62b Improved: Only formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798817 13f79535-47bb-0310-9956-ffa450edef68
2017-06-15 10:29:53 +00:00
Deepak Dixit f149a0d95c Improved: Updated Geo data for India (OFBIZ-9406)
India has 29 states and 7 Union Territory. Need to update data as in data Union Territory also added as STATE,
used TERRITORY as GeoTypeId for Union Territories.

Applied patch from jira issue 
- Updated geoTypeId for 7 union territory from STATE to TERRITORY
- Update geoName for Andaman And Nicobar it should be Andaman and Nicobar Islands
- Corrected geoName and gooId and other detail for Delhi union territory
- Corrected to the name for Jammu and Kashmir (And should be in lower camel case)
- Corrected name for Odisha (Orissa>> Odisha)
- Corrected geoName for Puducherry, also added wellKnownText = "Pondicherry"
- Corrected geoName for Tamil Nadu (Tamilnadu >> Tamil Nadu)
- Added data for new state Telangana
- Corrected geoName for Uttarakhand (Uttaranchal >> Uttarakhand)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798796 13f79535-47bb-0310-9956-ffa450edef68
2017-06-15 08:16:45 +00:00
Deepak Dixit 300f0b2701 Improved: No functional change, only convert the Geo_IN.xml data geoName from upper case to upper camel case (OFBIZ-9406)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798668 13f79535-47bb-0310-9956-ffa450edef68
2017-06-14 11:28:45 +00:00
Jacques Le Roux 539b24ad45 Improved: Add Geo id support for New Zealand
(OFBIZ-9172)

Currently no support for New Zealand regions in 
framework/common/data/GeoData_*

Thanks: David McNeill

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1778879 13f79535-47bb-0310-9956-ffa450edef68
2017-01-15 06:23:34 +00:00
Jacques Le Roux 7b2d37004c Implemented: Update French geos iso codes
(OFBIZ-9121)

Fixes a typo reported by Deepak on HipChat



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1770474 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 09:04:30 +00:00
Jacques Le Roux 7c9f6edea9 Implemented: Update French geos iso codes
(OFBIZ-9121)

I recently got a message from iso.org about several modifications in geos iso 
codes. This issue only concerns French changes which are important after some 
French regions have been unified.

I'd appreciate a review by other French users, thanks :)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1770423 13f79535-47bb-0310-9956-ffa450edef68
2016-11-18 18:47:24 +00:00
Jacques Le Roux be0517f8fb Updates: CZECH REPUBLIC becomes CZECHIA
On 26 September 2016, the ISO organisation incorporated the short name 
Czechia in the official ISO 3166 country codes list. More at
https://en.wikipedia.org/wiki/Name_of_the_Czech_Republic#Adoption_of_Czechia

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1762738 13f79535-47bb-0310-9956-ffa450edef68
2016-09-29 05:31:17 +00:00
Jacques Le Roux 12e03bec5a Fixes: Display of State/Province for non US entities in the customer's profile of ecommerce
(OFBIZ-8231)

When I access url https://localhost:8443/ecommerce/control/viewprofile for my profile, State/Province display in addresses shows the geo-id, which is fine for US entities where the GeoID is the state code, but for non-us entities, the GeoID is often something like CountryCode-StateCode, which isn't very nice.

Thanks: fumiyoshi.to for report and patch

jleroux: I have slightly changed the patch for 2 reasons:
* check for null exceptions
* use not deprecated version of getRelatedOne()

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1760406 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 16:47:53 +00:00
Jacques Le Roux eb1ddfced8 A patch from Fumiyoshi To for "No States/Provinces Exist when Request a New Account" https://issues.apache.org/jira/browse/OFBIZ-8136
When I choose Japan in new customer screen, no states/province exists occurred, and I cannot register as a customer through ecommerce.
It is because of no data exist for Japan in CountryAddressFormat[GeoData.xml].

jleroux: I'm not sure it's really a bug, but anyway committing this is a good thing


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759378 13f79535-47bb-0310-9956-ffa450edef68
2016-09-06 08:03:12 +00:00
Jacques Le Roux e833382970 A fixing patch from Charl Bouwer for "Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml" https://issues.apache.org/jira/browse/OFBIZ-7778
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752344 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 20:45:28 +00:00
Jacques Le Roux e8d4e38164 A patch from Charl Bouwer for "Province data for South Africa via GeoData_ZA.xml and address format for South Africa in GeoData.xml" https://issues.apache.org/jira/browse/OFBIZ-7778
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752253 13f79535-47bb-0310-9956-ffa450edef68
2016-07-12 09:31:49 +00:00
Jacques Le Roux 87d4d4a9da No functional changes, removes superfluous blanks (reported error when validated in OFBiz)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1752151 13f79535-47bb-0310-9956-ffa450edef68
2016-07-11 12:49:15 +00:00
Jacques Le Roux b06357197c A fixing patch from Tufan Kaynak for "Geo data for Turkey" https://issues.apache.org/jira/browse/OFBIZ-7755
Correction for relating to the parent in REGIONS relation (TR instead of right TUR)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751790 13f79535-47bb-0310-9956-ffa450edef68
2016-07-07 12:35:10 +00:00
Jacques Le Roux 2eb79775e5 A patch from Tufan Kaynak for "Geo data for Turkey" https://issues.apache.org/jira/browse/OFBIZ-7755
Files for including Province data for Turkey via GeoData_TR.xml and address format for Turkey in GeoData.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1751635 13f79535-47bb-0310-9956-ffa450edef68
2016-07-06 09:08:07 +00:00
Jacques Le Roux bd0b57613c A patch from Wai for "EntityUtilProperties" https://issues.apache.org/jira/browse/OFBIZ-7112
OFBiz reads properties from either a properties file or the entity:SystemProperty. The way it worked previously is that OFBiz reads from the entity:SystemProperty first and if there is no value associated with the target propertyname, it would then locate the value from the relevant properties file.
In other words, if there is a database entry for a property, the database entry should override the associated properties file.
The issue is that if a database entry exist but the value is empty, it would look for a value from the properties file.  It should not do so.  If a database entry exists for the propertyname of interest, the value should be taken from the database even if it holds an empty value.

"isExistInDb" is first defined in Map<String, String> getSystemPropertyValue(String, String, Delegator).  This method is call by many other methods.  "isExistInDb" is used to indicate whether the method is returning an empty value for the property that 'exists' in the database rather than as a result of an absent database entry for the property.

The other methods...
  boolean propertyValueEqualsIgnoreCase(String, String, String, Delegator)
  String getPropertyValue(String, String, String, Delegator)
  String getPropertyValue(String, String, Delegator) 
  String getMessage(String, String, Locale, Delegator)
uses the above method and needs to decide whether to use the empty value returned (ie. empty value from an existing property entry in database) or decide if it needs to read from the property file (ie. property entry does not exist in database)

jleroux: this also add systemPropertyValue data in CommonSystemPropertyData.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748560 13f79535-47bb-0310-9956-ffa450edef68
2016-06-15 11:23:54 +00:00
Julien Nicolas 324bc0af74 Add new theme rainbowstone JIRA6843
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728388 13f79535-47bb-0310-9956-ffa450edef68
2016-02-03 22:51:33 +00:00
Nicolas Malin 40d44a3513 Add new template location : VT_LOGIN_TMPLT_LOC for the login
VT_CHPWD_TMPLT_LOC for the changePassword
VT_FGPWD_TMPLT_LOC for the forgetPassword
VT_GSQUE_TMPLT_LOC for the getSecurityQuestion
Related issue OFBIZ-6868. The origin requirement came from issue OFBIZ-6843 with proposition to adding new theme with dedicate template for these previous element

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728026 13f79535-47bb-0310-9956-ffa450edef68
2016-02-02 00:08:55 +00:00
Nicolas Malin 0c5de17f41 Add the possibility to set a blackout period for job manager service. During this time all async and scheduled service are put on hold.
This improvement add a entity JobManagerLock, a new screen to add/edit job manager lock and an information for end user on FindJob and ScheduleJob screen.
See more information on issue OFBIZ-6790. Thanks to Jacques for sharing on this improvement.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1727570 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 12:52:34 +00:00
Deepak Dixit 05f52504b5 (OFBIZ-6400) Applied slightly modified patch from jira issue OFBIZ-6400
============================================================
Fix permissions at specialpurpose/myportal/widget/PortalAdmScreens.xml
============================================================

Also added some missing permission to SUPER user group.
Thanks Christian Carlow for reporting the issue and Aditi or providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1724946 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:03:25 +00:00
Deepak Dixit 3d5b387f13 (OFBIZ-6699) Removed invalid field condition from StatusValidChange data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710566 13f79535-47bb-0310-9956-ffa450edef68
2015-10-26 11:09:54 +00:00
Jacques Le Roux e814250573 A patch from Martin Becker for "Missing CountryCodeData.xml values for countries of the former Yugoslavia" https://issues.apache.org/jira/browse/OFBIZ-6641
Instead of former YUGOSLAVIA there should be SERBIA.
Also CountryTeleCode and CountryCapital is missing for MONTENEGRO.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1704140 13f79535-47bb-0310-9956-ffa450edef68
2015-09-20 13:56:40 +00:00
Jacques Le Roux b863051dfd Implements "Geo Data Set for Chile" https://issues.apache.org/jira/browse/OFBIZ-6476
Follow discussion on user ML. 

I did not see Pierre Smits's patch at OFBIZ-6476, so I committed the date Peter provided, plus the Chile CountryAddressFormat I added

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684105 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:39:39 +00:00
Jacques Le Roux 2b879e4dfb Completes French CountryAddressFormat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1684104 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 07:37:37 +00:00
Adrian Crum 60cf53e27e Added visual theme seed data that was missed in rev 1648013.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1680319 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 15:37:36 +00:00
Jacques Le Roux 27c6b8dab5 Actually cleans unitData.xml after r1660412 for OFBIZ-6059
It was already there, I just committed it at r1660392

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660414 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:30:00 +00:00
Jacques Le Roux 129994acf2 A patch from Ron Wheeler for "UOM missing 2 entries" https://issues.apache.org/jira/browse/OFBIZ-6059
<Uom abbreviation="Pb" description="Petabyte of Data" uomId="DATA_Pb" uomTypeId="DATA_MEASURE"/>
<UomConversion uomId="DATA_Pb" uomIdTo="DATA_Tb" conversionFactor="1024"/>

were left out when PB was added.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660412 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 15:23:14 +00:00
Jacques Le Roux 046eb40f2a A patch from Ron on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1660392 13f79535-47bb-0310-9956-ffa450edef68
2015-02-17 14:38:30 +00:00
Jacopo Cappellato 373e0aba28 Moved the "bi" component from the framework to the specialpurpose folder; moved all the dependencies (client code) on the "bi" component from applications components to the "bi" component itself.
Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642027 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 06:14:06 +00:00
Jacques Le Roux 39c29b6092 A patch from Pierre Smits for "Update GeoData.xml with Dutch Postal Code format" https://issues.apache.org/jira/browse/OFBIZ-5841
Updates the GeoData.xml type data with the reg-exp for Dutch postal codes

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1634991 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 21:14:41 +00:00
Nicolas Malin e775c0de17 Convert CRUD service to entity-auto for GoodIdentification, ProductAttribute, ProductGeo, ProductMeter, ProductMaint, ProductGlAccount, ProductAssoc and ProductKeyword. For this last, add StatusValidChange data for keyword to autorize from status KW_PENDING to KW_APPORVED and from status KW_PENDING to KW_DISAPPROVED. Related issue OFBIZ-5734
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1629523 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 19:34:17 +00:00
Jacques Le Roux da391a7439 Removes deprecated link to ISO country codes (now paying)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1589122 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 13:22:49 +00:00
Jacques Le Roux e9145b1592 A patch from Christian Carlow for "Include Thailand Province Geo data" https://issues.apache.org/jira/browse/OFBIZ-5607
This patch corrects three Thailand provinces added from the previous patch which unnecessarily had the word "PROVINCE" appended end of their names which looks messy.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583696 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 14:55:19 +00:00
Jacques Le Roux 3c11c513c0 A patch from Christian Carlow for "Include Thailand Province Geo data" https://issues.apache.org/jira/browse/OFBIZ-5607
This patch includes the CountryAddressFormat records for my Malaysia (OFBIZ-5606), Thailand, and Israel (OFBIZ-5609) geo issues.
Without this patch, the state/provinces do not appear in the dependent drop down form when adding party contact info.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583689 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 14:52:23 +00:00
Jacques Le Roux ca8ba60af9 A patch from Christian Carlow for "Add Israel geo data OOTB" https://issues.apache.org/jira/browse/OFBIZ-5609
While importing Israeli customer data from a legacy system I determined that OFBiz does not include Israel geo data OOTB which should be added.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583674 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 14:02:34 +00:00
Jacques Le Roux e39e13009f A patch from Christian Carlow for "Include Thailand Province Geo data" https://issues.apache.org/jira/browse/OFBIZ-5607
I noticed that Thailand province geo data is missing OOTB while importing legacy data which should be added.

jleroux: as fort Malaysian geo data I have added the mean to load those seed data in the common/ofbiz-component.xml file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583551 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 07:41:21 +00:00
Jacques Le Roux 59cc1c8bf5 A patch from Christian Carlow for "Include Malaysia GeoData OOTB" https://issues.apache.org/jira/browse/OFBIZ-5606
I determined that Malaysia GeoData does not exist OOTB while importing customer records from a legacy system so OFBiz should be improved to include it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583427 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:03:21 +00:00
Jacques Le Roux f753f6f322 A patch from Pierre Smits for "israeli currency apear twice" https://issues.apache.org/jira/browse/OFBIZ-5586 (reported by Amit Cahanovich)
In the file ./framework/common/data/CurrencyData.xml there are two records for israeli currency ILS (israeli sheckel) and NIS (new israeli Shekel).
ILS record need to be removed, its was replaced by NIS 30 years a go.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579309 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 17:41:40 +00:00
Adrian Crum 359e19722c Move geo-related seed data to the GeoData.xml file. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526296 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 20:46:40 +00:00
Jacques Le Roux 2df6fadcbe I made a wrong C/P for Åland islands, I checked no others
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518950 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 12:19:56 +00:00
Jacques Le Roux 3c172fda31 This completes r1517629 for one missing "country". Though not independent, and so (I guess) not in http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm the Isle of Man exists as an entity https://www.iso.org/obp/ui/#iso:code:3166:IM. It can be crossed coming from other systems, so here it is added (not as part of Great Britain (GBR), like for instance Guernsey and Jersey)
I wonder about the codes of the other parts of GBR. They don't exist in 3166. But they were already in GeoData.xml before the Apache era. Anyway they can't hurt and are not a problem, so far...

This also adds 3166 links to CountryCodeData.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517947 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 19:32:20 +00:00
Jacques Le Roux dd8ba13afd This completes r1517629 for missing Geos. Also updates the links to ISO 3166
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517702 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 21:28:09 +00:00
Jacques Le Roux 5749286109 This updates the CountryCode entity data only. I did not find, nor needed, the CountryCapital and CountryTeleCode data. Updating those can be done later...
Note: I used https://www.iso.org/obp/ui/#search and http://www.iso.org/iso/home/standards/country_codes/country_names_and_code_elements.htm. I also subscribed to 3166 Newsletters for continued update...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517629 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 18:21:32 +00:00
Jacques Le Roux c943b51124 A patch from Pierre Smits for "UnitData.xml is missing some liquid volume measures" https://issues.apache.org/jira/browse/OFBIZ-5277
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1512307 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 13:58:31 +00:00
Jacques Le Roux 739e937988 A patch from Pierre Smits for "Currency names of CZK and HRK are wrong" https://issues.apache.org/jira/browse/OFBIZ-5264
In CurrencyData.xml the names of the currencies of the Czech Republic and of Croatia are wrong.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502946 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 07:39:16 +00:00
Jacques Le Roux 66a77f5864 A patch from Pierre Smits for "Enhance GeoData.xml with Croatia as a member of the European Union" https://issues.apache.org/jira/browse/OFBIZ-5263
Per July 1st, 2013 Croatia joined the European Union.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1502944 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 06:50:19 +00:00
Jacques Le Roux efbe0f3fa6 Du bon usage du français
http://www.etudes-litteraires.com/forum/topic9238-je-suis-francais-un-francais-majuscule-ou-minuscule.html
http://fr.wikipedia.org/wiki/Usage_des_majuscules_en_fran%C3%A7ais


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1426604 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 18:26:50 +00:00
Jacques Le Roux b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00