Commit Graph
128 Commits
Author SHA1 Message Date
Deepak Dixit 79c3525a68 (OFBIZ-7240) Relocate .groovy files in the specialpurpose/hhfacilit component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747790 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:48:27 +00:00
Jacques Le Roux 5e65059e4d A big but straightforward commit for "Move minilang scripts from component://componentname/script/org/ofbiz to component://componentname/minilang" - https://issues.apache.org/jira/browse/OFBIZ-7267
I removed duplicate paths were componentname was uselessly repeated after component://componentname/script/org/ofbiz (projectmngr was the only one using there project instead)

I had few typos, easily fixed thanks to the tests. There could be still typos but they are unexpected and anyway no-brainer to fix 

I'm still wondering about specialpurpose/example/minilang/README.txt.
I changed its content to 
  "The minilang directory is for static resources that are interpreted at run time rather than being compiled. This goes on the classpath, but does not get built or put into a JAR file."
not sure it makes any sense, I don't see how this relates to the classpath. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747712 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 14:04:30 +00:00
Deepak Dixit c4b52ebe5c (OFBIZ-6810) Removed some unused screen and ftl, found during ftl cleanup. I took extra care while removing these code this should not break anything.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1745500 13f79535-47bb-0310-9956-ffa450edef68
2016-05-25 15:05:50 +00:00
Deepak Dixit f5618e39a4 (OFBIZ-7021) Renamed specialpurpose hhfacility component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1744881 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 09:20:35 +00:00
Anil Patel 0c58181194 [OFBIZ-6841] The change looks good. I did simple search in across the codebase and did not find any references to the file.
Thanks Pierre Smits for locating the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1739438 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 10:52:04 +00:00
Jacques Le Roux fcf4f6db7f A patch from Pierre Smits for "relocate .ftl files in the specialpurpose/hhfacility component" https://issues.apache.org/jira/browse/OFBIZ-6835
jleroux: OFBIZ-6835-hhfacility-widget-ftl-relocation.patch applied, ftl files moved by hand in Eclipse


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737703 13f79535-47bb-0310-9956-ffa450edef68
2016-04-04 16:22:01 +00:00
Jacques Le Roux 800a0c22a7 Removes old simple-methods.xsd from the trunk as it's useless now (was replaced by simple-methods-v2.xsd)
Also renames simple-methods-v2.xsd in simple-methods.xsd and replaces simple-methods-v2.xsd references by simple-methods.xsd references everywhere it's needed



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737087 13f79535-47bb-0310-9956-ffa450edef68
2016-03-30 09:13:03 +00:00
Jacques Le Roux 0a982250e6 Temporary fix for "UtilXml.LocalResolver.resolveEntity] could not find LOCAL DTD/Schema with publicId [null] and the file/resource is [web-app_3_0.xsd]" - https://issues.apache.org/jira/browse/OFBIZ-6807
As suggested by Deepak keeps only <<web-app version="3.0">> in web.xml files instead of whole xmlns and schemaLocation. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1726388 13f79535-47bb-0310-9956-ffa450edef68
2016-01-23 11:52:08 +00:00
Deepak Dixit e91538404a OFBIZ-(6655) Add session tracking mode and make cookie secure for all special purpose component. Also updated the web-app version for web.xml files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1724940 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 09:30:08 +00:00
Arun Patidar da04c7ce72 [OFBIZ-6171] Applied patch from Pierre Smits for replacing 'Open for Business' references with 'Apache OFBiz'.Thanks Pierre for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1706589 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:15:21 +00:00
Deepak Dixit 9149040ac3 (OFBIZ-6362) Added missing code in header.ftl file to include component specific js file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1697574 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 06:40:54 +00:00
Deepak Dixit 320c0e57c0 Applied patch from jira issue OFBIZ-6222 - Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter
Thanks  Arun Patidar for reporting the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1672853 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 09:43:10 +00:00
Nicolas Malin 1e3600618d Convert javolution FastMap, FastSet and FastList by standard java.util.*
Related to OFBIZ-5781 Convert Javolution collections into Java collections
Thanks to Deepak Dixit and Adrian Crum for their help.

By defautl converted :
 * FastMap by HashMap
 * FastList by LinkedList
 * FastSet by HashSet

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1672752 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:22:54 +00:00
Ashish Vijaywargiya 1432b8f43f Applied two patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods. Thanks Arun for your recent contribution where you have included changes from specialpurpose and product component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1647937 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 06:54:50 +00:00
Ashish Vijaywargiya 1756807812 Applied patch from jira issue - OFBIZ-5892 - Replace all occurences of dispatcher.runSync in groovy files with runService() of DSL.
Thanks Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1646167 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 08:10:12 +00:00
Ashish Vijaywargiya 8a138d9992 Applied patch from jira issue OFBIZ-5844 - Convert java files to EntityQuery.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642398 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:00:37 +00:00
Ashish Vijaywargiya c5bbc062b3 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacques Le Roux c8e766489c Puts a better comment in templates/web.xml
Remove useless and confusing websiteId in web.xml files

I did not remove some others, but I believe they don't make sense as they are.
Take for instance those data
<WebSite webSiteId="EBAY_STORE1" siteName="eBay Store1" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90101"/>
<WebSite webSiteId="EBAY_STORE2" siteName="eBay Store2" standardContentPrefix="http://demo.ofbiz.org" productStoreId="90102"/>
<WebSite webSiteId="GOOGLEBASE" standardContentPrefix="http://demo.ofbiz.org" productStoreId="9000" />

Sorry but http://demo.ofbiz.org/ leads nowhere!

And do we need to keep those referring to productStoreId="9000" in web.xml files? They have not their own webapps
<WebSite webSiteId="CmsSite" siteName="CMS Web Site"/>
<WebSite webSiteId="OfbizSite" siteName="OFBiz Web Site"/>
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />
<WebSite webSiteId="GOOGLECHECKOUT" productStoreId="9000" />

I think we should keep in web.xml files, only ecommerce/clone and webPos (uses POS store)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1526686 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 21:07:10 +00:00
Jacopo Cappellato fe24506e48 In preparation for the selective disabling of specialpurpose components as a default (when trunk is checked out, built, unit tested, run): explicitely added the "enabled" attribute to all the ofbiz-component.xml files of specialpurpose applications; for now they are all set to "true" (that is the default value) and so this commit will not change the behavior of the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1462422 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:21:52 +00:00
Adrian Crum 9f63a28d6c Fixed broken UI in hhfacility component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1400392 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 08:53:27 +00:00
Sascha Rodekamp 7c538389de Upgrade jQuery to Version 1.8.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1398800 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 13:55:23 +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
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
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 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 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 3f093889b9 Replaces all remaining title="${uiLabelMap.CommonEmptyHeader}" by title=" ", and specific case in ListPartyCommEvents
This closes the CommonEmptyHeader chapter

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343016 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 08:41:47 +00:00
Jacopo Cappellato 39419bf4e1 Removed unused handler definitions and a useless comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342305 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 15:50:57 +00:00
Jacques Le Roux 7462f231b3 Adrian suggested to removes all default-widget-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340388 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:38:25 +00:00
Jacques Le Roux 0d0cae1c78 Adrian suggested to removes all default-tooltip-style="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:37:35 +00:00
Jacques Le Roux 127e509288 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Adam Heath 34992a06c6 DEPRECATION: specialpurpose/hhfacility: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338419 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:03:05 +00:00
Adrian Crum 1c6ba80b29 Updated all Mini-language xml files to use the new schema.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328827 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 09:18:24 +00:00
Jacques Le Roux 197a60cc25 Moves guiapp component inside POS component
Closes https://issues.apache.org/jira/browse/OFBIZ-4807



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328727 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 19:19:09 +00:00
Erwan de Ferrieres 5171a73203 Wrong parameter name was used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296081 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 08:28:02 +00:00
Anil Patel f2ef513d21 Fix login process issue.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1295720 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 18:20:29 +00:00
Anil Patel 489af7e3e0 Cleaned up facility selection flow. Updated login form layout code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1295411 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 04:25:14 +00:00
Anil Patel 97b1ae7a10 Adding JQuery Mobile library. Also updated hhfacility application to use it. Lot more work needs to be done to make hhfacility application useful, We have a start :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1295345 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 23:57:18 +00:00
Jacopo Cappellato b423c69092 OFBIZ-2565: fix for data type mismatch
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1214367 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 17:32:31 +00:00
Jacopo Cappellato 2bf8076bcd Patch from Dan Dodd (OFBIZ-2564) to fix Double/BigDecimal issue in receiving of hhfacility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1214334 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 16:58:00 +00:00
Marco Risaliti e30218c4f9 Internationalization of java services for hhfacility component (OFBIZ-4091)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1063819 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:34:04 +00:00
Marco Risaliti cb5e179cc1 Replace some fail-message to fail-property tag all specialpurpose components (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052038 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:22:45 +00:00
Scott Gray b06aed2cb5 Remove unnecessary semicolons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044917 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 20:43:03 +00:00
Jacques Le Roux 5289054ede A patch from Karl Pitrich "When editing Portal Pages, Drag & Drop for Portlets does not work" (https://issues.apache.org/jira/browse/OFBIZ-3889) - OFBIZ-3889
When editing Portlet Pages, either in MyPortal or PortalAdm, Drag & Drop of Portlets does not work.
Where are several Issues in the MyPortal, some have fixes, none is commited to trunk.

Problems:

    * in myportal.js, function getDestinationInformationPortlets(): DOM ID's are not handled correctly
    * in framework/webtools/widget/PortalAdmScreens.xml: required javascript + css files are not included


JLR: 
While working on this I have found other issues: the login.ftl files used in hhfacility and myportal were not tenant enabled. They are different  but by chance in myportal very close to common so I was finally able  to do both at along with  Karl's changes. Actually I wanted to do 2 commits but forget to uncheck the files while doing a second attempt to commit.

MyPortal
 * The login process in MyPortal was not tenant enabled, it's done in this commit.
 * I kept its specificity : newRegisterLogin and wonder why it has not been extended to common?

hhfacility
The login process in hhfacility was not tenant enabled, it's done in this commit. Doing so, I saw there i18n is not done, not an issue for me...







git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@985163 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 11:43:38 +00:00
Adam Heath 5b3b7e0c99 Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux e263a69b74 A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Marco Risaliti 7738dabb8c Some missing security permissions for HHFacility, Setup and BI components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@950483 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 10:45:44 +00:00
Jacques Le Roux ef2a1c044c We don't need
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>

Less to update every year!

Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783

Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!

I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@948846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:23:22 +00:00
Scott Gray 22639b37d9 Set svn properties on all freemarker files that were missing them
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@942386 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 13:51:19 +00:00