-
- Downloads
Make file attachment on MediaAttachment optional (#1865)
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true Clean up old media files when creating a new domain block with reject_media set to true Return remote_url in media attachments API if local file is not present Undo domain block action in admin UI Ability to enable reject_media from admin UI
Showing
- app/controllers/admin/domain_blocks_controller.rb 12 additions, 2 deletionsapp/controllers/admin/domain_blocks_controller.rb
- app/controllers/application_controller.rb 3 additions, 1 deletionapp/controllers/application_controller.rb
- app/models/domain_block.rb 2 additions, 0 deletionsapp/models/domain_block.rb
- app/services/block_domain_service.rb 27 additions, 5 deletionsapp/services/block_domain_service.rb
- app/services/process_feed_service.rb 7 additions, 3 deletionsapp/services/process_feed_service.rb
- app/services/suspend_account_service.rb 1 addition, 2 deletionsapp/services/suspend_account_service.rb
- app/services/unblock_domain_service.rb 15 additions, 0 deletionsapp/services/unblock_domain_service.rb
- app/views/admin/domain_blocks/index.html.haml 8 additions, 1 deletionapp/views/admin/domain_blocks/index.html.haml
- app/views/admin/domain_blocks/new.html.haml 3 additions, 0 deletionsapp/views/admin/domain_blocks/new.html.haml
- app/views/admin/domain_blocks/show.html.haml 9 additions, 0 deletionsapp/views/admin/domain_blocks/show.html.haml
- app/views/api/v1/statuses/_media.rabl 2 additions, 2 deletionsapp/views/api/v1/statuses/_media.rabl
- config/locales/en.yml 16 additions, 0 deletionsconfig/locales/en.yml
- config/routes.rb 1 addition, 1 deletionconfig/routes.rb
- spec/views/stream_entries/show.html.haml_spec.rb 0 additions, 1 deletionspec/views/stream_entries/show.html.haml_spec.rb
Loading
Please register or sign in to comment