488 Commits (6ec8ae5723cb36a48dbd4247f820bac01a05c905)

Author SHA1 Message Date
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
Eugen Rochko e86a4fe36b Add REST API for Web Push Notifications subscriptions (#7445)
7 years ago
Thibaut Girka af504e62ff Merge branch 'master' into glitch-soc/master
7 years ago
Hugo Gameiro 27cfb13b83 Improve OpenStack v3 compatibility (#7392)
7 years ago
David Yip c87f1d99e4 Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Akihiko Odaki 854d974499 Add a missing question mark in rack_attack.rb (#7338)
7 years ago
Akihiko Odaki 5cddff0795 Throttle media post (#7337)
7 years ago
Eugen Rochko ca1c696dbd Slightly reduce RAM usage (#7301)
7 years ago
MIYAGI Hikaru 28808f638e HTTP proxy support for outgoing request, manage access to hidden service (#7134)
7 years ago
David Yip fd98bfd108 Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Yamagishi Kazutoshi 9761b940ac Upgrade Rails to version 5.2.0 (#5898)
7 years ago
Jenkins e4e0aa5d21 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Eugen Rochko dbf7f62cea Use RAILS_LOG_LEVEL to set log level of Sidekiq, too (#7079)
7 years ago
Eugen Rochko 8af5b4ed4b Log rate limit hits (#7096)
7 years ago
David Yip 337fc136fd Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Eugen Rochko a814aa8e4d Add a circuit breaker for ActivityPub deliveries (#7053)
7 years ago
Jenkins ae55717f50 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Yamagishi Kazutoshi 6daa722e87 Revert "Revert "Upgrade Paperclip to version 6.0.0" (#6807)" (#6808)
7 years ago
Jenkins b1453c0dbf Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Eugen Rochko 59b3b38b0e Add LDAP_TLS_NO_VERIFY option, don't require LDAP_ENABLED outside .env (#6845)
7 years ago
Jenkins eba1b109db Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Alexander af08f6042d rename pam email environment variable to something more understandable and default to LOCAL_DOMAIN (better fallback) (#6833)
7 years ago
Eugen Rochko d35272245e Revert "Upgrade Paperclip to version 6.0.0" (#6807)
7 years ago
Yamagishi Kazutoshi cd6dee83a1 Upgrade Paperclip to version 6.0.0 (#6754)
7 years ago
Jenkins 54608d0486 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Effy Elden 4a8046df66 Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available (#6669)
7 years ago
David Yip c08c971dd3 Merge remote-tracking branch 'origin/master' into merge-upstream
7 years ago
Alexander 988f6505e4 fix logic for pam_controlled_service (#6599)
7 years ago
Eugen Rochko 9721b7746a Fix #942: Seamless LDAP login (#6556)
7 years ago
Akihiko Odaki a5a434a8f6 Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)
7 years ago
imncls c0aabbec0f Merge branch 'master' of https://github.com/tootsuite/mastodon
7 years ago
Ghislain Loaec d1806f5dc4 New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)
7 years ago
Ghislain Loaec deea524052 New env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #6533 (#6538)
7 years ago
Eugen Rochko 2815ef6d7f Fix #6509: Use pull queue for chewy jobs (#6513)
7 years ago
Jenkins bcd435effe Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Daniel King 845ea13622 Fix URLs incorrectly having trailing hyphen removed (#6465)
7 years ago
Eugen Rochko cd925c11e3 Fix Chewy trying to update index with the wrong strategy (#6464)
7 years ago
Jenkins 3a1f58e9eb Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Eugen Rochko 7ca5a06505 Full-text search for authorized statuses (#6423)
7 years ago
David Yip 4f8122a98c Merge remote-tracking branch 'origin/master' into merge-upstream
7 years ago
Eugen Rochko 555e7205da Make PAM gem optional, allow configuration over environment (#6415)
7 years ago
Eugen Rochko 5322013f25 CAS + SAML authentication feature (#6425)
7 years ago
David Yip 6d1023b2e9 Merge remote-tracking branch 'tootsuite/master' into merge-upstream
7 years ago
Alexander 23ce0c86da pam authentication (#5303)
7 years ago
David Yip de7283a318 Merge remote-tracking branch 'origin/master' into gs-master
7 years ago
Eugen Rochko 9613c3238c HTML e-mails for UserMailer (#6256)
7 years ago
Jenkins 6e821c4273 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Patrick Figel 2a27afc656 Suppress CSRF token warnings (#6240)
7 years ago
David Yip 1a7f8eb723 Merge remote-tracking branch 'origin/master' into merge-upstream
7 years ago
Eugen Rochko b7b0f630a0 Increase rate limit on protected paths (#6229)
7 years ago
Jenkins 86007e913d Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Naoki Kosaka 3bc13de62f Fix enforce HTTPS in production. (#6180)
7 years ago
Jenkins b42e6973a1 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Patrick Figel 3c20cfd734 Add confirmation step for email changes (#6071)
7 years ago
Jenkins 9ccad78647 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
nightpool e921778dd3 enforce LOCAL_HTTPS=true in production (#6061)
7 years ago
Jenkins 1366e96a02 Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
7 years ago
Yamagishi Kazutoshi 9dcead778c Change streaming API URL when remote development (#5942)
7 years ago
David Yip a56c9ac5dc Merge remote-tracking branch 'tootsuite/master' into merge-upstream
7 years ago
Eugen Rochko 31fe0d067b Apply a 25x rate limit by IP even to authenticated requests (#5948)
7 years ago
kibigo! f4c233f59f Ruby intl8n for themes
7 years ago
Naoki Kosaka 77660c4624 Missing require 'authorization_decorator'. (#5947)
7 years ago
Eugen Rochko 87af0bf6cf Rate limit by user instead of IP when API user is authenticated (#5923)
7 years ago
THE BOSS ♨ 33b40397f8 Fix typo in paperclip.rb (#5936)
7 years ago
Yamagishi Kazutoshi f76681ebd6 Revert fog-aws (ref #5604) (#5934)
7 years ago
Eugen Rochko b037fbf9f4 Remove rabl dependency (#5894)
7 years ago
Eugen Rochko a71791e3f1 Allow specifying STATSD_NAMESPACE (#5700)
7 years ago
MitarashiDango 7a5fb781ce Fix spell miss (SWIIFT_OBJECT_URL -> SWIFT_OBJECT_URL) (#5617)
7 years ago
Yamagishi Kazutoshi a624688ebd Unify file upload to using fog (#5604)
7 years ago
Jeong Arm a5582bf9f5 Remove timestamps on any option (#5282)
7 years ago
unarist 12bdbf38ba Fix migration failure due to StrongMigrations on production env (#5283)
7 years ago
Lynx Kotoura 4e822d41b9 adjust public profile pages 2 (#5223)
7 years ago
Nishi, Keisuke 8f344b7bb0 Fix Paperclip::Fog always responds Not Found in OpenStack-v2 like ConoHa (#5155)
7 years ago
Eugen Rochko 6033b8eac1 Replace self-rolled statsd instrumention with localshred/nsa (#5118)
7 years ago
Eugen Rochko 7031e350b3 When OAuth password verification fails, return 401 instead of redirect (#5111)
7 years ago
Eugen Rochko 10a2b3dd4c Follow-up to #4582 and #5027, removing dead code (#5101)
7 years ago
Eugen Rochko 65827bd2b4 Add strong_migrations gem to warn when creating unsafe migrations (#5078)
7 years ago
Eugen Rochko f8e734ff9a Disable private status federation over OStatus (#5027)
7 years ago
unarist 938a99c89d Re-allow underscore on valid_url_path_ending_chars (#4999)
7 years ago
ふぁぼ原 c71727ca55 Enable to recognize most kinds of characters as URL paths (#4941)
7 years ago
abcang 579a7c2654 Revert unique retry job (#4937)
7 years ago
Patrick Figel 759bbdd9ca Add OpenStack Keystone V3 support (#4889)
7 years ago
abcang 0080804f44 Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)
7 years ago
Adam Thurlow 57a821d4b9 swift-enable the paperclip! 📎 (#2322)
7 years ago
abcang 892aeb7ffe Do not execute the job with the same arguments as the retry job (#4814)
7 years ago
Eugen Rochko 068bdd4c24 Use updated ActivityStreams context (added: sharedInbox) (#4764)
7 years ago
Eugen Rochko 5147147da9 Add handling of Linked Data Signatures in payloads (#4687)
7 years ago
Eugen Rochko cab7fa158a Add configuration to disable private status federation over PuSH (#4582)
7 years ago
Colin Mitchell 63b98318c5 Application prefs section (#2758)
7 years ago
Eugen Rochko 1c7cbbcb8c Set correct content-type for ActivityPub JSON (#4592)
7 years ago
Eugen Rochko 506508f30c Extend Devise remember_me longevity to 1 year instead of 2 weeks (#4587)
7 years ago
Eugen Rochko f18739fd60 Add ActivityPub inbox (#4216)
7 years ago
unarist 527eacf403 Add Content-Type header on throttled response to fix mojibake (#4558)
7 years ago
Eugen Rochko fd69694749 Add "signed in as" header to some pages (#4523)
7 years ago
Eugen Rochko f3e8fca1a7 Fix sessions being replaced needlessly (#4292)
7 years ago
Eugen Rochko 3852032953 Correct OStatus inflection (Ostatus -> OStatus) (#4255)
7 years ago
Eugen Rochko c99f41dc3c Improve ActivityPub representations (#3844)
7 years ago
Yamagishi Kazutoshi 7be29a500d Add Rake task for generate VAPID key (#4195)
7 years ago
Sorin Davidoi ecab38fd66 Web Push Notifications (#3243)
7 years ago
Eugen Rochko 8abeec1f4f Improve UI of admin site settings (#4163)
7 years ago