Merge commit '55e7c08a83547424024bac311d5459cb82cf6dae' into glitch-soc/merge-upstream
Conflicts: - `app/models/user_settings.rb`: Upstream added a constraint on a setting textually close to glitch-soc-only settings. Applied upstream's change. - `lib/sanitize_ext/sanitize_config.rb`: Upstream added support for the `translate` attribute on a few elements, where glitch-soc had a different set of allowed elements and attributes. Extended glitch-soc's allowed attributes with `translate` as upstream did. - `spec/validators/status_length_validator_spec.rb`: Upstream refactored to use RSpec's `instance_double` instead of `double`, but glitch-soc had changes to tests due to configurable max toot chars. Applied upstream's changes while keeping tests against configurable max toot chars.
This commit is contained in:
@@ -6,12 +6,4 @@ end
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
||||
|
||||
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
||||
require 'bootsnap' # Speed up boot time by caching expensive operations.
|
||||
|
||||
Bootsnap.setup(
|
||||
cache_dir: File.expand_path('../tmp/cache', __dir__),
|
||||
development_mode: ENV.fetch('RAILS_ENV', 'development') == 'development',
|
||||
load_path_cache: true,
|
||||
compile_cache_iseq: false,
|
||||
compile_cache_yaml: false
|
||||
)
|
||||
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
|
||||
|
@@ -53,3 +53,7 @@ en:
|
||||
position:
|
||||
elevated: cannot be higher than your current role
|
||||
own_role: cannot be changed with your current role
|
||||
webhook:
|
||||
attributes:
|
||||
events:
|
||||
invalid_permissions: cannot include events you don't have the rights to
|
||||
|
@@ -82,6 +82,7 @@ namespace :api, format: false do
|
||||
resources :conversations, only: [:index, :destroy] do
|
||||
member do
|
||||
post :read
|
||||
post :unread
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user