Alexander Strizhakov
94480c6607
removing fed sockets settings
3 years ago
lain
25a03a9b5b
Config, Docs: Remove search_function
3 years ago
lain
4a5ab690ef
Config: Set search_function to `websearch` by default
3 years ago
lain
11e0d5f9ac
Password Resets: Don't accept tokens above a certain age.
By default, one day
3 years ago
rinpatch
2c55f7d7cb
Remove FedSockets
Current FedSocket implementation has a bunch of problems. It doesn't
have proper error handling (in case of an error the server just doesn't
respond until the connection is closed, while the client doesn't match
any error messages and just assumes there has been an error after 15s)
and the code is full of bad descisions (see: fetch registry which uses
uuids for no reason and waits for a response by recursively querying a
ets table until the value changes, or double JSON encoding).
Sometime ago I almost completed rewriting fedsockets from scrach to
adress these issues. However, while doing so, I realized that fedsockets
are just too overkill for what they were trying to accomplish, which is
reduce the overhead of federation by not signing every message.
This could be done without reimplementing failure states and endpoint
logic we already have with HTTP by, for example, using TLS cert auth,
or switching to a more performant signature algorithm. I opened
https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further
discussion on alternatives to fedsockets.
From discussions I had with other Pleroma developers it seems like they
would approve the descision to remove them as well,
therefore I am submitting this patch.
3 years ago
Egor Kislitsyn
435bf1f945
Remove FrontendInstallerWorker
3 years ago
feld
86b4149a13
Merge branch '1668-prometheus-access-restrictions' into 'develop'
[#1668 ] App metrics endpoint (Prometheus) access restrictions
Closes #1668
See merge request pleroma/pleroma!3093
3 years ago
feld
6c8469664a
Merge branch 'chore/elixir-1.11' into 'develop'
Elixir 1.11 compatibility / Phoenix 1.5+
See merge request pleroma/pleroma!3059
3 years ago
Egor Kislitsyn
03e306785b
Add an API endpoint to install a new frontend
3 years ago
rinpatch
fb0e340363
Rip out fedsockets from the release branch
3 years ago
Egor Kislitsyn
ad605e3e16
Rename `Pleroma.Backup` to `Pleroma.User.Backup`
3 years ago
Ivan Tashkinov
524fb0e4c2
[ #1668 ] Restricted access to app metrics endpoint by default. Added ability to configure IP whitelist for this endpoint.
Added tests and documentation.
3 years ago
Mark Felder
1b8fd7e65a
Adds feature to permit e.g., local admins and community moderators to automatically follow all newly registered accounts
3 years ago
Alexander Strizhakov
3be8ab5103
RemoteIp module name
4 years ago
Mark Felder
87fc5a40f4
instrumenters has no effect in Endpoint anymore
3 years ago
Mark Felder
fddea9e3ce
:pubsub is deprecated and replaced wit :pubsub_server
3 years ago
Egor Kislitsyn
e52dd62e14
Add configurable temporary directory
3 years ago
Egor Kislitsyn
3ad7492f9d
Add config for Pleroma.Backup
3 years ago
Egor Kislitsyn
a0ad9bd734
Add BackupWorker
3 years ago
Mark Felder
d43d05005a
Move hardcoded default configuration into config.exs
3 years ago
Alexander Strizhakov
cbdaabad34
web push http_client fix
3 years ago
Steven Fuchs
f2ef9735c5
Federate data through persistent websocket connections
3 years ago
Sergey Suprunenko
226fa3e486
Make WebPushEncryption use Pleroma.HTTP as an HTTP adapter
3 years ago
Ivan Tashkinov
7cdbd91d83
[ #2497 ] Configurability of :min_content_length (preview proxy). Refactoring, documentation, tests.
3 years ago
rinpatch
0b5e72ecf0
Remove `:managed_config` option.
In practice, it was already removed half a year ago, but the description
and cheatsheet entries were still there.
The migration intentionally does not use ConfigDB.get_by_params, since
this will break migration code as soon as we add a new field is added
to ConfigDB.
Closes #2086
3 years ago
Alexander Strizhakov
2c2094d4b2
configurable lifetime for ephemeral activities
3 years ago
Alexander Strizhakov
9bf1065a06
schedule activity expiration in Oban
3 years ago
Alexander Strizhakov
7dd986a563
expire mfa tokens through Oban
3 years ago
Alexander Strizhakov
3ce658b930
schedule expired oauth tokens deletion with Oban
3 years ago
Mark Felder
14d07081fd
Feed provider only generates a redirect, so always activate it.
Making this configurable is misleading.
3 years ago
Mark Felder
630444ee08
Do not make RelMe metadata provider optional.
There's really no sound reason to turn this off anyway.
3 years ago
rinpatch
dccbed856d
Merge branch 'http-fixes' into 'develop'
Improvements and fixes for http requests
See merge request pleroma/pleroma!2904
3 years ago
Roman Chvanikov
c56e3d4f3b
Add expires_in param for account mutes
3 years ago
rinpatch
ea4b6c64d6
Merge branch 'feat/rich-media-improvements' into 'develop'
Rich media improvements
See merge request pleroma/pleroma!2944
3 years ago
rinpatch
13e606941c
Merge branch 'fix/2087-metadata' into 'develop'
Fix/2087 metadata
See merge request pleroma/secteam/pleroma!11
3 years ago
Alexander Strizhakov
a83916fdac
adapter options unification
not needed options deletion
3 years ago
Alexander Strizhakov
ee67c98e55
removing Stats worker from Oban cron jobs
3 years ago
Ivan Tashkinov
f170d47130
[ #2497 ] Adjusted media proxy preview invalidation. Allowed client-side caching for media preview. Adjusted prewarmer to fetch only proxiable URIs.
Removed :preview pool in favor of existing :media one. Misc. refactoring.
3 years ago
Mark Felder
b529616e11
Increase pool and timeout for preview so it catches slow media pool responses
3 years ago
Mark Felder
6141eb94ab
Fetch preview requests through the MediaProxy. Separate connection options are not needed.
Use a separate pool for preview requests
3 years ago
rinpatch
19691389b9
Rich media: Add failure tracking
3 years ago
Alexander Strizhakov
c17d83cd73
improvements and fixes for http requests
- fix for gun worker termination in some circumstances
- pool for http clients (ex_aws, tzdata)
- default pool timeouts for gun
- gun retries on gun_down messages
- s3 upload timeout if streaming enabled
3 years ago
Mark Felder
899ea2da3e
Switch to imagemagick, only support videos
3 years ago
Ivan Tashkinov
aa0a5ffb48
[ #2497 ] Media preview proxy: added `quality` config setting, adjusted width/height defaults.
3 years ago
Ivan Tashkinov
4ee15e991e
[ #2497 ] Media preview proxy config refactoring & documentation.
3 years ago
Ivan Tashkinov
da116d81fb
[ #2497 ] Added video preview proxy. Switched from exexec to Port.
3 years ago
lain
aabc26a573
Pleroma.Upload: Set default upload name / description based on config.
3 years ago
Ivan Tashkinov
95529ab709
[ #2046 ] Defaulted pleroma/restrict_unauthenticated basing on instance privacy setting (i.e. restrict on private instances only by default).
3 years ago
rinpatch
325c7c924b
Make Floki use fast_html
4 years ago
Alex Gleason
e639eee82e
restricted_nicknames: Add names from MastoAPI endpoints
3 years ago