Commit Graph

15 Commits

Author SHA1 Message Date
Hugo Sales
5cced1c9ed [DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup 2021-04-14 15:37:23 +00:00
Hugo Sales
5663e5e58d [Media] Add cache control directive to all files served 2021-04-14 15:37:22 +00:00
Hugo Sales
5cf7050008 [Media] Display images and videos inline in notes 2021-04-14 15:37:22 +00:00
Hugo Sales
9204213dbc [MEDIA] Only try to get an avatar if a user is logged in 2021-04-14 15:37:22 +00:00
Hugo Sales
4b8e6bb198 [MEDIA][CACHE] Cache avatar queries and delete stale values; small refactoring 2021-04-14 15:37:22 +00:00
Hugo Sales
624aef0a8e [UI][MEDIA] Add actor avatar in feed timeline 2021-04-14 15:37:22 +00:00
Hugo Sales
d86636ebd4 [DB][File] Remove timestamp, add actor_id 2021-04-14 15:37:22 +00:00
Hugo Sales
30deeaf4ef [Media] Use utils 2021-04-14 15:37:22 +00:00
Hugo Sales
651af27674 [Media] Move code from media.php to utils.php 2021-04-14 15:37:22 +00:00
Hugo Sales
036b4480f3 [MEDIA] Move avatar fetching and adding to ouput to media component 2021-04-14 15:37:22 +00:00
Hugo Sales
0508886fc4 [CORE][DB] Fix uses of db tables after previous restructure 2021-04-14 15:37:22 +00:00
Hugo Sales
459a60d789 [MEDIA][EXCEPTIONS] Fix errors and deprecations 2021-04-14 15:37:22 +00:00
Hugo Sales
d21d4f5cb1 [AVATAR] Update way avatar is sent, to use proper symfony responses, make config('site', 's_static_delivery') into a boolean 2021-04-14 15:37:22 +00:00
Hugo Sales
a5c97762e0 [AVATAR] Fixed avatar upload, added avatar inline download and updated template and base controller 2021-04-14 15:37:22 +00:00
Hugo Sales
480904a4e3 [MEDIA][AVATAR] Handle avatar validation and storage 2021-04-14 15:37:22 +00:00