Hugo Sales
ca9945a4be
[ENTITY][Actor][COMPONENT][Tag] Add `Actor->getNoteTags(?string $note_type)` which gets a cached list of NoteTags for notes of type $note_type for the actor
2022-04-01 00:11:01 +01:00
Hugo Sales
483983790a
[CORE][Router] Rename \App\Core\Router\Router to \App\Core\Router and merge \App\Core\Router\RouteLoader with \App\Core\Router
2022-03-28 20:59:15 +01:00
Hugo Sales
abe35428da
[CORE][DB] Rename App\Core\DB\DB to App\Core\DB
2022-03-28 20:59:14 +01:00
Diogo Peralta Cordeiro
16f51e5143
[COMPONENT][Notification] ->getSubscribers() should not be pre-included
...
Notification bug fix on Subscription component
Correct docblock
2022-03-28 20:53:19 +01:00
Diogo Peralta Cordeiro
893d299e29
[UTIL][Common] Respect detect language setting
...
Minor bug fix
2022-03-09 14:24:50 +00:00
Diogo Peralta Cordeiro
28453c585f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentThumbnailTest
2022-03-09 01:42:11 +00:00
Diogo Peralta Cordeiro
cc4f967186
[TESTS] Fix Circle SelfTags Setting test
2022-03-09 01:40:35 +00:00
Hugo Sales
5188a473d0
[TOOLS] Fix errors reported by PHPStan
2022-02-28 15:47:37 +00:00
Diogo Peralta Cordeiro
f66e178dfc
[CORE][Actor][Settings] Fix nickname change and refactor Core Form::handle so it's harder to repeat these mistakes again
...
Minor improvements on actor->getLocal
2022-02-16 18:53:07 +00:00
Diogo Peralta Cordeiro
3f9c86f0df
[COMPONENT][Group] More flexible member roles than only isAdmin
...
Refactor terminology of canAdmin to match current roles system
2022-02-14 05:02:10 +00:00
Diogo Peralta Cordeiro
17733f32d6
[PLUGIN][ActivityPub] Implement Group Outbox
...
Fix various minor issues
2022-02-11 10:06:01 +00:00
Diogo Peralta Cordeiro
416451a519
[CORE][Actor] Simplify logic so more is reused between different types of actors
...
Minor bug fixes
2022-02-11 00:27:03 +00:00
Diogo Peralta Cordeiro
1f1524c2b3
[GROUP] Simplify logic by making Actor::Organisation a type of Actor::Group
...
Some minor bug fixes
2022-02-11 00:26:43 +00:00
Eliseu Amaro
5036b72a71
[ENTITY][Actor] Nickname is lower case transformed when generating 'actor_view_nickname', making sure that actor pages are linked accordingly
2022-01-27 17:19:50 +00:00
Diogo Peralta Cordeiro
bdeb3bcff5
[PLUGIN][ActivityPub] Federate Actor of types other than Person
...
Fix some other minor bugs
2022-01-21 22:05:31 +00:00
Diogo Peralta Cordeiro
23d45ffab7
[UTIL][Formatting] Mention prefix was hardcoded, fixed.
2022-01-21 21:03:09 +00:00
Diogo Peralta Cordeiro
e056920de4
[COMPONENT][Subscription] Fix Notifications
2022-01-06 12:13:11 +00:00
Eliseu Amaro
0c245fcb6e
[COMPONENTS][Subscription] Subscribe Actor action implemented
...
[TWIG] AddProfileAction event added
[CARDS][Profile] Refactor and restyling to accomodate Actor actions
2022-01-06 12:13:10 +00:00
Diogo Peralta Cordeiro
627d92b290
[COMPONENT][Tag] Improve Note Tag Handling and start extracting Circles logic out of the plugin, various bug fixes
2022-01-05 01:30:02 +00:00
Diogo Peralta Cordeiro
6cfb69d64b
[COMPONENT][Subscription] Start component
2022-01-03 02:18:44 +00:00
Diogo Peralta Cordeiro
def5f36c25
[PLUGIN][ActivityPub][Inbox] Accept Follow Activity
...
Improve how Core Activity is handled in general
2022-01-02 23:50:16 +00:00
Diogo Peralta Cordeiro
9585472679
[ENTITY][Actor] Basic check if can admin for remote actors
2021-12-28 15:38:41 +00:00
Diogo Peralta Cordeiro
f5b06e2c7e
[UTIL][Formatting] Fix group mentions
2021-12-27 21:38:20 +00:00
Diogo Peralta Cordeiro
c9d05d71f5
[COMPONENT][Group] Fix group creation, Refactor related entities to inside the component
...
Other minor bug fixes and improvements
2021-12-27 17:28:03 +00:00
Diogo Peralta Cordeiro
de148c1f78
[COMPONENT][Avatar][Controller] Implement multiple dimensions
2021-12-27 05:08:29 +00:00
Diogo Peralta Cordeiro
80afc0fa6c
[TEMPLATES][Cards][Profile] Provide both actor uri and url, as well as full mention guidance
2021-12-27 05:08:27 +00:00
Eliseu Amaro
4df80be095
[ENTITY][Actor] Set default null values
2021-12-26 19:16:16 +00:00
Hugo Sales
c79b1e4c94
[AUTOGENERATED] Update auto generated code
2021-12-26 19:16:15 +00:00
Diogo Peralta Cordeiro
d4bc1d097d
[ENTITY][NoteTag][COMPONENT][Language] Add language to NoteTag and minor corrections
2021-12-26 06:22:30 +00:00
Hugo Sales
59abffe744
[ENTITY][Actor][DOC] Add explanation in Actor::__call
2021-12-24 02:46:42 +00:00
Hugo Sales
764a30695d
[ENTITY][ActorTag][Actor][Activity] Add Actor::getActorCircles
2021-12-24 02:46:42 +00:00
Hugo Sales
95783d6109
[CONTROLLER][UserPanel][COMPONENT][Tag] Re-add way of adding self tags, but in a more reusable (and less buggy) way
2021-12-24 02:46:41 +00:00
Hugo Sales
80ebd6fb7b
[ENTITY][Actor] Add helper function for checking if the current actor can admin another
2021-12-24 02:46:40 +00:00
Hugo Sales
6a8144003f
[ENTITY][Actor] Add missing 'break' statements in switches in getUr{i,l}
2021-12-21 12:46:42 +00:00
Hugo Sales
d6d5926b6e
[TOOLS][DOC] Add missing documentation, as flagged by doc-check
2021-12-21 12:24:23 +00:00
Hugo Sales
da8c41e094
[TOOLS] Fix errors found by PHPStan
2021-12-21 12:17:51 +00:00
Hugo Sales
fa863d9e03
[CONTROLLER][ENTITY][Actor] Add way of creating a group that doesn't exist
2021-12-21 12:12:03 +00:00
Hugo Sales
315fd95b94
[COMPONENT][Posting] Add facility to allow mentioning groups that don't yet exist
2021-12-21 12:07:54 +00:00
Eliseu Amaro
918e6823a9
[ENTITY][Actor] Init Actor's class variable homepage, bio, and location to null
...
The template cards/profile/view.html.twig tries to access the bio variable before it's initialized, an is null check was already in place. However, even then, the variable needs to be init beforehand. The same change was applied to homepage and location since they might lead to similar issues.
2021-12-20 16:31:26 +00:00
Diogo Peralta Cordeiro
ed67da89dc
[TAGS] Fix some minor logic issues with Actor Tags and Circles
2021-12-20 13:32:49 +00:00
Diogo Peralta Cordeiro
a9feb79825
[SECURITY] New actors are Person user on register by default
2021-12-20 13:32:49 +00:00
Hugo Sales
1e8eea0434
[ENTITY][Actor] Add type field, which denotes whether the actor is a person, org, group, business or bot
2021-12-11 22:19:37 +00:00
Hugo Sales
b1585f0ef2
[ENTITY][Actor][ActorTag] Ensure only one copy of each tag is inserted
2021-12-09 22:23:17 +00:00
Hugo Sales
ab9dd1db77
[CACHE][ENTITY][Actor] Refactor Actor so that all cache keys are kept in one cacheKeys function, so that we can more easily be certain there are no mismatches in cache keys between gets and deletes
2021-12-09 21:59:49 +00:00
Hugo Sales
2a161c9c66
[PLUGIN][TagBasedFiltering] Block actor tags, but don't block notes from the current actor
2021-12-05 19:18:57 +00:00
Hugo Sales
9f445632b2
[PLUGIN][TagBasedFiltering] Expand to allow filtering by actor tags
2021-12-05 17:55:49 +00:00
Hugo Sales
969df371dd
[COMPONENT][Avatar] Small refactor
2021-12-05 17:54:58 +00:00
Hugo Sales
772ec6efcf
[UI] Set html img width and height attributes for avatar
2021-12-02 19:13:33 +00:00
Hugo Sales
d58483a6ca
[TOOLS] Cleanup PHPStan warnings
2021-12-01 19:47:43 +00:00
Hugo Sales
d4c77925d2
[CORE][DB][ENTITY][Actor] Make DB::dql return a chunked array if selecting multiple entities, remove partitioning from callsite
...
`DB::dql('select a, b, from a join b')` would previously return `[a,
b, a, b, ...]` (or even `[b, a, b, a, ...]`), and now will return
`[[a, a, ...], [b, b, ...]]`. The issue would be further compounded
when selecting even more entities, where the order would be
unpredictable
2021-12-01 19:47:42 +00:00