summaryrefslogtreecommitdiff
path: root/indra/newview/lllogininstance.cpp
AgeCommit message (Collapse)Author
2011-05-11WIP: viewer side of ER-864: Include message ids and args in login.cgi responsesJoshua Bell
* Look for message_id and message_args in XMLRPC response, look up localized string in strings.xml * Support sub-maps in XMLRPC response conversion to LLSD * Explicitly request extended error info during login (since including sub-maps breaks older viewers) * Support LLSD-based substitutions in LLTrans::getString/findString
2011-04-15EXP-679 As a linden executive, I would like to evaluate the success of basic ↵Leyla Farazha
mode against various metrics
2011-01-28Extend LLEventAPI to directly call other functions & methods.Nat Goodspeed
Until now, LLEventAPI has only been able to register functions specifically accepting(const LLSD&). Typically you add a wrapper method to your LLEventAPI subclass, register that, have it extract desired params from the incoming LLSD and then call the actual function of interest. With help from Alain, added new LLEventAPI::add() methods capable of registering functions/methods with arbitrary parameter signatures. The code uses boost::fusion magic to implicitly match incoming LLSD arguments to the function's formal parameter list, bypassing the need for an explicit helper method. New add() methods caused an ambiguity with a previous convenience overload. Removed that overload and fixed the one existing usage. Replaced LLEventDispatcher::get() with try_call() -- it's no longer easy to return a Callable for caller to call directly. But the one known use of that feature simply used it to avoid fatal LL_ERRS on unknown function-name string, hence the try_call() approach actually addresses that case more directly. Added indra/common/lleventdispatcher_test.cpp to exercise new functionality.
2011-01-20merge changes from viewer-betaOz Linden
2011-01-14fix CHOP-366, on temporary errors (e.g. version manager returns other than ↵Andrew A. de Laix
200) show error dialog instructing the user to manually install the latest viewer.
2011-01-13VWR-24401 Show TOS and other login dialogs when --login is usedJoshua Bell
2010-12-21Merge from trunkAndrew A. de Laix
2010-12-10destroy updater state machine if login instance destroyed.Andrew A. de Laix
2010-12-10ui improvements to more closely match UX design.Andrew A. de Laix
2010-12-08merge with viewer-devRichard Linden
2010-12-07show progress bar while downloading update.Andrew A. de Laix
2010-12-07login instance coordinates with updater serviceAndrew A. de Laix
2010-12-02mergeMonroe Linden
2010-12-01CHOP-238 Fix to bug introduced by ↵Mark Palange (Mani)
http://hg.secondlife.com/viewer-beta/changeset/4072bd5389b2 Reviewed by Brad
2010-11-19Automated merge with http://bitbucket.org/lindenlab/viewer-developmentBill Curtis
2010-11-19Automated merge with file:///Users/Bill/Projects/viewer-releaseBill Curtis
2010-11-15mergeRichard Linden
2010-11-08changes to read max-agent-groups from login.cgi responseBill Curtis
2010-11-01VWR-23666 Removed setting VersionChannelName. LLVersionInfo::resetChannel() ↵Mark Palange (Mani)
and unit tests. Reviewed by brad.
2010-10-26EXP-299 FIXED Pass end-user IP and MAC from Gaikai to login.cgiRichard Linden
2010-09-27MergeLeyla Farazha
2010-09-09DEV-53087 FIX TOS does not appear for new usersRichard Linden
reviewed by Callum
2010-09-03Post-convert merge by convert_monolith.py from ↵Aimee Linden
/Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-07-30Merge with dessie/viewer-releaseLeyla Farazha
2010-07-23Fix EXT-8483 second iteration: use old nodeId when available but try new ↵Andrew A. de Laix
machine id when not so reported id stays consistent with prior versions most of the time.
2010-07-22Fix EXT-8483: switch to LLMachineID::getUniqueID which should always work on ↵Andrew A. de Laix
windows (no dependency on Netbios).
2010-07-06Merge from dessie/viewer-releaseLeyla Farazha
2010-06-22Revert to previous implementation of getNodeId.Andrew A. de Laix
2010-05-13merge pull from dessie/viewer-public, picking up SLE codeJames Cook
2010-05-11merge from dessie/viewer-public right before SLE code landedJames Cook
2010-05-04DEV-45807 - worldmap doesn't work against non maingrid serversRoxie Linden
The code used to retrieve the tiles for the world map was hardcoded to retrieve the map tiles via s3. However, non-maingrid servers do not necessarily publish their map tiles to s3. The URL was in the form http://map.secondlife.com.s3.amazonaws.com/map-<level>-<x>-<y>-objects.jpg This change removes the hard coding and places the default s3 URL in the settings.xml file via MapServerURL. Login retrieves the specific grids URL via a map-server-url option. The url is still expected to contain jpegs named like map-<level>-<x>-<y>-objects.jpg CR: Karina Linden
2010-04-19Viewer asks login.cgi if the grid supports display namesJames Cook
If not, turns off display names. Cleaned up name cache reset code. Alphabetized login auth param requests for easier merges going forward.
2010-04-19automated merge with trunkRoxie Linden
2010-04-09Change comment that wasn't updated with the code. No functionality changes.Kent Quirk
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden
2010-03-29Fix initial outfit selection dialog to choose initial outfit based onRoxie Linden
what's passed up from login.cgi instead of just using hardcoded values. If nothing is passed up, it defaults to values in settings.xml
2009-12-21EXT-3550 Fixed messages from login.cgi not being displayed.Mark Palange (Mani)
Handling message from "indeterminate" state - feeding them to the llprogressview. Handling showing error message from incomplete login.
2009-12-17EXT-3536 Bugfix in lllogin.cpp when reading 'indeterminate' repsonse from ↵Mark Palange (Mani)
login.cgi. Also fixed up lllogin unit test to match the bugfix. Reviewed by Brad
2010-03-01Automated merge with a few fixups for code review commentsRoxie Linden
2009-12-07Made viewerclient.py a bit more robust against timing problems on startup.brad kittenbrink
It now successfully retries to connect on windows. reviewed by nat.
2009-11-13Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/Nat Goodspeed
2009-11-12Introduce LLEventDispatcher::begin()/end() to iterate over (name, desc) pairsNat Goodspeed
for all registered operations. (untested) Introduce LLEventDispatcher::getMetadata(name) query so you can discover, for a given named operation, its query string and required parameters. (untested) Introduce LLEventDispatcher::add() convenience methods allowing you to omit description strings. Fix LLLoginInstance (which uses a non-LLEventAPI LLEventDispatcher) back to description-less add() calls. However, filter LLEventDispatcher::add() methods inherited by LLEventAPI so that an LLEventAPI subclass *must* provide a description string.
2009-11-12mergeMark Palange (Mani)
2009-11-11Changes to fix an LLERRS caused by SRV request timeout.Mark Palange (Mani)
Added settings to config SRV request params Increased timeout to 10 seconds Changed timeout to generate login failure event instead of an error. Added unit test to cover SRV failure event.
2009-11-11Add LLEventAPI class, formalizing the mechanism by which we wrap a C++ APINat Goodspeed
with an event API. In addition to the LLEventPump name on which to listen, LLEventAPI accepts a documentation string for event API introspection. Give every LLEventDispatcher::add() overload a new documentation string parameter for event API introspection. Convert every existing event API to new conventions, introducing suitable documentation strings for the API and each of its operations.
2009-10-09DEV-40930: Added ["change"] key to login-module status events. ChangedNat Goodspeed
existing event calls to use state as "offline" or "online", with "change" indicating the reason for this status event. Changed disconnect() to send state "offline", change "disconnect" -- instead of replaying last auth failure. Changed unit tests accordingly. Changed LLLoginInstance::handleLoginEvent() to use LLEventDispatcher to route calls to handleLoginFailure() et al. Added LLEventDispatcher::get() to allow retrieving Callable by name and testing for empty().
2009-09-11QAR-1619: Remove unneeded llfloatertos.h #includes.Nat Goodspeed
Neither lllogininstance.cpp nor lllogininstance_test.cpp need llfloatertos.h any more, since LLLoginInstance talks to LLFloaterTOS only via LLFloaterReg and LLEventPumps. However, both sources depended on llfloatertos.h dragging in llnotifications.h, so include that explicitly instead of llfloatertos.h.
2009-09-01Fixups for eol-style copy pasta...brad kittenbrink