Commit Graph
52 Commits
Author SHA1 Message Date
Deepak Dixit 782bddb729 Fixed File Resource not found console warning related to already removed data files 2021-02-12 12:55:31 +05:30
Pierre Smits 50857f1505 Implemented: Have a service to periodically create PeriodRecords (OFBIZ-10905) (#133)
* Implemented: Have a service that runs periodically to create CustomTimePeriod records

(OFBIZ-10905)

added: service createFuturePeriod
added: function createFuturePeriod called by createFuturePeriod
added: SystemProperty records called by createFuturePeriod function
added: JobSandbox record to schedule createFuturePeriod service
added: ref to CommonScheduledServicesDemoData.xml in component.xml

* Implemented: Have a service that runs periodically to create CustomTimePeriod records

(OFBIZ-10905)

improved: description

* Implemented: Have a service that runs periodically to create CustomTimePeriod records

(OFBIZ-10905)

improved: groovy code aligning to code formats
2020-05-16 11:03:13 +02:00
Mathieu Lirzin aae1c8a8f5 Reverted: "Improved: Use ‘depends-on’ attribute instead of “component-load.xml”"
(OFBIZ-11296)

This reverts commit eeabe69813.
2019-12-18 12:09:20 +01:00
Mathieu Lirzin eeabe69813 Improved: Use ‘depends-on’ attribute instead of “component-load.xml” (OFBIZ-11296)
We currently have two ways to define component loading order. Either
by using ‘depends-on’ attribute in “component-config.xml” or by adding
a “component-load.xml” file at the root of a component directory.

“depends-on” is more flexible because it handles partial ordering when
“component-load.xml” defines a total order which is not necessarily
meaningful, so it is better to rely only “depends-on”.

This removes the usage of “component-load.xml” to use ‘depends-on’
instead. The dependency declarations correspond to the total ordering
previously defined but will need to be refined in the future to relax
unnecessary dependency declarations.

Only “framework/base/config/component-load.xml” which defines the
top-level directories order (framework, applications, themes and
plugins) is kept.
2019-11-25 15:28:54 +01:00
Rishi Solanki 8d1d113148 Implemented: Short Messaging Service(SMS) Gateway Integration. Added data model, configuration settings, data and services to support the sms services. For the specific service provider user of this implementaion needs to go for custom implementation. That means ticket contains the example of the integration how to use with sample plugin for message91 services.
(OFBIZ-10457)
Thanks to Pritam Kute for your contribution. 
Thanks to Pierre Smits and Michael Brohi for your review and inputs.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1855389 13f79535-47bb-0310-9956-ffa450edef68
2019-03-13 10:02:15 +00:00
Nicolas Malin b48d0cadc5 revert revision 1830301 that contains mix improvement, i will recommit them correclty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830302 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 07:26:33 +00:00
Nicolas Malin 2695743cae Fixed: ConfigXMLReader - Events are not executed in the order defined
(OFBIZ-10369)
The events contained in the controller configuration for first-visit, pre-post processor and before-after login are executed in arbitrary order rather than the defined order.
If we define an event configuration as follow:

    <after-login>
        <event name=keepCartUpdated type=java path=org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents invoke=keepCartUpdated/>
        <event name=restoreAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=restoreAutoSaveList/>
        <event name=saveCartToAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=saveCartToAutoSaveList/>
    </after-login>

We wait that OFBIz run keepCartUpdated, restoreAutoSaveList and after saveCartToAutoSaveList event but the HashMap who organise them return arbitrary order and can return saveCartToAutoSaveList, keepCartUpdated and restoreAutoSaveList. Convert the HashMap to LinkedHashMap help to keep the loaded order.

Thanks to Vikas Mayur for solve this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830301 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 07:21:47 +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
Arun Patidar f5deecf43e Implemented: Added CRUD services for InvoiceItemAttribute, InvoiceTermAttribute, EmploymentAppSourceType, FacilityType, InventoryItemTempRes, EnumerationType, EntityGroup, EntityGroupEntry, EntitySyncIncludeGroup and InventoryItemAttribute entity.
(OFBIZ-8167) (OFBIZ-8168) (OFBIZ-8169) (OFBIZ-8170) (OFBIZ-8171) (OFBIZ-8208)(OFBIZ-8246)(OFBIZ-8247)(OFBIZ-8259)(OFBIZ-8269)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761231 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 13:31:24 +00:00
Arun Patidar 964fcfb87f Implemented: Added CRUD services for CustRequestType, CustRequestTypeAttr and CustomMethod entity.
(OFBIZ-8132) (OFBIZ-8133)(OFBIZ-8134)

Thanks: Amit Gadaley for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761130 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 06:51:07 +00:00
Arun Patidar 7723efa970 Applied patch for "Added CRUD services for CountryCapital entity" from issue [OFBIZ-8092]
Thanks Amit Gadaley and Rishi Solanki for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1759879 13f79535-47bb-0310-9956-ffa450edef68
2016-09-08 18:19:04 +00:00
Jacques Le Roux ef7996c983 Fixes "Remove warnings regarding missing component lib folders" - https://issues.apache.org/jira/browse/OFBIZ-7776 - by cleaning/clearing the references to non existent/empty dirs.
Notes: 
* Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)
* When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml
* I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?
 
    



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1755306 13f79535-47bb-0310-9956-ffa450edef68
2016-08-05 12:27:21 +00:00
Shi Jinghai 85ab0e0eff OFBIZ-4154 Use ZXing to generate QR 2d barcode.
1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath.
2. Add services_qrcode.xml and QRCodeService.java in framework/common/.
3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/.
4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/.
5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1696921 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 10:03:11 +00:00
Nicolas Malin 6fd6e8a049 A patch from Anne Jessel to Support filtering on non-std date field names in performFind and prepareFind (OFBIZ-4374).
With the difficulty to test, I create a new test-suite performfindtests with five junit :
 * testPerformFindConditionFieldEquals
 * testPerformFindConditionFieldLike
 * testPerformFindConditionDistinct
 * testPerformFindFilterByDate
 * testPerformFindFilterByDateWithDedicateDateField
I also improve TestNodeMember with two fields extendFromDate and extendThruDate to realize filter on it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1655499 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 23:25:40 +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 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 fdbb084a63 Completes commit r1583427
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1583428 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:06:21 +00:00
Adrian Crum 0f5a7c45e0 Moved one entity-resource definition in the common component - so all geo-related definitions are in one group. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1526299 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 20:58:09 +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
Hans Bakker bd16dfb598 split up securitypermissions as seed data and securitygroups as demo data with a single exception: the creation of a super security group which has general access to the system and which is used with the 'ant create-admin-user-login' command.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Hans Bakker 14f4e5a292 reverted recent security file changes revisions: 1350847,1350843,1350840,1348534,1347908,1347213,1346264, need more investigation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker fff7f99081 introduced a new data-reader : 'security'
Security is now by default not loaded because not part of seed anymore this will make all component hidden and not accessible .
It is still loaded as part of the reader 'demo'

to load the security files:
./ant load-readers -Ddata-readers=security

Now it is possible to load only a selection of the security files in your hot-deploy component as follows:

<entity-resource type=data reader-name=seed loader=main location=../../framework/security/data/SecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../framework/webtools/data/WebtoolsSecurityData.xml/>
<entity-resource type=data reader-name=seed loader=main location=../../applications/party/data/PartySecurityData.xml/>

This will enable only standard groups, the party and the webtools application.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Jacques Le Roux 463be6851d Thanks to Martin Kaiser report on dev ML, cleans geo data a bit
Use Swiss geo data. To be consistent I have also renamed GeoData_CHE.xml to GeoData_CH.xml. 

While at it I also renamed GeoData_IRL.xml to GeoData_IE.xml , renamed things internally, and extracted the  North Ireland geo data from it to GeoData_UK.xml where it actually belongs


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1342846 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 03:56:52 +00:00
Hans Bakker cc8c924b89 make <property-to-field/> in minilanguage first look in the newly created SystemProperty entity to be able to override the system properties defined in the properties files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:14:53 +00:00
Hans Bakker f484f7b9d0 revert r1238954 some local changes were added
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238991 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 08:13:21 +00:00
Hans Bakker 204b9eb01a Wrong commit reverted in r1238991
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1238954 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 07:22:12 +00:00
Jacques Le Roux 0aed887dbd Splits USA , Mexico and Canada geo data. I let USCAN and USMEXCAN in US file, I put MEXCAN in MX file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163475 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 03:02:24 +00:00
Erwan de Ferrieres 3db3ebd0a1 A patch from Seweryn Niemiec, GeoData for Poland OFBIZ-4253
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1092320 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 15:01:00 +00:00
Adrian Crum 0dbf101802 Moved the security-related CRUD services to the common component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052389 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 21:58:04 +00:00
Jacques Le Roux 07f9cdda68 A patch from Amit Sharma "Missing states of Mexico country" (https://issues.apache.org/jira/browse/OFBIZ-3975) - OFBIZ-3975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003597 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 17:59:47 +00:00
Erwan de Ferrieres 6f2642a5dd Adding a whole set of generic portlets. Those are more designed to be customised
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@935923 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 13:57:26 +00:00
Vikas Mayur 1412c55b8c Added a test case for createUserLogin service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905606 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 12:32:20 +00:00
Jacques Le Roux f8169d6e8a GeoData_CN.xml was not yet loaded. This commit fix this issue and load it like other as seed. Thanks to Deepak Dixit on dev ML.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820206 13f79535-47bb-0310-9956-ffa450edef68
2009-09-30 08:04:09 +00:00
Jacques Le Roux f29b4787b4 As suggested by David, these lines are not needed anymore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771090 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 17:19:37 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Hans Bakker 1e1ed8fba9 move all examples from the common to the example component, edit parameters of portlet in the general managePortalPage screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@752401 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 08:05:34 +00:00
David E. Jones f27b4eeaaa No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Hans Bakker 5a58e50156 change portal data from demo to seed because these are 'system' pages and needed for operation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@731433 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 04:17:14 +00:00
David E. Jones e7f1dde5f5 Commit reworked initial patch from Bruno Busco in Jira #1999; this follows Brunos work but adds the PortalPageColumn entity to configure columns, just optional pixel width for now, and also cleaned up entities and added foreign keys; rewrote a few things in screen actions and simple methods and removed a bunch of unused stuff that was commented out, so hopefully there isnt any more stray code in here; moved various things to files that were less generic, ie that mention portal specifically instead of just common or something; changed controller and menu setup so that this isn't in all apps by default, in fact just the example webapp for now with the include of portal-controller.xml and adding a dashboard menu item; note that this does not include the few changes in the specialpurpose directory, just the framework stuff for now; also moved data from seed to demo as it really isn't seed data in common and example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718185 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 07:56:27 +00:00
Jacopo Cappellato 795a920fe4 Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components.
Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@677587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 14:12:38 +00:00
David E. Jones 204d775174 More entitygroups gone, all of framework
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@672910 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:49:10 +00:00
Jacques Le Roux 4e1a1797c6 A patch from Bilgin Ibryam Geo data for Colombia (https://issues.apache.org/jira/browse/OFBIZ-1704) - OFBIZ-1704
Fix also a typo in DE geo data

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@640460 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 16:38:34 +00:00
Jacques Le Roux ba417dfd39 GeoData_BG.xml GeoData_DE.xml GeoData_FR.xml GeoData_IN.xml were missing (see https://issues.apache.org/jira/browse/OFBIZ-1639?focusedCommentId=12569220#action_12569220) - OFBIZ-1639
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@628129 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 17:29:12 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Hans Bakker 91366ffcfc add dutch provinces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@515405 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 01:15:59 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
David E. Jones e1b2f822ef Added some Enumeration services; also refactored permissions for various of the common services to use the new permission-service pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498540 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 06:07:21 +00:00
David E. Jones 9fdfbdb649 Implemented a service that calls a CDyne service to get info for a zipcode; also added a service that can be triggered with an SECA (commented out example in the secas_cdyne.xml file) that will call this when a PostalAddress is created or updated and fill in the countyGeoId if a county exists in the database that matches it; also added a couple of Utah counties in the seed data to test this
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@469049 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 02:49:35 +00:00
Jacques Le Roux 1248f3d37d Seed data for spanish regions from Daniel Martínez (OFBIZ-186)? Thanks Daniel.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@438599 13f79535-47bb-0310-9956-ffa450edef68
2006-08-30 19:27:03 +00:00