Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate *_config() functions in core. | Harald Eilertsen | 2024-03-24 | 1 | -1/+3 |
| | |||||
* | Zotlabs: More type safety for AccessList class. | Harald Eilertsen | 2023-07-19 | 1 | -11/+11 |
| | | | | | | | | | | | Add more type declarations to class attributes and functions. This should ensure that only strings and null values can be assigned to the various access list members. This is still a bit loose, as we should probably aim for lists of channel or group id's instead of a generic type like a string. I'll leave that for later, though. | ||||
* | Zotlabs: Improve type safety for AccessList class. | Harald Eilertsen | 2023-07-18 | 1 | -3/+37 |
| | | | | | | | | | | | | | Add type annotations for constructor and set* methods, and throw an exception if the passed in arrays are missing required keys. This means that both invalid input types and missing keys will throw and exception rather than just die with a runtime error. There's not checks to verify that the contents of the required array keys are valid or make sense, though. They are just assigned, and returned as is by the get method when requested. Also, the set_from_array method is not well tested at the moment. | ||||
* | fix php warnings | Mario | 2022-10-12 | 1 | -0/+5 |
| | |||||
* | merge branch perms_ng into dev | Mario | 2021-12-15 | 3 | -21/+97 |
| | |||||
* | update strings | Mario | 2021-09-06 | 1 | -2/+2 |
| | |||||
* | php8: fix warnings during install procedure | Mario | 2021-03-03 | 1 | -1/+1 |
| | | | (cherry picked from commit 48bae9d4219735bc44f4ee72228d19d3e6b9efc9) | ||||
* | cleanup | Mario | 2021-01-18 | 1 | -44/+45 |
| | |||||
* | cleanup | Mario | 2021-01-18 | 1 | -5/+5 |
| | |||||
* | cleanup | Mario | 2021-01-18 | 1 | -7/+8 |
| | |||||
* | whitespace | Mario | 2021-01-18 | 1 | -2/+1 |
| | |||||
* | zap group compatibility - rewrites DMs and wall-to-wall posts to group pages ↵ | Zot | 2020-06-17 | 1 | -0/+4 |
| | | | | as new posts authored by the group with an embedded reshare. This currently has known delivery issues due to zot/zot6 xchan confusion which are already slated for resolution in hz5. Specifically "sender is not owner/author" and missing abconfig permissions on the zot6 identity for a channel we're connected with over traditional zot. | ||||
* | port Lib/Connect and Module/Follow from zap. Connect with new connections ↵ | Mario | 2020-01-26 | 1 | -1/+12 |
| | | | | via zot6 | ||||
* | String change to reflect the current forum tagging method | zotlabs | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | If somebody used hooks to create a new permission role, there was no ↵ | zotlabs | 2018-05-14 | 1 | -0/+2 |
| | | | | mechanism to insert the new role into the dropdown list of roles at selection time. | ||||
* | anonymous comments shouldn't be allowed in StdLimits | zotlabs | 2018-04-20 | 1 | -3/+1 |
| | |||||
* | This fix needs to go deeper in the code. PermissionLimits::Get is called in ↵ | zotlabs | 2018-04-19 | 1 | -3/+3 |
| | | | | a lot of places. If we have no stored setting for a particular permission, return 0 - which is basically no permission except to self. | ||||
* | rename social - party to social - federation. Cleanup some of the ↵ | zotlabs | 2018-04-19 | 1 | -2/+2 |
| | | | | documentation surrounding channels. This checkin contains translatable string changes. | ||||
* | add the social "party" permission role | zotlabs | 2018-03-20 | 1 | -0/+19 |
| | |||||
* | hubzilla issue #972 - provide system toggle to allow/disallow anonymous comments | zotlabs | 2018-02-11 | 1 | -1/+3 |
| | |||||
* | :bulb: Add source documentation from recent conversations. | Klaus Weidenbach | 2018-01-05 | 2 | -16/+75 |
| | | | | | | There have been some conversations in the last weeks which explained several parts of the code, so add it to the source code documentation. Also some other small source code documentation improvements. | ||||
* | :ok_hand: Fix a PHP warning in Permissions::FilledPerms(). | Klaus Weidenbach | 2017-11-10 | 1 | -0/+1 |
| | | | | | When NULL is passed as parameter there is a PHP warning when testing against it in the function in_array(). | ||||
* | :bulb: Improving Doxygen documentation. | Klaus Weidenbach | 2017-11-03 | 2 | -68/+93 |
| | | | | | Fix some Doxygen parsing errors. Improve hooks documentation. | ||||
* | allow moderated comments like wordpress if permissions are compatible | zotlabs | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge | zotlabs | 2017-05-22 | 1 | -52/+106 |
|\ | |||||
| * | :construction_worker::white_check_mark: Documentation Permissions.php. | Klaus Weidenbach | 2017-05-17 | 1 | -52/+106 |
| | | | | | | | | | | Also add some phpunit tests for this class, but there are some problems yet with mocking static functions. | ||||
* | | Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge | zotlabs | 2017-05-03 | 1 | -30/+98 |
|\| | |||||
| * | :white_check_mark::bulb: Add Unit Tests for AccessList class. | Klaus Weidenbach | 2017-05-01 | 1 | -30/+98 |
| | | | | | | | | Also some Doxygen docu for this class. | ||||
* | | remove some obsolete permissions stuff | zotlabs | 2017-04-02 | 1 | -0/+1 |
|/ | |||||
* | more permissions optimisations | zotlabs | 2017-02-09 | 1 | -0/+4 |
| | |||||
* | more work on permcats and consolidating calls that try to discover connect ↵ | zotlabs | 2017-02-09 | 1 | -2/+73 |
| | | | | permissions, also create lowlevel store functions for abook and profile - since these currently may have issues with sql strict mode. | ||||
* | move permcat initialisation to zlib | zotlabs | 2017-02-07 | 1 | -44/+0 |
| | |||||
* | more background work for permcat support | zotlabs | 2017-02-07 | 2 | -5/+17 |
| | |||||
* | tested extensible permissions by adding wiki permissions. Discovered a ↵ | zotlabs | 2017-02-01 | 2 | -16/+39 |
| | | | | couple of issues that needed attention in the process. | ||||
* | initial selections for extensible permission categories ("permcats") | zotlabs | 2017-01-24 | 1 | -0/+42 |
| | |||||
* | Deleted old versions that have been integrated. Integrated and slightly ↵ | Andrew Manning | 2017-01-01 | 1 | -1/+1 |
| | | | | revised Comanche doco. | ||||
* | trim iv in STD_encapsulate | zotlabs | 2016-12-01 | 1 | -0/+1 |
| | |||||
* | versioning for permission additions to ensure we're using the same set of files | zotlabs | 2016-12-01 | 2 | -0/+9 |
| | |||||
* | extensible perms: the really, really hard part - figuring out what to do ↵ | zotlabs | 2016-12-01 | 2 | -0/+51 |
| | | | | about people with custom permissions so as to set sane defaults. | ||||
* | more perms work (a lot more) | redmatrix | 2016-07-18 | 1 | -0/+42 |
| | |||||
* | more permissions work | redmatrix | 2016-07-09 | 1 | -16/+16 |
| | |||||
* | revise how we store perm_limits | redmatrix | 2016-07-07 | 1 | -31/+8 |
| | |||||
* | more work on permissions | redmatrix | 2016-07-05 | 2 | -51/+64 |
| | |||||
* | start to refactor the permission roles | redmatrix | 2016-07-04 | 2 | -23/+175 |
| | |||||
* | more heavy lifting on xtensible perms | redmatrix | 2016-07-04 | 2 | -4/+4 |
| | |||||
* | more heavy lifting on extensible perms | redmatrix | 2016-07-04 | 1 | -0/+14 |
| | |||||
* | minor | redmatrix | 2016-07-04 | 1 | -1/+1 |
| | |||||
* | make permissionlimits into a class | redmatrix | 2016-07-03 | 1 | -0/+46 |
| | |||||
* | added permissionroles | redmatrix | 2016-06-27 | 2 | -30/+72 |
| | |||||
* | initial perms work | redmatrix | 2016-06-09 | 1 | -0/+81 |
| |