574 Commits (f371464639938a3fd16726bbac5ff97bea732dd4)

Author SHA1 Message Date
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
5 years ago
Eugen Rochko 5d8398c8b8
Add E2EE API (#13820)
5 years ago
Thibaut Girka 041c769182 Move glitch-specific ruby-side locales to their own files
5 years ago
Thibaut Girka ef6bfaf12e Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Takeshi Umeda 8e056bd82e
Fix csv upload (#13835)
5 years ago
Takeshi Umeda 1c434615b3
Fix workaround for Elasticsearch 7.x (#13828)
5 years ago
Thibaut Girka 4a70792b4a Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 4b766f9846
Refactor monkey-patching of Goldfinger (#12561)
5 years ago
ThibG 34756cc4e0
Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
5 years ago
ThibG e1629a7758
Remove 'unsafe-inline' from Content-Security-Policy style-src (#13679)
5 years ago
ThibG dea5db0e25
Fix PgHero Content-Security-Policy when CDN_HOST is used (#13595)
5 years ago
Thibaut Girka a22e6a3683 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
mayaeh acc367fd14
Fix naming issue (#13551)
5 years ago
Eugen Rochko c3ca3801f2
Add separate cache directory for non-local uploads (#12821)
5 years ago
Thibaut Girka 81e49ba5c6 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko d18d6c29f3
Fix search not working due to proxy settings when using hidden services (#13488)
5 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
ThibG dfea7368c9 Add bookmarks (#7107)
5 years ago
Thibaut Girka 61631f4751 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 45eccaf8c5
Fix preloaded JSON-LD context for identity not being used (#12138)
5 years ago
Eugen Rochko 354fdd317e
Fix attachment not being re-downloaded even if file is not stored (#12125)
5 years ago
Eugen Rochko 086fc7ed77
Fix S3 adapter retrying failing uploads with exponential backoff (#12085)
5 years ago
Thibaut Girka a84aedb7a7 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 5c42f47617
Fix records not being indexed sometimes (#12024)
5 years ago
Thibaut Girka 16ff7c5627 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 5f69eb89e2
Add a nodeinfo endpoint (#12002)
5 years ago
Yamagishi Kazutoshi a5c558f052 Hide error message on /heath (#11947)
5 years ago
Yamagishi Kazutoshi b02169f124 Cast multipart threshold to integer (#11944)
5 years ago
Eugen Rochko a1f04c1e34
Fix authentication before 2FA challenge (#11943)
5 years ago
Yamagishi Kazutoshi 172eaeba3f Add config of multipart threshold for S3 (#11924)
5 years ago
Thibaut Girka 5cadb47238 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko c707ef49d9
Fix 2FA challenge and password challenge for non-database users (#11831)
5 years ago
Thibaut Girka 74c5b2bd08 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Yamagishi Kazutoshi 4e1b742cb2 Change rate limit for media proxy (#11814)
5 years ago
Yamagishi Kazutoshi d7268befa8 Add healthcheck endpoint for web (#11770)
5 years ago
Thibaut Girka 5088eb8388 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG 692c5b439a Fix ActivityPub context not being dynamically computed (#11746)
5 years ago
Thibaut Girka 9e17f9e95a Fix connect-src policy for Tesseract
5 years ago
Thibaut Girka 1488be7d96 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG 8203e24cf4 Fix CSP needlessly allowing blob URLs in script-src (#11620)
5 years ago
Eugen Rochko b7f5f0ec10
Fix media host not being included in connect-src for OCR (#11577)
5 years ago
Eugen Rochko 28636f43e4
Add OCR tool to media editing modal (#11566)
5 years ago
Thibaut Girka 24968d20a0 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291)
5 years ago
Thibaut Girka 6ab84c12a7 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 3bc0c4a884
Remove unused StatsD code and expose StatsD as a global variable (#11232)
5 years ago
Thibaut Girka ddd875ad99 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 7696f77245
Add moderation API (#9387)
5 years ago
Thibaut Girka 1b0ff4cd69 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 1db4117030
Change preferences page into appearance, notifications, and other (#10977)
6 years ago
Thibaut Girka 3d73d76e55 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Hinaloe b793722d7d Fix undefined method error (#10868)
6 years ago
mayaeh afb17b7045 Fix undefined method error. (#10867)
6 years ago
ThibG 0e9b8be18a Improve rate limiting (#10860)
6 years ago
Thibaut Girka 33c80e0783 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka 2c2f649200 Fix CSP when PAPERCLIP_ROOT_URL is set to a different host
6 years ago
Thibaut Girka 58720aa2bd Fix CSP when dealing with S3 hosts
6 years ago
dependabot[bot] ecbea2e3c6 Bump rack-attack from 5.4.2 to 6.0.0 (#10599)
6 years ago
Thibaut Girka 7783ec921b Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 8a0d677cde
Fix stoplight logging to stderr separate from Rails logger (#10624)
6 years ago
Thibaut Girka f5f6d23d55 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 0e8819f0e8
Add rate limit for media proxy requests (#10490)
6 years ago
Thibaut Girka 050efbc126 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 11fe293e1b
Remove unused ActivityPub `@context` values depending on response (#10378)
6 years ago
Thibaut Girka edd5441112 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eric 7169928f96 cas_options :validate_url should be :service_validate_url (#10328)
6 years ago
Thibaut Girka 06cc04fd23 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 99fa1ce93d
Add tight rate-limit for API deletions (#10042)
6 years ago
Thibaut Girka bf94a43496 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 016ad37bc8
Fix URL linkifier grabbing full-width spaces and quotations (#9997)
6 years ago
Thibaut Girka 5e0cf92fd1 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 4699cf853c
Add timeouts for S3 (#9842)
6 years ago
Thibaut Girka dbe311f0e9 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Moritz Heiber ecf40d09ed Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819)
6 years ago
Thibaut Girka a2a64ecd3e Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Nolan Lawson f05eb67081 Enable immutable caching for S3 objects (#9722)
6 years ago
Thibaut Girka 571d219bb9 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
6 years ago
Thibaut Girka 3e686beaea Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 240c122767
Skip mailer job retries when a record no longer exists (#9590)
6 years ago
Thibaut Girka 65e994b29b Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Rey Tucker 35b2ba5030 Remove form_action from CSP
6 years ago
ThibG 3f12c07ff5 Use same CORS policy for /@:username and /users/:username (#9485)
6 years ago
Thibaut Girka d32d33f408 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG 84e5ed43e7 Preload common JSON-LD contexts (#9412)
6 years ago
Thibaut Girka 1283e112b9 Tighten CSP a bit
6 years ago
Thibaut Girka 5bb8563f6c Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Ben Lubar 13e049d772 Allow cross-origin requests to /.well-known/* URLs. (#9083)
6 years ago
Thibaut Girka dcded13a99 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko a38a452481
Add unread indicator to conversations (#9009)
6 years ago
ThibG 8ab081ec32 Add manifest_src to CSP, add blob to connect_src (#8967)
6 years ago
Eugen Rochko edc7f895be
Fix CSP headers blocking media and development environment (#8962)
6 years ago
ThibG 2d27c11061 Set Content-Security-Policy rules through RoR's config (#8957)
6 years ago
Thibaut Girka 122ac9cd1d Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Sascha b2a57a5d6f add ffmpeg initializer (#8855)
6 years ago
Thibaut Girka d17844e6d1 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
6 years ago
Thibaut Girka 00fcdebed7 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
aus-social 0a4739c732 lint pass 2 (#8878)
6 years ago
aus-social 1f98eae1cf Lint pass (#8876)
6 years ago
Thibaut Girka c91d9b7389 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Yamagishi Kazutoshi 65f04e6046 Fix that Rails.cache information could not be sent via StatsD (#8831)
6 years ago
Thibaut Girka 91bef4759f Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko f4d549d300
Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
luzpaz 40dd19be37 Misc. typos (#8694)
6 years ago
Thibaut Girka cd99255698 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Sorin Davidoi 6f3d934bc1 feat(cookies): Use the same-site attribute to lax (#8626)
6 years ago
Rey Tucker 40d04a3209 Add manifest_src to CSP
6 years ago
Thibaut Girka c4b3479173 Fix CSP with S3/SWIFT hosts
6 years ago
Thibaut Girka 3fe5029fbe Adjust CSP to fix image resizing
6 years ago
Thibaut Girka 36393e1d2b Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
M Somerville 2bba6e582d Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)
6 years ago
Thibaut Girka 0ddf439999 Only apply CSP in production mode
6 years ago
Thibaut Girka 48db3b3c99 Tighten CSP while allowing CDN hosts
6 years ago
Thibaut Girka e7a72439f1 Move CSP headers to the appropriate Rails configuration
6 years ago
Thibaut Girka 8b4abaa90d Merge branch 'master' into glitch-soc/master
6 years ago
ThibG f06fa09962 Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote (#8339)
6 years ago
Thibaut Girka 280d7b1df8 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Immae b0f4fe456b Add ldap search filter (#8151)
6 years ago
Eugen Rochko fcb527cdd6 Add post-deployment migration system (#8182)
6 years ago
Eugen Rochko 018a9e4e7f
Add post-deployment migration system (#8182)
6 years ago
Thibaut Girka 03afc365d5 Introduce OAuth scopes for bookmarks
6 years ago
Thibaut Girka 6141c2a035 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
abcang 69bf116345 Add secure option to additional cookie (#8069)
6 years ago
Thibaut Girka d392020da6 Merge branch 'master' into glitch-soc/tentative-merge
6 years ago
Eugen Rochko 1f6ed4f86a
Add more granular OAuth scopes (#7929)
6 years ago
MIYAGI Hikaru ddd0bb69e1 Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901)
6 years ago
Thibaut Girka db200226b8 Merge branch 'master' into glitch-soc/merge-upstream
7 years ago
Eugen Rochko 0df91c7b1e
Add dat, dweb, ipfs, ipns, ssb, gopher protocols to URL extractor (#7810)
7 years ago
Eugen Rochko 53f0452b70
Remove rack-timeout (#7809)
7 years ago
Thibaut Girka 659b8a12ec Merge branch 'master' into glitch-soc/merge-upstream
7 years ago
Eugen Rochko d87649db07
Disable AMS logging (#7623)
7 years ago
Jenkins 4c0770d6c8 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
MIYAGI Hikaru 919eef3098 User agent for WebFinger (#7531)
7 years ago
Thibaut Girka 45fce0e496 Merge branch 'master' into glitch-soc/merge
7 years ago
Eugen Rochko b4fb766b23
Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Thibaut Girka 1c9c0167b7 Merge branch 'master' into glitch-soc/master
7 years ago
Hugo Gameiro ea4e243303 Improve OpenStack v3 compatibility (#7392)
7 years ago
David Yip c816701550
Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Akihiko Odaki a7e71bbd08 Add a missing question mark in rack_attack.rb (#7338)
7 years ago
Akihiko Odaki b1d4471e36 Throttle media post (#7337)
7 years ago
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
7 years ago
MIYAGI Hikaru f58dcbc981 HTTP proxy support for outgoing request, manage access to hidden service (#7134)
7 years ago
David Yip ed490b781f
Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Yamagishi Kazutoshi 50529cbceb Upgrade Rails to version 5.2.0 (#5898)
7 years ago
Jenkins 33c2bbdda7 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Eugen Rochko 49bbef1202
Use RAILS_LOG_LEVEL to set log level of Sidekiq, too (#7079)
7 years ago
Eugen Rochko 80a944c882
Log rate limit hits (#7096)
7 years ago