587 Commits (f3140305f9396d80e6aa4781bbf4f7ed9f904bf1)

Author SHA1 Message Date
Claire e47570388a Drop dependency on secure_headers, fix response headers (#15712)
4 years ago
Cecylia Bocovich 6c300f08e5 Onion service related changes to HTTPS handling (#15560)
4 years ago
Claire 85e0b5ce91 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
Shubhendra Singh Chauhan daea469385 Fixed code quality issues (#15541)
4 years ago
Claire 9493606b11 Merge branch 'main' into glitch-soc/merge-upstream
4 years ago
luigi c19fe86d66 Optimize some regex matching (#15528)
4 years ago
Claire 77a975a964 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
kaiyou 0d96b710cb Support clock drift in Omniauth SAML provider (#15511)
4 years ago
Claire c9a63555e1 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 3489758ff2 Fix unnecessary queries when batch-removing statuses, 100x faster (#15387)
4 years ago
Claire e590177b29 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 76b0f84cd5 Add stoplight for object storage failures, return HTTP 503 (#13043)
4 years ago
Thibaut Girka 3216868024 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 471b8570ad Add cache buster feature for media files (#15155)
4 years ago
Thibaut Girka db1f81553e Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko b788e7eb6f Fix cookies not having a SameSite attribute (#15098)
4 years ago
Thibaut Girka 6fdc4e8d47 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Josh Leeb-du Toit c94a083b9a Add support for Gemini urls (#15013)
4 years ago
Eugen Rochko da4c730c47 Add IP-based rules (#14963)
4 years ago
tateisu afa951f027 add S3_READ_TIMEOUT environment variable (#14952)
4 years ago
Thibaut Girka 37e746eab6 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
santiagorodriguez96 f142983484 Add WebAuthn as an alternative 2FA method (#14466)
4 years ago
Thibaut Girka c2347f6cf6 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko ac4f9abce6 Change rate limits for various paths (#14253)
4 years ago
ThibG aa7142b9e2 Fix hashtag column options styling (#14247)
4 years ago
Thibaut Girka 928a3a9fd5 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko ca238c879d Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
4 years ago
Eugen Rochko 36e5fd547b Fix remote files not using Content-Type header, streaming (#14184)
4 years ago
Thibaut Girka 2a2af880b8 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko 42d2f45db1 Remove the terms blacklist and whitelist from UX (#14149)
4 years ago
Thibaut Girka 4d5ff62de5 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
mayaeh db856552ce Suppress Redis#exists(key) warning (#14067)
4 years ago
Thibaut Girka 83dc54c487 Merge branch 'master' into glitch-soc/merge-upstream
4 years ago
Eugen Rochko b864e78db8 Add E2EE API (#13820)
5 years ago
Thibaut Girka 66f20c8a77 Move glitch-specific ruby-side locales to their own files
5 years ago
Thibaut Girka dcb3e180b9 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Takeshi Umeda e2694a18c7 Fix csv upload (#13835)
5 years ago
Takeshi Umeda 0febf853dd Fix workaround for Elasticsearch 7.x (#13828)
5 years ago
Thibaut Girka 4e4e5316c1 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 3144f8dbbc Refactor monkey-patching of Goldfinger (#12561)
5 years ago
ThibG b7f47014a7 Fix "tootctl media remove-orphans" crashing on “Import” files (#13685)
5 years ago
ThibG b20d0db1eb Remove 'unsafe-inline' from Content-Security-Policy style-src (#13679)
5 years ago
ThibG fe7b81ac6b Fix PgHero Content-Security-Policy when CDN_HOST is used (#13595)
5 years ago
Thibaut Girka dfa13deaa1 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
mayaeh 4ec7b137de Fix naming issue (#13551)
5 years ago
Eugen Rochko adfb22a9dd Add separate cache directory for non-local uploads (#12821)
5 years ago
Thibaut Girka 43a9ed3de8 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko efd5db8f21 Fix search not working due to proxy settings when using hidden services (#13488)
5 years ago
Thibaut Girka d5b5225614 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 6932e0e2af Add ability to filter audit log in admin UI (#13381)
5 years ago
Thibaut Girka 631dacf1d7 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko b1c596e8f3 Fix background jobs not using locks like they are supposed to (#13361)
5 years ago
Eugen Rochko 8fa78c0ec8 Fix re-sending of e-mail confirmation not being rate limited (#13360)
5 years ago
ThibG 246c4d4fbf Fix OCR not working on Safari because of unsupported worker-src CSP (#13323)
5 years ago
Thibaut Girka 99fc46d023 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
dependabot-preview[bot] 75ba543aa5 Bump sidekiq from 5.2.7 to 6.0.4 (#11727)
5 years ago
Thibaut Girka 0fd3f87ea2 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko a4668d994b Add specific rate limits for posting and following (#13172)
5 years ago
Thibaut Girka 7f034cf429 Fix ActiveRecord::Migration.check_pending! failing because of duplicate migrations
5 years ago
Thibaut Girka 5967127dae Add environment variable to specify extra data hosts
5 years ago
Thibaut Girka a8e43875a5 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko f95fd62bac Add announcements (#12662)
5 years ago
ThibG 25e7aa913c Add support for magnet: URIs (#12905)
5 years ago
Thibaut Girka 82e197787f Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG b7927b397d Add support for linking XMPP URIs in toots (#12709)
5 years ago
Thibaut Girka 2591cedcad Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 413cb7e861 Fix base64-encoded file uploads not being possible (#12748)
5 years ago
Eugen Rochko bf2b425057 Fix resource_owner_from_credentials in Doorkeeper initializer (#12743)
5 years ago
Eugen Rochko e8b07657c2 Fix uncaught query param encoding errors (#12741)
5 years ago
Thibaut Girka e859334b33 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko b3f365f605 Add `S3_OVERRIDE_PATH_STYLE` environment variable (#12594)
5 years ago
Eugen Rochko 0769ef8277 Add `tootctl media remove-orphans` (#12568)
5 years ago
Thibaut Girka 2cc60e8b09 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
tateisu f00f6bdd36 add S3_OPEN_TIMEOUT environment variable (#12459)
5 years ago
Mathieu Brunot 128a7ab7eb Add an LDAP Mail attribute config (#12053)
5 years ago
Thibaut Girka 93167b3665 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Mathieu Brunot 462788cb12 Convert LDAP username (#12461)
5 years ago
ntl-purism 58e52929be LDAP & PAM added to OAuth password grant strategy (#7999) (#12390)
5 years ago
Thibaut Girka 06b56ac4b7 Fix weird edge case in load_schema
5 years ago
Thibaut Girka 562534a9d3 Override Migrator.new instead of Migrator#initialize, it's easier to understand
5 years ago
Thibaut Girka 13f738e229 Add documentation about the migration hack
5 years ago
Thibaut Girka f046c03787 Monkey-patch Rails' migrator to ignore duplicate migrations across Mastodon and glitch-soc
5 years ago
ThibG 517c1cd062 Add bookmarks (#7107)
5 years ago
Thibaut Girka 9506d9cafc Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 9f94d4ceb3 Fix preloaded JSON-LD context for identity not being used (#12138)
5 years ago
Eugen Rochko 2e07a901c5 Fix attachment not being re-downloaded even if file is not stored (#12125)
5 years ago
Eugen Rochko d59562c0b2 Fix S3 adapter retrying failing uploads with exponential backoff (#12085)
5 years ago
Thibaut Girka c2d6ef1b64 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko f77337daaf Fix records not being indexed sometimes (#12024)
5 years ago
Thibaut Girka cc94c90bf1 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 51a72a802f Add a nodeinfo endpoint (#12002)
5 years ago
Yamagishi Kazutoshi 161b0a0958 Hide error message on /heath (#11947)
5 years ago
Yamagishi Kazutoshi 3592705de5 Cast multipart threshold to integer (#11944)
5 years ago
Eugen Rochko 3773115066 Fix authentication before 2FA challenge (#11943)
5 years ago
Yamagishi Kazutoshi 71ff422997 Add config of multipart threshold for S3 (#11924)
5 years ago
Thibaut Girka 4837d6275a Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 8eb0d880cb Fix 2FA challenge and password challenge for non-database users (#11831)
5 years ago
Thibaut Girka 2e38d889a3 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Yamagishi Kazutoshi 025de313bc Change rate limit for media proxy (#11814)
5 years ago
Yamagishi Kazutoshi 7544167f3c Add healthcheck endpoint for web (#11770)
5 years ago
Thibaut Girka eac7c66d2a Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG 8b271d6d25 Fix ActivityPub context not being dynamically computed (#11746)
5 years ago
Thibaut Girka f82b1bb158 Fix connect-src policy for Tesseract
5 years ago
Thibaut Girka c060523dc2 Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
ThibG 5a122f1450 Fix CSP needlessly allowing blob URLs in script-src (#11620)
5 years ago
Eugen Rochko b1f116335c Fix media host not being included in connect-src for OCR (#11577)
5 years ago
Eugen Rochko 41b188dce6 Add OCR tool to media editing modal (#11566)
5 years ago
Thibaut Girka 4973ba2d1f Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 825dc3ca22 Add whitelist mode (#11291)
5 years ago
Thibaut Girka 9866c2bfff Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 3ce4cdd552 Remove unused StatsD code and expose StatsD as a global variable (#11232)
5 years ago
Thibaut Girka 1177694c3e Merge branch 'master' into glitch-soc/merge-upstream
5 years ago
Eugen Rochko 433036ab8c Add moderation API (#9387)
5 years ago
Thibaut Girka 5a158899bc Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 8bf8d6d9d9 Change preferences page into appearance, notifications, and other (#10977)
6 years ago
Thibaut Girka b9c5aed987 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Hinaloe ae5f2716a5 Fix undefined method error (#10868)
6 years ago
mayaeh a08bfea202 Fix undefined method error. (#10867)
6 years ago
ThibG 875faa1da6 Improve rate limiting (#10860)
6 years ago
Thibaut Girka 73bc58c656 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Thibaut Girka 06bcab6e99 Fix CSP when PAPERCLIP_ROOT_URL is set to a different host
6 years ago
Thibaut Girka 5d24d50987 Fix CSP when dealing with S3 hosts
6 years ago
dependabot[bot] 592ab699fe Bump rack-attack from 5.4.2 to 6.0.0 (#10599)
6 years ago
Thibaut Girka 0f97c82eac Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 55449c0b41 Fix stoplight logging to stderr separate from Rails logger (#10624)
6 years ago
Thibaut Girka 5c8f9a3220 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 1ed2c9c16e Add rate limit for media proxy requests (#10490)
6 years ago
Thibaut Girka 0117de0a01 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 367ab6764f Remove unused ActivityPub `@context` values depending on response (#10378)
6 years ago
Thibaut Girka 8410fcd3a7 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eric a35568286c cas_options :validate_url should be :service_validate_url (#10328)
6 years ago
Thibaut Girka c8086b6efb Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 9bf5658885 Add tight rate-limit for API deletions (#10042)
6 years ago
Thibaut Girka 1c37ad108c Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 5adc3f5676 Fix URL linkifier grabbing full-width spaces and quotations (#9997)
6 years ago
Thibaut Girka b49d415f37 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko 14d49e814a Add timeouts for S3 (#9842)
6 years ago
Thibaut Girka a06d3a6082 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Moritz Heiber f2cefd9d73 Disable Same-Site cookie implementation to fix SSO issues on WebKit browsers (#9819)
6 years ago
Thibaut Girka a78447a6a4 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Nolan Lawson 4fa76b21b6 Enable immutable caching for S3 objects (#9722)
6 years ago
Thibaut Girka 44f2224606 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko bbf9f4f93b Add REST API for creating an account (#9572)
6 years ago
Thibaut Girka 48e6b2360d Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko ab443aaba8 Skip mailer job retries when a record no longer exists (#9590)
6 years ago
Thibaut Girka 04204427d0 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Rey Tucker 56890834ab Remove form_action from CSP
6 years ago
ThibG fe40452a36 Use same CORS policy for /@:username and /users/:username (#9485)
6 years ago
Thibaut Girka e5aadde0d5 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ThibG 4813053e97 Preload common JSON-LD contexts (#9412)
6 years ago
Thibaut Girka b7ef203fd6 Tighten CSP a bit
6 years ago
Thibaut Girka c32a5f86b6 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Ben Lubar e2b221d9f1 Allow cross-origin requests to /.well-known/* URLs. (#9083)
6 years ago
Thibaut Girka 46259a36d0 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko e3b2234382 Add unread indicator to conversations (#9009)
6 years ago
ThibG f8e9555e73 Add manifest_src to CSP, add blob to connect_src (#8967)
6 years ago
Eugen Rochko 0dbb3a8786 Fix CSP headers blocking media and development environment (#8962)
6 years ago
ThibG 51c53e709f Set Content-Security-Policy rules through RoR's config (#8957)
6 years ago
Thibaut Girka f09150f2a9 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Sascha b7a337f63c add ffmpeg initializer (#8855)
6 years ago
Thibaut Girka 74e411f4e8 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ashleyhull-versent 00d31a292c rubocop issues - Cleaning up (#8912)
6 years ago
Thibaut Girka f627ea99e4 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
aus-social c883b1ffc9 lint pass 2 (#8878)
6 years ago
aus-social a53bcb6213 Lint pass (#8876)
6 years ago
Thibaut Girka f5eaefc485 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Yamagishi Kazutoshi 78558e5e1c Fix that Rails.cache information could not be sent via StatsD (#8831)
6 years ago
Thibaut Girka ae5c237607 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Eugen Rochko d3105031f8 Redesign forms, verify link ownership with rel="me" (#8703)
6 years ago
luzpaz 1bce70d3c7 Misc. typos (#8694)
6 years ago
Thibaut Girka 4dd208f482 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Sorin Davidoi 0b1c90bf88 feat(cookies): Use the same-site attribute to lax (#8626)
6 years ago
Rey Tucker 121747b190 Add manifest_src to CSP
6 years ago
Thibaut Girka 0a841048fa Fix CSP with S3/SWIFT hosts
6 years ago
Thibaut Girka 2f78bd1b42 Adjust CSP to fix image resizing
6 years ago
Thibaut Girka ae4240d236 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
M Somerville 4b27569841 Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)
6 years ago
Thibaut Girka 36a96b33d9 Only apply CSP in production mode
6 years ago
Thibaut Girka 91c50b0d4b Tighten CSP while allowing CDN hosts
6 years ago
Thibaut Girka 563a09d81a Move CSP headers to the appropriate Rails configuration
6 years ago
Thibaut Girka 98dccee657 Merge branch 'master' into glitch-soc/master
6 years ago
ThibG 97f2dc6761 Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote (#8339)
6 years ago
Thibaut Girka 334f478db1 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
Immae cbaabe0215 Add ldap search filter (#8151)
6 years ago
Eugen Rochko 5e1e9753c3 Add post-deployment migration system (#8182)
6 years ago
Eugen Rochko 98184a889e Add post-deployment migration system (#8182)
6 years ago
Thibaut Girka 7def9b7026 Introduce OAuth scopes for bookmarks
6 years ago
Thibaut Girka 3a4a87d9c0 Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
abcang b46416fe47 Add secure option to additional cookie (#8069)
6 years ago
Thibaut Girka cf8121376b Merge branch 'master' into glitch-soc/tentative-merge
6 years ago
Eugen Rochko 34fdf77f48 Add more granular OAuth scopes (#7929)
6 years ago
MIYAGI Hikaru ac56fa3c22 Merge `HIDDEN_SERVICE_VIA_TRANSPARENT_PROXY` into `ALLOW_ACCESS_TO_HIDDEN_SERVICE` (#7901)
6 years ago
Thibaut Girka 3d6c594903 Merge branch 'master' into glitch-soc/merge-upstream
7 years ago
Eugen Rochko f8bc071e03 Add dat, dweb, ipfs, ipns, ssb, gopher protocols to URL extractor (#7810)
7 years ago
Eugen Rochko 9ed3212e35 Remove rack-timeout (#7809)
7 years ago
Thibaut Girka 3dc4f8e2ca Merge branch 'master' into glitch-soc/merge-upstream
7 years ago
Eugen Rochko b416ba6692 Disable AMS logging (#7623)
7 years ago
Jenkins 4a3872d26e Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
MIYAGI Hikaru 7dbf83d6b8 User agent for WebFinger (#7531)
7 years ago
Thibaut Girka d0b753db6b Merge branch 'master' into glitch-soc/merge
7 years ago