Go to file
Diogo Peralta Cordeiro 32ad5dbd74
[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-08-14 17:00:46 +01:00
bin [TOOLS] Fix pre commit hook to allow for partial file commits (git add -p/git reset -p) 2021-07-26 15:46:20 +00:00
components [ENTITY] Split Attachment in various new entities 2021-08-14 17:00:46 +01:00
config [DEV] Add PsySH REPL 2021-08-05 03:24:21 +01:00
docker [TESTS] Revert exposing Redis docker container ports, as this conflicts with the actual instance, and was intended for testing 2021-08-03 19:13:29 +00:00
docs [CSS] Mesh gradient works as intended with no banding. 2021-08-05 13:01:31 +01:00
DOCUMENTATION [DOCUMENTATION] Add database diagram to developer documentation 2021-05-01 12:49:04 +00:00
plugins [ENTITY] Split Attachment in various new entities 2021-08-14 17:00:46 +01:00
public [Favourite][TWIG][CSS] Favourite now works. 2021-08-14 16:12:54 +01:00
scripts [V3] Big Crunch 2021-04-14 15:36:13 +00:00
src [ENTITY] Split Attachment in various new entities 2021-08-14 17:00:46 +01:00
templates [ENTITY] Split Attachment in various new entities 2021-08-14 17:00:46 +01:00
tests [ENTITY] Split Attachment in various new entities 2021-08-14 17:00:46 +01:00
translations [I18N] Remove incomplete autogenerated translation file, to be fixed later 2021-04-14 15:37:21 +00:00
.env [QUEUE] Add queueing wrapper, default configuration and example usage 2021-04-14 15:37:21 +00:00
.env.test [TOOLS][TESTS] Adjust configuration for testing environment 2021-05-05 12:45:58 +00:00
.gitignore [TESTS] Make PHPUnit exit on first fail and some other tweaks 2021-08-03 19:23:03 +00:00
.php_cs [FORMATTING][DEFAULTS] Fix formatting and remove redundant config defaults 2021-04-14 15:37:21 +00:00
composer.json [DEV] Add PsySH REPL 2021-08-05 03:24:21 +01:00
composer.lock [DEPENDENCIES] Update dependencies 2021-08-14 16:13:01 +01:00
CREDITS.md [DOCUMENTATION] Document All The Things! 2021-04-14 15:36:35 +00:00
docker-compose.yaml.default [DOCKER] Fix default docker-compose file 2021-04-14 15:37:23 +00:00
INSTALL.md [DOCUMENTATION] Add documentation on installing with Docker 2021-04-14 15:37:23 +00:00
Makefile [TOOLS] Add utility commands to the Makefile 2021-08-14 16:12:55 +01:00
phpunit.xml.dist [TESTS] Update PHPUnit config to start executing tests by last failure. This doens't seem to actually work currently, though 2021-08-14 16:12:55 +01:00
social.yaml [CONFIG] Ensure consistency in config file 2021-08-03 19:23:03 +00:00
symfony.lock [DEV] Add PsySH REPL 2021-08-05 03:24:21 +01:00