Hugo Sales
cf05d3dbb0
[ENTITY][TESTS] Fix Note->isVisibleTo with and associated test
2022-03-13 15:03:03 +00:00
Diogo Peralta Cordeiro
cac68a6372
[TESTS] Fix Entity/NoteTest
2022-03-09 01:42:11 +00:00
Diogo Peralta Cordeiro
a37ce86d05
[TESTS] Fix DataFixtures
2022-03-07 15:26:27 +00:00
Diogo Peralta Cordeiro
6b1c6f603e
[CORE][ActorLocalRoles] Improve Roles
2022-01-22 18:47:56 +00:00
Diogo Peralta Cordeiro
e056920de4
[COMPONENT][Subscription] Fix Notifications
2022-01-06 12:13:11 +00:00
Diogo Peralta Cordeiro
6cfb69d64b
[COMPONENT][Subscription] Start component
2022-01-03 02:18:44 +00:00
Hugo Sales
c40e38c5ba
[TOOLS] Fix errors found by PHPStan
2021-12-27 20:37:16 +00:00
Hugo Sales
000ec680e6
[CORE][TOOL] Minor fixes and run cs-fixer
2021-12-26 19:16:15 +00:00
Hugo Sales
0194b6b14c
[TESTS] Fix tests by adding missing is_local columns and by login in the admin user in the admin panel test
2021-11-25 20:37:52 +00:00
Hugo Sales
30f4131f5d
[TESTS] Add missing 'is_local' to actors in data fixtures
2021-11-24 12:46:31 +00:00
Hugo Sales
b4ce77320e
[TESTS] Fix remaining tests, back to 100% passed. Some minor semantic changes
2021-11-20 21:33:25 +00:00
Hugo Sales
a3074662b8
[TESTS] Remove 'reply_to' in note creation in data fixtures
2021-11-15 19:25:51 +00:00
Hugo Sales
bf5ffe7d3d
[CACHE][TEST] Fix errors in cache implementation found by tests
2021-11-15 19:25:44 +00:00
Hugo Sales
f39f800a8e
[TESTS] Add now-required content-type to notes created in data fixtures
2021-11-11 12:39:35 +00:00
Diogo Peralta Cordeiro
f98afd15ce
[ENTITY] Refactor Follow as Subscription
2021-11-08 16:14:23 +00:00
Hugo Sales
9109c61af5
[TOOLS][CS-FIXER] Run new PHP CS Fixer config. Notably, adds strict_types
2021-10-27 04:19:28 +01:00
Diogo Peralta Cordeiro
941cbe6599
[Actor] Refactor GSActor into Actor
2021-09-18 05:12:17 +01:00
Hugo Sales
e392a9c90c
[TESTS][DataFixtures] Add user, self follows, group member and group scope note
2021-09-14 13:13:32 +01:00
Hugo Sales
53f89ade85
[TESTS] Move Media fixtures to their own file, for organization
2021-09-14 13:13:27 +01:00
Diogo Peralta Cordeiro
f5175cc59d
[ATTACHMENTS] Always store in the same location
2021-09-14 13:13:24 +01:00
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
Hugo Sales
a1592656e0
[TESTS] Change format of data fixtures to allow creating more users
2021-09-14 13:13:20 +01:00
Hugo Sales
29d77b446f
[TESTS] Add a sample image to the test dataset
2021-09-14 13:13:19 +01:00
Hugo Sales
f904b76ce7
[TESTS][DataFixtures] Add password and email to created test user
2021-09-14 13:13:16 +01:00
Hugo Sales
74f477489b
[TESTS] Raise test coverage for App\Controller\Network to 100% and fixup related code
2021-09-14 13:13:02 +01:00
Hugo Sales
45f54e615c
[TESTS] Merge datafixtures to allow for using the correct ID in notes, and add group_inbox
2021-09-14 13:13:01 +01:00