705 Commits (th-downstream)

Author SHA1 Message Date
Jamie Hoyle de137e6bb0
Added support for specifying S3 storage classes in environment (#22480)
2 years ago
Claire aeacebb3d7 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko c6ef56fd5e
Change rate limits to 1,500/5m per user, 300/5m per app (#23347)
2 years ago
Claire f3a4d57be1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
luzpaz 596923da4a
Fix typos in source documentation (#21046)
2 years ago
Claire a2e7997592 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire d587a268fd
Add logging for Rails cache timeouts (#21667)
2 years ago
Claire aec61a703f Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 7955d4b959
Add form-action CSP directive (#20781)
2 years ago
trwnh a2931d19ae
Add missing admin scopes (fix #20892) (#20918)
2 years ago
Claire 8c56441b4a
Add form-action CSP directive (#1948)
2 years ago
Claire 1901829f9a Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 43b0b2f3f4
Fix wrong directive `unsafe-wasm-eval` to `wasm-unsafe-eval` (#20729)
2 years ago
prplecake b46b7c3d5e
Use "unsafe-wasm-eval" instead of "unsafe-eval" in script-src CSP (#20606)
2 years ago
Claire 767630be24 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 21fd25a269
Fix rate limiting for paths with formats (#20675)
2 years ago
Claire 32c70d2f09 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Matt Corallo 9d039209cc
Add `Cache-Control` header to openstack-stored files (#20610)
2 years ago
David Hewitt 290d78cea4
Allow unsetting x-amz-acl S3 Permission headers (#20510)
2 years ago
Claire 6a96b17a2d Add “Glitch-only” label to glitch-specific settings
2 years ago
Claire fdfacb0ec0 Revert "Revert "Change "Allow trends without prior review" setting to include statuses (#17977)""
2 years ago
Claire cb19be67d1 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
prplecake aafbc82d88
Add "unsafe-eval" to script-src CSP (#18817)
2 years ago
Eugen Rochko bf0ab3e0fa
Fix vacuum scheduler missing lock, locks never expiring (#19458)
2 years ago
Claire 1e772c984b
Actually fix config/locales-glitch not overriding translation strings (#1872)
2 years ago
Claire f7155becd0
Fix config/locales-glitch not overriding translation strings (#1871)
2 years ago
Claire bfc539cfb4 Revert "Change "Allow trends without prior review" setting to include statuses (#17977)"
2 years ago
Claire 221580a3af Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 0d6b878808
Add user content translations with configurable backends (#19218)
2 years ago
Eugen Rochko 546672e292
Change "Allow trends without prior review" setting to include statuses (#17977)
2 years ago
Claire 2d1d4210f9 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Jeong Arm 861b35dd54
Support "http_hidden_proxy" ENV var for hidden service only proxy (#18427)
2 years ago
Claire cd87d7dcef Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko e7aa2be828
Change how hashtags are normalized (#18795)
2 years ago
Claire 25a46d9e59 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire ae4f068a84
Fix CAS_DISPLAY_NAME, SAML_DISPLAY_NAME and OIDC_DISPLAY_NAME being ignored (#18568)
2 years ago
Claire 7c6fff34d0 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 96129c2f10
Fix confirmation redirect to app without `Location` header (#18523)
2 years ago
Claire 22111914bf Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 679b7158e3
Change search indexing to use batches to minimize resource usage (#18451)
2 years ago
Claire 392ca0472a Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 7b0fe4aef9
Fix opening and closing Redis connections instead of using a pool (#18171)
2 years ago
Claire f23f784f18 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Claire 8284110c55
Fix stoplight not using REDIS_NAMESPACE (#18160)
2 years ago
Eugen Rochko 3917353645
Fix single Redis connection being used across all threads (#18135)
2 years ago
Claire ff73d43b35 Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Eugen Rochko 6e418bf346
Fix cookies secure flag being set when served over Tor (#17992)
2 years ago
Claire d01c5b0b8c Merge branch 'main' into glitch-soc/merge-upstream
2 years ago
Holger 39b489ba4c
fix: `s3_force_single_request` not parsed (#17922)
3 years ago
Claire aaa9ec340b Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Eugen Rochko cefa526c6d
Refactor formatter (#17828)
3 years ago
Claire c79a03b319 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 895212bb2f
Fix PgHero suggesting migrations (#17807)
3 years ago
Yamagishi Kazutoshi eb9a7e3626
Fix LetterOpennerWeb CSP (#17770)
3 years ago
Claire bb9a6fb5c2 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
dependabot[bot] 46ad7fea9d
Bump rack-attack from 6.5.0 to 6.6.0 (#17405)
3 years ago
Claire 24e83246f9 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
chandrn7 a6ed6845c9
Allow login through OpenID Connect (#16221)
3 years ago
Claire 1fbd1fa5c4 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Josh Soref b5329e0035
Spelling (#17705)
3 years ago
Claire 3d25fe0426 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
luzpaz 73f5e4a1d9
Fix various typos (#17621)
3 years ago
Claire 2bd9bcf698 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 8603a07504
Fix error when trying to register (#17600)
3 years ago
Claire dc121b609f Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
zunda f9e7f2e409
Avoid return within block (#17590)
3 years ago
Jeong Arm 1de2e3f980
Throttle IPv6 signup for subnet (#17588)
3 years ago
Claire 61ef81c548 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire cfa583fa71
Remove support for OAUTH_REDIRECT_AT_SIGN_IN (#17287)
3 years ago
Claire b61c3ddff8 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Eugen Rochko 8e84ebf0cb
Remove IP tracking columns from users table (#16409)
3 years ago
Jeong Arm ea61d3acd6
Fix media API limit (#17272)
3 years ago
Claire 09c61e1376 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Eugen Rochko fe71548844
Fix warnings on Rails boot (#16946)
3 years ago
Claire 9b861d56a9 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Takeshi Umeda 06631fdc53
Fix ElasticSearch to Elasticsearch (#17050)
3 years ago
Claire 2b4c7beb73 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Takeshi Umeda 3419d3ec84
Bump chewy from 5.2.0 to 7.2.3 (supports Elasticsearch 7.x) (#16915)
3 years ago
Claire 4bb6b1a1e7 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 6da135a493
Fix reviving revoked sessions and invalidating login (#16943)
3 years ago
Claire e855df149b Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Jeong Arm c8ce728705
Support authentication for ElasticSearch (#16890)
3 years ago
Claire b2eaf5562d Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire b21f3aa21d
Minor memory optimizations (#16507)
3 years ago
Claire 463d23dfd5 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Daniel 2ed1c92c63
New env variable: CAS_SECURITY_ASSUME_EMAIL_IS_VERIFIED (#16655)
3 years ago
Claire d1c87be8cf Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 211d5c3c30
Fix inefficiencies in auto-linking code (#16506)
3 years ago
Claire 10a31a934f Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire b715cede4d
Fix mailer jobs for deleted notifications erroring out (#16294)
3 years ago
Claire f3d96d4ecb Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 97539b6a96
Fix host check on healthcheck path not being disabled (#16270)
3 years ago
Claire 69737b703a Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Jeong Arm f09322f9cc
Disable host check on healthcheck path (#16243)
3 years ago
Claire 87c3a0d0b3 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Takeshi Umeda 9b18914c35
Add a Redis environment variable for sidekiq (#16188)
3 years ago
Claire 50b430d9a2 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Claire 566fc90913
Add Ruby 3.0 support (#16046)
3 years ago
Takeshi Umeda 2360191434
Fix guard against DNS rebinding attacks (#16095)
3 years ago
Takeshi Umeda 8323023464
Add guard against DNS rebinding attacks (#16087)
3 years ago
Claire e2a2bc9021 Merge branch 'main' into glitch-soc/merge-upstream
3 years ago
Eugen Rochko 3b8d085436
Fix app name, website and redirect URIs not having a maximum length (#16042)
3 years ago
Eugen Rochko 3f2533ca8e
Fix autoloading deprecation warnings from Rails 6 (#16010)
3 years ago
Claire c901ae77d4 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 82cce18227
Change health check (#15988)
4 years ago
Claire 9541605024 Fix ActiveRecord monkey-patching migration hack
4 years ago
Claire f60c99a8fb Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Claire cbd0ee1d07
Update Mastodon to Rails 6.1 (#15910)
4 years ago
Claire 3ad6ef72cb Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Claire a4dcaef53b
Prepare Mastodon for zeitwerk autoloader (#15917)
4 years ago
Claire 43eff898a0
Prepare Mastodon for Rails 6 (#15911)
4 years ago
Claire eac4a3e9c8 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko e89e976e92
Fix configuration for sidekiq-unique-jobs after 7.x upgrade (#15908)
4 years ago
Claire d8fdbb054e Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Claire 65db262550
Update twitter-text from 1.14 to 3.1.0 and fix toot character counting (#15382)
4 years ago
Eugen Rochko ee1119208c
Add `POST /api/v1/emails/confirmations` to REST API (#15816)
4 years ago
Claire 679642e26c Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Shlee ab9c2ed98d
Delete pagination.rb (#15754)
4 years ago
Claire 21fb3f3684
Drop dependency on secure_headers, fix response headers (#15712)
4 years ago
Cecylia Bocovich e79f8dd85c
Onion service related changes to HTTPS handling (#15560)
4 years ago
Claire 4d40685850 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Shubhendra Singh Chauhan c8d11b8bdb
Fixed code quality issues (#15541)
4 years ago
Claire b81710c02c Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
luigi eb51e43fb4
Optimize some regex matching (#15528)
4 years ago
Claire 33d30632fb Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
kaiyou f47c177eb7
Support clock drift in Omniauth SAML provider (#15511)
4 years ago
Claire 537afa00f3 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 9915d11c0d
Fix unnecessary queries when batch-removing statuses, 100x faster (#15387)
4 years ago
Claire e4f8679eae Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 1045549f85
Add stoplight for object storage failures, return HTTP 503 (#13043)
4 years ago
Thibaut Girka 48f0f3ffee Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko df1653174b
Add cache buster feature for media files (#15155)
4 years ago
Thibaut Girka 412218af2e Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko acc1c03861
Fix cookies not having a SameSite attribute (#15098)
4 years ago
Thibaut Girka ec49aa8175 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Josh Leeb-du Toit 0c24f4dce2
Add support for Gemini urls (#15013)
4 years ago
Eugen Rochko 5e1364c448
Add IP-based rules (#14963)
4 years ago
tateisu 7919418e4c
add S3_READ_TIMEOUT environment variable (#14952)
4 years ago
Thibaut Girka 8c3c27bf06 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
santiagorodriguez96 e8d41bc2fe
Add WebAuthn as an alternative 2FA method (#14466)
4 years ago
Thibaut Girka e9ad99bc93 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 81a3db1564
Change rate limits for various paths (#14253)
4 years ago
ThibG a783bdf4ad
Fix hashtag column options styling (#14247)
4 years ago
Thibaut Girka 45deca65b3 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 6d23d40420
Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
4 years ago
Eugen Rochko 7aaf2b44ec
Fix remote files not using Content-Type header, streaming (#14184)
4 years ago
Thibaut Girka 9c3b9d5ab9 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 8c04e37b03
Remove the terms blacklist and whitelist from UX (#14149)
4 years ago
Thibaut Girka 59e92004b3 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
mayaeh f56129a947
Suppress Redis#exists(key) warning (#14067)
4 years ago
Thibaut Girka 12c8ac9e14 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 5d8398c8b8
Add E2EE API (#13820)
4 years ago
Thibaut Girka 041c769182 Move glitch-specific ruby-side locales to their own files
4 years ago
Thibaut Girka ef6bfaf12e Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Takeshi Umeda 8e056bd82e
Fix csv upload (#13835)
4 years ago
Takeshi Umeda 1c434615b3
Fix workaround for Elasticsearch 7.x (#13828)
4 years ago
Thibaut Girka 4a70792b4a Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 4b766f9846
Refactor monkey-patching of Goldfinger (#12561)
4 years ago
ThibG 34756cc4e0
Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
4 years ago
ThibG e1629a7758
Remove 'unsafe-inline' from Content-Security-Policy style-src (#13679)
4 years ago
ThibG dea5db0e25
Fix PgHero Content-Security-Policy when CDN_HOST is used (#13595)
4 years ago
Thibaut Girka a22e6a3683 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
mayaeh acc367fd14
Fix naming issue (#13551)
4 years ago
Eugen Rochko c3ca3801f2
Add separate cache directory for non-local uploads (#12821)
4 years ago
Thibaut Girka 81e49ba5c6 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko d18d6c29f3
Fix search not working due to proxy settings when using hidden services (#13488)
4 years ago
Thibaut Girka 8fef96cbf5 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko f65568f1d4
Add ability to filter audit log in admin UI (#13381)
5 years ago
Thibaut Girka f3eff922a3 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 9014367bd8
Fix background jobs not using locks like they are supposed to (#13361)
5 years ago
Eugen Rochko 9241cbf861
Fix re-sending of e-mail confirmation not being rate limited (#13360)
5 years ago
ThibG 7ddbbdea6d
Fix OCR not working on Safari because of unsupported worker-src CSP (#13323)
5 years ago
Thibaut Girka 9abb227250 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
dependabot-preview[bot] 56531d646e
Bump sidekiq from 5.2.7 to 6.0.4 (#11727)
5 years ago
Thibaut Girka c790ecb14d Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 339ce1c4e9
Add specific rate limits for posting and following (#13172)
5 years ago
Thibaut Girka 2edf317efc Fix ActiveRecord::Migration.check_pending! failing because of duplicate migrations
5 years ago
Thibaut Girka ccaefd139d Add environment variable to specify extra data hosts
5 years ago
Thibaut Girka 9adeaf2bfc Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko f52c988e12
Add announcements (#12662)
5 years ago
ThibG a8e46cf7a1 Add support for magnet: URIs (#12905)
5 years ago
Thibaut Girka 980c004f06 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG ea436b355b Add support for linking XMPP URIs in toots (#12709)
5 years ago
Thibaut Girka 01eaeab56d Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 49b2f7c0a2
Fix base64-encoded file uploads not being possible (#12748)
5 years ago
Eugen Rochko 59c697a30c
Fix resource_owner_from_credentials in Doorkeeper initializer (#12743)
5 years ago
Eugen Rochko 09d54d1f62
Fix uncaught query param encoding errors (#12741)
5 years ago
Thibaut Girka be4849c083 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 17159625b3
Add `S3_OVERRIDE_PATH_STYLE` environment variable (#12594)
5 years ago
Eugen Rochko f3d232381d
Add `tootctl media remove-orphans` (#12568)
5 years ago
Thibaut Girka abcba5c198 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
tateisu f1ef777d40 add S3_OPEN_TIMEOUT environment variable (#12459)
5 years ago
Mathieu Brunot bd8dc9bd0c Add an LDAP Mail attribute config (#12053)
5 years ago
Thibaut Girka 99f1f48741 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Mathieu Brunot d70268f099 Convert LDAP username (#12461)
5 years ago
ntl-purism f3a93987b6 LDAP & PAM added to OAuth password grant strategy (#7999) (#12390)
5 years ago
Thibaut Girka e87cc59811 Fix weird edge case in load_schema
5 years ago
Thibaut Girka 1064a9d827 Override Migrator.new instead of Migrator#initialize, it's easier to understand
5 years ago
Thibaut Girka 33c2a7e23c Add documentation about the migration hack
5 years ago
Thibaut Girka 6475525f31 Monkey-patch Rails' migrator to ignore duplicate migrations across Mastodon and glitch-soc
5 years ago