aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/application.ex
AgeCommit message (Collapse)Author
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-13Merge branch 'develop' into feature/gen-magicMark Felder
2020-10-13HTTPSecurityPlug module name and filenameAlexander Strizhakov
2020-10-13renaming ratelimiter supervisorAlexander Strizhakov
2020-10-09Merge branch 'develop' into feature/gen-magicMark Felder
2020-09-29[#3031] Refactoring: moved system commands checks to ApplicationRequirements.Ivan Tashkinov
2020-09-26Adjusted MediaProxyControllerTest to gracefully fail on missing ↵Ivan Tashkinov
dependencies. Installation docs update. Added ffmpeg/imagemagick checks to launch checks (if media preview proxy is enabled). Added documentation on installing optional media / graphics packages (imagemagick, ffmpeg, exiftool).
2020-09-18Federate data through persistent websocket connectionsSteven Fuchs
2020-09-10Merge branch 'develop' into feature/gen-magicMark Felder
2020-09-07removing Stats worker from Oban cron jobsAlexander Strizhakov
2020-09-02user agent if Endpoint is not started yetAlexander Strizhakov
2020-09-01application.ex: disable warnings_as_errors at runtimerinpatch
see changed files for rationale
2020-08-05Move checks to application startupRoman Chvanikov
2020-07-15HTTP: Implement max request limitsrinpatch
2020-07-15Connection pool: implement logging and telemetry eventsrinpatch
2020-07-15Connection pool: Fix race conditions in limit enforcementrinpatch
Fixes race conditions in limit enforcement by putting worker processes in a DynamicSupervisor
2020-07-15Refactor gun pooling and simplify adapter option insertionrinpatch
This patch refactors gun pooling to use Elixir process registry and simplifies adapter option insertion. Having the pool use process registry instead of a GenServer has a number of advantages: - Simpler code: the initial implementation adds about half the lines of code it deletes - Concurrency: unlike a GenServer, ETS-based registry can handle multiple checkout/checkin requests at the same time - Precise and easy idle connection clousure: current proposal for closing idle connections in the GenServer-based pool needs to filter through all connections once a minute and compare their last active time with closing time. With Elixir process registry this can be done by just using `Process.send_after`/`Process.cancel_timer` in the worker process. - Lower memory footprint: In my tests `gun-memory-leak` branch uses about 290mb on peak load (250 connections) and 235mb on idle (5-10 connections). Registry-based pool uses 210mb on idle and 240mb on peak load
2020-07-14Fix in-db configuration in dev environmentrinpatch
Previously, in-db configuration only worked when `warnings_as_errors` was disabled because re-compiling scrubbers on application restart created a warning about module conflicts. This patch fixes that by enabling `ignore_module_conflict` option of the compiler at runtime, and enables `warnings_as_errors` in prod since there is no reason to keep it disabled anymore.
2020-07-12Config/Docs: Expand behaviour suggestions at runtimehref
2020-07-10Merge branch 'mix-tasks-improvement' into 'develop'lain
Mix tasks improvement See merge request pleroma/pleroma!2723
2020-07-09Use the Pleroma.Config aliasMark Felder
2020-07-08don't fully start pleroma in mix tasksAlexander Strizhakov
2020-06-23Merge branch 'issue/1798' into 'develop'lain
[#1798] fixed migration the settings to DB See merge request pleroma/pleroma!2655
2020-06-22added verify RUM settings before start appMaksim Pechnikov
2020-06-17Change references from "deleted_urls" to "banned_urls" as nothing is handled ↵Mark Felder
via media deletions anymore; all actions are manual operations by an admin to ban the url
2020-06-16Switch from gen_magic to majic, use Majic.Plug, remove Pleroma.MIMEhref
2020-06-16Pleroma.MIME: use gen_magichref
2020-06-14fix invalidates media url'sMaksim Pechnikov
2020-05-12Startup: suggest updating OTP when the version is too low for gunrinpatch
I've seen quite a few people wonder what to do when presented with this error message.
2020-05-07Streamer reworkhref
2020-04-29Change Pleroma.CaptchaTest to be a regular module instead of GenServerEgor Kislitsyn
2020-04-01Merge branch 'gun' into 'develop'feld
Gun adapter Closes #945 See merge request pleroma/pleroma!1861
2020-03-30activities generation tasksAlexander Strizhakov
2020-03-12Merge branch 'develop' into gunAlexander Strizhakov
2020-03-12clean upAlexander Strizhakov
2020-03-11using Pleroma.Config instead of etsAlexander Strizhakov
2020-03-11merging release default config on app startAlexander Strizhakov
2020-03-04otp versionAlexander Strizhakov
2020-03-03hiding raise error logic to otp_version moduleAlexander Strizhakov
2020-03-03otp_version refactorAlexander Strizhakov
2020-03-03Merge branch 'develop' into gunAlexander Strizhakov
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-18adding gun adapterAlexander Strizhakov
2020-02-03Merge branch 'develop' into issue/1383Maksim Pechnikov
2020-01-28Warn if HTTPSecurityPlug is disabledEgor Kislitsyn
2020-01-22Merge branch 'develop' into issue/1383Maksim Pechnikov
2020-01-20Check for unapplied migrations on startuprinpatch
Closes #1328
2019-12-21Merge branch 'develop' into issue/1383Maksim Pechnikov
2019-12-10Merge branch 'develop' into feature/custom-runtime-modulesEgor Kislitsyn
2019-12-09Merge branch 'develop' into issue/1383Maksim Pechnikov