Commit Graph
2799 Commits
Author SHA1 Message Date
Jacopo Cappellato 77fec1eafc Removed a bunch of empty/unused files from webpos application and added reference to 2 JQuery files used by the webpos application to the LICENSE file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1379340 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 07:51:06 +00:00
Jacopo Cappellato 077c5c908b Added missing license header; some cleanup and formatting improvements; no functional changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1379334 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 07:35:52 +00:00
Erwan de Ferrieres 72c3fd4fc0 renaming gantchart as ganttchart to remove the error in the chart name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1376030 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 13:21:07 +00:00
Jacopo Cappellato 688aa2fc9c Misc cleanups (no functional changes) to the Lucene integration:
* removed unused imports
* removed unused old methods with duplicated logic
* made some methods private
* improved some debug statements
* formatting adjustments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1375970 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 10:16:52 +00:00
Sascha Rodekamp 84f1ddafac - Fixed a bug, the Projectmgr GantChart was not shown anymore. Thanks Hans for reposting on the user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1375953 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 09:23:52 +00:00
Jacopo Cappellato 333d56a993 Fixed some inconsistent use of Lucene Version (now the current Version is set as a static final field of SearchWorker); misc minor code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1374328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 15:43:30 +00:00
Sascha Rodekamp 3aaae8babf Fix a bug on the new customer site. Some div's where only renamed in the HTML but not the JS code, the result was an error when using getElementById
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1372764 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 08:17:14 +00:00
Sascha Rodekamp 8a5cfdc8af Update jQuery to Version 1.8 and jQuery UI to Version 1.8.22
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1372751 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 07:21:15 +00:00
Jacques Le Roux f179d9dbbe Adds 2 new lookup fields in the FormWidgetExampleForms.xml file.
1) layered lookup std
2) read only layered lookup std

Changes the way the explanation are displayed, now using tooltips for an easier reading
Changes all explanation tooltips style to button-text for a better legibility

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369558 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:42:32 +00:00
Jacques Le Roux fae57e169e Closes "correct "javascript:void();" to "javascript:void(0);" to make it syntax valid" reported by Leon https://issues.apache.org/jira/browse/OFBIZ-4970
Firefox will throw syntax error if you call javascript void function without parameter.

jleroux: I did not reproduce with FF14 on XP (modern browsers correct by themselves) but I agree it's a better syntax. So I changed all where it was needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369555 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 11:27:20 +00:00
Adrian Crum 356edd2e0d Updated Workflow component to compile with Job Scheduler changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369503 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:40:58 +00:00
Erwan de Ferrieres a24113aabd Removing non-existing nodes in simple-method
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369434 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 20:57:14 +00:00
Erwan de Ferrieres 10471b709a Fixing the javadoc for ScrumServices.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1369358 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:19:46 +00:00
Jacopo Cappellato 4dbecfc704 changed some comments/docs to refer to LocalDispatcher instead of ServiceDispatcher
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364980 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 11:25:08 +00:00
Jacopo Cappellato 1037df9563 A rather important refactoring of service related code:
* new factory interface for LocalDispatcher objects
* new factory implementation of GenericDispatcher
* new ServiceContainer container that initializes the factory (based on a configuration parameter)
* moved the getLocalDispatcher method out of GenericDispatcher and refactored (in a thread safe way) into ServiceContainer/GenericDispatcherFactory
* ServiceContainer also maintains the cache of LocalDispatchers that was managed by GenericDispatcher
* added code to ServiceContainer to deregister LocalDispatchers at shutdown: this finally fix the current code that was broken because the thread pool maintained by the JobPoller was never closed because of an issue with LocalDispatchers not being deregistered when not started by the ContextFilter
* change all code to call the ServiceContainer rather than GenericContainer to get a LocalDispatcher: now the implementation is no more directly referenced by calling code


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 09:16:26 +00:00
Hans Bakker 648acc6165 make the websiteId available in the tellafriend.ftl
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364942 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 09:00:06 +00:00
Jacopo Cappellato 51fb669fee Removed invalid references to non existing resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 09:54:02 +00:00
Jacopo Cappellato 7ef64907bf Fix for wrong path name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:06:15 +00:00
Jacopo Cappellato 4de2dcfb26 Removed duplicated service implementations (there were 2 copies in the same file).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364218 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 07:03:34 +00:00
Jacopo Cappellato e8f9df367e Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Jacques Le Roux 1eb308773e A patch from Sumit Pandit for "Order view page - picking slip is throwing exception." https://issues.apache.org/jira/browse/OFBIZ-2810
At https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091 , In shipping panel at shipment row when click on "Packing Slip" it is throwing an exception in rendering the PDF.

Vikas: This is related to the demo order data for purchase order which is not set up correctly. For more information please refer to OFBIZ-1782
Sumit: Found an issue with demo data.
How to verify -
    Go to order detail page -
    https://localhost:8443/ordermgr/control/orderview?orderId=DEMO10091

    Then in shipment information section click on "Packing Slip" -
    https://localhost:8443/facility/control/PackingSlip.pdf?shipmentId=9999&externalLoginKey=EL564429820623

    Issue cause -
    Missing created date in Data.

    Resolution -
    Find patch in attachment.

jleroux: I crossed this recently and thought that the button should not show until packed. But it was rather coded to show "ERROR: No packages found for this shipment" in the PDF. I think it would be better to not show the button, but it's ok with me.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1364052 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 09:06:03 +00:00
Jacques Le Roux 003d891230 A (slightly modified) patch from Tom Burns for "Example Application Issues" https://issues.apache.org/jira/browse/OFBIZ-4960
Problem path 1:
Find Example > Find Example
Select EX01
Click Items Tab (or Features)
Click Example Tab
Expected: Example Details form in the context of the Example menus
Actual: New Example Form under Example Application menus

Problem path 2:
Example > click New Example
Enter a new example
Expected: Example Details form to add Items and Features to the New Example
Actual: Example page filtered on newly created example
(this is a problem for a new user who will not know how to clear the Example Id from the Search Options form. A better path would be to go to the edit forms where the user can add additional information on the example i.e. Items and Features)

Problem path 3:
Features > New Example Features
Enter a Description > Click Create
Enter a Type and Sequence Num
Click Add
Expected: Create a new Example Feature Appl
Actual: Error Problem 3: Error missing exampleFeatureId

jleroux: just put comments about checks Tom wanted to remove: <!-- This is a check useful when only seed data are loaded -->

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1361662 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 08:57:57 +00:00
Jacques Le Roux 99f9dca678 A patch from Carsten Schinzer "ECommerce application, productdetail is not fully internationalized" https://issues.apache.org/jira/browse/OFBIZ-4962
The i18n in the productdetail.ftl is not complete when featuretree is used to define products. Missing bits:

Reference to existing UI Labels on div productdetail for sizes available
Using a UI Label instead of hard coded "choose option" on the AddItemForm



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1361402 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:12:26 +00:00
Jacopo Cappellato 6f42787e73 Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list).
Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1361130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 09:48:32 +00:00
Jacques Le Roux 6390ce746c A patch from Mohamed Amine AZZI "Add rtl layouts to the pos application" https://issues.apache.org/jira/browse/OFBIZ-4964
Adds new screens layouts for right to left languages (arabic).
Adds some code to ensure that elements are added from right to left in the Journal table.

jleroux: I was not able to check all, but it's ok with me


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1360930 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:16 +00:00
Jacques Le Roux 1db4dd2b20 This should not have slipped in at r1328727
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1360907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:15:24 +00:00
Hans Bakker 4760bea839 Add a find/approve/reject function for product reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1359479 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 04:53:20 +00:00
Jacopo Cappellato 7bde12a32d Added new getName method to the Container interface and to all the implementations; added info messages to inform when containers are started/stopped.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355854 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 07:32:07 +00:00
Jacques Le Roux 325c9055a4 A patch from Olivier Heintz "Example Help data files has not been moved to example" https://issues.apache.org/jira/browse/OFBIZ-4935
Example component has been moved from framework to specialpurpose.
When example was in framework content data for help was loaded in content component because example was loaded before content.
Now it's possible (and more logical) to load content help for example in example.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355807 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 20:30:16 +00:00
Jacques Le Roux e634081d96 Fixes a bug introduced in r1355652
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355682 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 10:25:24 +00:00
Jacopo Cappellato 99f3119b8e Added new "name" argument to the "init" method of the Component interface: now the name of the container (set by the xml attribute container.name) is passed to the init method and it is used to retrieve the container's configuration; before of this the container's name was hardcoded preventing the ability to define (and load) two containers (with different settings) of the same type.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355652 13f79535-47bb-0310-9956-ffa450edef68
2012-06-30 06:32:00 +00:00
Jacopo Cappellato ce46bce900 Fixed wrong path to data file in the scrum component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355491 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 18:16:47 +00:00
Jacopo Cappellato 41d2732b17 Moved a few container definitions from the base/config/*-containers.xml files to their own component's ofbiz-component.xml file; this is a demonstration of the usage of the new ability to define component level containers; this is still experimental and there is room for improvements (and I am working on them and going to discuss a few details in the dev list) but this should already give a good idea of how we can remove redundancy from the various *-containers.xml files, remove dependencies between framework components and make the components self deployable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1355466 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 16:43:51 +00:00
Jacques Le Roux 553f853e39 A patch from Mohamed Amine AZZI for "Adds arabic resources to the Pos" https://issues.apache.org/jira/browse/OFBIZ-4945
Adds arabic string resources to the pos application

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1354409 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 10:32:54 +00:00
Jacopo Cappellato 26f9d773df As discussed in the dev list a few months ago, this commits removes Seleniumxml from the trunk.
Seleniumxml was a subcomponent of the framework/testtools intended to facilitate the usage of Selenium tests in OFBiz.
However it was never upgraded to the new version of Selenium and it has not been widely adopted by the community; the OFBiz community agreed to remove components/tools like this from the core distribution if they are optional/very specific or not well maintained or if there is (as in the case of Selenium) a valid external alternative to perform the same actions.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1354380 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 09:19:20 +00:00
Jacopo Cappellato ec61108dec Cleaned up some code that was adding the delegator/dispatcher/security/auth objects in the user session rather than the request;
1) removed the request-maps for changeDelegator from components' controller.xml files: they were not used
2) removed CoreEvents.changeDelegator(...): not used (apart from the request-maps removed at #1)
3) removed CoreEvents.changeDispatcher(...): not used
4) cleaned up some code (related to multitenant development): now the objects are set in the request rather than the session

PS: as a consequence this will also fix the issue reported in OFBIZ-4289


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Hans Bakker 85415ee454 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/specialpurpose@1352431 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 07:21:49 +00:00
Sascha Rodekamp aa9dba062d Upgrade the datetime picker to version 1.0 and remove the old libraries
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1351638 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 10:11:59 +00:00
Sascha Rodekamp 5bb1a47b5d Upgrade jQuery lib to 1.7.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1351605 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 08:49:53 +00:00
Hans Bakker e84bdd513e 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/specialpurpose@1351206 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 04:36:20 +00:00
Hans Bakker 1df3707b0f security file with wrong reader-type
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1348534 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 06:22:13 +00:00
Jacopo Cappellato f953d085fa Fixed xml validation for misplaced "error-page" element added by Hans in rev. 1208335.
Unfortunately the bug has been backported by Jacques to the 11.04 branch but I don't have time to backport the fix to the branches at the moment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1347559 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 10:26:40 +00:00
Jacopo Cappellato 6ad4f89105 As discussed in the dev list, removed the experimental jcr component; its development will continue in the proper branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1347478 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 08:14:28 +00:00
Hans Bakker 09aab3c22f reverted unwanted commit, reported by Jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1346264 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 07:16:03 +00:00
Hans Bakker 17c3df5c6e 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/specialpurpose@1346255 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 06:37:06 +00:00
Jacques Le Roux b3c7000def Forgot to commit this file with r1345532
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345553 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 18:52:30 +00:00
Jacques Le Roux 9c8490bf80 A patch from Ankit Jain "Replaces != nullpattern in ftl file by ?? (which replaces deprecated ?if_exist)" https://issues.apache.org/jira/browse/OFBIZ-4916
jleroux: I simply removed some useless ?? when ?has_content was enough. I also found 3 other cases in returnPolicy.ftl that I fixed the same way than Ankit (using ??)



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345532 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 17:10:52 +00:00
Jacques Le Roux a5fecf2bb3 Revert r1345473, I will rather review and commit https://issues.apache.org/jira/browse/OFBIZ-4916
Thanks to Jacopo spotting this (was harmful but stupid, really the kind of errors I make when too tired, not enough focus:D )

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345484 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 11:09:02 +00:00
Jacques Le Roux cfd136db5d Fix a small bug, related to recent Freemarker changes, reported on user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345473 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 09:46:28 +00:00
Jacques Le Roux 8513c6f03f A completing patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
Closes the issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345435 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 04:20:07 +00:00