- Apr 04, 2023
- Mar 20, 2023
-
- Mar 16, 2023
-
-
Eugen Rochko authored
-
Claire authored
-
- Mar 13, 2023
- Feb 08, 2023
-
-
Claire authored
-
Nick Schonning authored
-
Nick Schonning authored
* Apply Rubocop Performance/RedundantSplitRegexpArgument * Update app/controllers/concerns/signature_verification.rb
-
- Feb 02, 2023
-
-
Claire authored
Fixes #23096
-
- Feb 01, 2023
-
-
Eugen Rochko authored
-
- Jan 18, 2023
-
-
Claire authored
* Return specific error on failure to parse Date header * Add error message when preferredUsername is not set * Change error report to be JSON and include more details * Change error report to differentiate unknown account and failed refresh * Add tests
-
Claire authored
* Add confirmation screen on moderation actions * Add flash notice when a report has been processed * Refactor tests * Add tests
-
Claire authored
* Add backend support for editing media attachments of existing posts * Allow editing media attachments of already-posted toots * Add tests
-
Claire authored
* Fix /api/v1/admin/trends/tags using wrong serializer Fix regression from #18641 * Only use `REST::Admin::TagSerializer` when the user can `manage_taxonomies` * Fix admin trending hashtag component to not link if `id` is unknown
-
Claire authored
* Change domain block CSV parsing to be more robust and handle more lists * Add some tests * Improve domain block import validation and reporting
-
- Jan 13, 2023
-
-
Carl Schwan authored
* Allow changing hide_collections setting with the api This is currently only possible with app/controllers/settings/profiles_controller.rb and is the only difference in the allowed parameter between the two controllers * Fix the lint issue * Use normal indent
-
- Jan 10, 2023
-
-
Claire authored
-
- Jan 05, 2023
- Dec 15, 2022
-
-
Claire authored
* Fix changing domain block severity not undoing individual account effects Fixes #22133 * Add tests
-
David Vega authored
Co-authored-by:
petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com> Co-authored-by:
petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com> Co-authored-by:
Effy Elden <effy@effy.space>
-
Claire authored
-
nametoolong authored
Co-authored-by:
Nonexistent <nx@example.org>
-
Effy Elden authored
-
Francis Murillo authored
* Clear sessions on password change * Rename User::clear_sessions to revoke_access for a clearer meaning * Add reset paassword controller test * Use User.find instead of User.find_for_authentication for reset password test * Use redirect and render for better test meaning in reset password Co-authored-by:
Effy Elden <effy@effy.space>
-
- Dec 06, 2022
-
-
Francis Murillo authored
* Log admin approve and reject account * Add unit tests for approve and reject logging
-
Claire authored
Fixes #21965
-
- Dec 01, 2022
-
-
Claire authored
/admin/instances?availability=failing remains wholly unefficient
-
- Nov 21, 2022
-
-
Claire authored
Fixes regression from #20860
-
- Nov 17, 2022
-
-
Claire authored
-
Claire authored
-
lenore gilbert authored
Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) * Allow import/export of instance-level domain blocks/allows (#1754) * Allow import/export of instance-level domain blocks/allows. Fixes #15095 * Pacify circleci * Address simple code review feedback * Add headers to exported CSV * Extract common import/export functionality to AdminExportControllerConcern * Add additional fields to instance-blocked domain export * Address review feedback * Split instance domain block/allow import/export into separate pages/controllers * Address code review feedback * Pacify DeepSource * Work around Paperclip::HasAttachmentFile for Rails 6 * Fix deprecated API warning in export tests * Remove after_commit workaround (cherry picked from commit 94e98864e39c010635e839fea984f2b4893bef1a) * Add confirmation page when importing blocked domains (#1773) * Move glitch-soc-specific strings to glitch-soc-specific locale files * Add confirmation page when importing blocked domains (cherry picked from commit b91196f4b73fff91997b8077619ae25b6d04a59e) * Fix authorization check in domain blocks controller (cherry picked from commit 75279377583c6e2aa04cc8d7380c593979630b38) * Fix error strings for domain blocks and email-domain blocks Corrected issue with non-error message used for Mastodon:NotPermittedError in Domain Blocks Corrected issue Domain Blocks using the Email Domain Blocks message on ActionContoller::ParameterMissing Corrected issue with Email Domain Blocks using the not_permitted string from "custom emojii's" * Ran i18n-tasks normalize to address test failure * Removed unused admin.export_domain_blocks.not_permitted string Removing unused string as indicated by Check i18n * Fix tests (cherry picked from commit 9094c2f52c24e1c00b594e7c11cd00e4a07eb431) * Fix domain block export not exporting blocks with only media rejection (cherry picked from commit 26ff48ee48a5c03a2a4b0bd03fd322529e6bd960) * Fix various issues with domain block import - stop using Paperclip for processing domain allow/block imports - stop leaving temporary files - better error handling - assume CSV files are UTF-8-encoded (cherry picked from commit cad824d8f501b95377e4f0a957e5a00d517a1902) Co-authored-by:
Levi Bard <taktaktaktaktaktaktaktaktaktak@gmail.com> Co-authored-by:
Claire <claire.github-309c@sitedethib.com>
-
Claire authored
Fixes #20770
-
trwnh authored
-
Claire authored
Fixes #20550
-
trwnh authored
* Fix missing pagination headers on followed tags * Fix typo
-
- Nov 16, 2022
-
-
Daniel Axtens authored
Several controlers set quite intricate Cache-Control headers in order to hopefully not be cached by any intermediate proxies or local caches. Unfortunately, these headers are processed by ActionDispatch::HTTP::Cache in a way that squashes and discards any values set alongside no-store other than private: https://github.com/rails/rails/blob/8015c2c2cf5c8718449677570f372ceb01318a32/actionpack/lib/action_dispatch/http/cache.rb#L207-L209 We want to preserve no-store on these responses, but we might as well remove parts that are going to be dropped anyway. As many of the endpoints in these controllers are private to a particular user, we should also add "private", which will be preserved alongside no-store.
-
- Nov 14, 2022
-
-
trwnh authored
* Move V2 Filter methods under /api/v2 prefix * move over the tests too
-