Hugo Sales
7eff22d548
[TOOLS] Fix errors reported by updated PHPStan
2021-12-27 03:03:57 +00:00
Diogo Peralta Cordeiro
a1d9909379
[CORE][VisibilityScope] Use enum type instead of Bitmap
2021-12-26 19:16:56 +00:00
Hugo Sales
c79b1e4c94
[AUTOGENERATED] Update auto generated code
2021-12-26 19:16:15 +00:00
Hugo Sales
ec28f23025
[TOOLS] Run CS-fixer on all files
2021-12-26 19:16:15 +00:00
Diogo Peralta Cordeiro
3e13765f62
[CORE][SCOPE] Implement basic visibility in feeds
2021-12-26 16:48:34 +00:00
Diogo Peralta Cordeiro
d4bc1d097d
[ENTITY][NoteTag][COMPONENT][Language] Add language to NoteTag and minor corrections
2021-12-26 06:22:30 +00:00
Eliseu Amaro
7891461d36
[PLUGINS][AttachmentCollections] Fix template
...
[PLUGINS][AttachmentShowRelated] Fix template
[CSS] Fix section-subtitle-details children padding issues
[COMPONENTS][Posting] Remove unnecessary colon
Overall polish of existing plugins templates
2021-12-25 17:31:16 +00:00
Hugo Sales
b604ee3146
[COMPONENT][Posting][Tag][Group][Conversation][RightPanel] Rename posting_form.to to posting_form.in, fill in with current group. Refactor context_actor
2021-12-25 11:24:41 +00:00
Diogo Peralta Cordeiro
b05106e7f9
[COMPONENT][Conversation] Minor corrections and don't store URI in DB
2021-12-24 02:46:38 +00:00
Eliseu Amaro
48b2c8c04e
[COMPONENTS][Conversation] Local Conversations done
...
[COMPONENTS][Posting] Call Conversation::assignLocalConversation upon
creating a new note
By using the AddExtraArgsToNoteContent event upon posting a Note, an
extra argument ('reply_to') is added before storing the aforementioned Note.
When storeLocalNote eventually creates the Note, the corresponding
Conversation is assigned.
2021-12-24 00:42:02 +00:00
Hugo Sales
85735222cb
[COMPONENT][Posting] When a group is mentioned, add that note to the group inbox
2021-12-21 12:43:28 +00:00
Hugo Sales
315fd95b94
[COMPONENT][Posting] Add facility to allow mentioning groups that don't yet exist
2021-12-21 12:07:54 +00:00
Hugo Sales
330b6b49a2
[COMPONENT][Posting] Add support for posting with empty content. At least one of content and attachments must be provided
2021-12-16 11:08:53 +00:00
Diogo Peralta Cordeiro
b89f57ce93
[ENTITY][Note] Language can be null
2021-12-10 04:05:34 +00:00
Diogo Peralta Cordeiro
480a42cca5
[PLUGIN][ActivityPub] Introduce ActivitypubObject. Beware, inside the plugin, an Object can never be an Activity.
...
Many bug fixes and other major changes (interface changed, see EVENTS.md)
2021-12-08 23:24:23 +00:00
Hugo Sales
e9dfa0f08c
[COMPONENT][Attachment][Posting] Move onHashFile
from Posting to Attachment. Remove onGetAllowedThumbnailSizes
2021-12-08 20:42:29 +00:00
Eliseu Amaro
a285128dab
[COMPONENTS][Posting] Added language help text
...
[COMPONENTS][Tag] Added Posting form canonical tags field help text
2021-12-08 14:28:58 +00:00
Hugo Sales
e29e1cc87c
[ENTITY] Rename 'getFrom' to 'getBy'
2021-12-05 17:55:46 +00:00
Hugo Sales
2f5bde913c
[COMPONENT][Posting][Tag] Add mechanism for adding extra fields to and handling the data from the Posting form. Add 'use canonical tag' field
2021-12-05 17:54:58 +00:00
Diogo Peralta Cordeiro
eeaad19754
[Attachment] Move Controller and Entities to a Component
...
There's no problem in having the templates in the core
2021-12-02 15:14:07 +00:00
Hugo Sales
6680772e47
[UI][I18N][UTIL][FormFields][Language][COMPONENTS][Posting][PLUGINS][Reply] Factor out translation from FormFields::language
and remove help text in cases from Posting and Reply
2021-11-29 22:42:50 +00:00
Diogo Peralta Cordeiro
56526c9ba6
[ActivityPub][Inbox] Restore Create Note Functionality
...
Minor bug fixes
2021-11-29 22:42:46 +00:00
Diogo Peralta Cordeiro
7b9d388a44
[NOTIFICATION] Implement Target Collector
2021-11-27 15:14:15 +00:00
Hugo Sales
2d057024b9
[TAGS][ENTITY][Note] Properly store the note language, pass it along when rendering content. Add mechanism for stemming tags, with fallback to simply slug-ifying them
2021-11-25 20:37:53 +00:00
Eliseu Amaro
0aa43783e8
[PLUGIN][Repeat] Repeat now repeats attachments as it should.
...
[COMPONENTS][Posting] Now accepts attachments already processed.
[ENTITY][Note] Added getAttachmentsWithTitle().
2021-11-17 17:14:15 +00:00
Hugo Sales
e9cc760ca8
[COMPONENTS][Posting][Right] Fix TypeError (which somehow only popped up in tests) caused by assigning a FormView to an out array param
2021-11-15 19:25:52 +00:00
Eliseu Amaro
f2f1bdc145
[PLUGIN][Reply] Separated replies from Note table.
...
[PLUGIN][Repeat] Deleted unnecessary card note template, info now to
appended at the end of note.
[PLUGIN][TreeNotes] WIP to accomodate reply plugin changes.
[TWIG][Runtime] Removed getAdditionalTemplateVars event.
2021-11-10 13:29:53 +00:00
Hugo Sales
2cf3a0b4e6
[COMPONENT][Posting] Display short language signifier rather than the full name for the first preffered language
2021-11-08 16:08:03 +00:00
Hugo Sales
019ad794d1
[Posting] Add dropdown with language choice, with preferred choice according to user choice and context (group, etc)
2021-11-08 16:08:02 +00:00
Hugo Sales
839fa070c7
[CORE][Posting] Default Posting language to site language, if the user hasn't selected one
2021-11-02 11:14:59 +00:00
Eliseu Amaro
7fef18e95a
[COMPONENTS][Posting] LocaleType::class doesn't have a default attribute, replaced with 'preferred_choices' instead.
2021-10-29 17:46:25 +01:00
Hugo Sales
0f358a9c5d
[CORE][Posting] Add language choice field to the note posting block
2021-10-28 17:37:00 +01:00
Eliseu Amaro
b7d9da8ae6
[Posting] Add Content Length constraint to form validation
2021-10-27 04:19:33 +01:00
Eliseu Amaro
8038fdbce9
[UTIL][Common] Added Common::getUploadLimit().
...
[COMPONENT][Posting] Update Posting to warn the user of submtting attachments too large.
2021-10-27 04:19:32 +01:00
Hugo Sales
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
2021-10-27 04:19:28 +01:00
Eliseu Amaro
5249ccfc68
[Posting][CSS] Right panel form render simplified.
2021-09-25 21:02:11 +01:00
Diogo Peralta Cordeiro
c1e7d486a3
[Posting] Fix bug with early DB::flush that would discard attachments relations
2021-09-22 15:13:44 +01:00
Hugo Sales
2f3f7b8469
[COMPONENTS][Posting][Link][Tag] Pass the note, not just the id in ProcessNoteContent
2021-09-21 11:04:27 +01:00
Diogo Peralta Cordeiro
958cbffb91
[Posting] Add text/html content type, must actually treat it
2021-09-20 17:02:35 +01:00
Eliseu Amaro
baeb1dde7a
[Posting][CSS] Fix for qtwebengine and gecko not displaying background color on input elements.
...
Minor bug fixes.
2021-09-20 12:49:05 +01:00
Diogo Peralta Cordeiro
67d62cf37b
[TWIG] Remove kludge event TwigPopulateVars
2021-09-18 07:27:35 +01:00
Diogo Peralta Cordeiro
2bd19fa087
[NOTE][Posting] Revert regressions introduced with c90efe2c52
...
Entity Note: It doesn't make sense to handle attachments on Note::create.
Attachments exist out of Notes, they are a thing on their own.
Furthermore, they aren't always handled the same, they most definitely
aren't always uploaded files.
FileQuota: It doesn't make sense to check if a file is greater than max
allowed upload size here. The plugin ensures a user is inside his
allowed quota, it's ignorant to anything else. Whether a file respect
max upload is a core thing that must be handled directly in the Posting
component. TODO: The configuration regarding user and monthly quota
must become FileQuotaPlugin settings and be removed from core.
c90efe2c52 - [UI] Add mechanism for rendering note contents in different formats. Implement plaintext rendering. Use rendered field for note content, rather than the content itself
2021-09-18 05:12:18 +01:00
Diogo Peralta Cordeiro
941cbe6599
[Actor] Refactor GSActor into Actor
2021-09-18 05:12:17 +01:00
Eliseu Amaro
6c899b7b61
[Plugins][Components] Fixed issue where right panel form was rendered multiple times in actors plugin page. Actors page done.
2021-09-18 05:12:16 +01:00
Hugo Sales
8f0a3e4977
[UI] Add mechanism for rendering note contents in different formats. Implement plaintext rendering. Use rendered field for note content, rather than the content itself
2021-09-18 05:12:06 +01:00
Hugo Sales
bebf4fdbce
[I18n][Posting] Move ':' to inside the translate call
2021-09-14 13:13:45 +01:00
Diogo Peralta Cordeiro
7c465bba5f
[NOTE] Add mimetype to notes
2021-09-14 13:13:45 +01:00
Hugo Sales
0cecc67376
[COMPONENT][Posting][Link] Create ProcessNoteContent
event. Move link extraction to Link component. Cleanup Posting
2021-09-14 13:13:42 +01:00
Eliseu Amaro
6ef07e04d1
[Posting][CSS] Right panel form uses a select box instead of radio buttons. Hover and focus of <a> elements using just an underline. Note author and actions padding redone. File-picker font is now correct. Left panel hierarchy should now be more clear.
2021-09-14 13:13:38 +01:00
Diogo Peralta Cordeiro
9739cc5f21
[Posting] Respect process_links setting
2021-09-14 13:13:36 +01:00