aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/endpoint.ex
AgeCommit message (Collapse)Author
2020-11-05Merge branch '1668-prometheus-access-restrictions' into 'develop'feld
[#1668] App metrics endpoint (Prometheus) access restrictions Closes #1668 See merge request pleroma/pleroma!3093
2020-11-04Merge branch 'chore/elixir-1.11' into 'develop'feld
Elixir 1.11 compatibility / Phoenix 1.5+ See merge request pleroma/pleroma!3059
2020-10-13fixes after rebaseAlexander Strizhakov
2020-10-13HTTPSecurityPlug module name and filenameAlexander Strizhakov
2020-10-13InstanceStatic module nameAlexander Strizhakov
2020-10-13RemoteIp module nameAlexander Strizhakov
2020-10-13SetLocalePlug module nameAlexander Strizhakov
2020-10-13TrailingFormatPlug module nameAlexander Strizhakov
2020-10-13UploadedMedia module nameAlexander Strizhakov
2020-07-29Endpoint: Serve a dynamically configured admin interfacelain
2020-07-28FrontendStatic: Add plug to serve frontends based on configuration.lain
2020-05-02static-fe.css: Restore and move to /priv/static/static-feHaelwenn (lanodan) Monnier
2020-03-11Revert "Set better Cache-Control header for static content"rinpatch
On furher investigation it seems like all that did was cause unintuitive behavior. The emoji request flood that was the reason for introducing it isn't really that big of a deal either, since Plug.Static only needs to read file modification time and size to determine the ETag. Closes #1613
2020-03-02Bump copyright years of files changed after 2020-01-07Haelwenn (lanodan) Monnier
Done via the following command: git diff fcd5dd259a1700a045be902b43391b0d1bd58a5b --stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
2020-02-07Actually fix upload limit on OTP releasesrinpatch
Closes #1109
2019-12-10Merge branch 'develop' into feature/custom-runtime-modulesEgor Kislitsyn
2019-12-09Set Plug.Logger to log at `:debug` levelEgor Kislitsyn
2019-12-08OTP: Fix runtime upload limit config being ignoredrinpatch
Closes #1109
2019-11-06Set better Cache-Control header for static contentrinpatch
Closes #1382
2019-09-27Add `remote_ip` plugminibikini
2019-09-03Mastdon API: Add ability to get a remote account by nickname torinpatch
`/api/v1/accounts/:id`
2019-07-10Add SetLocalePlugEgor Kislitsyn
2019-06-14it is changed in compile timeAlexander Strizhakov
we can't change module attributes and endpoint settings in runtime
2019-05-30Use Pleroma.Config everywhereEgor Kislitsyn
2019-05-24Move the Cache Control header test to its own filefeld
We can consolidate our cache control header tests here
2019-05-11Initial bundle of basic AdminFEfeld
Due to CSP headers we only allow connecting to self. If you want to host AdminFE on a separate domain without CSP headers you will be able to connect to any public Pleroma host.
2019-04-16make Pleroma.Endpoint use extra_cookie_attrs in configHakurei Reimu
2019-04-08[#923] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
twitter_oauth # Conflicts: # docs/config.md # test/support/factory.ex
2019-04-05[#923] OAuth consumer mode refactoring, new tests, tests adjustments, readme.Ivan Tashkinov
2019-04-04Set up telemetry and prometheushref
2019-04-01[#923] Deps config adjustment (no `override` for `httpoison`), code analysis ↵Ivan Tashkinov
issues fixes.
2019-03-15Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauthIvan Tashkinov
2019-03-15[#923] OAuth: prototype of sign in / sign up with Twitter.Ivan Tashkinov
2019-03-15robots.txtWilliam Pearson
Add default robots.txt that allows bots access to all paths. Add mix task to generate robots.txt taht allows bots access to no paths. Document custom emojis, MRF and static_dir static_dir documentation includes docs for the robots.txt Mix task.
2019-03-13[Credo] fix Credo.Check.Readability.MaxLineLengthHaelwenn (lanodan) Monnier
2019-03-11Sign in via Twitter (WIP).Ivan Tashkinov
2019-02-01Use url() instead of static_url in Endpoint.websocket_url()eugenijm
2019-02-01Use String.replace_leading instead of String.replace for getting websocket ↵eugenijm
streaming api url. Extract the login responsible for obtaining websocket URL into the corresponding Endpoint function.
2019-02-01Serve sw-pleroma.js properlyhref
2018-12-31update copyright years to 2019William Pitcock
2018-12-23add license boilerplate to pleroma coreWilliam Pitcock
2018-12-18Documentation: Move generated files to priv/static/doc, add it to endpoint.exHaelwenn (lanodan) Monnier
2018-12-17Instance/Static runtime plughref
This allows to set-up an arbitrary directory which overrides most of the static files: index.html static/ emoji/ packs/ sounds/ images/ instance/ favicon.png. If the files are not present in the directory, the bundled ones in priv/static will be used.
2018-12-17Cowboy handler for Mastodon WebSockethref
2018-12-16Upgrade to Phoenix 1.4href
2018-11-30reverse proxy / uploadshref
2018-11-19Various runtime configuration fixeshref
2018-11-13Add __Host- prefix when secure flag is enabledshibayashi
2018-11-12rename CSPPlug to HTTPSecurityPlug.William Pitcock
2018-11-11plugs: add CSPPlugWilliam Pitcock