f388554166
[ATTACHMENTS][EVENT] Add onHashFile event, which can be used to deduplicate files
...
Currently, we simply hash the contents of the file with sha256, but in the future we can use something smarter,
which could find visual feature similarity between images
2021-04-27 20:53:59 +00:00
c1db9bd0a3
[Posting] Extract and store URLs from note content. Introduce 'AttachmentStoreNew' event
2021-04-25 21:20:28 +00:00
0f52638a80
[ATTACHMENTS] Further refactoring
...
Some key points:
- Components and Plugins shouldn't extend Module directly
- Avatars should be fetched via GSActor ID, not by nickname as that isn't unique
- Avatar now is a separate Component
- Common file utilities are now to be placed in Core\GSFile, this will
handle storage and trigger validation
- Some bug fixes
2021-04-19 13:21:32 +01:00
acf5bd1ff5
[ImageThumbnail] Implement image resizing with Intervention/Image
2021-04-16 20:28:39 +01:00
2232f28283
[Posting] Rename file to attachment and cache result of actor tag query
2021-04-16 20:28:39 +01:00
b639ce906c
[MEDIA] Rename File to Attachment
2021-04-16 20:28:39 +01:00
a5505bf848
[AUTOGENERATED] Update autogenerated code
2021-04-16 20:28:39 +01:00
a1cac40f6a
[MODULES] Introduce the concept of abstract modules to V3
...
Introduce placeholder for abstract upload and thumb modules
Temporarily supress some bugs
2021-04-16 20:21:54 +01:00
Daniel
168b7d313a
[Poll] Polls now have an associated note, poll templates, start_show_styles event, started css
2021-04-14 15:37:23 +00:00
adb5cfbb72
[AUTOGENERATED][DB][File][GroupJoinQueue] Update autogenerated code and add select fields as specified in the previous commit
2021-04-14 15:37:23 +00:00
256169a3c4
[GIT] Change my email to the new one in all files and bump copyright year
2021-04-14 15:37:23 +00:00
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
4c021a2838
[POSTING] Fix missing use statement
2021-04-14 15:37:23 +00:00
Hugo Sales
a7b7d487d7
POSTING remove REPLY route
2021-04-14 15:37:22 +00:00
Hugo Sales
774d7ffdf9
[Reply] Move reply functionality to a plugin
2021-04-14 15:37:22 +00:00
Hugo Sales
1c37eb7c72
[UI] Display error when submitted form is invalid
2021-04-14 15:37:22 +00:00
Hugo Sales
6926d70543
[Bridge] Replace zero dates with CURRENT_TIMESTAMP
2021-04-14 15:37:22 +00:00
Hugo Sales
ff96c2bb59
[AUTOGENERATED] Update autogenerated code in module entities
2021-04-14 15:37:22 +00:00
Hugo Sales
3affbc3c78
[Posting] Fix form name and remove unused recycle route and controller
2021-04-14 15:37:22 +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
54e8852fb7
[Posting] Fix posting form name and css
2021-04-14 15:37:22 +00:00
Hugo Sales
8f68d7deb4
[Posting] Add missing includes
2021-04-14 15:37:22 +00:00
rainydaysavings
492f32c555
[COMPONENT][CONTROLLER][TWIG] Recycle component work
2021-04-14 15:37:22 +00:00
rainydaysavings
2d1200e2e6
[COMPONENT] Favourite initial implementation
2021-04-14 15:37:22 +00:00
rainydaysavings
8f7790fa3c
[COMPONENT] Fixing typo
2021-04-14 15:37:22 +00:00
Hugo Sales
e13e763d5c
[NOTE][UI] Add note replying and UI displaying
2021-04-14 15:37:22 +00:00
rainydaysavings
11d6c19d65
[CONTROLLER] Reply initial implementation
2021-04-14 15:37:22 +00:00
rainydaysavings
b9355b49f3
[COMPONENT] Posting form restructure and minor fixes
2021-04-14 15:37:22 +00:00
rainydaysavings
5dbde32f01
[COMPONENT] Posting form now shows a random default string
2021-04-14 15:37:22 +00:00
rainydaysavings
f16fcb0200
[COMPONENTS] Small fix
2021-04-14 15:37:22 +00:00
rainydaysavings
dec35a6aa1
[COMPONENT] Posts scope initial form
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
1b0cab6dc8
[UI][NOTE] Post and see attachments
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
8276baecab
[UI][CACHE][DB] Add follow counts to left panel, caching the results; change follow table
2021-04-14 15:37:22 +00:00
Hugo Sales
513a1e58b8
[MODULE][Left][UI][TAGS] Add Left module which handles fetching tags and followers, fix self tags
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
75958fc9b4
[MODULE][Posting] Add Posting module, which handles notice posting
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
Hugo Sales
b9a2badc31
[COMPONENT][PLUGIN] Move Email and XMPP notification handlers from components to plugins, so they can be disabled
2021-04-14 15:37:22 +00:00
Hugo Sales
be49bfa0c1
[COMPONENT] Remove 'post on status change' option for email transport
2021-04-14 15:37:22 +00:00