gnu-social/src/Entity
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
..
Activity.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Attachment.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
AttachmentThumbnail.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
AttachmentToNote.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
ConfirmAddress.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Conversation.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Cover.php [ENTITY] Fix foreign key type in Cover entity, as found by tests 2021-09-14 13:13:12 +01:00
Follow.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
FollowQueue.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GSActor.php [ENTITY] Refactor LocalUser::changePassword for easier use 2021-09-14 13:13:20 +01:00
GSActorBlock.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GSActorCircle.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GSActorTag.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GSActorTagFollow.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GSActorToAttachment.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
GSActorToRemoteURL.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
Group.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GroupAlias.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GroupBlock.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GroupInbox.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GroupJoinQueue.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
GroupMember.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Invitation.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
LocalGroup.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
LocalUser.php [ENTITY] Refactor LocalUser::changePassword for easier use 2021-09-14 13:13:20 +01:00
LocationService.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Note.php [ENTITY] Add JsonSerializable interface to Entity base class and implement it for the Note class 2021-09-14 13:13:24 +01:00
NoteLocation.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
NoteSource.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
NoteTag.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
Notification.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
ProfileColor.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
RelatedGroup.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
RememberMeToken.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
RemoteURL.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
RemoteURLToAttachment.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
RemoteURLToNote.php [ENTITY] Split Attachment in various new entities 2021-09-14 13:13:24 +01:00
ReservedNickname.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
ResetPasswordRequest.php [AUTOGENERATED] Update entity fields for ResetPasswordRequest entity 2021-09-14 13:13:17 +01:00
SmsCarrier.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
UserLocationPrefs.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
UserNotificationPrefs.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00
UserUrlShortenerPrefs.php [AUTOGENERATED] Update autogenerated code 2021-09-14 13:13:01 +01:00