7eddbd343d
[PLUGIN][ActivityPub][Test] Add Like{Note} fixture
2022-03-23 13:23:43 +00:00
259d2da05a
[CORE][Controller] Add default handler for when using http methods
2022-03-23 13:23:43 +00:00
2f7fdf6ee4
[PLUGIN][ActivityPub][Test] Activity: Create Page
...
Fixed a couple of bugs
2022-03-19 22:21:35 +00:00
6955872e05
[PLUGIN][ActivityPub][Model][Activity] toJson: When in activity context, use object's context if available
2022-03-19 22:20:32 +00:00
06c67b31c2
[PLUGIN][ActivityPub][Model][Note] toJson: Respect source attribute and @language from context
2022-03-19 18:01:25 +00:00
0649a5154c
[PLUGIN][ActivityPub][Test][Model][Note] fromJson
2022-03-19 18:01:24 +00:00
dd62825169
[PLUGIN][ActivityPub][Model][Note] fromJson: Respect source attribute and @language from context
2022-03-15 17:49:09 +00:00
27706d63f4
[PLUGIN][OAuth] Fix login for OAuth
2022-03-14 21:41:22 +00:00
20f690c532
[TESTS] Fix a couple of issues from last changes
2022-03-14 18:37:39 +00:00
888c3798b7
[COMPONENT][Notification] Make logic more generic and robust
...
Fixed various bugs
Some important concepts to bear in mind:
* Notification: Associated with activities, won't be reconstructed
together with objects, can be thought of as transient
* Attention: Associated with objects, will be reconstructed with them, can
be thought as persistent
* Notifications and Attentions have no direct implications.
* Mentions are a specific form of attentions in notes, leads to the creation of Attentions.
Finally,
Potential PHP issue detected and reported: https://github.com/php/php-src/issues/8199
`static::method()` from a non static context (such as a class method) calls `__call`, rather than
the expected `__callStatic`. Can be fixed by using `(static fn() => static::method())()`, but the
usage of the magic method is strictly unnecessary in this case.
2022-03-14 11:37:09 +00:00
cbae649991
[PLUGIN][ActivityPub][TESTS] Move ActivityPub test fixtures to new facility
2022-03-13 18:11:11 +00:00
390c532456
[PLUGIN][ActivityPub][Tests] Create Actor Tests
2022-03-13 16:00:35 +00:00
636cb681d6
[PLUGIN][ActivityPub][Tests] Create a TestCase for the plugin
2022-03-13 15:54:14 +00:00
7d84323df4
[PLUGIN][ActivityPub][Tests] Add some fixtures for GNU social's
2022-03-13 15:53:21 +00:00
2d7850ccfb
[PLUGIN][ActivityPub][Tests] Borrow test fixtures from Lemmy
2022-03-13 15:52:48 +00:00
0ce5eba355
[PLUGINS][Favourite][RepeatNote][DeleteNote][WebMonetization] Make use of 'activitypub_handler' more readable
2022-03-10 00:40:54 +00:00
c870fd44e3
[PLUGIN][Embed] Fix test folder name, so Symfony doesn't attempt to autowire it
2022-03-09 20:51:42 +00:00
c30fcead74
[DEPENDENCIES] Move from Symfony 5.4 to 6 and update all other packages, where applicable
2022-03-09 20:51:42 +00:00
28453c585f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentThumbnailTest
2022-03-09 01:42:11 +00:00
47f03d4c9f
[COMPONENT][Attachment][TESTS] Fix Entity/AttachmentTest
2022-03-09 01:42:06 +00:00
487791d606
[TESTS] Fix Core/ControllerTest
2022-03-09 01:40:33 +00:00
88ace68627
[TESTS] Fix Controller/FeedsTest
2022-03-09 01:40:33 +00:00
46de2d47e9
[TOOLS] Add explicit return types to fix deprecation warnings raised by PHPUnit
2022-03-09 01:37:10 +00:00
1a0c9e720f
[COMPONENT][FreeNetwork] Start using queues
...
[COMPONENT][Notification] Start using queues
[PLUGIN][ActivityPub] Start using queues
2022-03-05 14:23:08 +00:00
626b4263f1
[PLUGIN][ActivityPub][Model][Actor] Fix internal logic for updating
...
Actors
2022-03-05 14:19:12 +00:00
12fb876a6d
[PLUGIN][ActivityPub][Model][Activity] No @context to exclude when object is not embedded.
2022-03-01 18:00:24 +00:00
fc203e2e38
[TWIG][TEMPLATES] Rename transchoice to trans and make it more generic
2022-03-01 13:45:11 +00:00
b3374333f3
[TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway)
2022-03-01 13:16:11 +00:00
0b864e85fd
[TEMPLATES] Fixup uses of deprecated noteView, in favour of new NoteFactory facility
2022-03-01 11:23:39 +00:00
43ae3add43
[TEMPLATE] Update uses of NoteFactory macro, to pass the values seperately, rather than inside a converstation key
2022-02-28 15:48:47 +00:00
45c7888676
[TOOLS] Run CS-Fixer on whole project
2022-02-28 15:47:37 +00:00
5188a473d0
[TOOLS] Fix errors reported by PHPStan
2022-02-28 15:47:37 +00:00
eccf21edef
[TOOLS][PLUGINS][OAuth2] Add mechanism to allow plugins to have an install script. Add script for generating keys for OAuth
2022-02-28 15:47:32 +00:00
5495a3c5ec
[ENTITY][Note] NoteType now becomes a varchar as predicted
2022-02-27 02:04:48 +00:00
a9b34b75b6
[PLUGIN][TreeNotes] Correct cache issues and iterate functionality
...
- Replies ordering now correct
- Replies count added
- Posting adds new replies to cache (when concerning replies cache is not empty) and increments replies count
- Configuration to specify number of in-tree replies shown added
- TreeNotes templates was moved from core to plugin
- Button to read more replies was added
2022-02-27 01:46:25 +00:00
d4c908c194
[CORE][Cache] Implement listPushRight
2022-02-27 00:44:23 +00:00
b630d530f4
[PLUGIN][ActivityPub][Postman] JSON_UNESCAPED_SLASHES
...
Only record webfinger matches for acct
2022-02-25 13:52:56 +00:00
d5731e6351
[COMPONENT][Notification] Consider attention properly in notes
2022-02-25 13:12:16 +00:00
f5e92de62d
[PLUGIN][ActivityPub][Util][Explorer] Simplify fetching Actor by URI
2022-02-25 13:12:14 +00:00
4754593cde
[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @context
2022-02-24 19:07:46 +00:00
d12038a9f8
[CSS] Complete refactor, removing all useless rules, squashing related separate files, and limiting folder depth
2022-02-24 19:05:14 +00:00
af02bc7b32
[PLUGIN][ActivityPub][Model][Note] Replace our directMessage extension with LitePub's
2022-02-23 22:27:32 +00:00
bc3d5245f5
[PLUGIN][ActivityPub][Model][Note] Handle Mentions properly
2022-02-23 22:27:32 +00:00
f3c2e49e3f
[PLUGIN][ActivityPub] Correct @context
2022-02-23 22:27:30 +00:00
57a07ef74f
[COMPONENT][FreeNetwork] Add to Search the query expression
2022-02-21 04:53:12 +00:00
c380cbd846
[COMPONENT][FreeNetwork] Mention and Group tags in notes are handled differently
2022-02-21 04:52:30 +00:00
1e310aa124
[PLUGIN][ActivityPub][FreeNetwork] DB::findBy won't work if not commited first
2022-02-20 15:01:49 +00:00
f1caabd296
[CARDS][Note] Note factory template macro created, allows Notes to be represented with completely different macros/blocks, possible to extend types through additional events. Compact Notes have a max height, content can be scrolled by [CSS] Avatars, and Embed attachments now have a max-block-size which acts independently of image orientation
2022-02-20 05:03:54 +00:00
ecfd6b5ad2
[PLUGIN][ActivityPub][Model][Note] Sometimes content is explicitely null
2022-02-20 05:03:40 +00:00
496701ce73
[PLUGIN][ActivityPub][Inbox] Add event for notifications triggered by AP Inbox
2022-02-20 05:03:40 +00:00