Commit Graph

430 Commits (85db3924645ebd20f0259356fa7556a2e8055b36)

Author SHA1 Message Date
Nick Schonning 85db392464
Autofix Rubocop cops for config/ (#24145) 1 year ago
Matt Jankowski 56c0babc0b
Fix rubocop `Layout/ArgumentAlignment` cop (#26060) 1 year ago
Claire 8acc75435b
Change S3 checksum mode to be disabled by default (#27007) 2 years ago
Claire a04ae16201
Fix CSP when using `ONE_CLICK_SSO_LOGIN` (#26901) 2 years ago
CSDUMMI 9a70cac9de
Fix #26849 by adding the domain of the current SSO provider to the form-action CSP (#26857) 2 years ago
Christian Schmidt ea31929776
Fix invalid Content-Type header for WebP images (#26773) 2 years ago
Claire 9e26cd5503
Add `authorized_fetch` server setting in addition to env var (#25798) 2 years ago
Christian Schmidt 286a21afdc
Support webpacker live-reloading on Docker (#26419) 2 years ago
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster (#26528)
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
2 years ago
Claire dd049fc37a
Fix ES_PRESET not being applied to Chewy's internal index (#26489) 2 years ago
Claire f5778caa3a
Add `ES_PRESET` option to customize numbers of shards and replicas (#26483)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire 4bc0dd751c
Add `S3_DISABLE_CHECKSUM_MODE` environment variable for compatibility with some S3-compatible providers (#26435) 2 years ago
Claire 12c43e4ab5
Re-add StatsD support through the `nsa` gem (#26310) 2 years ago
Emelia Smith e258b4cb64
Refactor: replace whitelist_mode mentions with limited_federation_mode (#26252) 2 years ago
Matt Jankowski ad81be6c8e
Update rubocop rules for linelength (#26190) 2 years ago
Matt Jankowski bada7a65aa
Ignore long line in regex initializer (#26182) 2 years ago
Claire e5f1000ad1
Fix CSP headers being unintendedly wide (#26105) 2 years ago
Claire 934c7b33d1
Change default KeyGenerator digest to SHA1 to fix cookies in rolling upgrades (#26023) 2 years ago
Misty De Méo b848ba3867
Paperclip: add support for Azure blob storage (#23607) 2 years ago
Matt Jankowski ce43ed144c
Rails 7.0 update (#25668) 2 years ago
Matt Jankowski 2e1391fdd2
Fix `Naming/MemoizedInstanceVariableName` cop (#25928) 2 years ago
Nick Schonning 1d557305d2
Enable Rubocop Style/FrozenStringLiteralComment (#23793) 2 years ago
Kurtis Rainbolt-Greene e4cfe4b3db
First pass at multi-database for read replica using Rails native adapter (#25693)
Co-authored-by: emilweth <7402764+emilweth@users.noreply.github.com>
2 years ago
Claire dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
2 years ago
Eugen Rochko ba06a2f104
Revert "Rails 7 update" (#25667) 2 years ago
Matt Jankowski 50c2a03695
Rails 7 update (#24241) 2 years ago
Claire f378f10404
Fix compatibility of recent migration with PostgreSQL 10 (#25324) 2 years ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire e428670e61
Fix CSP headers when S3_ALIAS_HOST includes a path component (#25273) 2 years ago
Matt Jankowski e49819142f
Remove unmaintained `nsa` gem (#25265) 2 years ago
Claire 94329f28e1
Change wording of “Content cache retention period” setting to highlight destructive implications (#23261) 2 years ago
Renaud Chaput 942d850b0a
Allow carets in URL search params (#25216) 2 years ago
Nick Schonning c0b9664a31
Autofix Rubocop spacing in config (#25022) 2 years ago
Nick Schonning cee4369cf5
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#25002) 2 years ago
Matt Jankowski d9a958fcf7
Fix Performance/RedundantMerge cop (#24817) 2 years ago
Matt Jankowski d902a707a3
Fix Rails/CompactBlank cop (#24690) 2 years ago
Matt Jankowski 5a2aa06a51
Fix Rails/Present cop (#24688) 2 years ago
Nick Schonning 49fad26eca
Drop EOL Ruby 2.7 (#24237) 2 years ago
Nick Schonning 4687967176
Autofix Rubocop Style/NumericLiterals (#24468) 2 years ago
Claire 5c499f54e3
Change root Chewy strategy to emit a warning instead of erroring out in production mode (#24327) 2 years ago
Nick Schonning 500d6f93be
Autofix Rubocop Style/IdenticalConditionalBranches (#24322) 2 years ago
Eugen Rochko a9b5598c97
Change user settings to be stored in a more optimal way (#23630)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire e084b5b82d
Fix user archive takeout when using OpenStack Swift or S3 providers with no ACL support (#24200) 2 years ago
Claire f432db7b9f
Fix sidekiq jobs not triggering Elasticsearch index updates (#24046) 2 years ago
Jean byroot Boussier 922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations (#23616)
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2 years ago
Jamie Hoyle de137e6bb0
Added support for specifying S3 storage classes in environment (#22480) 2 years ago
Eugen Rochko c6ef56fd5e
Change rate limits to 1,500/5m per user, 300/5m per app (#23347) 2 years ago
luzpaz 596923da4a
Fix typos in source documentation (#21046)
Fixed 2 source comment/documentation typos
2 years ago
Claire d587a268fd
Add logging for Rails cache timeouts (#21667)
* Reduce redis cache store connect timeout from default 20 seconds to 5 seconds

* Log cache store errors
2 years ago
Claire 7955d4b959
Add form-action CSP directive (#20781) 2 years ago