Commit Graph
52 Commits
Author SHA1 Message Date
Adam Heath b273b52dad Finally created a script to find and fix tons of missing final newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@982870 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 04:46:48 +00:00
Jacques Le Roux 9ef845d0ad 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@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Bruno Busco 62771c2c11 A patch from Blas Rodriguez Somoza
OFBIZ-3733 - XHTML validation errors round 2+ (specialpurpose/ebay)
https://issues.apache.org/jira/browse/OFBIZ-3733
productsExportToEbay.ftl
attributes without values

ebayApiKeywordSearch.ftl
attributes without values

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939796 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 19:48:54 +00:00
Bruno Busco 0e624b673b A patch from Blas Rodriguez Somoza
OFBIZ-3680 - XHTML validation errors round 2 (specialpurpose/ebay)
https://issues.apache.org/jira/browse/OFBIZ-3680

XHTML validation errors

    * Unclosed tags
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@934193 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 20:52:00 +00:00
Bruno Busco ad4d96e010 A patch from Blas Rodriguez Somoza
OFBIZ-3613 - XHTML validation errors (specialpurpose_ebay)
https://issues.apache.org/jira/browse/OFBIZ-3613

XHTML validation errors

    * Unclosed INPUT
    * attributes without values (checked, selected, disabled, etc)
    * attribute values without "
    * Uppercase tags or attributes.
    * Unencoded ampersands in urls.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932725 13f79535-47bb-0310-9956-ffa450edef68
2010-04-10 14:09:54 +00:00
Jacques Le Roux c7b353d3e8 Closes "Using Widgets html form templates in FTL files" (https://issues.apache.org/jira/browse/OFBIZ-3541) - OFBIZ-3541
This concerns the lookups which are now rendered the same in ftl files and widget forms

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@931854 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 10:19:38 +00:00
Adam Heath 2eb1768f1d Fix lots of bad xhtml tags, need to have a space before the ending /.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 01:56:41 +00:00
Hans Bakker b08feb3c45 ebaystore update:
- add button to save listing xml data  when export to ebay and we will use this xml data for function auto relist (For function relist we will patch again next week becuase It not finnish yet now.)
- changed shipping options to selectbox
- item themes and descriptions in create listing screen
- add button to verify listing before export.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@923223 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 13:44:53 +00:00
Hans Bakker 00d1c17c03 reverting all changes starting with r900298 in the ebay component, new java api functions have been moved to the new ebaystore special purpose component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@906372 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 05:43:04 +00:00
Hans Bakker 44eb7f6675 move the java api functions from the existing ebay component to the new ebaystore component: no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@905876 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 03:16:07 +00:00
Hans Bakker 264b1a7305 Ebay API inventory functions
- function to reserve product in ofbiz inventory when posted on Ebay
- function  load products and quantity  to ebay store inventory
- Add new EnumerationType call EBAY_INV_RESERVE for reserve product from inventory  
- help screens.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@904006 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 09:13:30 +00:00
Hans Bakker b7262922de Ebay component: add block out of stock function, screen, helpscreen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@903051 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:23:09 +00:00
Hans Bakker bab1c5b36d function leave feedback and screen
- function auto relist item and screen
- Get  feedback data from ebay site and save into ofbiz.
- Add rate pictures into framework/images/webapp/images
- screen for show awaiting feedback and recent feedback from buyer
- help screens are provided

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902716 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 06:26:23 +00:00
Hans Bakker ccabbc1a93 add ebay store maintenance screens:
- function  Add ofbiz categories in ofbiz store to eBay categories also add new items in every categories to eBay categories.
- Add field 'apiServerUrl' to EbayConfig entity   and add ebay sdk lib to ebay component.
- function load data ebay store setting (basic information,theme etc.) from ebaystore
- function create new account for add your ebay account which is already registered on ebay site (using for access to your ebay store)
- Screen for show your ebay profile
- help files for  ebay store functions
using the Ebay api

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900410 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 14:36:16 +00:00
Hans Bakker 565cc8fe82 reverting 900298: wrong version of files, correction will follow, sorry for the inconveniance
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900321 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 09:58:26 +00:00
Hans Bakker 2481af703e add a storemaintenance option to the ebay component using the Ebay Api
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@900298 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 08:22:00 +00:00
Ashish Vijaywargiya ae79de070e Patch from Parimal Gain (Thanks!). Couple of enhancements are done in it.
-- Error or Success message was not displaying for buziness time theme. Fixed this issue.
-- In case low ATP proper error message was not coming for any product while importing order to the system. It was redirecting the blank page with one line message, that was not verbose enough. Improved error message for this.
-- The leaf category id will be provided in category data so that ebay export works fine.(See the numeric value provided in ProductCategory record).

OFBiz jira is not responding at my end since last 2 hours so committing this patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@884869 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:32:01 +00:00
Ashish Vijaywargiya 9c5caa3f17 Applied patch from jira issue OFBIZ-3184 - Improvement in Ebay Configuration.
Implemented following points:
1) Created decorator for Ebay Configuration screens
2) Modified list and add Ebay configuration Form
3) Created Find Form
4) Crated menu and sub menu
5) Created Edit Ebay Configuration Screen
6) Modified Ebay Configuration screen with name FindEbayConfiguration

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835306 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 09:00:36 +00:00
Ashish Vijaywargiya fc45518ad6 Applied patch from jira issue OFBIZ-3149 - Improve Category association in eBay.
Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved:

   1. Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT
   2. Define a worker method in CatalogWorker to derive the top level (root) ebay category
   3. Now in the advance search form, first look for top level ebay category associated to the selected catalog
          * If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself
          * If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it

Thanks Parimal Gain for the contribution.
Special thanks to Mridul Pathak (Zone of Sharp Mind :-)) for discussing implementation plans & providing wonderful notes.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832713 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 12:05:09 +00:00
Ashish Vijaywargiya 31eba1277a Applied patch from jira issue - OFBIZ-3137 - Show the values of form fields updated on change of website for Export to eBay form.
The form fields are not showing updated on change of website. Whenever websiteId changed update form fields by the filled value so that user not need to fill it again.

Thanks Parimal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@832336 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 08:14:20 +00:00
Ashish Vijaywargiya 7c2d11d05a Applied patch from jira issue OFBIZ-3132 - Multiple productStore support to googleBase and eBay.
Changes includes following:
1) Created new search form for eBay and GoogleBase - It was not good to update *advancesearch*.ftl file present inside catalog component. Now it will be easy to maintain separate file for future deployments.
2) Restricted productStoreId and prodCatalogId field to search.
3) Added webSite drop-down on "Export to eBay" and "Export to GoogleBase" page.
4) Select webSite to get the webSiteUrl. 

Thanks Parimal for your contribution - this will surely help the community.
Special thanks to Mridul, Rishi, Chirag, Deepak & Me :-) for discussing requirement and also special thanks to Jacopo for the notes and discussion on requirements.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31 12:01:52 +00:00
Jacopo Cappellato c222d81eaa "hard" wrapping was causing xml validation errors because new lines were added on form submit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822621 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 08:29:20 +00:00
Ashish Vijaywargiya 04b44f2c49 Removed missing UiLabel - instead of that used the existing one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@822597 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 05:53:30 +00:00
Ashish Vijaywargiya 596c742486 Navigated OrderId link to OrderMgr component.
Also removed default values for productStoreId and webSiteUrl.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@818720 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 05:23:54 +00:00
Ashish Vijaywargiya e239469f56 This will allow to fetch eBay configuration values from database first and then from property file if not found.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817206 13f79535-47bb-0310-9956-ffa450edef68
2009-09-21 11:06:28 +00:00
Ashish Vijaywargiya 5a91a1308c Provided option to see the list of orders from eBay first and then CSR can import the required orders in the system.
Thanks a lot Mridul & Rishi for discussing the better way to handle this case.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816148 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 11:31:48 +00:00
Ashish Vijaywargiya 35fe74d6e5 Here comes the GUI support for eBay Configurations (CRUD operation for EbayConfig entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816060 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 05:43:32 +00:00
Ashish Vijaywargiya 2b501534c2 Here comes the GUI support for eBay Shipping Methods (CRUD operation for EbayShippingMethod entity).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815789 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 14:04:31 +00:00
Ashish Vijaywargiya 55acacfc14 Another pass on eBay Order Imports using GetOrders request.
Following things are done in this patch:

-- Moved commonly used methods to EbayHelper.java file.
-- Created two main methods "readGetOrdersResponse" & "createShoppingCart" to read xml data coming from Ebay and then create order in OFBiz respectively.
-- Also provided sample response XML data that is being generated from Ebay.
-- Changed the UI in which first it was searching orders and then from the orders list we were importing orders.
Now we have only one screen available in which search criteria for order is provided & on the basis of that search criteria order gets imported in OFBiz.
-- Previous work for importing Orders(Not exactly order - it was transaction) is working fine OOTB. 

Here are few things that I am thinking to do in this area soon:
-- Improve error handling code - code cleanup.
-- Provide scheduled service UI(or prepare demo data for scheduling job) in which the orders will be imported automatically in the system instead of searching and then importing done by end user. - Thinking the best way to handle it.

Thanks Rishi & Sumit for discussing few things/ issues in b/w the development of this pass.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814560 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:18:43 +00:00
Ashish Vijaywargiya d824f87f4f Initial pass on new call "GetOrders" (More to come in a day or so) - http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetOrders.html. OOTB we have "GetSellersTransactions" call implemented but we have observed something strange in its functionality.
Here are few reason for this implementation:
-- In "GetSellersTransactions" itemId(ProductId in ebay) is provided in the OrderHeader.externalId field which doesn't seems correct.
-- Suppose we have Single Order created in eBay if some one wins the auction and in that order we have 3 order items.
Then "GetSellersTransaction" call creates three orders in OFBiz for all those three items that are associated with Single Ebay order.
In short "GetSellersTransaction" request treat three item as three transactions.
-- "GetOrders" call will return the list of orders on the basis of search criteria and then we will create(Import) the Order in OFBiz from the resultant list of orders.
-- Current implementation for "GetSellersTransactions" will remain as it is in trunk - as we don't know if someone might be using it in their custom projects.

Also did miscellaneous cleanup.
Thanks Jacopo for providing your notes for this implementation & also discussing issues in b/w development - as always your notes were awesome.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813444 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:58:33 +00:00
Ashish Vijaywargiya ceea618353 Cleanup - Moved the screens definition to appropriate location.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@812948 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:25:25 +00:00
Ashish Vijaywargiya 0a7be805af Now added customXml on the User Interface so that user can change the values passed from there.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811652 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 14:19:23 +00:00
Ashish Vijaywargiya 763c933850 Following things are done in this commit.
-- Moved eBay configuration settings to a new entity - EbayConfig. Property file configuration support also exists in current code.
-- Also prepared the demo data for this new entity.
-- For default webSiteUrl prepared demo data in WebSite entity so we can show default value on the form.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811645 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 13:32:12 +00:00
Jacopo Cappellato 094d1b184f A bunch of enhancements and cleanups for the eBay component; added ability to:
* export product images to eBay Action
* export a description based on content (a new product content type has been added for this purpose)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@809539 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 11:24:43 +00:00
Jacopo Cappellato 21d7ea22e0 Enhancements to the way eBay categories are set:
* improved ui to better handle manual selection of the ebay category
* added support for automatic export of category based on the ProductCategory set (for eBay) for the product


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808972 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 17:59:39 +00:00
Jacopo Cappellato 4d6a38a7fb Better default values for export options for eBay auctions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 11:11:23 +00:00
Jacopo Cappellato 242fc07915 Misc fixes to the ebay export features: there are still a lot of hardcoded values but at least now it is possible to publish something. Still a lot to do here.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803518 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 14:01:48 +00:00
Jacopo Cappellato 4020fede41 Small fixes (but the codes will have to be improved) to make it a little easier to test the eBay interface.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@803436 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 10:37:05 +00:00
Jacopo Cappellato 84d0db6341 Added missing security element to request map.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799871 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:33:29 +00:00
Jacopo Cappellato f1ab30832c Fixed wrong field name for the quantity IN parameters for eBay product exports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@798851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:46:05 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Bruno Busco 87958df45c Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Jacques Le Roux 1050dc7ed2 Fix from a Philip W. Dalrymple message on dev. ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@698341 13f79535-47bb-0310-9956-ffa450edef68
2008-09-23 20:32:52 +00:00
Marco Risaliti ac14458aed Same changes to eBay application after that some groovy files has been converted.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684640 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 05:49:47 +00:00
Adam Heath 2617681b51 Remove svn:executable on a bunch of stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684389 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 00:53:43 +00:00
Adrian Crum 75191fa776 Removed deprecated CSS styles from back office applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@676212 13f79535-47bb-0310-9956-ffa450edef68
2008-07-12 18:41:44 +00:00
Jacques Le Roux 11acdcacc2 Labels cleaning an enhancing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@658358 13f79535-47bb-0310-9956-ffa450edef68
2008-05-20 17:44:52 +00:00
Scott Gray 3b9cedb7c9 Fixed a bunch of bugs (mostly typos) that show up while generating the artifact information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653201 13f79535-47bb-0310-9956-ffa450edef68
2008-05-04 11:34:32 +00:00
Marco Risaliti 2b97140df8 Fix a small bug into eBay application on Edit Product during product searching.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@618320 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:37:31 +00:00