gnu-social/src/Core
Diogo Peralta Cordeiro 3f61537140
[ENTITY] Split Attachment in various new entities
Remove Attachment Scope
Fixed some minor bugs

Scope will be implemented later in v3. It doesn't make sense to have
the scope handling being per attachment. Different actors can post
the same attachment with different scopes. The attachment controller
will assume the highest level of scope applied to the attachment and
the rest will be handled at the note level.

Motivation:
* Remove title from attachment, as it's part of the relation between attachment and note.
* Remove actor from attachment, many actors may publish the same attachment.
* Remove is_local from attachment,  as it's part of the relation between attachment and note.
* Remove remote_url from attachment, different urls can return the same attachment.

Addition:
* Attachment now has a lives attribute,  it's a reference counter with a nicer name
* GSActorToAttachment
* GSActorToRemoteURL
* RemoteURL
* RemoteURLToNote
* RemoteURLToAttachment
* AttachmentToNote now has a title attribute
2021-09-14 13:13:24 +01:00
..
DB [CORE][DB] Specify desired case in array_change_case, for clarity 2021-09-14 13:13:19 +01:00
I18n [CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file 2021-09-14 13:13:15 +01:00
Modules [Favourite][TWIG][CSS] Favourite now works. 2021-09-14 13:13:22 +01:00
Queue [TESTS] Add test annotations to core classes 2021-09-14 13:13:23 +01:00
Router [TESTS][Router] Add tests for Router and use named paramenters, as we can since PHP8 2021-09-14 13:13:16 +01:00
Cache.php [TESTS][CACHE] Fixup errors found in cache implementation by testing. Ensure the newest values are kept, in pushList with max_count 2021-09-14 13:13:12 +01:00
Controller.php [CORE][Controller] Fix JSON response and add test annotations 2021-09-14 13:13:23 +01:00
Entity.php [ENTITY] Add JsonSerializable interface to Entity base class and implement it for the Note class 2021-09-14 13:13:24 +01:00
Event.php [EVENT] Fixup implementation, as imformed by tests 2021-09-14 13:13:13 +01:00
Form.php [TESTS] Raise test coverage for Form to 100% 2021-09-14 13:13:14 +01:00
GNUsocial.php [CORE] Add passowrd reset and forgot password functionality 2021-09-14 13:13:17 +01:00
GSFile.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
HTTPClient.php [TESTS] Exclude HTTPClient from testing, as it's a simple wrapper and we don't want to be performing HTTP requests in tests, for speed and reliability 2021-09-14 13:13:14 +01:00
Log.php [TESTS] Add test annotations to core classes 2021-09-14 13:13:23 +01:00
ModuleManager.php [TESTS] Raise test coverage for ModuleManager to 100% 2021-09-14 13:13:14 +01:00
Security.php [TESTS] Exclude class Security from testing, as it's a simple wrapper 2021-09-14 13:13:14 +01:00
UserRoles.php [GIT] Change my email to the new one in all files and bump copyright year 2021-09-14 13:06:56 +01:00
VisibilityScope.php [CORE] Rename NoteScope to VisibilityScope, as it will be used for attachment visbility too 2021-09-14 13:11:50 +01:00