aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/helpers
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-06[#3112] Ensured presence and consistency of :user and :token assigns ↵Ivan Tashkinov
(EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
2020-11-25Session token setting on token exchange. Auth-related refactoring.Ivan Tashkinov
2020-11-21Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.Ivan Tashkinov
2020-10-31Auth subsystem refactoring and tweaks.Ivan Tashkinov
Added proper OAuth skipping for SessionAuthenticationPlug. Integrated LegacyAuthenticationPlug into AuthenticationPlug. Adjusted tests & docs.
2020-10-18[#1668] Restricted access to app metrics endpoint by default. Added ability ↵Ivan Tashkinov
to configure IP whitelist for this endpoint. Added tests and documentation.
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-17[#2497] Configurability of :min_content_length (preview proxy). Refactoring, ↵Ivan Tashkinov
documentation, tests.
2020-09-16[#2497] Media preview proxy: misc. improvements (`static` param support, ↵Ivan Tashkinov
dynamic fifo pipe path), refactoring.
2020-09-09[#2497] Added missing alias, removed legacy `:adapter` option specification ↵Ivan Tashkinov
for HTTP.get/_.
2020-09-05[#2497] Adjusted media proxy preview invalidation. Allowed client-side ↵Ivan Tashkinov
caching for media preview. Adjusted prewarmer to fetch only proxiable URIs. Removed :preview pool in favor of existing :media one. Misc. refactoring.
2020-09-05[#2497] Made media preview proxy fall back to media proxy instead of to ↵Ivan Tashkinov
source url. Adjusted tests. Refactoring.
2020-09-03URL passed to helper is already MediaProxyMark Felder
Set :preview pool on the request
2020-09-03[#2497] Added support for enforcing output format for media proxy preview, ↵Ivan Tashkinov
used for avatar_static & header_static (AccountView).
2020-08-30CredoMark Felder
2020-08-30Support PNG previews to preserve alpha channelsMark Felder
2020-08-29QtFastStart: optimizehref
~4-6x faster ~3~4x memory usage reduction (now mostly adds what we are rewriting in the metadatas)
2020-08-28Rewrite MP4/MOV binaries to be faststarthref
In some cases, MP4/MOV files can have the data _before_ the meta-data. Thus, ffmpeg (and all similar tools) cannot really process the input if it's given over stdin/streaming/pipes. BUT I REALLY DON'T WANT TO MAKE TEMPORARY FILES so here we go, an implementation of qtfaststart in elixir.
2020-08-27Keep args construction within video/image scopes instead of mangling down in ↵Mark Felder
fifo town
2020-08-27Try to trick ffmpeg into working with this named pipeMark Felder
2020-08-27ffmpeg needs input from fifo path, not stdinMark Felder
2020-08-27Attempt at supporting video thumbnails via ffmpegMark Felder
2020-08-26Move arg for images to the list so we can reuse these fifo functions for videosMark Felder
2020-08-26Rename to make it obvious this is for images not videosMark Felder
2020-08-26Change method of convert using stdout, make progressive jpegsMark Felder
2020-08-26Remove auto-orient; don't use it on previews, only originalsMark Felder
2020-08-26Use mkfifo to feed ImageMagickhref
2020-08-25Try specifying fd0, force jpg outMark Felder
2020-08-25Allow both stdin and stdoutMark Felder
2020-08-25Switch to imagemagick, only support videosMark Felder
2020-08-21Remove newline for linterhref
2020-08-21Fix truncated imageshref
2020-08-21[#2497] Media preview proxy: added `quality` config setting, adjusted ↵Ivan Tashkinov
width/height defaults.
2020-08-18[#2497] Added video preview proxy. Switched from exexec to Port.Ivan Tashkinov
2020-07-02Merge remote-tracking branch 'remotes/origin/develop' into ↵Ivan Tashkinov
2168-media-preview-proxy # Conflicts: # config/config.exs # lib/pleroma/web/media_proxy/media_proxy.ex # lib/pleroma/web/media_proxy/media_proxy_controller.ex
2020-06-05Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})Haelwenn
Unifies all the similar functions to one and simplify some blocks with it.
2020-05-21[#2497] Customized `exexec` launch to support root operation (currently ↵Ivan Tashkinov
required by Gitlab CI).
2020-05-21[#2497] Image preview proxy: image resize & background color fix with ffmpeg ↵Ivan Tashkinov
-filter_complex.
2020-05-21Added the ability to upload background, logo, default user avatar, instance ↵eugenijm
thumbnail, and the NSFW hiding image via AdminFE
2020-05-20[#2497] Image preview proxy: implemented ffmpeg-based resizing, removed eimp ↵Ivan Tashkinov
& mogrify-based resizing.
2020-05-08Initial implementation of image preview proxy. Media proxy tests refactoring.Ivan Tashkinov
2020-03-03Update CopyrightsMark Felder
2019-06-12[#963] No redirect on OOB OAuth authorize request with existing ↵Ivan Tashkinov
authorization. OAuth-related refactoring.