Commit Graph
3703 Commits
Author SHA1 Message Date
Jacopo Cappellato 92ee8adabd Removed hardcoded formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1583917 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 07:40:42 +00:00
Jacopo Cappellato 351de746d8 Minor cleanup
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1583916 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 07:38:28 +00:00
Jacopo Cappellato d0433f9b31 Fixed warning due to missing entity fields generated by imperfections in unit tests; thanks to Adrian Crum for the report OFBIZ-5168
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1581386 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 15:53:20 +00:00
Jacques Le Roux ff78eabec0 Removes useless empty folders, adds README files with explanations in useful empty folders
This to facilitate the creation of Git repositories where empty folders needs a file in or must be ignored
Especially when you want to keep the OFBiz Subversion repository inside the Git repository (useful for committers)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1580865 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 14:42:52 +00:00
Jacques Le Roux ad01b7c43b Moves the crowd component to Attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1580778 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 07:43:26 +00:00
Jacques Le Roux 7a91db1f31 Just spotted that for a reason crowd/build.xml can't be used there. I will check later...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579808 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 22:37:16 +00:00
Jacques Le Roux 7d8a45f210 I noticed that ant-clean all was not cleaning the crowd build dir. While at it I alphabetically sorted the list and spotted a missing comma after webpos/build.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579750 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 21:27:24 +00:00
Jacques Le Roux 274835ece3 LICENSE update for r1579359 and the new "BIRT Web Viewer"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579609 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 12:56:50 +00:00
Jacques Le Roux ac7138ebdd A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952
jleroux: Oops forgot to commit the unversioned files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579359 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 19:16:28 +00:00
Jacques Le Roux 255d601eeb A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952
Chatree Srichart:
I have created a patch to solve a viewer servlet problem and uncomment the viewer servlet in the birt webapp. To do this will allow a user to use BIRT Web Viewer to render a report by coping a webcontent directory from birt-runtime-x_x_x/WebViewerExample directory and paste into the birt webapp directory ($OFBIZ_HOME/specialpurpose/example/webapp/birt).

These are URLs to render example reports using BIRT Web Viewer.
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/example.rptdesign
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/chart.rptdesign

jleroux: a more detailled documentation is available at https://cwiki.apache.org/confluence/display/OFBIZ/Using+BIRT+with+OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1579356 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 19:08:52 +00:00
Jacques Le Roux ed88b5631c Temporary fix for "Error when add product to an order." https://issues.apache.org/jira/browse/OFBIZ-5579
See my comment there.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1577855 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:49:10 +00:00
Jacques Le Roux 519b1faf4d Adds the conventional comment <!-- if this isn't there then with all fields empty no query will be done --> to "noConditionFind" fields. It's not quite obvious, so the more there are the better
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1576278 13f79535-47bb-0310-9956-ffa450edef68
2014-03-11 10:53:37 +00:00
Jacopo Cappellato 3b706fa176 Added missing index.jsp files required to enable redirection to control/main for the webapplications overriden by specialpurpose components; this fixes the issues reported in the mailing list by Deepak Dixit and by Vyom Jain.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1575875 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 09:29:20 +00:00
Jacopo Cappellato 926efd2311 Upgraded lucene component to the latest Lucene release 4.7.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1572483 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 09:27:10 +00:00
Jacopo Cappellato 139a9962d5 Performance optimization for UtilHttp.getFullRequestUrl method: instead of returning a StringBuffer object (synchronized) it now returns a String (immutable); internally it uses a StringBuilder (lighter because not synchronized) within a private context.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1570810 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 08:32:28 +00:00
Jacopo Cappellato 22d2e7f1f5 Fixed path: the appserver component has been moved from the framework to the specialpurpose folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1570595 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 14:53:31 +00:00
Jacques Le Roux 42ecb09395 Prevents a possible misconfiguration spotted on trunk demo:
Expression blog.contentName is undefined on line 31, column 116 in component://ecommerce/webapp/ecommerce/blog/blogs.ftl. The problematic instruction: ---------- ==> ${blog.contentName} [on line 31, column 114 in 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1569078 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 18:36:55 +00:00
Jacques Le Roux f0f52f1e63 A patch from Chris Lombardi for "Void item, quantity update, and discounts don't work for configurable items" https://issues.apache.org/jira/browse/OFBIZ-5535
Void item, quantity update and discounts work off of the sku in the pos.  I fixed it to use the cart index so these operations will work when there are multiple configurations per sku in the cart.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1566273 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 11:12:11 +00:00
Jacques Le Roux 5deef319c4 Closes "Upgrade BIRT Runtime to 4.3.1" https://issues.apache.org/jira/browse/OFBIZ-5530
jleroux: what I did:
Replaced all (20) old birt libs by new one provided in the zip Chatree provided
I did not touch any other libs, I checked they were all the same, but the names of Axis 1 libs which were not versionned in the zip. So I removed the related Axis 1 changes in LICENSE and .classpath files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1565375 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 18:00:18 +00:00
Jacques Le Roux 7e70e9d8d8 Reverts r1564674, last checkout-sdk fails to compile keeps 0.8.8
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1564691 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 09:55:08 +00:00
Jacques Le Roux 4fb0b56287 Updates checkout-sdk to 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1564674 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 08:51:50 +00:00
Jacques Le Roux 80fb498ca7 No functional changes, just makes things easier to compare
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1563953 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 15:35:48 +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 26739445a0 Closes https://issues.apache.org/jira/browse/OFBIZ-5521 as not a problem
It was my bad, I was simply stupid on this, reverts r1519245


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1562767 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 10:33:26 +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 80cb49f1e5 This has been wrongly removed as part of Birt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1558241 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 23:26:46 +00:00
Jacques Le Roux e17d9e72df A modified patch from Gareth Carter for "JSON Response does not set http status on error" https://issues.apache.org/jira/browse/OFBIZ-5409
This is rather a defensive patch which secure json response on services calls. 
It might need some changes in custom code if (not recommended) an Ajax GET response is used... The util.js scrpt is introduced for that, though normally should not be needed... 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1557462 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 20:26:30 +00:00
Jacques Le Roux f335c56e6a This fixes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453
It actually does more than that. It follows Adrian's proposition of improving the GeoPoint data model. 
I did not applies all of Adrian's proposition (see our conversation in the Jira issue). Feel free to apply it completely if you are inclined so. 

I will also add an entry in wiki page "Revisions Requiring Data Migration (upgrade ofbiz)" at https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=7045166

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1557447 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:39:23 +00:00
Jacques Le Roux 35f411a217 This closes "Set field in (at least) widget screen does not take into account a locale for (at least) the Float type" https://issues.apache.org/jira/browse/OFBIZ-5453
And definitively fixes issues with i18n of geolocation 

It introduces a "locale" attribute to the "set" operation in widget (I only tested screen, form is quite similar, should be ok) and minilang.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1554681 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 21:30:12 +00:00
Jacopo Cappellato b2ac2b6633 Upgrade to the latest Lucene release 4.6.0
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1554384 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 08:13:35 +00:00
Jacques Le Roux e2639588da Fixes a formatting issue, there from long
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1552500 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 06:06:47 +00:00
Jacques Le Roux f33efdd5f8 Misc. cleaning in labels
Removes all empty ones
Removes some redundant/duplicates ones (please committers don't commit those again, I know it's not easy to catch, hopefully now we should have less of them)
Automatically replaces some tabs
Few French labels improvements
Removes 2 orphan entries ("ja" & "cs")
Fixes the schema header of WebtoolsUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1551594 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 16:00:50 +00:00
Jacques Le Roux 730aab33ea No functional changes:
Removes all remaining unchecked warnings
Automatically adds some @Override

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1551207 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 13:30:46 +00:00
Jacques Le Roux 03946d768c No functional changes, code improvements
Fixes some dead code entries
Automatically adds some override annotations


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1550429 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 14:53:38 +00:00
Jacques Le Roux 3b3de95429 Fixes a typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1550117 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 12:17:50 +00:00
Jacopo Cappellato 234bcfc733 When retrieving the product record for the Lucene indexing don't use the cached value; this fixes the issue reported in OFBIZ-5389 by Christian Carlow
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1546954 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 10:54:50 +00:00
Jacques Le Roux 9534c33e83 Fixes a wrong rendered info in case of promotion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1543744 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 09:54:03 +00:00
Jacques Le Roux 17ee874ab2 After my main external backup disk crashed, my main Eclipse workspace crashed also.
While rebuilding it, it seems I inadvertently pushed a OK button somewhere...
This reverts r1541470 and all pending stuff which should not have slipped in

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1541485 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 12:01:48 +00:00
Jacques Le Roux 89cebdeef8 This was committed by error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1541470 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 11:07:04 +00:00
Jacopo Cappellato f420b5f76e Removed old and useless debug statements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1540742 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 14:35:12 +00:00
Jacques Le Roux aea1a88d8c This should fix the tests (reported by Hans on dev ML)
In r1538162, I used an already possessed inventoryItemId

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1539690 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 15:45:06 +00:00
Jacques Le Roux 136d1e4ef3 I could not resist to add the ASL2 license :)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1538162 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:53:34 +00:00
Jacques Le Roux 6b9ef849c5 I missed this change in r1538095
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1538161 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 09:40:00 +00:00
Jacques Le Roux c1f5fc4fc0 I was quite confused when at r1522664 I reverted those changes in ReportSreens
Slightly improves labels

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1538081 13f79535-47bb-0310-9956-ffa450edef68
2013-11-01 23:11:47 +00:00
Jacopo Cappellato ea91e65cc1 Misc cleanups to the old Search.groovy to make it more robust and clean.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1537083 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 13:37:58 +00:00
Jacopo Cappellato 269da68641 Upgrade to Lucene latest bug fix release: 4.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1536674 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 11:48:39 +00:00
Jacopo Cappellato bca750f731 Removed unused and redundant field from the Lucene Product document.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1536651 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 10:55:29 +00:00
Jacques Le Roux be71658c90 Fixes <<Services allow arbitrary HTML for parameters with allow-html set to "safe">> https://issues.apache.org/jira/browse/OFBIZ-5254
After r751990, <<allow-html="any">> and <<allow-html="safe">> are the same: they do nothing! The only difference is the warning message from the OWASP Antisamy IntrusionDetector, which is both, as Christoph noted "giving you a false sense of security" or as I wrote "disturbing, wrong and useless". So there are no longer any reasons for differencing "safe" and "any".

This
* Deprecates "safe" (making it clear in the XSD documentation), keeping only "none" and "any". This is for backward compatibility, else we could completely remove the misleading "safe". Note that "none" is the default.
* Replaces in services definition all allow-html="safe" by allow-html="any"
* Remove from ModelService.java (near line 587) the code which throws the OWASP Antisamy IntrusionDetector message in log

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1536324 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 12:12:43 +00:00
Jacques Le Roux 4b45916f53 Fixes "Under some conditions the Paypal button encroachs the menu bar" https://issues.apache.org/jira/browse/OFBIZ-3136
Small improvement to provide a default in French when any country has been selected. The same idea can be used with other default locales.

Actually this issue can't be completely fixed without efforts to reduce the lengths of labels above buttons in some languages, also depends on screen widths and anyway OFBiz is far to provide a responsive design, if even this is wanted...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535981 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 12:37:43 +00:00
Jacques Le Roux ff120d594f Fixes "Pagination from category tree is flawed, and not only this pagination" https://issues.apache.org/jira/browse/OFBIZ-5372
It was already flawed in R10.04.
If you click on the Gizmos node, the pagination page shows 3 pages when there should be only 2 and if you get to the page 3 it crashes.
If you come from the breadcrumb the problem is the same.
On the other hand, from R11.04 there is a "Popular Categories" section at top of the main screen, and from there it works correctly. 
But in this version the "Featured Products" pagination shows the same symptom than the category pagination. 
The "Featured Products" pagination works almost correctly from R12.04, but shows 2 pages when the second is useless and empty, at least no crashes!

Note:
This has no side effects on the same in order component
Actually what we should do is to create an unique paginationControls macro but there are subtle differences and I'm afraid it would open a can of worms. I will though check...



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1535961 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 10:22:31 +00:00