Commit Graph

168 Commits (c4e18fbcaab2413d153ec79356930bf667839b4f)

Author SHA1 Message Date
Kitty Barnett 0d968af026 [FIXED] CATZ-311: @stopim doesn't end the IM session when @startim restricted
-> The local notification now logs to nearby chat
  -> Send the close response even if there is currently no IM session open
2017-11-05 00:03:42 +01:00
Kitty Barnett d08515b967 [FIXED] CATZ-350: Can't force ground sit while avatar is moving 2017-11-04 23:03:59 +01:00
Kitty Barnett eb43f227bc Merged cleanly with RLVa tip 2016-12-03 20:34:36 +01:00
Kitty Barnett 4503a28aee Merged with RLVa fixes 2016-12-03 17:13:17 +01:00
Kitty Barnett 036390f5bd @sit[:<null-uuid>]=force will ground-sit the avatar (if permitted)
--HG--
branch : RLVa
2016-11-27 18:07:30 +01:00
Kitty Barnett c07bfee1f2 Added the @list and @stopim IM queries
--HG--
branch : RLVa
2016-11-20 21:03:32 +01:00
Kitty Barnett d8a64bfa86 RLVa can now be toggled on/off at the login screen without requiring a viewer restart
--HG--
branch : RLVa
2016-11-20 12:44:36 +01:00
Kitty Barnett 7dac084924 Refactoring carousel: prefer RlvActions over RlvHandler wherever possible
-> RlvHandler should only deal with the actual RLV API syntax
  -> RlvActions should handle all interpretation of the stored behaviour
  => the end result will make it significantly easier to finally switch over to a new syntax with the option of remaining compatible

--HG--
branch : RLVa
2016-11-20 00:46:12 +01:00
Kitty Barnett cdf30118c5 Merged with RLVa bugfixes
--HG--
branch : RLVa
2016-11-12 17:46:10 +01:00
Kitty Barnett 5266981c86 @setgroup:<string>=force will now do a "starts with" rather than an exact match
-> see FIRE-20266 - problem when group name contains a comma (or colon?)
  -> an exact match has precedence over a partial match; in case of multiple partial matches the last match wins (group ordering isn't guaranteed so essentially 'random')
  -> @setgroup:<uuid>=force is still preferred

--HG--
branch : RLVa
2016-11-12 13:45:02 +01:00
Kitty Barnett a1808b0c5f [FIXED] Path separator ('/') cannot be used in shared folder names and shouldn't be returned by @getinv and @findfolder(s)
--HG--
branch : RLVa
2016-11-12 11:39:09 +01:00
Kitty Barnett e5beb88409 [FIXED] CATZ-251: Build button doesn't actually bring up the build floater
--HG--
branch : RLVa
2016-11-06 16:55:30 +01:00
Ansariel 359a93f125 Fix some comments
--HG--
branch : RLVa
2016-09-28 10:28:32 +02:00
Ansariel 165393d761 RLVa: Fix some comments 2016-09-28 10:28:32 +02:00
Ansariel 6a858d9d2a FIRE-20142 - RLVa: BehaviourCallback and BehaviourToggleCallback are not fired properly anymore if RLV command is handled by a command processor 2016-09-28 10:25:16 +02:00
Ansariel e5768d0a4d RLVa: Fix toggle-loop when trying to join a new group under @setgroup=n restriction
Firestorm fires a custom "update grouptitle list" event which will also cause
RlvHandler::handleEvent() being invoked even though we only registered for the
"new group" event, screwing up the logic there. So make sure we really only
handle the event we expect here.
2016-09-27 16:07:51 +02:00
Kitty Barnett 303fbdb6bb [FIXED] Behaviour callbacks no longer fire
-> thankies Ansariel - they're not used as-is in RLVa (or Catznip) but Firestorm hooks into them for various UI enabling/disabling hooks

--HG--
branch : RLVa
2016-11-06 17:10:18 +01:00
Kitty Barnett 3774b2eda6 Merged with RLVa-Maintenance tip
--HG--
branch : RLVa
2016-07-12 23:14:23 +02:00
Ansariel f8be60e9d3 Implement RLVa @shownearby command for Firestorm-specific nearby voice list 2016-07-19 12:48:14 +02:00
Ansariel 978447cb12 Implement RLVa @shownearby command for Firestorm radar; still to do: Firestorm-specific nearby voice list 2016-07-19 10:33:06 +02:00
Ansariel 402af82077 Adjust RLVa @shownames command handling for Firestorm radar 2016-07-19 10:32:10 +02:00
Kitty Barnett e33720e5c6 Merged with firestorm-lgpl tip 2016-07-18 18:22:48 +02:00
Kitty Barnett 093592871b Merged with RLVa tip 2016-07-16 20:12:34 +02:00
Ansariel 226c2d6d36 Translation fix 2016-07-12 09:08:20 +02:00
Nicky b99bbb72e6 Make GCC happy. 2016-07-12 00:41:18 +02:00
Kitty Barnett 05d22f77ae Merged with RLVa tip 2016-07-11 22:44:01 +02:00
Kitty Barnett 822845e78f [FIXED] Changes to camera FOV persist across relogs and don't reset/restore upon release
--HG--
branch : RLVa
2016-07-11 02:07:44 +02:00
Kitty Barnett fda5eb9ccc Code cleanup: better handling of group joins when @setgroup restricted
-> bundle all permission checks in a predictable single function (see RlvActions::canChangeActiveGroup)
  -> properly handle the case where a user is ejected from a group
  -> provide feedback to the user after we force the previous group back when joining a new group

--HG--
branch : RLVa
2016-07-09 22:08:23 +02:00
Kitty Barnett 21b6dd58ac Compatibility mode allows reporting a different (lower) version number to specific items
-> TPVs implementing dynamic viewer data should call RlvSettings::initCompatibilityMode() with the setting
  -> End-users also have manual control over the list through the "RLVaCompatibilityModeList" debug setting
  -> Format: (;-separated)
       * creator:<uuid>
       * name:<perl-regex>

--HG--
branch : RLVa
2016-07-09 16:24:43 +02:00
Kitty Barnett c3eec8d391 Added @shownearby=n|y
--HG--
branch : RLVa
2016-07-01 20:22:39 +02:00
Kitty Barnett a0842eedee [FIXED] @touchworld[:<uuid>]=n|y applies to other avatar's attachments + @touchattach[:<uuid>]=n|y isn't applied to other avatar's attachments
--HG--
branch : RLVa
2016-07-01 00:00:07 +02:00
Kitty Barnett 43f80a2803 [FIXED] GCC compiler issues (originally by Nicky Dasmijn - thank you)
* Change RlvCommandOptionHelper::parseOption<RlvCommandOptionGeneric>(rlvCmd.getOption()) to RlvCommandOptionHelper::parseOption<RlvCommandOptionGeneric>(rlvCmd.getOption(), rlvCmdOption ) as otherwise a wrong template go picked wich resulted in linker errors.
    => we don't (need to) check the return type in those cases since it can't ever fail to convert so we just end up with less nice looking code
  * Rearrange RlvBehaviourDictionary to be above the classes that need the defintion (RlvBehaviourDictionary::instance call)
  * Change '(".("RLV_FOLDER_FLAG_NOSTRIP")"' to '(".(" RLV_FOLDER_FLAG_NOSTRIP ")"'. The GCC preprecessor does not like it w/o spaces.
  * Add template<> to those specialization that missed it
  * Change template<> template<> to just template<>
    => GCC seems to hate the templated std::enable_if (try boost::enable_if in the future); meanwhile try to #define a solution
    => Nicky changed a function parameter name matching a template parameter name so start differentiating between the two

--HG--
branch : RLVa
2016-06-25 15:17:31 +02:00
Kitty Barnett aaedd151ce Code cleanup: don't store unknown or invalid restrictions/behaviours
--HG--
branch : RLVa
2016-06-25 00:28:40 +02:00
Kitty Barnett e4f327e747 Code cleanup: integrate some of the Firestorm changes/fixes so we don't wipe them out again
--HG--
branch : RLVa
2016-06-24 16:58:17 +02:00
Kitty Barnett 5b827f656f Added (deprecated) compatibility shims and general clean-up
-> Added @getcam_avdistmin=<channel>, @getcam_avdistmax=<channel>, @getcam_fovmin=<channel>, @getcam_fovmax=<channel> and @getcam_textures=<channel>
  -> Added @getcam_avdist=<channel>, @getcam_fov=<channel>
  -> Added @setcam_mode[:<mouselook|thirdperson>]=force

--HG--
branch : RLVa
2016-06-20 22:38:49 +02:00
Kitty Barnett 61dc1e7b84 Merged with RLVa maintenance tip
--HG--
branch : RLVa
2016-06-19 21:30:34 +02:00
Kitty Barnett 94c33e8ee3 Added @setcam_mouselook=n|y to prevent the user from going into mouselook
--HG--
branch : RLVa
2016-06-19 19:34:17 +02:00
Kitty Barnett 70da447db9 Added @setcam_textures[:<uuid>]=n|y
--HG--
branch : RLVa
2016-06-19 00:38:08 +02:00
Kitty Barnett aaa47b6db2 Added (spherical) exclusion ranges to @recvim, @startim and @sendim
-> Examples:
      * @recvim:0,20=n   - user can only receive IMs from people within chat-range (20m)
      * @sendim:256=n    - user can only send IMs to people who are at least a region away (256m)
      * @startim:0,256=n - user can only start IMs to people who are on the same region they are (between 0moh oh and 256m)
  -> Note that you generally can't rely on having location information for avatars beyond the current region (and maybe 1-3 surrounding neighbours) so large values are of limited use
  -> On an isolated region using 4096m as the upper value will guarantee that you can only IM avatars on the same region regardless of elevation but none anywhere else on the grid

--HG--
branch : RLVa
2016-06-12 16:04:01 +02:00
Kitty Barnett 7c89967a1d Added @showself=n|y and @showselfhead=n|y
--HG--
branch : RLVa
2016-06-11 22:47:23 +02:00
Kitty Barnett 4b884caf43 Added @shownames:<uuid> and @shownametags:<uuid> exceptions
-> [FIXED] "Pay" isn't disabled on the avatar context menu when @shownames restricted
  -> [CHANGED] Show a notification when the user can't offer a teleport due to an RLV restriction

--HG--
branch : RLVa
2016-06-11 22:45:42 +02:00
Kitty Barnett 3318ce60c1 Added variable fartouch distance (@fartouch:<dist>=n|y)
--HG--
branch : RLVa
2016-06-04 17:36:59 +02:00
Kitty Barnett 60f93645aa [FIXED] RlvHandler::hasBehaviourExcept() returns FALSE on modifier commands
-> Example: issue @tplocal:50=n
  -> gRlvHandler.hasBehaviour(RLV_BHVR_TPLOCAL) will return true but gRlvHandler.hasBehaviourExcept(RLV_BHVR_TPLOCAL, LLUUID::null) will return FALSE
  => since it's a modifier command it will be reference counted but that fact is lost on manual matching (tplocal=n != tplocal:<option>=n) so we keep track of reference counting in the command

--HG--
branch : RLVa
2016-06-04 14:58:00 +02:00
Kitty Barnett d36c0de9e6 Added variable sittp/tplocal distances (@sittp[:<dist>]=n|y and @tplocal[:<dist>]=n|y)
--HG--
branch : RLVa
2016-06-04 13:50:58 +02:00
Kitty Barnett 197c860366 Merged with RLVa refactoring tip
--HG--
branch : RLVa
2016-06-04 11:19:39 +02:00
Kitty Barnett 2864442dd6 Added @sendchannel_except[:<channel>]=n|y (requested)
--HG--
branch : RLVa
2016-06-02 22:18:59 +02:00
Kitty Barnett c0fa9eda0f Allow @tpto position to be specified as <region-name>/<x>/<y>/<z>
--HG--
branch : RLVa
2016-05-29 23:08:55 +02:00
Kitty Barnett 8b6b3be823 Refactoring carousel: converted @detach / @remattach / @remoutfit / @detachme to RlvForceHandler
-> added @remattach:<uuid>=force (requested)
  -> added @detachthis:<uuid>=force (requested)

--HG--
branch : RLVa
2016-05-29 21:42:34 +02:00
Kitty Barnett 86cb92d899 Added @tpto:<position>;<lookat>=force to specify which direction to face when arriving
--HG--
branch : RLVa
2016-05-29 19:27:54 +02:00
Kitty Barnett 824a22ac09 Refactoring carousel: all command option parsing should run through RlvCommandOptionHelper (WIP)
--HG--
branch : RLVa
2016-05-29 14:39:27 +02:00