eugenijm
a184811a60
Use url() instead of static_url in Endpoint.websocket_url()
6 years ago
eugenijm
d747bd9870
Use String.replace_leading instead of String.replace for getting websocket streaming api url.
...
Extract the login responsible for obtaining websocket URL into the corresponding
Endpoint function.
6 years ago
href
fa5ec765d9
Serve sw-pleroma.js properly
6 years ago
William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
Haelwenn (lanodan) Monnier
a6dfe1fc6b
Documentation: Move generated files to priv/static/doc, add it to endpoint.ex
6 years ago
href
b1860fe85a
Instance/Static runtime plug
...
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.
6 years ago
href
77b5154c82
Cowboy handler for Mastodon WebSocket
6 years ago
href
f672555ad3
Upgrade to Phoenix 1.4
6 years ago
href
b19597f602
reverse proxy / uploads
6 years ago
href
bcecdc3ab1
Various runtime configuration fixes
6 years ago
shibayashi
87c76a9a2f
Add __Host- prefix when secure flag is enabled
6 years ago
William Pitcock
fe67665e19
rename CSPPlug to HTTPSecurityPlug.
6 years ago
William Pitcock
f516e317ea
plugs: add CSPPlug
6 years ago
William Pitcock
4f87b8362b
endpoint: move CORSPlug in front of Plug.Static
6 years ago
William Pitcock
03a9990baf
endpoint: fix formatting
6 years ago
Haelwenn (lanodan) Monnier
2fab32ab61
Pleroma.Web.Endpoint: Whitelist schemas directory
6 years ago
lain
e954cfcc2c
Add CORSPlug to make web-based OAuth easier.
6 years ago
kaniini
530561a091
Merge branch 'add-secure-and-samesite-cookie-flags' into 'develop'
...
Add Secure and SameSite cookie flags
See merge request pleroma/pleroma!302
6 years ago
shibayashi
18ad8aaecf
Explicitly set 'http_only' to true
6 years ago
shibayashi
4656a07e9e
Set SameSite flag to 'Strict'
6 years ago
Thurloat
0df558a6a5
cleaning up a bit.
6 years ago
shibayashi
0c4493f144
Fix formatting
6 years ago
shibayashi
b9a642da1e
Add Secure and SameSite cookie flags
6 years ago
William Pitcock
8da406afa2
activitypub: verify remote http signature digests by recomputing the digest and replacing the digest header
6 years ago
lambda
62a2287bba
Merge branch 'favicon_tag' into 'develop'
...
Fix endpoint for favicon
See merge request pleroma/pleroma!84
7 years ago
RX14
033771d9f1
Fix failure to serve media from custom upload path
7 years ago
KANEKO Yoshitaka
b3d67750f0
Fix conflict
7 years ago
William Pitcock
4bf86d4cf5
config: make the upload limit configurable
7 years ago
lain
4afbef39f4
Format the code.
7 years ago
lain
fbc187ac15
Switch to Jason for json handling.
...
It's twice as fast and will be the standard in the coming ecto.
7 years ago
KANEKO Yoshitaka
aa19fdef00
Fix favicon and add to index.html
7 years ago
lambda
f0cde24f71
Merge branch 'fix/config-disable-chat' into 'develop'
...
Add config option for enabling/disabling chat.
See merge request pleroma/pleroma!58
7 years ago
Hakaba Hitoyo
c8a2931549
add backend endpoint /images
7 years ago
eal
f0745148a3
Add config option for enabling/disabling chat.
7 years ago
Hakaba Hitoyo
03c15a54f5
provide instance thumbnail at /api/v1/instance (debug)
7 years ago
Roger Braun
d293ceb1b5
Add Mastodon frontend.
7 years ago
Roger Braun
bd5bdc4c24
MastoAPI: Basic streaming.
7 years ago
Roger Braun
7c82b82197
Make emoji configurable in files.
7 years ago
Roger Braun
66b4fee80e
Add finmoji.
7 years ago
Roger Braun
9167a2ebe3
Send frontend through phoenix.
8 years ago
Roger Braun
e7dc39e40c
Basic file uploading via TwAPI.
8 years ago
Roger Braun
e4de0ddc77
Add single status fetching to TwAPI.
8 years ago
Roger Braun
a93f3421a7
Phoenix skeleton
8 years ago