Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-21 | Validator for deleting statusses is now done with priviledge instead of ↵ | Ilja | |
superuser | |||
2022-06-21 | delete statusses is now privileged by :status_delete | Ilja | |
Instead of superusers, you now need a role with privilige :status_delete to delete other users statusses I also cleaned up some other stuff I saw | |||
2022-06-21 | Add Pleroma.User.privileged?/2 | Ilja | |
This should eventually replace Pleroma.User.superuser?/1 | |||
2022-06-21 | Fix warning during test user_test.exs | Ilja | |
Fixed the warning [warning] Please change `clear_config([section], key: value)` to `clear_config([section, key], value)` | |||
2022-06-21 | Add last priviliges | Ilja | |
I still had three endpoints I didn't really know what to do with them. I added them under separate tags * :instance_delete * :moderation_log_read * :stats_read I also checked and these are the last changes done by MR https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3480/diffs this is trying to fix | |||
2022-06-21 | Add privilige :emoji_management | Ilja | |
2022-06-21 | Add privilige :status_delete | Ilja | |
It also allows to update a message, so it's not just deleting. I need a better name... | |||
2022-06-21 | last off :statuses_read | Ilja | |
From the endpoints left to do, I believe these should be under :statuses_read. These should be the last for that privilege for this MR | |||
2022-06-21 | Mark relevant tests synchronous | Ilja | |
One of the things we do during the tests is change the config. But that's global state and different tests were interfering. E.g. one test would set `clear_config([:instance, :admin_privileges], [:statuses_read])`, but while that runs, another test may do `clear_config([:instance, :admin_privileges], [:user_invite])`. Now the code for the first test checks the setting, and it finds `:user_invite` instead of `:statuses_read`. Now the modules where this happens are marked to run synchronously, so they don't interfere with each other. | |||
2022-06-21 | Add privileges for :user_read | Ilja | |
2022-06-21 | Add privileges for :report_handle | Ilja | |
2022-06-21 | Add privileges for :user_invite | Ilja | |
2022-06-21 | Add privileges for :user_activation | Ilja | |
2022-06-21 | Add privileges for :user_tag | Ilja | |
2022-06-21 | Remove privileged_staff | Ilja | |
Everything that was done through this setting, can now be set by giving the proper privileges to the roles. | |||
2022-06-21 | Add priviledges for :statuses_read | Ilja | |
This was the last in :require_privileged_staff. I'll remove that in the next commit | |||
2022-06-21 | Add priviledges for :user_credentials | Ilja | |
I only moved the ones from the :require_privileged_staff block for now | |||
2022-06-21 | Add privilege :user_deletion | Ilja | |
2022-06-21 | Add new setting and Plug to allow for privilege settings for staff | Ilja | |
2022-06-11 | Show original status at the first of history | Tusooa Zhu | |
2022-06-11 | Send the correct update in streamer | Tusooa Zhu | |
get_create_by_ap_id_with_object() seems to fetch the old object. Why this happens needs further investigation. | |||
2022-06-11 | Expose history and source apis to anon users | Tusooa Zhu | |
2022-06-09 | Fix incorrectly cached content after editing | Tusooa Zhu | |
2022-06-08 | Return the corresponding object id in attachment view | Tusooa Zhu | |
2022-06-08 | Add object id to uploaded attachments | Tusooa Zhu | |
2022-06-05 | Return update notification in mastodon api | Tusooa Zhu | |
2022-06-05 | Create Update notifications | Tusooa Zhu | |
2022-06-04 | Fix CommonAPITest | Tusooa Zhu | |
2022-06-04 | Expose content type of status sources | Tusooa Zhu | |
2022-06-03 | Fix SideEffectsTest | Tusooa Zhu | |
2022-06-03 | Show edited_at in MastodonAPI/show | Tusooa Zhu | |
2022-06-03 | Test that own edits are streamed | Tusooa Zhu | |
2022-06-03 | Stream out edits | Tusooa Zhu | |
2022-06-02 | Fix long report notes giving errors on creation | Tusooa Zhu | |
2022-06-01 | Inject history when object is refetched | Tusooa Zhu | |
2022-06-01 | Strip internal fields in formerRepresentation | Tusooa Zhu | |
2022-05-31 | Implement mastodon api for editing status | Tusooa Zhu | |
2022-05-31 | Add tlsv1.3 to suggestions | Pierre-Louis Bonicoli | |
2022-05-30 | AdminAPI: Allow filtering reports by rule_id | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> | |||
2022-05-30 | Apply, suggestions, use strings for actual Mastodon API compatibility | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> | |||
2022-05-30 | Implement viewing source | Tusooa Zhu | |
2022-05-29 | Implement mastodon api for showing edit history | Tusooa Zhu | |
2022-05-29 | Allow updating polls | Tusooa Zhu | |
2022-05-29 | Record edit history for Note and Question Updates | Tusooa Zhu | |
2022-05-29 | Handle Note and Question Updates | Tusooa Zhu | |
2022-05-29 | Allow Updates by every actor on the same origin | Tusooa Zhu | |
2022-05-18 | StealEmojiPolicy: fix String rejected_shortcodes | Hélène | |
* rejected_shortcodes is defined as a list of strings in the configuration description. As such, database-based configuration was led to handle those settings as strings, and not as the actually expected type, Regex. * This caused each message passing through this MRF, if a rejected shortcode was set and the emoji did not exist already on the instance, to fail federating, as an exception was raised, swiftly caught and mostly silenced. * This commit fixes the issue by introducing new behavior: strings are now handled as perfect matches for an emoji shortcode (meaning that if the emoji-to-be-pulled's shortcode is in the blacklist, it will be rejected), while still supporting Regex types as before. | |||
2022-05-16 | Add tests | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> | |||
2022-05-16 | Allow submitting an array of rule_ids to /api/v1/reports | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> | |||
2022-05-16 | Add RuleTest | marcin mikołajczak | |
Signed-off-by: marcin mikołajczak <git@mkljczk.pl> |