gnu-social/src
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
..
Command [ENTITY][NoteTag][COMPONENT][Language] Add language to NoteTag and minor corrections 2021-12-26 06:22:30 +00:00
Controller [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Core [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
DependencyInjection/Compiler [TOOLS] Add explicit return types to fix deprecation warnings raised by PHPUnit 2022-03-09 01:37:10 +00:00
Entity [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
Migrations [V3] Big Bang 2021-09-14 13:01:33 +01:00
PHPStan [TOOLS] Fix errors reported by PHPStan at level 4 2021-12-27 17:35:33 +00:00
Repository [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00
Routes [CORE][Actor] Fix generic profile route 2022-02-16 18:53:08 +00:00
Twig [TOOLS] Add explicit return types to fix deprecation warnings raised by PHPUnit 2022-03-09 01:37:10 +00:00
Util [COMPONENT][Notification] Make logic more generic and robust 2022-03-14 11:37:09 +00:00
CacheKernel.php [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00
Kernel.php [TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types 2021-10-27 04:19:28 +01:00