gnu-social/plugins/ActivityPub/Util
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
..
Model [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Response [TOOLS] Run CS-fixer on all files 2021-12-26 19:16:15 +00:00
Validator [TOOLS] Run CS-fixer on all files 2021-12-26 19:16:15 +00:00
DiscoveryHints.php [TOOLS] Run CS-fixer on all files 2021-12-26 19:16:15 +00:00
Explorer.php [TOOLS] Run CS-Fixer on whole project 2022-02-28 15:47:37 +00:00
HTTPSignature.php [TOOLS] Run CS-Fixer on whole project 2022-02-28 15:47:37 +00:00
Model.php [PLUGIN][ActivityPub][Postman] JSON_UNESCAPED_SLASHES 2022-02-25 13:52:56 +00:00
ModelResponse.php [TOOLS] Run CS-fixer on all files 2021-12-26 19:16:15 +00:00
ModelValidator.php [TOOLS] Run CS-fixer on all files 2021-12-26 19:16:15 +00:00
OrderedCollectionController.php [PLUGIN][ActivityPub] Correct @context 2022-02-23 22:27:30 +00:00
TypeResponse.php [PLUGIN][ActivityPub] Provide ActivityStreams 2.0 responses for every Collection 2022-01-11 20:30:25 +00:00