Hugo Sales
edeee49af9
[TOOLS] Fix errors pointed out by PHPStan level 4
2022-10-19 22:38:49 +01:00
Hugo Sales
d4b7e990ce
[CORE][Event] Make all events return \EventResult, enforced at container build time
2022-04-03 21:40:32 +01:00
Diogo Peralta Cordeiro
fa82306f6f
[COMPONENT][Posting] Blog posts should be Articles by default
2022-03-28 23:54:18 +01:00
Hugo Sales
483983790a
[CORE][Router] Rename \App\Core\Router\Router to \App\Core\Router and merge \App\Core\Router\RouteLoader with \App\Core\Router
2022-03-28 20:59:15 +01:00
Hugo Sales
abe35428da
[CORE][DB] Rename App\Core\DB\DB to App\Core\DB
2022-03-28 20:59:14 +01:00
Diogo Peralta Cordeiro
16f51e5143
[COMPONENT][Notification] ->getSubscribers() should not be pre-included
...
Notification bug fix on Subscription component
Correct docblock
2022-03-28 20:53:19 +01:00
Diogo Peralta Cordeiro
888c3798b7
[COMPONENT][Notification] Make logic more generic and robust
...
Fixed various bugs
Some important concepts to bear in mind:
* Notification: Associated with activities, won't be reconstructed
together with objects, can be thought of as transient
* Attention: Associated with objects, will be reconstructed with them, can
be thought as persistent
* Notifications and Attentions have no direct implications.
* Mentions are a specific form of attentions in notes, leads to the creation of Attentions.
Finally,
Potential PHP issue detected and reported: https://github.com/php/php-src/issues/8199
`static::method()` from a non static context (such as a class method) calls `__call`, rather than
the expected `__callStatic`. Can be fixed by using `(static fn() => static::method())()`, but the
usage of the magic method is strictly unnecessary in this case.
2022-03-14 11:37:09 +00:00
Hugo Sales
0ce5eba355
[PLUGINS][Favourite][RepeatNote][DeleteNote][WebMonetization] Make use of 'activitypub_handler' more readable
2022-03-10 00:40:54 +00:00
Diogo Peralta Cordeiro
47f03d4c9f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentTest
2022-03-09 01:42:06 +00:00
Diogo Peralta Cordeiro
af02bc7b32
[PLUGIN][ActivityPub][Model][Note] Replace our directMessage extension with LitePub's
2022-02-23 22:27:32 +00:00
Diogo Peralta Cordeiro
496701ce73
[PLUGIN][ActivityPub][Inbox] Add event for notifications triggered by AP Inbox
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
51cccd0155
[PLUGIN][ActivityPub] Simplify DB usage
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
8cf60275e6
[PLUGIN][ActivityPub][Model][Note] Add support to Pages
2022-02-19 04:49:49 +00:00
Diogo Peralta Cordeiro
b69f4a46c5
[COMPONENT][Posting] Page should flush with a different notification
2022-02-16 19:35:27 +00:00
Diogo Peralta Cordeiro
2d5fac7a89
[COMPONENT][Notification] Re-introduce the concept of note attention
...
Minor refactoring and bug fixing
2022-02-16 18:53:08 +00:00
Diogo Peralta Cordeiro
10d1a7ed2a
[PLUGIN][ActivityPub] Implement Group Inbox POST
2022-02-13 23:15:00 +00:00
Eliseu Amaro
117549bf1e
[PLUGINS][Favourite] Remove favourite action properly removes note_favourite Entity now [COMPONENTS][Collection] Simplyfying feed-action-details template section
...
[COMPONENTS] Documentation work [PLUGINS] Documentation work
2022-01-27 00:54:27 +00:00
Hugo Sales
1856af68b3
[PLUGIN][RepeatNote][COMPONENTS][Posting] Review and fix RepeatNote. Handle attachment lives in Posting
2022-01-21 21:03:08 +00:00
Hugo Sales
a697399a6f
[PLUGIN][DeleteNote][Favourite][ProfileColor][RepeatNote][WebMonetization] Refactor, cleanup and cache results
2022-01-09 12:29:34 +00:00
Diogo Peralta Cordeiro
ee007befa4
[COMPONENT][Posting] DB::Flush after Notification and fix minor issues with In targets
2022-01-05 01:30:01 +00:00
Eliseu Amaro
7ad39fdc83
[PLUGINS][Repeat] Added onNoteDeleteRelated event
...
Using DB::merge to increment attachment lives when repeating a note,
since it's getting deprecated in the future, an alternative needs to
replace it here
2022-01-02 23:50:15 +00:00
Eliseu Amaro
836560f55f
[CARDS][Note] AppendCardNote event overhaul
...
[PLUGINS][Favourite] Added complementary information on user action
[COMPONENTS][Conversation] Fixed AppendCardNote issue where cached query
would only act on Notes with depth > 1
2021-12-29 18:35:12 +00:00
Diogo Peralta Cordeiro
137723e59a
[PLUGIN][ActivityPub][Favourite][Repeat][Delete] Document event handlers
2021-12-28 22:57:49 +00:00
Eliseu Amaro
ce3c6a7f23
[PLUGINS][RepeatNote] Added documentation (not for ActivityPub related functions)
2021-12-28 21:51:27 +00:00
Diogo Peralta Cordeiro
4d8e39bf69
[PLUGIN][RepeatNote] Do not notify about clone note
...
Fix redirecion after action
Fix typo in activitypub handler
2021-12-28 18:30:27 +00:00
Eliseu Amaro
182c6265a3
[PLUGINS][RepeatNote] Add onFilterNoteList event
...
Filters repeats out of Conversations, and replaces a repeat with the original Note on Actor feed
Added isNoteRepeat to plugin's entity, which returns true if a given
Note is a repeat of another Note
2021-12-28 17:37:01 +00:00
Diogo Peralta Cordeiro
9cda64f275
[COMPONENT][Notification] Use _m() in reason
2021-12-28 16:36:52 +00:00
Diogo Peralta Cordeiro
3e83387e98
[PLUGIN][DeleteNote] Support ActivityPub
2021-12-28 16:22:38 +00:00
Hugo Sales
b84315c95b
[TOOLS] Fix errors reported by PHPStan at level 4
2021-12-27 17:35:33 +00:00
Eliseu Amaro
78cc9c4659
[PLUGINS][Repeat] Repeat now added has a reply and conversation of original note
2021-12-26 19:16:57 +00:00
Hugo Sales
ec28f23025
[TOOLS] Run CS-fixer on all files
2021-12-26 19:16:15 +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
Diogo Peralta Cordeiro
630e22579e
[PLUGIN][RepeatNote] Add support for onGSVerbToActivityStreamsTwoActivityType
2021-12-20 13:32:48 +00:00
Hugo Sales
a81ac673ac
[CORE][ENTITY] Rename 'Entity::getWithPK' to 'Entity::getByPK'
2021-12-19 19:04:01 +00:00
Diogo Peralta Cordeiro
5dd9e5a3d7
[PLUGIN][RepeatNote] Add Notifications and ActivityPub support
...
Minor bug fixes
2021-12-10 04:05:41 +00:00
Diogo Peralta Cordeiro
4992ff153b
[PLUGIN][RepeatNote] Fill activity log and fix some bugs
...
Refactored the plugin.
2021-12-10 04:05:26 +00:00