Commit Graph

132 Commits (fff9fdf9ba5c1e37c4946219b3ca4bc375376c1d)

Author SHA1 Message Date
Ansariel fff9fdf9ba Merge Firestorm LGPL 2019-03-02 01:40:58 +01:00
Ansariel ee34ea1f4b Merge viewer-bugsplat 2018-10-27 00:50:58 +02:00
Nat Goodspeed 05068186c3 DRTVWR-474: Make login coroutine sync with updater process on failure.
Specifically, introduce an LLEventMailDrop("LoginSync"). When the updater
detects that an update is required, it will post to that rendezvous point.

When login.cgi responds with login failure, make the login coroutine wait (a
few seconds) for that ping from the updater.

If we receive that ping and if it contains a "reply" key, make the fail.login
listener respond to the updater with an indication of whether to proceed with
update.

If both login.cgi and the updater concur that an update is required, produce a
new confirmation message for the user and then (once user responds) tell the
updater to proceed. Otherwise, produce the usual login-failure message and
tell the updater never mind.

Introduce LLCoro::OverrideConsuming to provide temporary save/restore of the
set_consuming() / get_consuming() flag. It's a good idea to set the consuming
flag when retrieving data from an LLEventMailDrop.
2018-10-04 16:35:38 -04:00
Ansariel d2963a5e60 Merge viewer-cougar 2018-07-11 20:48:32 +02:00
Graham Linden 27679824ff Handle grids.xml w/ single entry instead of an array.
Fix crash when no login URIs are found for a given grid
(does not happen after fixing above, but should not crash either).
2018-06-29 00:16:32 +01:00
Ansariel 489fd3c70a Merge viewer-lynx 2018-03-25 14:20:07 +02:00
andreykproductengine 87b6a05ba6 MAINT-8372 Fixed doubled error messages 2018-03-16 19:17:44 +02:00
Ansariel 32cbc9f98b Merge viewer64 2017-11-05 12:46:02 +01:00
Nat Goodspeed eafb0a32e3 DRTVWR-418: Remove redundant assignment per Ansariel Hiller. 2017-10-12 08:25:12 -04:00
Ansariel 50ad772db0 Clean up lllogininstance.cpp 2017-10-11 21:03:31 +02:00
Nat Goodspeed 0c7bc67814 Automated merge with ssh://bitbucket.org/lindenlab/viewer-release 2017-10-11 14:35:49 -04:00
Ansariel e699f0f3b5 Merge fixes 2017-10-11 19:44:24 +02:00
Ansariel 06db7c626f Merge Firestorm LGPL 2017-10-11 17:58:16 +02:00
Ansariel 547df251e4 Merge viewer64 2017-10-02 17:57:56 +02:00
Oz Linden 545b03da71 MAINT-7827: suppress doubled notices on various login problems 2017-09-22 15:33:33 -04:00
Oz Linden f938ee99d1 additional logging to help with MAINT 7807 2017-09-15 12:03:05 -04:00
Ansariel 24e172de40 Merge viewer64 2017-09-06 23:58:13 +02:00
Ansariel 4b250fa523 Report correct address size at login (is going to go when switching to updated build environment) 2017-08-30 20:06:55 +02:00
Ansariel 7c97b96d5d Merge viewer-neko 2017-08-30 20:00:53 +02:00
AndreyL ProductEngine 5bcdbd976d Merged in oz_linden/viewer-maint-7594 2017-08-27 22:33:41 +03:00
Oz Linden b3ceeb6d9c MAINT-7594: add platform name string and address size to login request for crash stats (and add request parameter logging at DEBUG) 2017-08-24 10:37:59 -04:00
Oz Linden bd08855ec5 merge changes for MAINT-7594 2017-08-23 13:27:05 -04:00
Ansariel c47b8c27ba Merge Firestorm LGPL 2017-08-23 17:53:48 +02:00
Oz Linden 6980f5bcc2 MAINT-7594: add platform name string to login request (and add request parameter logging at DEBUG) 2017-08-22 16:38:15 -04:00
Ansariel 13b6febd34 Merge viewer-64 2017-08-16 20:22:58 +02:00
Oz Linden 4cc6d44ef8 fix indenting 2017-08-14 11:55:31 -04:00
Oz Linden 4d71ffb430 MAINT-7640: code review fixes 2017-08-14 11:52:41 -04:00
Oz Linden 612ff7b6b3 MAINT-7640: Notify the user if login is blocked for a required viewer update 2017-08-14 07:15:18 -04:00
Ansariel e6f9a5e2db Merge viewer64 2017-07-27 21:07:14 +02:00
andreykproductengine f2e98838a4 MAINT-7495 Viewer retries too many time apon 504 from login.cgi 2017-07-24 17:06:12 +03:00
andreykproductengine 1a5fa01fb8 MAINT-7495 Viewer retries too many time apon 504 from login.cgi 2017-07-24 17:06:12 +03:00
Nicky 0779ae75bd Merge. 2017-05-18 16:55:17 +02:00
coyot@coyot-sager-PC.hsd1.ca.comcast.net a1194ce6e9 pull from gate 2017-05-05 18:07:00 +01:00
Nat Goodspeed 7a6a2db289 DRTVWR-418: Send address_size with login and viewer stats. 2017-04-21 15:27:10 -04:00
Glenn Glazer 01ee14c0fc SL-323: put back mac addr hash 2016-08-19 12:12:48 -07:00
Glenn Glazer c8c143e774 SL-323: first pass at ripping out old updater 2016-08-18 13:05:30 -07:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
Nat Goodspeed c93648e3d2 Make MandatoryUpdateMachine use LLLoginInstance's LLNotificationsInterface.
LLLoginInstance has a test hook setNotificationsInterface(), used by
lllogininstance_test.cpp to redirect notifications through a dummy
LLNotificationsInterface implementation. Certain of LLLoginInstance's
MandatoryUpdateMachine state classes need to post notifications too; but until
now they directly called LLNotificationsUtil::add(). In the production viewer,
this should (!) be the same as calling through LLLoginInstance::mNotifications
-- but it broke two of the LLLoginInstance unit tests, so they were skipped.
Since MandatoryUpdateMachine's constructor is already passed the invoking
LLLoginInstance&, make it store the reference. Add MandatoryUpdateMachine::
getNotificationsInterface(), which forwards to new LLLoginInstance::
getNotificationsInterface(). Change LLNotificationsUtil::add() calls in
MandatoryUpdateMachine state classes to call through mMachine's
getNotificationInterface() instead.
This allows us to remove #include "llnotificationsutil.h" from
lllogininstance.cpp, also that #include plus stub LLNotificationsUtil::add()
implementation from lllogininstance_test.cpp.
Finally, it allows us to remove the skip() calls from the two unit tests.
2015-01-23 04:09:17 -08:00
callum_linden 1f283b5bbb Update to build on Xcode 6.0: removal on unused variable(s) need more thought from Nat 2014-10-19 15:41:03 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Graham Madarasz 7c72222823 NORSPEC-158 fix issues with loading of bumpmaps on clean install 2013-05-30 17:43:14 -07:00
Graham Madarasz c19200eb00 BUG-2707 add some logging to help narrow down what part of login instance handling is going awry 2013-05-30 17:01:28 -07:00
Oz Linden 3bb708d706 merge up to latest viewer-development for merge to 3.5.2 2013-04-19 14:42:56 -04:00
Oz Linden ce0dbbd8a5 Add reporting of last_exec_duration
(and clean up logic around multiple instances)
2013-04-02 12:57:09 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Tank_Master 718f6fa0ff merge LL 3.6.1 2013-07-10 00:23:23 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00