Commit Graph

15 Commits

Author SHA1 Message Date
Hugo Sales
e8feb2ae84 [DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup 2021-09-14 13:06:55 +01:00
Hugo Sales
9865798766 [Media] Add cache control directive to all files served 2021-09-14 13:06:50 +01:00
Hugo Sales
6165f7cd55 [Media] Display images and videos inline in notes 2021-09-14 13:06:49 +01:00
Hugo Sales
4507b12976 [MEDIA] Only try to get an avatar if a user is logged in 2021-09-14 13:05:58 +01:00
Hugo Sales
9649bec01e [MEDIA][CACHE] Cache avatar queries and delete stale values; small refactoring 2021-09-14 13:05:57 +01:00
Hugo Sales
e3c5d7e5dc [UI][MEDIA] Add actor avatar in feed timeline 2021-09-14 13:05:57 +01:00
Hugo Sales
31ccb2d07b [DB][File] Remove timestamp, add actor_id 2021-09-14 13:05:55 +01:00
Hugo Sales
f255d29078 [Media] Use utils 2021-09-14 13:05:55 +01:00
Hugo Sales
688ee18411 [Media] Move code from media.php to utils.php 2021-09-14 13:05:55 +01:00
Hugo Sales
e1002eb605 [MEDIA] Move avatar fetching and adding to ouput to media component 2021-09-14 13:05:55 +01:00
Hugo Sales
8716d700a6 [CORE][DB] Fix uses of db tables after previous restructure 2021-09-14 13:05:53 +01:00
Hugo Sales
4128a5403d [MEDIA][EXCEPTIONS] Fix errors and deprecations 2021-09-14 13:05:51 +01:00
Hugo Sales
6438092d86 [AVATAR] Update way avatar is sent, to use proper symfony responses, make config('site', 's_static_delivery') into a boolean 2021-09-14 13:05:51 +01:00
Hugo Sales
bd8f4bd277 [AVATAR] Fixed avatar upload, added avatar inline download and updated template and base controller 2021-09-14 13:05:51 +01:00
Hugo Sales
113c250c41 [MEDIA][AVATAR] Handle avatar validation and storage 2021-09-14 13:05:50 +01:00