aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/admin_api
AgeCommit message (Collapse)Author
2022-10-14CommonAPI: generate ModerationLog for all admin/moderator deletesHaelwenn (lanodan) Monnier
As a side-effect it also changes the ChatMessage delete ID to an Activity.id rather than MessageReference.id Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2958
2022-09-20Make instance document controller test syncTusooa Zhu
2022-07-03Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop'Haelwenn
Server announcements (1st pass) See merge request pleroma/pleroma!3643
2022-04-05Fix eratic test for POST /api/pleroma/admin/reports/:id/notesIlja
It retrieved two ReportNotes and then checked one of them. But the order isn't guaranteed, while the test tested on the content of the first ReportNote. I made the test on the content more generic
2022-03-18Use utc_datetime in db schemaTusooa Zhu
2022-03-08Add pagination to AdminAPI.AnnouncementController.indexTusooa Zhu
2022-03-08Implement update announcement admin apiTusooa Zhu
2022-03-08Add starts_at, ends_at and all_day parametersTusooa Zhu
2022-03-08Implement first pass of announcement admin apiTusooa Zhu
CCBUG: https://git.pleroma.social/pleroma/pleroma/-/issues/2836 CCBUG: https://git.pleroma.social/pleroma/pleroma/-/issues/1470
2022-02-25Copyright bump for 2022Sean King
2022-02-02Tag erratic testAlex Gleason
2021-12-19Merge branch 'v2-suggestions' into 'develop'Alex Gleason
V2 suggestions See merge request pleroma/pleroma!3547
2021-11-26v2 Suggestions: return `is_suggested` through the APIAlex Gleason
2021-11-26v2 Suggestions: dismiss a suggestionAlex Gleason
2021-11-26AdminAPI: suggest a user through the APIAlex Gleason
2021-11-15Merge branch 'fix-tests' into 'develop'lain
Test fixes See merge request pleroma/pleroma!3532
2021-11-15Merge branch 'instance-deletion' into 'develop'lain
AdminAPI: endpoint to delete all content from a remote instance See merge request pleroma/pleroma!3483
2021-11-14MediaProxyCacheControllerTest: Fix unstable tests.Lain Soykaf
Cachex order isn't stable, so we can not depend on the order in tests. This adds some sorting to make the tests stable.
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-08-28List available frontends also when no static/frontends folder is present yetIlja
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array. * Installing still works since the folder is created during installation already Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3510
2021-08-14List available frontends also when no static/frontends folder is present yetIlja
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array. * Installing still works since the folder is created during installation already
2021-08-04Merge remote-tracking branch 'pleroma/develop' into staff-plugAlex Gleason
2021-07-17Merge remote-tracking branch 'pleroma/develop' into instance-deletionAlex Gleason
2021-07-17AdminAPI.InstanceController: clean up tests, rename actionsAlex Gleason
2021-07-17AdminAPI: add DELETE /instances/:instance to delete all content from a ↵Alex Gleason
remote instance
2021-07-17Create AdminAPI.InstanceControllerAlex Gleason
2021-07-14Merge branch 'admin-api-users-sort' into 'develop'feld
AdminAPI: sort new users at the top Closes #2709 See merge request pleroma/pleroma!3481
2021-07-14Merge remote-tracking branch 'pleroma/develop' into admin-api-users-dateAlex Gleason
2021-07-14AdminAPI: add date to usersAlex Gleason
2021-07-13Merge remote-tracking branch 'pleroma/develop' into admin-api-users-sortAlex Gleason
2021-07-13AdminAPI: sort user results by ID descendingAlex Gleason
2021-07-12Moderators: reorganize :admin_api pipeline in RouterAlex Gleason
2021-06-07Fix test warningsMark Felder
2021-06-01Rename the non-federating Chat feature to ShoutMark Felder
2021-05-31Merge remote-tracking branch 'pleroma/develop' into cycles-base-urlAlex Gleason
2021-05-31Deprecate Pleroma.Web.base_url/0Alex Gleason
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-04-14Revert guards on string_to_elixir_types/1, remove unnecessary assignment in testMark Felder
2021-04-13Initial test validating the AdminAPI issueMark Felder
2021-04-13Fix assignment / assertionMark Felder
2021-04-13Validate custom instance thumbnail set via AdminAPI produces correct URLMark Felder
2021-03-02Add OpenAPI spec for AdminAPI.UserControllerEgor Kislitsyn
2021-02-17Remove `:auth, :enforce_oauth_admin_scope_usage`rinpatch
`admin` scope has been required by default for more than a year now and all apps that use the API seems to request a proper scope by now.
2021-02-04Merge branch 'fix/configdb-error' into 'develop'feld
Improve error message for ConfigDB See merge request pleroma/pleroma!3289
2021-02-03Merge branch 'feature/2438-users-posts-total-count' into 'develop'feld
Feature/2438 users/instances posts total count Closes #2438 See merge request pleroma/pleroma!3270
2021-01-28Improve error message for ConfigDBMark Felder
2021-01-27added totalAlexander Strizhakov
to the instance adminAPI endpoint
2021-01-27added totalAlexander Strizhakov
to the user statuses adminAPI endpoint
2021-01-26Convert tests to all use clear_config instead of Pleroma.Config.putMark Felder
2021-01-18Merge branch 'develop' into refactor/deactivated_user_fieldMark Felder
2021-01-18Merge branch 'develop' into refactor/approval_pending_user_fieldMark Felder