Diogo Peralta Cordeiro
fd71d6ee7d
[PLUGIN][UnboundGroup] Finish implementation
2022-03-29 00:57:41 +01:00
Diogo Peralta Cordeiro
dfc5918c2c
[PLUGIN][ActivityPub] Federate out Service information in Activities
2022-03-28 23:54:19 +01:00
Diogo Peralta Cordeiro
83599ef866
[CORE][Modules][Plugin] version should be static
2022-03-28 23:54:18 +01:00
Diogo Peralta Cordeiro
fa82306f6f
[COMPONENT][Posting] Blog posts should be Articles by default
2022-03-28 23:54:18 +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
60af9f5e9b
[CORE][Queue] Rename App\Core\Queue\Queue to App\Core\Queue
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
e3e14c53ef
[PLUGIN][ActivityPub] Model/Note->toJson federate the url, even though it's the same as the id
2022-03-28 20:59:14 +01:00
Diogo Peralta Cordeiro
be33c20614
[PLUGIN][ActivityPub] Improve flexibility of Type layer, accomodate more elaborate understanding of Group Announces after FEP-2100 development
2022-03-28 20:58:48 +01:00
Diogo Peralta Cordeiro
56b8710b26
[PLUGIN][ActivityPub][Notification] Fix some issues with targetting
2022-03-23 13:23:44 +00:00
Diogo Peralta Cordeiro
03f449035a
[PLUGIN][ActivityPub][Model][Activity] Sometimes we don't have a local, move on with encapsulated
2022-03-23 13:23:44 +00:00
Diogo Peralta Cordeiro
8808195a80
[PLUGIN][ActivityPub][Test] Test @language handling
2022-03-23 13:23:44 +00:00
Diogo Peralta Cordeiro
45344c80d1
[PLUGIN][ActivityPub][Model][Note] Fix @language handling
2022-03-23 13:23:43 +00:00
Diogo Peralta Cordeiro
7eddbd343d
[PLUGIN][ActivityPub][Test] Add Like{Note} fixture
2022-03-23 13:23:43 +00:00
Diogo Peralta Cordeiro
2f7fdf6ee4
[PLUGIN][ActivityPub][Test] Activity: Create Page
...
Fixed a couple of bugs
2022-03-19 22:21:35 +00:00
Diogo Peralta Cordeiro
6955872e05
[PLUGIN][ActivityPub][Model][Activity] toJson: When in activity context, use object's context if available
2022-03-19 22:20:32 +00:00
Diogo Peralta Cordeiro
06c67b31c2
[PLUGIN][ActivityPub][Model][Note] toJson: Respect source attribute and @language from context
2022-03-19 18:01:25 +00:00
Diogo Peralta Cordeiro
0649a5154c
[PLUGIN][ActivityPub][Test][Model][Note] fromJson
2022-03-19 18:01:24 +00:00
Diogo Peralta Cordeiro
dd62825169
[PLUGIN][ActivityPub][Model][Note] fromJson: Respect source attribute and @language from context
2022-03-15 17:49:09 +00:00
Diogo Peralta Cordeiro
20f690c532
[TESTS] Fix a couple of issues from last changes
2022-03-14 18:37:39 +00:00
Diogo Peralta Cordeiro
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
Hugo Sales
cbae649991
[PLUGIN][ActivityPub][TESTS] Move ActivityPub test fixtures to new facility
2022-03-13 18:11:11 +00:00
Diogo Peralta Cordeiro
390c532456
[PLUGIN][ActivityPub][Tests] Create Actor Tests
2022-03-13 16:00:35 +00:00
Diogo Peralta Cordeiro
636cb681d6
[PLUGIN][ActivityPub][Tests] Create a TestCase for the plugin
2022-03-13 15:54:14 +00:00
Diogo Peralta Cordeiro
7d84323df4
[PLUGIN][ActivityPub][Tests] Add some fixtures for GNU social's
2022-03-13 15:53:21 +00:00
Diogo Peralta Cordeiro
2d7850ccfb
[PLUGIN][ActivityPub][Tests] Borrow test fixtures from Lemmy
2022-03-13 15:52:48 +00:00
Diogo Peralta Cordeiro
1a0c9e720f
[COMPONENT][FreeNetwork] Start using queues
...
[COMPONENT][Notification] Start using queues
[PLUGIN][ActivityPub] Start using queues
2022-03-05 14:23:08 +00:00
Diogo Peralta Cordeiro
626b4263f1
[PLUGIN][ActivityPub][Model][Actor] Fix internal logic for updating
...
Actors
2022-03-05 14:19:12 +00:00
Diogo Peralta Cordeiro
12fb876a6d
[PLUGIN][ActivityPub][Model][Activity] No @context to exclude when object is not embedded.
2022-03-01 18:00:24 +00:00
Hugo Sales
45c7888676
[TOOLS] Run CS-Fixer on whole project
2022-02-28 15:47:37 +00:00
Diogo Peralta Cordeiro
5495a3c5ec
[ENTITY][Note] NoteType now becomes a varchar as predicted
2022-02-27 02:04:48 +00:00
Diogo Peralta Cordeiro
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
Diogo Peralta Cordeiro
d4c908c194
[CORE][Cache] Implement listPushRight
2022-02-27 00:44:23 +00:00
Diogo Peralta Cordeiro
b630d530f4
[PLUGIN][ActivityPub][Postman] JSON_UNESCAPED_SLASHES
...
Only record webfinger matches for acct
2022-02-25 13:52:56 +00:00
Diogo Peralta Cordeiro
d5731e6351
[COMPONENT][Notification] Consider attention properly in notes
2022-02-25 13:12:16 +00:00
Diogo Peralta Cordeiro
f5e92de62d
[PLUGIN][ActivityPub][Util][Explorer] Simplify fetching Actor by URI
2022-02-25 13:12:14 +00:00
Diogo Peralta Cordeiro
4754593cde
[PLUGIN][ActivityPub][Model][Activity] If the object is wrapped in an activity, exclude the @context
2022-02-24 19:07:46 +00:00
Diogo Peralta Cordeiro
af02bc7b32
[PLUGIN][ActivityPub][Model][Note] Replace our directMessage extension with LitePub's
2022-02-23 22:27:32 +00:00
Diogo Peralta Cordeiro
bc3d5245f5
[PLUGIN][ActivityPub][Model][Note] Handle Mentions properly
2022-02-23 22:27:32 +00:00
Diogo Peralta Cordeiro
f3c2e49e3f
[PLUGIN][ActivityPub] Correct @context
2022-02-23 22:27:30 +00:00
Diogo Peralta Cordeiro
57a07ef74f
[COMPONENT][FreeNetwork] Add to Search the query expression
2022-02-21 04:53:12 +00:00
Diogo Peralta Cordeiro
c380cbd846
[COMPONENT][FreeNetwork] Mention and Group tags in notes are handled differently
2022-02-21 04:52:30 +00:00
Diogo Peralta Cordeiro
1e310aa124
[PLUGIN][ActivityPub][FreeNetwork] DB::findBy won't work if not commited first
2022-02-20 15:01:49 +00:00
Diogo Peralta Cordeiro
ecfd6b5ad2
[PLUGIN][ActivityPub][Model][Note] Sometimes content is explicitely null
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
496701ce73
[PLUGIN][ActivityPub][Inbox] Add event for notifications triggered by AP Inbox
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
6f3e760c63
[PLUGIN][ActivityPub][Inbox] Separate handler by method
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
51cccd0155
[PLUGIN][ActivityPub] Simplify DB usage
2022-02-20 05:03:40 +00:00
Diogo Peralta Cordeiro
9523927b8e
[PLUGIN][ActivityPub][Model][Note] There may be no attachments, nor tags, nor to, nor cc
2022-02-19 05:46:48 +00:00
Diogo Peralta Cordeiro
ebbd8bf1e4
[PLUGIN][ActivityPub][HTTPSignatures] Fix wrong assumption that sha512 is used in hs2019
2022-02-19 04:49:50 +00:00
Diogo Peralta Cordeiro
7a59d5a002
[PLUGIN][ActivityPub][HTTPSignatures] Validate draft-cavage-http-signatures-11
2022-02-19 04:49:50 +00:00