Commit Graph

8692 Commits (20a08ea205dfb46329058ea37659e1b3014aab14)

Author SHA1 Message Date
James Cook 20a08ea205 DEV-49780 Clean up Pay dialog layout 2010-05-07 16:12:14 -07:00
James Cook 7846565776 DEV-49780 Final name tag colors from Epic, looks nice 2010-05-07 15:47:53 -07:00
James Cook 317a27816d DEV-49780 Update name tags when "Show SLIDs" pref disabled 2010-05-07 15:21:27 -07:00
James Cook 5ad8364a68 DEV-49780 Better confirmation/failure messages for setting name
Reviewed with Callum
2010-05-07 15:01:27 -07:00
James Cook 0e9faa3f04 DEV-49780 Avatar picker uses new People API interface
Reviewed with Callum
2010-05-07 15:01:01 -07:00
James Cook 2a2c51f278 DEV-49780 Chat/IM history shows SLID in tooltip
Reviewed with Callum
2010-05-07 15:00:36 -07:00
James Cook e0164b9669 DEV-49780 Remove Display Name from login menu, auto-enables on login
Reviewed with Callum
2010-05-07 15:00:17 -07:00
James Cook 3bfd0c2c15 Rename menu item toggle to "Display Name Demo" 2010-05-07 14:58:02 -07:00
James Cook fa03333d58 DEV-49633 Prefer Retry-After for error handling backoff
Also, we can't parse Expires dates, so use Cache-Control max-age.
Reviewed with Huseby.
2010-05-07 10:41:02 -07:00
James Cook 17e2739a36 WIP Add default name expiration on set response, need headers later 2010-05-06 16:31:39 -07:00
James Cook c0257c7fff DEV-49633 fixed, use Cache-Control max-age for display name expiration
We have no C++ libraries for parsing RFC 1123 dates, so parsing "Expires"
headers is risky.  max-age delta-seconds is easier to parse and equivalent
for this use.  Also added unit tests for max-age parsing.  Pair-programmed
with Huseby.
2010-05-06 16:29:51 -07:00
James Cook 4fca2fe330 WIP Final name tag colors, fonts, show logic 2010-05-05 17:16:26 -07:00
James Cook 5838494c50 DEV-49633 WIP, Display name cache uses "Expires" headers for timeouts 2010-05-04 16:20:02 -07:00
James Cook 831dd9ca40 Partial display name support in money transaction notifications 2010-04-30 17:32:27 -07:00
James Cook ea7d6eab6f Hide "Set Name..." button if region/grid doesn't use display names 2010-04-30 13:28:15 -07:00
James Cook da723c27ca Send Accept-Language header to localize set-display-name error msgs 2010-04-29 17:13:56 -07:00
James Cook 781c76e85c DEV-49489 Display name support in URL-style name widgets, also
Fixed problem where labels like "Mute John Smith" were not being applied
when the name was not in cache.
2010-04-29 12:34:22 -07:00
James Cook 3ba08e7149 DEV-49489 Viewer supports People API set 409 Conflict error 2010-04-29 11:29:35 -07:00
James Cook 1d8efc3701 DEV-49513 Viewer speaks final People API set display name format 2010-04-28 23:11:39 -07:00
James Cook 8fae11ee36 Remove prototype support for badges next to avatar names
Easy to reimplement if we decide we want to do it.
2010-04-28 17:02:50 -07:00
James Cook 0a249b25b9 Login input field allows legacy first+last name > 31 chars
Previously if you had a super-long first name, you couldn't log in!
2010-04-28 17:02:16 -07:00
James Cook 149dd3c11b Allow avatar picker searches for < 3 characters
Basically, allow any non-zero-length search.
Relates to DEV-49464
2010-04-28 14:40:02 -07:00
James Cook 18106568b2 DEV-49489 Fall back to legacy names if display names unavailable
Also made new names system wrap the old one to simplify call sites in the viewer
2010-04-28 11:00:11 -07:00
James Cook 357dc21c11 Profile clears old data out of name field when shown 2010-04-28 10:46:53 -07:00
James Cook 56f5a6909d Menu item to disable display names for testing works again
Start up cache in not-running state on viewer.  Set cache running when
idle() is called.  Explicitly refresh name tags when toggled.
Reviewed with Simon
2010-04-27 13:54:40 -07:00
James Cook 6d239f7cfa Convert profile panel to new avatar name cache 2010-04-27 11:56:13 -07:00
James Cook af5dd4fbfa Strip some debug spam 2010-04-26 14:20:07 -07:00
James Cook e4f2887983 Don't save dummy records (from 503 errors) to disk cache 2010-04-26 14:19:58 -07:00
James Cook 7c913b9116 Fix inspector display name updating to help test server Display Names 2010-04-26 11:26:02 -07:00
James Cook d89de27143 DEV-47529 Viewer turns display names on/off based on region capability
Also refreshes name tags so you can see the state.
Reviewed with Kelly.
2010-04-26 10:51:42 -07:00
James Cook c1ff714797 DEV-47529 Name cache can handle People API 503 service unavailable
It caches a dummy name "???" for a while and retries - soon for 503,
longer delay for other errors.  Reviewed with Simon.
2010-04-23 15:11:33 -07:00
James Cook dd8f16b15b Remove login.cgi method of turning off display names (we now use caps) 2010-04-22 15:52:29 -07:00
James Cook 4b93f3d7b9 Fix typo in name change update code, now updates work 2010-04-22 15:52:14 -07:00
James Cook 98f5fc5ff0 DEV-47529 Turn off display names if no capability from simulator, and
Display name update broadcasts entire new name record to nearby viewers
Display name update directly inserts new name into sim cache
indra.xml has display_names_enabled setting to control cap
Synchronized viewer and server versions of avatar name cache
Reviewed with Ambroff
2010-04-22 14:13:45 -07:00
James Cook 61d79980d8 Starting to implement running switch and 503 error handling 2010-04-22 10:24:17 -07:00
James Cook 71ce49239a Cleaned up debug spam 2010-04-20 17:05:54 -07:00
James Cook 022a598694 Viewer caches avatar display names between sessions
Reviewed with Simon
2010-04-20 17:05:49 -07:00
James Cook 257c3ed2a3 LLDateUtil::ageFromDate() now takes more sensible parameters
This and last reviewed with Kelly
2010-04-20 16:06:25 -07:00
James Cook 6d1e44b033 Avatar picker requests are routed via sim capability 2010-04-20 14:52:09 -07:00
James Cook d373dc8782 Viewer asks login.cgi if the grid supports display names
If not, turns off display names.  Cleaned up name cache reset code.
Alphabetized login auth param requests for easier merges going forward.
2010-04-19 17:09:37 -07:00
James Cook 16aa2a2a0f DEV-49149 Localizable server error message for Display Names
Try to look up a specific translation for the error in the viewer,
but failing that, try to use a message sent by the server.
Reviewed with Simon.
2010-04-19 13:54:50 -07:00
James Cook d38727e47b DEV-47529 Viewer refresh name lookup cap URL on region cross/teleport
Reviewed with Kelly
2010-04-19 11:26:30 -07:00
James Cook fec9338228 Fix line endings 2010-04-16 19:08:35 -07:00
James Cook 69de1f4eb7 Accept expires timestamp as UTC datetime in LLSD 2010-04-16 19:06:17 -07:00
James Cook 4218819951 DEV-47529 Viewer looks up display names via a sim cap
Squire asked me to route display name lookups via a simulator capability
using HTTP GET.  This buys us authentication until the data services team
can implement a public-facing authenticating web service for People API.
2010-04-15 16:22:15 -07:00
James Cook fedfbbb8d8 Remove hack to set display name by talking directly to name service
This means display names will only work on grids with name code deployed
2010-04-15 16:20:29 -07:00
James Cook c70c2631f0 Remove old hack to chat "refreshname" to trigger name tag updates 2010-04-15 16:19:39 -07:00
James Cook 80916b3f95 Fix line endings 2010-04-13 12:05:12 -07:00
James Cook a159751e61 Hide SLID if it matches display name, leave SLIDs on by default otherwise
I don't like this, but Crimp and Hamilton want it to address M's concerns
about impersonation.
2010-04-13 12:03:49 -07:00
James Cook e390e4f2b5 DEV-47529 Display name expiration time sent from web service 2010-04-13 11:54:06 -07:00