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
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
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
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
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
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
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
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
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
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
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
fed8217a82
A patch from Tri Duc Vo for "Next Vietnamese Ofbiz translation https://issues.apache.org/jira/browse/OFBIZ-4759
...
fixed few issues, 3 remains, Tri will have to choice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1345379 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 22:32:57 +00:00
Hans Bakker
2ac92d21d1
reverted unwanted change in previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344607 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 09:04:42 +00:00
Hans Bakker
888619f7d8
removed 2 not used data items
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1344598 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 08:45:03 +00:00
Adam Heath
dc65cf6699
Deprecate EntityUtil.getRelated(ByAnd|OrderBy)(|Cache), replaced with
...
the single getRelated variant.
EntityUtil.getRelatedByAnd(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedByAndCache(String, Map) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedOrderBy(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
EntityUtil.getRelatedOrderByCache(String, List) replaced by
EntityUtil.getRelated(String, Map, List, boolean)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343532 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:38 +00:00
Adam Heath
123e69b53f
DEPRECATION: specialpurpose: GenericValue.getRelated(ByAnd|OrderBy)(|Cache)
...
replaced by the single getRelated variant.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343530 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:21:13 +00:00
Adam Heath
803003dd88
DEPRECATION: specialpurpose/ecommerce: GenericValue.getRelated/getRelatedCache variants replaced with a getRelated that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343520 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:19:33 +00:00
Adam Heath
c244b122b5
DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343495 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:15:07 +00:00
Adam Heath
5dcddcaa72
DEPRECATION: specialpurpose/ecommerce: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1343493 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:14:59 +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
Adrian Crum
20994e6381
Fixed a bug in an eCommerce Freemarker template - https://issues.apache.org/jira/browse/OFBIZ-4899 .
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1342852 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 04:32:22 +00:00
Jacques Le Roux
8f0f2442fd
2 missing ASL2 headers, while at it...
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341399 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 10:57:13 +00:00
Hans Bakker
96d7c6ae2f
add account activation email type to product store which can be used for the to be approved registrations
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341341 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 08:03:02 +00:00
Adam Heath
9651d8a4ac
FIX: Replace BeansWrapper.getDefaultInstance() with
...
FreeMarkerWorker.getDefaultOfbizWrapper(); these were missed in
v1340631.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1341053 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:59 +00:00
Jacques Le Roux
fbf9f8d1a8
A patch from Ankit Jain "Split Into Multiple Shipment Button is not working in Order Manager quick checkout" https://issues.apache.org/jira/browse/OFBIZ-4866
...
Split Into Multiple Shipment Button is not working on quick checkout page
jleroux: part the current known issue with Freemarker and findByAnd(), it works well on both sides (Order Manager and eCommerce)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1340415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 11:13:38 +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
3e364b2048
Adrian suggested to removes all class="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@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +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
Jacopo Cappellato
1820bc4ede
Completed refactoring/cleanup of captcha implementation that now supports screens with more than one captcha in them.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338700 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 13:31:15 +00:00
Adam Heath
c1028c2d0b
DEPRECATION: specialpurpose/ecommerce: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:02:45 +00:00
Adam Heath
e75bc67b63
FORMATTING: Add some missing final newlines.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1338370 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 19:52:26 +00:00
Adam Heath
758c236614
DEPRECATION: specialpurpose/ecommerce: findByPrimaryKey variants
...
replaced with findOne
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337677 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:21:05 +00:00
Adam Heath
162905e200
FORMATTING: Add some missing final newlines to tons of files.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337320 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:03:08 +00:00
Jacopo Cappellato
afc03d450a
Completed migration to new captcha event implemented by Scott; removed old artifacts; removed tempfiles webapp that was causing the error reported in OFBIZ-4856
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337202 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 15:10:45 +00:00
Scott Gray
b0f4341784
Changed the Anon Contact Us in ecommerce to use the improved captcha event. Also removed some bad code that would allow a user to impersonate another user and discover their name simply by entering that person's email address in the form.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337059 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:21 +00:00
Scott Gray
c158c8668d
Copied the captcha image generator into a single event that streams the image to the response for a direct request rather than trying to store it during screen rendering to be served up later.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1337057 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 08:23:02 +00:00
Jacques Le Roux
74b637f170
A patch from Ankit Jain "Fixes js issue due to bad demo data" https://issues.apache.org/jira/browse/OFBIZ-4566
...
On the edit contact mech page (https://localhost:8443/ecommerce/control/editcontactmech?contactMechId=10001 ) coming from profile page, there was one js error (in console)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335351 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:29:08 +00:00
Jacques Le Roux
247059db00
A patch from Ankit Jain "Continue shopping does not work" https://issues.apache.org/jira/browse/OFBIZ-4834
...
After submitting an order using quick checkout, when you want to add products from main page (using Continue shopping or not), at the 1st product you add you get directly to quick checkout and would have to get back to the main page to add another product
This was happening because we had used save-current-view="true" for "quickCheckout" request and in the addItem request we are using view-last that's why it was redirecting to quickCheckout after adding item.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335347 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 06:07:51 +00:00
Jacopo Cappellato
df4239dac6
First pass in fixing the buggy code for captcha support; this is a first pass (the next one will probably be to save the image in the session rather than in the file system); the main problems fixed are related to concurrent access: the class was not thread safe and this, especially in servers with high traffic, could cause a series of issues like:
...
* captcha images created and then lost
* captcha images created in the wrong location (for example out of the OFBiz folder)
* the folder runtime/tempfiles/captcha could be locked
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1335047 13f79535-47bb-0310-9956-ffa450edef68
2012-05-07 14:46:07 +00:00
Adam Heath
69dd7bc385
FIX: Properly fix 1327736, which was reverted in 1327866. I have no
...
idea where those bad digest password values came from. Really, I have
no clue. Everything worked in testing. I'm very confused. I have
verified that I can log in now with the demo accounts. Sorry about the
breakage.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1334173 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 20:42:57 +00:00
Jacques Le Roux
ef7382315d
A patch from Tom Burns for "eCommerce Create New Customer Improvement" https://issues.apache.org/jira/browse/OFBIZ-4831
...
1. Add support for dependent Country / State drop down to newcustomer.ftl
This change makes the behavior of the Country / State drop downs in newcustomer.ftl consistent with the Profile > Contact Information > Postal Address > "Create New" and "Update" behavior.
2. When an eCommerce user, who is not Logged In, clicks "Register" the newcustomer.ftl from opens with a "Go Back" button.
This button navigates to a Login form that prompts the user for a user name and password.
This makes no sense in the context.
A better design is to have a Cancel button. When the user clicks Cancel the application returns to the Main display for the current session.
jleroux:
1. I wondered about returning to main page when coming from login screen and asking to create a new user. But it makes sense as well and is better when coming directly from main page. Anyway this is purely cosmetic
2. We don't need to get back to this screen (new profile) so no needs to use from-field="selectedStateName" in
<set field="selectedDependentOption" from-field="selectedStateName" default-value="_none_"/>
It makes things clearer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1331842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:53:54 +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