Commit Graph

87 Commits (680194deaf7a35caaa629abc16e886d71baff636)

Author SHA1 Message Date
andreykproductengine 9f5fc6efbd MAINT-4241 FIXED [Group Bans] Ban member(s) button is not greyed out for banning group owners. Viewer gives message that you ejected group owner. 2014-07-17 20:30:35 +03:00
andreykproductengine 845b80a386 MAINT-4182 Cleaning up 2014-06-23 13:25:17 +03:00
andreykproductengine a7db93cb69 MAINT-4182 FIXED The group ban list always appears empty 2014-06-19 21:23:14 +03:00
Chris Baker ee14005a2a viewer-release merge 2014-06-16 21:15:41 +00:00
Brad Payne (Vir Linden) 67051b26ba merge 2014-05-19 18:10:45 -04:00
Brad Payne (Vir Linden) 7b9708a2e3 sunshine-external merge WIP 2014-05-13 10:02:26 -04:00
simon 250db74bf9 Pull and merge viewer-release as version 3.7.8 2014-05-07 10:56:41 -07:00
andreykproductengine f0eb544148 MAINT-3386 FIXED [vwr] Banned Agents list does not show newly-banned residents 2014-06-04 18:38:01 +03:00
maksymsproductengine efc9422d1b MAINT-3351 FIXED Misleading failure message when user is successfully removed from a group's Owners role 2014-05-29 03:24:13 +03:00
Brad Payne (Vir Linden) d9e3a2948a merge 2014-03-12 17:24:07 -04:00
Richard Linden 5b846ed2a6 merge with release 2014-03-12 12:48:43 -07:00
simon 52ce788d0c Pull in viewer-lion to lock down next release 2014-02-18 16:41:21 -08:00
Baker Linden d7b902d575 [MAINT-3555] Crash in LLPanel::~LLPanel() on shutdown
- Added clear() after DeletePointer() call to hopfully fix this...
2014-02-14 13:56:36 -08:00
maksymsproductengine 69569df61c MAINT-3351 FIXED Misleading failure message when user is successfully removed from a group's Owners role 2013-12-04 20:28:10 +02:00
Baker Linden 37bfd025ae viewer-release merge (to 3.7.8) 2014-05-08 14:00:55 -07:00
Baker Linden 1ca5dd4076 [GroupBan] [MAINT-3722] - Banning from 'banned agents' tab does not eject them from the group
- Banning a resident from the "Banned Agents" tab should not properly eject them from the group.
- Renamed "Banned Agents" to "Banned Residents".  Updated tool tip as well.
- You should now receive an eject notification when banning an agent from the "Banned Residents" tab.
2014-04-08 16:34:49 -07:00
Baker Linden 6137e120d1 3.7.4. merge 2014-03-11 16:32:23 -07:00
Baker Linden 25d0a3e029 [GroupBan] When adding "Manage Ban List" ability additionally grant requisite abilities
- Viewer side implementation for MAINT-3467 complete
2014-02-06 16:19:03 -08:00
Baker Linden 427a33d610 [GroupBan] Minor fixes / Code review
Reviewer: Richard Linden
- Minor fixes from code review
- Continue stubbing out ban_reason, or implement it (depending on how quickly
I can do it, though stubbing out ban_reason will be sufficient, which it is now)
- Fixed an issue where a ban list string in the actions tab wasn't showing up
properly
2013-10-09 17:03:24 -07:00
Baker Linden 1bd75cce8e Enum typo, whoops! 2013-10-02 13:55:36 -07:00
Baker Linden efd2ecd2e9 Attempting fix for TC build issue. 2013-10-02 13:38:56 -07:00
Baker Linden 34f561db55 - Added ban date to ban list ui
- Code cleanup
2013-09-13 17:20:04 -07:00
Baker Linden bf34eccf9c - Start of code cleanup
- Added refresh button to ban list panel
- Added an additional signal to LLNameListCtrl to indicate when the entire name
cache is complete.
2013-09-09 17:29:33 -07:00
Baker Linden 1299f6d63f - Got all major functionality working
- Changed PUT and DEL to POST which accepts an enum for a create or delete
2013-08-30 16:38:25 -07:00
Baker Linden 4945ae17d3 Initial commit for GroupBan
- Lots of crap isn't working as intended yet.
2013-08-29 11:36:45 -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
Richard Linden 0a96b47663 merge with viewer-release 2013-06-05 19:05:43 -07:00
Brad Payne (Vir Linden) a04a706c1b merge 2013-05-21 16:18:48 -04:00
Richard Linden 6b81b8629e Spring cleaning: removed unused .cpp and.h files, and cleaned up header dependencies 2013-05-05 17:45:35 -07:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer f945415210 Large changes to the LLCurl::Responder API, as well as pulling in some 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.
2013-03-13 06:26:25 +00:00
Don Kjer 54cdc322b8 Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam. 2013-03-05 22:05:22 -08:00
Kelly Washington 5c22524f29 MAINT-1979 Viewer crashes while attempting to join group in the moment of loading group members
* Fix one race condition that could dereference a dangling pointer.
reviewed with Simon and Baker.
2012-12-03 16:37:05 -08:00
Chris Baker a905f7c74e - Fixed an issue where group list wouldn't fall back to UDP if the region doesn't support the new GroupMemberData capabaility
- Fixed a potential null pointer crash.

Thanks to Ansariel from Firestorm for these!

Reviewer: Myself
2012-10-03 21:16:04 +00:00
Baker Linden 5520bebaeb Do the proper fix this time... 2012-09-06 16:00:59 -07:00
Baker Linden c30ecf2ebd Added explicit casting for Linux build, hopefully making it work. 2012-09-06 15:19:05 -07:00
Baker Linden e459024c82 [MAINT-513] Large group management
- Reduced the timeout to 5 minutes, down from 10 minutes.
- Provided output for GroupMemberResponder error
- Removed commented calls to sendGroupMembersRequest
- Reordered calls to sendCapGroupMembersRequest so it's called last
2012-09-05 15:55:34 -07:00
Chris Baker 5dfbc62c1b Cleaned up comments 2012-09-04 10:54:16 -07:00
Chris Baker 7ecf3ce40f - Fixed an issue where service was called twice in a frame
- Changed level of output logs
- Cleaned up comments
2012-08-31 17:53:47 -07:00
Chris Baker 238ac6c0e8 Got viewer displaying new data format 2012-08-28 17:32:01 -07:00
Chris Baker de2ce3f51f Start of getting WSGI service on viewer 2012-08-23 19:40:10 -07:00
Kelly Washington 3a56fbf867 MAINT-1231 Investigate increasing MAX_CACHED_GROUPS in llgroupmgr.cpp
* increased max groups to 20
* changed cache to LRU instead of 'delete half when overfull'
reviewed with Baker
2012-07-03 23:34:56 +00:00
Roxie Linden b88c7166f4 STORM-1355 Memory issues from UI for very large groups
This change is not guaranteed to fix this issue as the issue
is difficult to repro, but there was a sketchy case

group member responses come back from the simulator in message
packets.  For very large numbers of members, there may be a
large number of packets received.  The member data is placed
in a structure of type LLGroupMgrGroupData, based on the group
id.

The problem is, if the user refreshes the group before the entire
contents of the previous request comes back, response packets from
the previous request will be intermingled with the responses from
the refresh.

Both the request call and the response handler would create the
group data structure, if the structure wasn't already there.  There
may be a case where a response from the previous request causes
creation of the group data, populating it with the contents of the
response, and the responses from the second request would use that
group data structure.

Also, cleaned up some comments and variable names to be consistent
2011-07-15 12:53:09 -07:00
Mark Palange (Mani) 9775b80fef Code fixes for VS2010 compatibility 2011-01-21 14:25:33 -08:00
Tofu Linden 68a974e337 Bunch of trivial typo fixes that were bothering me on another branch! 2010-09-13 20:28:17 +01:00
Oz Linden 06b0d72efa Change license from GPL to LGPL (version 2.1) 2010-08-13 07:24:57 -04:00
Vadim Savchuk 8428b4055b EXT-8420 PARTIAL_FIX Localized the "Online" string used as a group member status.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/792/

--HG--
branch : product-engine
2010-07-23 18:11:04 +03:00
Loren Shih 114e5ca083 EXT-5940 : Typedef all vector<LLUUID>'s
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-29 16:33:35 -04:00
Yuri Chebotarev 163077bd98 EXT-6013 Normal [HARD CODED] - Group Invitation, Group Roles: The group roles need to be localized
reviwed https://codereview.productengine.com/secondlife/r/22/

--HG--
branch : product-engine
2010-03-16 15:36:06 +02:00