aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Access
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate *_config() functions in core.Harald Eilertsen2024-03-241-1/+3
|
* Zotlabs: More type safety for AccessList class.Harald Eilertsen2023-07-191-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 Eilertsen2023-07-181-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 warningsMario2022-10-121-0/+5
|
* merge branch perms_ng into devMario2021-12-153-21/+97
|
* update stringsMario2021-09-061-2/+2
|
* php8: fix warnings during install procedureMario2021-03-031-1/+1
| | | (cherry picked from commit 48bae9d4219735bc44f4ee72228d19d3e6b9efc9)
* cleanupMario2021-01-181-44/+45
|
* cleanupMario2021-01-181-5/+5
|
* cleanupMario2021-01-181-7/+8
|
* whitespaceMario2021-01-181-2/+1
|
* zap group compatibility - rewrites DMs and wall-to-wall posts to group pages ↵Zot2020-06-171-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 ↵Mario2020-01-261-1/+12
| | | | via zot6
* String change to reflect the current forum tagging methodzotlabs2018-06-281-1/+1
|
* If somebody used hooks to create a new permission role, there was no ↵zotlabs2018-05-141-0/+2
| | | | mechanism to insert the new role into the dropdown list of roles at selection time.
* anonymous comments shouldn't be allowed in StdLimitszotlabs2018-04-201-3/+1
|
* This fix needs to go deeper in the code. PermissionLimits::Get is called in ↵zotlabs2018-04-191-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 ↵zotlabs2018-04-191-2/+2
| | | | documentation surrounding channels. This checkin contains translatable string changes.
* add the social "party" permission rolezotlabs2018-03-201-0/+19
|
* hubzilla issue #972 - provide system toggle to allow/disallow anonymous commentszotlabs2018-02-111-1/+3
|
* :bulb: Add source documentation from recent conversations.Klaus Weidenbach2018-01-052-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 Weidenbach2017-11-101-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 Weidenbach2017-11-032-68/+93
| | | | | Fix some Doxygen parsing errors. Improve hooks documentation.
* allow moderated comments like wordpress if permissions are compatiblezotlabs2017-06-181-1/+1
|
* Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_mergezotlabs2017-05-221-52/+106
|\
| * :construction_worker::white_check_mark: Documentation Permissions.php.Klaus Weidenbach2017-05-171-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_mergezotlabs2017-05-031-30/+98
|\|
| * :white_check_mark::bulb: Add Unit Tests for AccessList class.Klaus Weidenbach2017-05-011-30/+98
| | | | | | | | Also some Doxygen docu for this class.
* | remove some obsolete permissions stuffzotlabs2017-04-021-0/+1
|/
* more permissions optimisationszotlabs2017-02-091-0/+4
|
* more work on permcats and consolidating calls that try to discover connect ↵zotlabs2017-02-091-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 zlibzotlabs2017-02-071-44/+0
|
* more background work for permcat supportzotlabs2017-02-072-5/+17
|
* tested extensible permissions by adding wiki permissions. Discovered a ↵zotlabs2017-02-012-16/+39
| | | | couple of issues that needed attention in the process.
* initial selections for extensible permission categories ("permcats")zotlabs2017-01-241-0/+42
|
* Deleted old versions that have been integrated. Integrated and slightly ↵Andrew Manning2017-01-011-1/+1
| | | | revised Comanche doco.
* trim iv in STD_encapsulatezotlabs2016-12-011-0/+1
|
* versioning for permission additions to ensure we're using the same set of fileszotlabs2016-12-012-0/+9
|
* extensible perms: the really, really hard part - figuring out what to do ↵zotlabs2016-12-012-0/+51
| | | | about people with custom permissions so as to set sane defaults.
* more perms work (a lot more)redmatrix2016-07-181-0/+42
|
* more permissions workredmatrix2016-07-091-16/+16
|
* revise how we store perm_limitsredmatrix2016-07-071-31/+8
|
* more work on permissionsredmatrix2016-07-052-51/+64
|
* start to refactor the permission rolesredmatrix2016-07-042-23/+175
|
* more heavy lifting on xtensible permsredmatrix2016-07-042-4/+4
|
* more heavy lifting on extensible permsredmatrix2016-07-041-0/+14
|
* minorredmatrix2016-07-041-1/+1
|
* make permissionlimits into a classredmatrix2016-07-031-0/+46
|
* added permissionrolesredmatrix2016-06-272-30/+72
|
* initial perms workredmatrix2016-06-091-0/+81
|