gnu-social/components
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
..
Attachment [COMPONENT][Attachment][TESTS] Fix Entity/AttachmentThumbnailTest 2022-03-09 01:42:11 +00:00
Avatar [COMPONENT][Avatar] Save title if possible, delete correctly, no early flushes 2022-01-02 23:50:14 +00:00
Blog [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Bridge [AUTOGENERATED] Update autogenerated code 2021-12-27 03:06:30 +00:00
Circle [TESTS] Fix Circle SelfTags Setting test 2022-03-09 01:40:35 +00:00
Collection [TESTS] Fix Core/ControllerTest 2022-03-09 01:40:33 +00:00
Conversation [COMPONENT][Posting] Fix request handling issues that resulted from splitting creation and controller 2022-03-13 15:52:48 +00:00
Feed [TESTS] Fix Controller/FeedsTest 2022-03-09 01:40:33 +00:00
FreeNetwork [COMPONENT][FreeNetwork] Start using queues 2022-03-05 14:23:08 +00:00
Group [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Language [TESTS] Fix Core/ControllerTest 2022-03-09 01:40:33 +00:00
LeftPanel [TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway) 2022-03-01 13:16:11 +00:00
Link [UTIL][HTML] HTML abstraction class was extended with a more specialised Heading class 2022-02-16 18:53:08 +00:00
Notification [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Person [COMPONENT][Person][TESTS] Fix Controller/PersonSettingsTest 2022-03-09 14:24:50 +00:00
Posting [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
RightPanel/templates/right_panel [TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway) 2022-03-01 13:16:11 +00:00
Search [TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway) 2022-03-01 13:16:11 +00:00
Subscription [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Tag [TESTS] Fix Core/ControllerTest 2022-03-09 01:40:33 +00:00