Commit Graph
2661 Commits
Author SHA1 Message Date
Erwan de Ferrieres 7abfecf00a Reverting 1328522 Merging exampleext in example application which was a bad idea
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328790 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 04:59:49 +00:00
Jacques Le Roux 28abfaefab I need to keep this hidden, in case of debug need in XUI libs
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328728 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 19:37:18 +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 8c7487a2a0 Merging exampleext in example application
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328522 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:55:33 +00:00
Erwan de Ferrieres 52e25d2ed3 Moving example* applications to specialpurpose OFBIZ-4790
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328503 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:11:02 +00:00
Jacques Le Roux d61213727c A patch from Tom Burns for "eCommerce Customer Code Cleanup" https://issues.apache.org/jira/browse/OFBIZ-4830
1. In OFBIZ-4822 it was decided that request to authview would be removed from the eCommerce customer ftl files because their only purpose was to set URL to https. The set field "donePage" in CustomerScreens.xml editperson effects the same result.

2. There are brackets in the password.ftl display for the href:
<a href="<@ofbizUrl>authview/${donePage}</@ofbizUrl>" class="button">[${uiLabelMap.CommonGoBack}]</a>

The brackets are inconsistent with the display for similar elements in the applications


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1328205 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 06:12:25 +00:00
Jacopo Cappellato c3d5486642 Reverted rev. 1327736: with it it was impossible to log in with demo accounts.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327866 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 08:43:54 +00:00
Adam Heath 61bfa7a98c FEATURE: Make use of new HashCrypt cryptPassword functionality.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327741 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 23:49:22 +00:00
Adam Heath d58e5e2b08 FIX: Fix a bunch of hashed passwords that had the oldFunnyHex encoding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327736 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 23:48:51 +00:00
Jacques Le Roux 480edabf6f This was missing in r1327269
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 16:16:12 +00:00
Jacopo Cappellato 3f50aa391c This is just a guess but this could fix the issue reported in the user list by Tolu Williams:
While viewing gantt chart in trunk for any project i get the following error

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://projectmgr/widget/ProjectScreens.xml#ganttChart]:
java.lang.IllegalArgumentException: Error running script at location
[component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
javax.script.ScriptException:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
instead (Error running script at location
[component://projectmgr/webapp/projectmgr/WEB-INF/actions/GanttChart.groovy]:
javax.script.ScriptException:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast
object 'null' with class 'null' to class 'double'. Try 'java.lang.Double'
instead)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327275 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:53:03 +00:00
Jacques Le Roux f13b286e70 A patch from Tom Burns for "eCommerce Profile Improve Button Naming Consistency" https://issues.apache.org/jira/browse/OFBIZ-4822
In eCommerce the naming and display of back buttons is inconsistent across the Profile Editing screens.
Example:
Changes Password label should be "Go Back" but is "[Go Back]"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327269 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:12:11 +00:00
Jacques Le Roux b22661f73d A patch from Tom Burns for "eCommerce Profile Back Button Fail" https://issues.apache.org/jira/browse/OFBIZ-4814
. Some navigation buttons reached from the eCommerce Profile screen fail to return to the Profile screen.
Example:
Login as DemoCustomer
Click Profile
Click Update In the "Contact Information" > "Postal Address" section.
Click Go Back
Expected: Return to profile page
Actual: Remain on Edit Contact Information page

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1327260 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 20:03:10 +00:00
Jacques Le Roux 0548492bfa Fixes debug labels forgotten in r1326397
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326933 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 05:25:50 +00:00
Jacques Le Roux 43b05e8a00 Seems that I reverted a correctly work done before, still no impacts anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326500 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:13:56 +00:00
Jacques Le Roux fd95ecf4f3 Ah, forgot to save for r1326397, no functional impact anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326401 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:02:03 +00:00
Christian Geisert 0f3b7512fa added/corrected a few German Labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326399 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:00:07 +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 b82817cf5c Replaces ProductCountry and mostly PartyCountry by CommonCountry and merges all labels in CommonCountry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326270 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 08:24:45 +00:00
Jacques Le Roux 2bea8f4370 A patch from Pierre Smits "Improve help screens in Project Mgr" https://issues.apache.org/jira/browse/OFBIZ-4806
Enhance the usability of the Project Mgr application by providing better help screens

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326142 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 16:42:07 +00:00
Jacques Le Roux a229e6db51 Remove Copyright mention when useless and change to 2012 when needed or automatize if possible
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1309009 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 16:06:29 +00:00
Jacques Le Roux 7dfdd7215c A patch from Pierre Smits "Include meta tag 'generator' in the ecommerce theme" https://issues.apache.org/jira/browse/OFBIZ-4544
Includes the tag <meta name="generator" content="Apache OFBiz - eCommerce"> into the eCommerce theme. 
This will help improve visibility when searching for implemented webshops.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1307848 13f79535-47bb-0310-9956-ffa450edef68
2012-03-31 16:57:36 +00:00
Erwan de Ferrieres 9bb2b2088a A patch from Pierre Smits - Assigning a resource to a task is not reflected in the resource's tasks view - OFBIZ-3638
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1307092 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 20:18:16 +00:00
Erwan de Ferrieres f9fc3d3365 this should not have been committed at rev 1306575, reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1306577 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 20:33:00 +00:00
Erwan de Ferrieres ae24fbc24b Updating Apache POI to the latest stable version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1306575 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 20:26:58 +00:00
Jacques Le Roux cf29618bfd A patch from K Sharad Bhushan "An issue on billing error messages display" https://issues.apache.org/jira/browse/OFBIZ-4736
Billing error messages are displayed in shipping address section, instead of billing address section

Just a element "id" change..

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305053 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:42:51 +00:00
Jacques Le Roux 443d5a5dd2 A patch from Markus M. May "Add Product Reviews to the profile Screen" https://issues.apache.org/jira/browse/OFBIZ-4736
Currently there is no way for a customer to view her/his reviews created in the ecommerce application. This functionality is added with the attached patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305038 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:02:59 +00:00
Erwan de Ferrieres 05993f40ca Change misspelled parameter mainSubmited to mainSubmitted - a patch from Markus M. May
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304713 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 05:42:18 +00:00
Jacques Le Roux 85c8c26c5a A patch from Kiran Gawde "OnePageCheckout doesn't create purchase order for dropShip product" https://issues.apache.org/jira/browse/OFBIZ-4458
Select a item from drop ship supplier.
Perform one page checkout.

Issue: Purchase order for drop ship supplier is not created


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304567 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 19:34:31 +00:00
Jacques Le Roux 4bb721dfe2 A patch from Tri Duc Vo "contribute Ofbiz Vietnamese tranlasting to community from HaNoi" https://issues.apache.org/jira/browse/OFBIZ-4627
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1304237 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 08:56:48 +00:00
Scott Gray 5a1b5c018d Errors from ajax calls weren't being handled properly after the migration to jQuery.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302219 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:21 +00:00
Scott Gray fa9a794cc4 CVE-2012-1621: Escape errors returned from ajax calls in the checkout pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1302218 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 20:31:10 +00:00
Ashish Vijaywargiya 54bb3ef632 On production systems you can't suppress Debug.log( message by the use of debug.properties file. It is always good to use Debug.* statements that are having log level setup in debug.properties file. The real problem comes with Debug.log( statement when you are printing any list or map object that contains so many records(or data) in it. Here I am changing all the occurrence of Debug.log( with Debug.logInfo(, Debug.logError( or Debug.logWarning( so that we can have better control of Debug.* statements on production system. :-)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1300463 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 06:07:52 +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
Jacopo Cappellato 63ee2ab625 Updated all the controller entries for Groovy event to consistently use the same way to define the location for the script file. Now the path and filename are always in the "path" attribute and the "invoke" attribute is reserved for the execution of a method in the file (I am going to add support for this feature in my next commit); if the invoke element is not specified then the whole script is executed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1298904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 16:17:12 +00:00
Scott Gray 27cf3b43dc Demo data bugfix: productTypeId is a required field of Product and records shouldn't be put into the db without supplying a value for it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1297416 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 10:54:36 +00:00
Hans Bakker 2c3efbdb2d reverting 1295029 on request from jacopo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1297007 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 11:16:35 +00:00
Jacques Le Roux 6ed1929086 A patch from Wai "widget <image> tag to use css for resizing" https://issues.apache.org/jira/browse/OFBIZ-4678
Summary: The purpose of this patch is to address the following:
1. Provide a standardized set of image width and height specs for page layout in ofbiz. This gives ofbiz a uniform look throughout as it applies to image display.
2. Preserve the aspect ratio of the image when using these standardized image sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).

Regarding including the real image size, the width/height attributes in <img> specifies the boundary of the image when shown on the page. If you need to specify the real size of the image, the server code would have to perform the determination. Afterwards, you can include the actual dimensions of the image in the title attribute of <img>

Details:
Manually specifying the image width and height does help with preserving the layout of a page regardless of the image size to be shown. The challenge with this method is that the image shown on the page in question may be distorted if the aspect ratio of the image differed from that of the width and height attributes of <img>. This basically forces the person uploading the image to be more vigilant about image aspect ratios.
The purpose is to harmonize on the display size of images with a standardized set of width/height constraints in which an image must fit and preserve the aspect ratio of images.

Currently the source files (eg. ftl, xml) either manually specifies the width or height of a displayed image (ie widget <image> and html <img> tag). The problem with specifying only one constraint is that an image can affect the layout of the page if the user uploads an image where the aspect ratio could be large.

Some ftl and xml files specify both the width and the height. The problem with this is that if the aspect ratio of the image in question does not match that of the width and height of the <img> tag, the image would be displayed distorted.

The solution was to create a standardized set of CSS styles that both configure the displayed image size and preserve the image aspect ratio (eg. thumbnail size, medium size and large size). Of course, the developers can further define or modify the styles to suit their need.

By using CSS, one can change the size of displayed images without having to tamper with the ftl and/or xml files. This helps to reduce potential bugs that come with modifying the ftl and xml files. The existing way of doing things is to go through each ftl or xml file in question and manually modify the width and/or height of the <image> and/or <img> tag.

The question about the "border" around images. If you do not wish to have a border around the image, just remove it from the CSS style. It's that easy No need to change anything else. Ie. configuration to the image is done on the CSS style and not on the <image>, <img> tag.

NB: The current patch does not apply to all displayed images. I have only made appropriate modifications to widget <image> and html <img> tags that have either specified the width and/or height. There are numerous <image> and <img> tags spread all over the project that do not specify dimensions. I would have to modify them as I encountered them when I could see where and how they are displayed on the screen. Note that these images would not be affect by this patch.

jleroux: despite my efforts I was not able to check all screens. But I think it's ok

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296782 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 11:54:13 +00:00
Erwan de Ferrieres e64ce203c5 OFBIZ-4686 - Correction on actualCompletionDate calculation for a task (phase or project) in a project - A patch from Olivier Heintz
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1296209 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 13:59:31 +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
Hans Bakker 7876671992 correct url generation for seo friendly url's
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1295029 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 09:23:36 +00:00
Hans Bakker b0597a399b get default currency from entity and if not available from general.properties
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1294940 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 02:01:29 +00:00
Hans Bakker aad57f0f08 url spelling mistake in project manager causing a wrong url for the systeminfo message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1294101 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 10:51:01 +00:00
Erwan de Ferrieres a1c864425c (typo) Bulk replace planed --> planned
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1294096 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 10:32:13 +00:00
Jacques Le Roux 97da897c16 A patch from Markus M. May "Problem when saving a product to a shopping list" https://issues.apache.org/jira/browse/OFBIZ-4589
Steps to reproduce:

    Go to http://localhost:8080/ecommerce/control/editShoppingList
    Login as flexadmin
    Click "create new"
    Paste "WG-1111" in Quick Add to Shopping List SKU box
    Click "Add to Shopping List"




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293379 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:45:36 +00:00
Jacques Le Roux a93bf68d75 A patch from Uwe Allner "Download link for digital products on order history page contains file name, preventing correct resolve of the request" https://issues.apache.org/jira/browse/OFBIZ-4711
I created a product with product type "Finished/Digital Good", and added product content of type "Digital download", providing a file (i.e. some.pdf).
The download link in the order history of the ecommerce application after purchasing the product is rendered as
"/ecommerce/control/downloadDigitalProduct/some.pdf?dataResourceId=10060".
The file name in this URL prevents resolving the correct service (method), and instead just a "404 Not found" is generated.
The link "/ecommerce/control/downloadDigitalProduct?dataResourceId=10060" works as expected.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1293376 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 18:36:04 +00:00
Hans Bakker 1ca6acc44d remove all component dependent stamements out of commonext and make the systeminfo service more generic and not only serving portlets. Comment by Adrian in the userlist. No conversion program provided because this data is only temporary can can be deleted from a menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1292180 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 08:35:59 +00:00