Commit Graph

222 Commits (b950fb01db51f14a9fd3a827b90573418a5b95da)

Author SHA1 Message Date
Mark Felder 2731ea1334 Change references from "deleted_urls" to "banned_urls" as nothing is handled via media deletions anymore; all actions are manual operations by an admin to ban the url
4 years ago
Maksim Pechnikov 2e8a236cef fix invalidates media url's
4 years ago
Mark Felder 7f7a1a4676 Check for media proxy base_url, not Upload base_url
4 years ago
rinpatch 99afc7f4e4 HTTP security plug: add media proxy base url host to csp
4 years ago
rinpatch d23b3701d8 Merge branch 'bugfix/csp-unproxied' into 'develop'
4 years ago
rinpatch 109af93227 Apply suggestion to lib/pleroma/plugs/http_security_plug.ex
4 years ago
Alex Gleason d38f28870e
Add blob: to connect-src CSP
4 years ago
Haelwenn (lanodan) Monnier da1e31fae3
http_security_plug.ex: Fix non-proxied media
4 years ago
rinpatch 27180611df HTTP Security plug: make starting csp string generation more readable
4 years ago
rinpatch 29ff6d414b HTTP security plug: Harden img-src and media-src when MediaProxy is enabled
4 years ago
rinpatch 455a402c8a HTTP Security plug: rewrite &csp_string/0
4 years ago
lain bfdd90f6d7 AuthenticationPlug: Also update crypt passwords.
4 years ago
lain baef35bcc8 Authentication Plug: Update bcrypt password on login.
4 years ago
Alex Gleason 5b0f27d23d
Pbkdf2.verify_pass --> AuthenticationPlug.checkpw
4 years ago
Alex Gleason 9cbf17d59f
Handle bcrypt passwords for Mastodon migration
4 years ago
Alex Gleason b46811a074
Upgrade Comeonin to v5
4 years ago
Maksim 3d0c567fbc Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController
4 years ago
lain 07e7c80bc9 Merge branch 'plug-if-unless-func-options-refactoring' into 'develop'
4 years ago
Haelwenn (lanodan) Monnier c6ddfa8f95
static-fe.css: Restore and move to /priv/static/static-fe
4 years ago
lain 3453e54e6b MappedSignatureToIdentityPlug: Fix.
4 years ago
Ivan Tashkinov 2c4844237f Refactoring of :if_func / :unless_func plug options (general availability). Added tests for Pleroma.Web.Plug.
4 years ago
Ivan Tashkinov 908cf22a6c Merge remote-tracking branch 'remotes/origin/develop' into automatic-authentication-and-instance-publicity-checks
4 years ago
Alex Gleason 1bd9749a8f
Let blob: pass CSP
4 years ago
Ivan Tashkinov 2958a7d246 Fixed OAuth restrictions for :api routes. Made auth info dropped for :api routes if OAuth check was neither performed nor explicitly skipped.
4 years ago
Ivan Tashkinov f685cbd309 Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring.
4 years ago
Ivan Tashkinov 66f55106bd [#1682] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when password is provided. Refactored plugs skipping functionality.
4 years ago
Ivan Tashkinov bde1189c34 [#2349] Made :skip_plug/2 prevent plug from being executed even if explicitly called. Refactoring. Tests.
4 years ago
Ivan Tashkinov bedf92e064 Merge remote-tracking branch 'remotes/origin/develop' into authenticated-api-oauth-check-enforcement
4 years ago
Haelwenn b1c1d2e5e1 Merge branch 'fix/1659-rate-limiter' into 'develop'
4 years ago
Alexander Strizhakov 22bde21c4f
remote_ip plug adds remote_ip_found flag
4 years ago
lain 6bc76df287 Uploads: Sandbox them in the CSP.
4 years ago
Maksim Pechnikov c4e7ed660c fix logger message
5 years ago
Ivan Tashkinov fc81e5a49c Enforcement of OAuth scopes check for authenticated API endpoints, :skip_plug plug to mark a plug explicitly skipped (disabled).
5 years ago
lain fa4ec17c84 Merge branch '1560-non-federating-instances-routes-restrictions' into 'develop'
5 years ago
Haelwenn 67a27825b1 Merge branch 'fix/rate-limiter-remoteip-behavior' into 'develop'
5 years ago
Ivan Tashkinov ecb7809e92 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
rinpatch d88c8a9614 Merge branch 'fix/cache-control-headers' into 'develop'
5 years ago
rinpatch 6a28c198af uploaded media plug: do not inject compile-time params on every request
5 years ago
rinpatch 658f30c0b3 Merge branch 'static-accept-missing' into 'develop'
5 years ago
rinpatch fc4496d4fa rate limiter: disable based on if remote ip was found, not on if the plug was enabled
5 years ago
Mark Felder 3b1b183b42 Synchronize cache-control header for local media with the mediaproxy
5 years ago
Mark Felder 413177c8f0 Set correct Cache-Control header for local media
5 years ago
Ivan Tashkinov 5fc92deef3 [#1560] Ensured authentication or enabled federation for federation-related routes. New tests + tests refactoring.
5 years ago
Ivan Tashkinov 027714b519 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
Ivan Tashkinov 40765875d4 [#1560] Misc. improvements in ActivityPubController federation state restrictions.
5 years ago
Mark Felder 05da5f5cca Update Copyrights
5 years ago
Ivan Tashkinov b6fc98d9cd [#1560] ActivityPubController federation state restrictions adjustments. Adjusted tests.
5 years ago
Ivan Tashkinov 99a6c660a9 Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instances-routes-restrictions
5 years ago
Haelwenn (lanodan) Monnier 6da6540036
Bump copyright years of files changed after 2020-01-07
5 years ago
Phil Hagelberg 523f73dccd Fix static FE plug to handle missing Accept header.
5 years ago