You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/spec/controllers
lenore gilbert c373148b3d
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 94e98864e3)

* 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 b91196f4b7)

* Fix authorization check in domain blocks controller

(cherry picked from commit 7527937758)

* 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 9094c2f52c)

* Fix domain block export not exporting blocks with only media rejection

(cherry picked from commit 26ff48ee48)

* 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>
3 years ago
..
activitypub Refactor ActivityPub handling to prepare for non-Account actors (#19212) 3 years ago
admin Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 3 years ago
api Move V2 Filter methods under /api/v2 prefix (#20622) 3 years ago
auth Fix suspicious sign-in mails never being sent (#18599) 3 years ago
concerns Refactor ActivityPub handling to prepare for non-Account actors (#19212) 3 years ago
disputes Add customizable user roles (#18641) 3 years ago
oauth Bump doorkeeper from 5.3.3 to 5.4.0 (#13733) 5 years ago
settings Remove setting that disables account deletes (#17683) 3 years ago
well_known Remove Keybase integration (#17045) 4 years ago
about_controller_spec.rb Change about page to be mounted in the web UI (#19345) 3 years ago
accounts_controller_spec.rb Change public accounts pages to mount the web UI (#19319) 3 years ago
application_controller_spec.rb Add customizable user roles (#18641) 3 years ago
authorize_interactions_controller_spec.rb Change public accounts pages to mount the web UI (#19319) 3 years ago
emojis_controller_spec.rb Misc. typos (#8694) 7 years ago
follower_accounts_controller_spec.rb Change public accounts pages to mount the web UI (#19319) 3 years ago
following_accounts_controller_spec.rb Change public accounts pages to mount the web UI (#19319) 3 years ago
home_controller_spec.rb Add logged-out access to the web UI (#18961) 3 years ago
instance_actors_controller_spec.rb Fix instance actor not being dereferenceable (#17457) 3 years ago
intents_controller_spec.rb Add remote interaction dialog for toots (#8202) 7 years ago
invites_controller_spec.rb Add customizable user roles (#18641) 3 years ago
manifests_controller_spec.rb Use raw status code on have_http_status (#7214) 7 years ago
media_controller_spec.rb Fix error when rendering public pages with media attachments (#16763) 4 years ago
media_proxy_controller_spec.rb Fix media attachments enumeration (#14254) 5 years ago
relationships_controller_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 4 years ago
shares_controller_spec.rb Fix blurhash and autoplay not working on public pages (#11585) 6 years ago
statuses_cleanup_controller_spec.rb Add feature to automatically delete old toots (#16529) 4 years ago
statuses_controller_spec.rb Refactor ActivityPub handling to prepare for non-Account actors (#19212) 3 years ago
tags_controller_spec.rb Change public accounts pages to mount the web UI (#19319) 3 years ago