Commit Graph
62 Commits
Author SHA1 Message Date
Divesh Dutta 3a17676024 Improvement: Minilang code readibility and conistency improvements
(OFBIZ-8445) (OFBIZ-8447) (OFBIZ-8448) (OFBIZ-8450) ( OFBIZ-8451) (OFBIZ-8653) (OFBIZ-8740) (OFBIZ-8741) (OFBIZ-8742) (OFBIZ-8743)

Thanks: Devanshu Vyas, Anuj Jain, Sega Patidar, Abhijeet Ashapure for your patches

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1768209 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 12:41:35 +00:00
Deepak Dixit 8f3141cd46 (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Deepak Dixit 3ac62d9fe8 (OFBIZ-1319) Replace selectall.js occurance with OfbizUtil.js.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1752900 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 06:46:24 +00:00
Jacques Le Roux 4deae05a38 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux a98ac13d9d Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux b20816bfa8 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit dac494ac6a (OFBIZ-7237) Relocate .groovy files in the specialpurpose/ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747786 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:35:12 +00:00
Deepak Dixit 840949dfc2 (OFBIZ-7227) Relocate .groovy files in the order component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747769 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 18:36:39 +00:00
Deepak Dixit 374449d47e (OFBIZ-7021) Renamed specialpurpose ecommerce 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@1744942 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:43:11 +00:00
Deepak Dixit dd5cf2fe5f (OFBIZ-7021) Renamed framework common 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@1744783 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 18:52:54 +00:00
Jacques Le Roux 195def6c07 Closes "Move all Groovy scripts in components WEB-INF/actions sub-folders" - https://issues.apache.org/jira/browse/OFBIZ-6981
Currently there are few Groovy scripts not in components WEB-INF/actions sub-folders.
Before moving Groovy scripts as we decided in OFBIZ-6810 we should move the few Groovy scripts not in components WEB-INF/actions sub-folders to these WEB-INF/actions sub-folders. So we will not miss one and it will be a "straightforward" task to move then as we decided in OFBIZ-6810.
Note: most of the Groovy scripts not in components WEB-INF/actions sub-folders are related with events. But not all events related Groovy scripts are not placed components WEB-INF/actions sub-folders, just a very few. There are other cases were Groovy scripts are not in components WEB-INF/actions sub-folders, like ShowProductionRun.groovy and OrderReportPrepare.groovy...





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1743949 13f79535-47bb-0310-9956-ffa450edef68
2016-05-15 18:44:19 +00:00
Deepak Dixit b4f65d473b (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit 6d65904ec1 (OFBIZ-6821) relocate .ftl files in the specialpurpose/ecommerce component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740485 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:42:03 +00:00
Jacques Le Roux 56a5229f04 Fixes "jquery plugin jgrowl is loaded before jquery in ecommerce" - https://issues.apache.org/jira/browse/OFBIZ-6957
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1736614 13f79535-47bb-0310-9956-ffa450edef68
2016-03-25 16:41:36 +00:00
Deepak Dixit bc45785b8c Added missing jgrowl js and css file for ecommerce main-decorator.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1735747 13f79535-47bb-0310-9956-ffa450edef68
2016-03-19 09:28:09 +00:00
Shi Jinghai 62767278d0 OFBIZ-6135 - Passport Component for OAuth2
1. Commented out the passport files include in ecomseo.
2. Add quick start steps in README.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1689400 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 13:51:44 +00:00
Shi Jinghai f2ff13fb59 OFBIZ-6135 - Passport Component for OAuth2
The oauth2 login icons will appear in /ecomseo/checkLogin page if the seed data files are properly configured and imported into database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1688503 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 18:38:16 +00:00
Jacques Le Roux 216942f9d4 When last updating jQuery I forgot to commit the calling points changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1563806 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 09:08:01 +00:00
Jacques Le Roux 4cc53e00f5 This is a major update of jQuery and related, it contains:
jquery-1.8.2 to jquery-1.10.2 which implies using jquery-migrate-1.2.1 for plugins compatiblities
    jquery-ui-timepicker-addon-1.0.5 to jquery-ui-timepicker-addon-1.4.3 (using min now, better i18n)
    jquery-ui-1.9.0 to jquery-ui-1.10.3
    removes jquery.ui.datepicker.js now integrated in jquery.ui
    jquery.hotkeys-0.7.9 to jquery.hotkeys-0.8
    jquery.maskedinput-1.2.2 to jquery.maskedinput-1.3.1
    jquery.validate 1.10.0 to 1.11.1 
        I never realised how much efforts have been put in this plugin!  
        I fixed an issue in JsLanguageFilesMapping generation
        I removed the messages_ptbr.js and messages_ptpt.js files and the related conundrum in JsLanguageFileMappingCreator.java
        untested, found not use cases OOTB
    jquery.jcarousel ?(2006) to 0.3.0 (2013)
        untested, found not use cases OOTB
    jquery.flot 0.7 to 0.8.2 (lot of changes, still works)
        removes useless flotpie.ftl 
        removes empty flotr folder
    jquery.mobile-1.1.0-rc.1 to jquery.mobile-1.4.0
        untested, found not use cases OOTB
    jquery.cookie to jquery.cookie-1.4.0    


Removes all useless/redundant js files (not only jQuery unused old versions)
    notably removes all under images/jquery/ui/development-bundle/ui
    removes now useless GooglemapMarkers.js and GooglemapSimple.js

Flat Grey application.js
    moves jQuery(document).ready(function() at bottom (spotted in Chrome console) 
    
css
    I did not find much issues, I spotted the title bar of the lookups, but got it fixed after some efforts.    

Issues:
    Imagemanagement:  I got issues while testing, actually I'm not quite qure how it works, even in stable demo. It should be validated again. I commit nevertheless my changes:
        moves js part from product to images component
        removes useless calls to js files (mostly in imagemanagement, but not only)
        renames jquery.min.js to sizzle.min.js. 
        Inside sizzle.min.js, updates the Dojo part to v1.10.17-pre and removes the jQuery part
        changes to use ofbizContentUrl macro for generating js calls
        jquery.rotate.js NOT! It's jQueryRotateCompressed.js http://markmail.org/message/dit3dlh3ph4jnenp
        Got ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'D:\projectsASF\ofbizClean\framework\images\webapp\images\pro&' to length 100.  I opened OFBIZ-5501 for that
    I tried to update jstree  to jstree 3 but gave up. I let the jquery.jstree-3.0.0-beta3 files in place in case someone would give it a chance...
    
Not related but while a it:
    removes <!--flot example requests--> from birt controller (moved recently to example component)
    
    

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1559769 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 16:27:09 +00:00
Jacques Le Roux aefaa14c3d Complete the work on server hour for the webtools job list.
* Now uses real server hour
* Renames getDependentDropdownValues.js into miscAjaxFunctions.js, that it is really
* Introduces a minimized version of date.format: date.format-1.2.3-min.js


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1426904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 07:33:26 +00:00
Sascha Rodekamp 3e3504df29 - Upgrade Timepicker to version 1.0.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1399128 13f79535-47bb-0310-9956-ffa450edef68
2012-10-17 07:01:03 +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 e9bc48e56b Upgrade jQuery UI to Version 1.9
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1398771 13f79535-47bb-0310-9956-ffa450edef68
2012-10-16 12:57:46 +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
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
Jacques Le Roux 9151c2c274 A modified patch from Tom Burns for "eCommerce Edit Contact Information use Dependent drop-downs" https://issues.apache.org/jira/browse/OFBIZ-4797
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.

After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.

jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>

The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326397 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:58:17 +00:00
Jacques Le Roux 814681d16b A patch from Markus M. May "Typo in CatalogScreens.xml - productCatagories" https://issues.apache.org/jira/browse/OFBIZ-4727
In the CatalogScreens.xml one screen is called productCatagories. Should be spelled productCategories

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1298963 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 18:27:44 +00:00
Hans Bakker b9547e917b add a tagcloud demo to the ecommerce home page, contribution of tom of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1225452 13f79535-47bb-0310-9956-ffa450edef68
2011-12-29 07:05:42 +00:00
Hans Bakker 39cf66d0d8 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Sascha Rodekamp 8d3fd03e5c Update jQuery:
jQuery library to version 1.7
jQuery UI to version 1.8.16
jQuery Validation to version 1.9
jQuery Flot to version 0.7
jQuery datetimepicker to version 0.9.7
and jsTree

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1199218 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 12:35:33 +00:00
Jacques Le Roux 398776de54 Closes "The time part (cursors) of the Date Time picker is not internationalized" https://issues.apache.org/jira/browse/OFBIZ-4015
Fixes the problem by:
* Updating datetimepicker from 0.9.3 to 0.9.6 (where a localization folder exists)
* Use the fantastic createJsLanguageFileMapping service Sascha introduced (I just removed the confusing wrong comment about JsLanguageFilesMapping.ftl being generated and added a block for datetimepicker, also in JsLanguageFileMappingCreator.java). A very good dynamic+static tool, kudos Sascha!

Should work also in eCommerce though I did not found any uses

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1178199 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 15:59:12 +00:00
Hans Bakker f1a6aa2ef8 New product type: Fixed Asset Usage For Rental of an asset which is shipped from and returned to inventory. Including Junit test and demo data. More explanation will follow in a blog on the 'what is new page'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1167015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 06:40:28 +00:00
Sascha Rodekamp 264c4b3401 Update to the current jQuery Version 1.6.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1163547 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 09:26:56 +00:00
Hans Bakker ff32f98d09 use and demonstrate the seo friendly urls in the content/ecommerce blog function, add seca to update new created content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1142577 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 07:33:18 +00:00
Hans Bakker 7c84c691fe Add seo friendly url's for showing content. reorganize the same program snippets with seo friendly url for products. These content url's are demonstrated at the ecommerce frontend in the left bottom corner: Content Information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1141878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Hans Bakker 6a82d07c3a add jquery category tree only showing categories which have a related product or have a related category with a product. It has been tested in IE too. The showing of products from the tree is now using ajax and is only updating the middle of the screen. A contributution of Antwebsystems employee Oat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1128983 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 02:58:31 +00:00
Sascha Rodekamp 781f8db237 Update - jQuery update to version 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1124336 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:54:55 +00:00
Hans Bakker 9118f482f9 enlarge analyticsCode field and remove content field from webanalytics entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102617 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:04:09 +00:00
Hans Bakker 2a359f0dcc demo how to use the analyticscode in ecommerce, no need for contentid
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102577 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 06:38:31 +00:00
Sascha Rodekamp b5c2bc2c9d Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Sascha Rodekamp 02e1dc0cd0 Update - Update the jQuery library to version 1.5.1. A few changes were necessary for this step. I updated the jQuery flot library to the current release, because the old one doesn't work with the new jQuery version, i also updated the jsTree Plugin to make it work with the new jQuery Version.
Note in jQuery 1.5 the implementation of the ajax function has been changed.

For more Information have a look at: http://blog.jquery.com/2011/01/31/jquery-15-released/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1082916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 13:37:29 +00:00
Sascha Rodekamp da61ddc627 Update - Update to jQuery 1.4.4, Fix a bug in the fieldlookup.js to make it work with the new jQuery lib. This patch is to orepare the update to jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1082227 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 17:25:15 +00:00
Sascha Rodekamp 62fc742239 Update - Remove the obsolete jQuery UI Libs from the ecommerce common screen. (http://markmail.org/message/dbogfc7ope76hosv). Sam noticed that all jQuery UI Libs in the ecommerce application are not needed. To improve performance of site loading we decided to remove the obsolete libs.
Orig. Msg.:
Was just running round the ecommerce site when I noticed that both
jquery-1.4.2.min.js and jquery-ui-1.8.6.custom.min.js are served when loading
/ecommerce/ pages? Isn't that rather excessive and only jquery-1.4.2.min.js
should be called? 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1073901 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 19:39:25 +00:00
Erwan de Ferrieres f47b530ef1 OFBIZ-4170 : a bug was present in the timepicker plugin and values under 01:05:10 couldn't be selected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1069542 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 19:45:22 +00:00
Jacques Le Roux e2bcb4b858 A patch from Sascha Rodekamp "Update the Datepicker to version 0.9.1" (https://issues.apache.org/jira/browse/OFBIZ-4056) - OFBIZ-4056
Updates the timepicker. Seems that it's more stable and they fixed a few issues. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1049151 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:39:30 +00:00
Jacques Le Roux c008c6ccb3 Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Hans Bakker 31f00a501c make the blog more presentable and it looks it is now working again. Nice implementation by Al Beyers This blog is a nice demo to show the possibilities of the ofbiz content component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1001622 13f79535-47bb-0310-9956-ffa450edef68
2010-09-27 08:32:11 +00:00
Jacques Le Roux 45229b0aa5 Improvement on r960336. Fix a problem reported by Scott on dev ML.
I tested locally, and I think I have done it right this time


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@960491 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:10:19 +00:00
Jacques Le Roux f089ea9488 Improvement on r960336 (should fix a problem reported by Scott on dev ML.)
I tested locally, but I'm not quite sure it's sufficient


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@960401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 21:23:47 +00:00