summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.cpp
AgeCommit message (Collapse)Author
2014-06-10DD : Clean up marketplace listings folder creation so we create it in only ↵Merov Linden
one place
2014-06-09DD-97 : When clearing the version folder of a record, force activation ↵Merov Linden
(listed) status to false at the same time, avoiding confusing (and eventually wrong) double call to updateSLMListing
2014-06-04DD-84 : Final clean up for this fixMerov Linden
2014-06-03DD-84 : Fix all active listing modification actions. Add specific message ↵Merov Linden
when listing will unlist. Make update skip consistency check when called from internal level (not public API).
2014-06-02DD-92 : WIP : Use the new LLCurl::Responder interface. Marketplace Listings ↵Merov Linden
functional again.
2014-05-30DD-92 : pull merge lindenlab/sunshine-external to get AISv3 workMerov Linden
2014-05-30Pull merge from lindenlab/viewer-releaseMerov Linden
2014-05-29DD-84 : WIP : Get DAMA to display for drag and drop. Note that, because of ↵Merov Linden
current SLM issues, it works on version folders, active or not.
2014-05-13DD-89 : Separate warnings from infos in the SLM API log. Infos are controled ↵Merov Linden
by a setting. Warning are always logged.
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2014-05-12DD-89 : Add a MarketplaceListingsLogging setting to get SLM API logs. DD-22 ↵Merov Linden
: Fixed the delete /listing route
2014-05-12DD-22 : WIP : Implement the GET /listing/:listing route to complete the SLM ↵Merov Linden
API coverage. Will be used only in test.
2014-05-09DD-22 : WIP : Implement deleteSLMListing() to cover the Delete ↵Merov Linden
/listing/:listing_id route. Avoid recursive calls in deleteListing()
2014-05-08DD-22 : WIP : More clean up of marketplace classes, rationalize methods namingMerov Linden
2014-05-08DD-22 : WIP : Cleanep up the class definition, seting methods private and ↵Merov Linden
better isolate calls leading to HTTP requests
2014-05-07DD-22 : WIP : Completed the associate_listing route, take edit_url into ↵Merov Linden
account and rewrite getListingURL()
2014-05-07DD-22 : WIP : Partial implementation of PUT associate_listingMerov Linden
2014-05-06DD-22 : WIP : Implement the modify listing route. Made the code more ↵Merov Linden
readable and cleared old debug code
2014-05-05DD-22 : WIP : Implement putRaw() on LLHTTPClientMerov Linden
2014-05-05DD-22 : WIP : Completed GET and POST listings routes. Refactored the ↵Merov Linden
marketplace data code a bit as a result
2014-05-05DD-22 : WIP : Clean up use of Json::FastWriter, clean up logging function as ↵Merov Linden
well
2014-05-05DD-22 : WIP : Clean up json code and test Json::WriterMerov Linden
2014-05-02DD-22 : WIP : Post listing using json, get listings using json (parsing ↵Merov Linden
commented out though as too risky and ugly)
2014-05-01DD-81 : Fixed the stock folder count update using an inventory observer. ↵Merov Linden
This observe other changes as well of interest to marketplace and should improve consistency in general
2014-04-28DD-22 : WIP : Cleaned up error handling in GET merchantMerov Linden
2014-04-28DD-22 : WIP : Implements getSLMListings(). Does no parsing for the momentMerov Linden
2014-04-28DD-22 : WIP : Fix initialization glitch and got rid of old Merchant Outbox ↵Merov Linden
remnants in Marketplace
2014-04-25DD-22 : WIP : Implemented SLM API GET merchant, use it in initialization but ↵Merov Linden
glitch in UI (needs to reopen the floater to see content)
2014-04-22DD-58 : Forced listing ID to be an integer throughout. Verify we get an ↵Merov Linden
integer when using the associate UI.
2014-04-22MergeXiaohong Bao
2014-04-22mergeBrad Payne (Vir Linden)
2014-04-21DD-21 : WIP : Call DirectDelivery cap, nothing done but print out the url in ↵Merov Linden
the log
2014-04-18DD-58 : Implement associate listing UI and primitiveMerov Linden
2014-04-18DD-11 : Suppress getListingName() method since we actually do not need that ↵Merov Linden
to get a listing URL
2014-04-17DD-70 : Use List/Delist for listing folders and Activate/Deactivate for ↵Merov Linden
version folders. Also create test SLM ID when creating listing.
2014-04-16DD-11 : Implement getListingURL() and parametrize it correctly. Change Show ↵Merov Linden
Listing to Edit Listing.
2014-04-09DD-13 : Clean up Associate/Disassociate listing. Also clarify the update ↵Merov Linden
folder code in marketplace
2014-04-06DD-15 : Allow version folder to be made active/inactive, add new methods to ↵Merov Linden
marketplace to make all that a bit more clear and clean
2014-03-14DD-43, DD-44 : implement update_marketplace_category() and get it called ↵Merov Linden
swhen appropriate
2014-03-10DD-3 : WIP : Add test data to LLMarketplaceData when opening the floater for ↵Merov Linden
the first time
2014-03-07DD-2 : Implement LLMarketplaceTuple and LLMarketplaceDataMerov Linden
2013-11-27ACME-1221 : Do not clear merchant import cookie on 404, happens to newly ↵Merov Linden
minted merchants
2013-11-19ACME-3319 : Consolidate Merchant Outboxes when several are present into one ↵Merov Linden
in the right place
2013-10-14Pull merge from lindenlab/viewer-releaseMerov Linden
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-05-21mergeBrad Payne (Vir Linden)
2013-04-04Renaming HTTP_HEADER_* into HTTP_IN_HEADER_* and HTTP_OUT_HEADER_* to make ↵Don Kjer
it more clear which header strings should be used for incoming vs outgoing situations. Using constants for commonly used llhttpnode context strings.
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-25WENG-618 : Added debug printout for POST and GET when InventoryOutboxLogging ↵Merov Linden
is turned on
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.