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
10f71e9fed
[UI][TEMPLATES] Fix note text template. Use rendered content directly
2022-03-28 23:23:07 +01:00
Hugo Sales
e2501ee927
[PLUGIN][Pinboard] Implement remaining API endpoints, restructure, fix template
2022-03-28 23:23:07 +01:00
Diogo Peralta Cordeiro
a9665177ea
[PLUGIN][Blog] Move to plugins, mistakenly was in components
2022-03-28 20:59:16 +01:00
Diogo Peralta Cordeiro
41861d284c
[COMPONENT][Circle] Correct self tags settings text
2022-03-28 20:59:16 +01:00
Hugo Sales
bd868a2675
[PLUGINS][Pinboard] Add initial implementation of Pinboard API, lacking authentication, tags and feed endpoints
2022-03-28 20:59:16 +01:00
Hugo Sales
87e35716c1
[UTIL] Add Formatting::explode(array , string )
2022-03-28 20:59:16 +01:00
Hugo Sales
dac94f53cd
[CORE][Entity] Rename createOrUpdate to 'checkExistingAndCreateOrUpdate', remove update feature from 'create' and add 'createOrUpdate' and fix users
2022-03-28 20:59:15 +01:00
Hugo Sales
b10c359dec
[DEPENDENCIES] Update dependencies
2022-03-28 20:59:15 +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
Hugo Sales
ca5520edbf
[PLUGIN][WebHooks] Add hook for subscriptions
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
7305a725cb
[PLUGIN][UnboundGroup] First steps on implementing AP FEP-2100
2022-03-28 20:57:43 +01:00
Diogo Peralta Cordeiro
fd4c3b0e68
[PLUGIN][Embed][Test] Move Test to correct location
2022-03-28 20:53:50 +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
ba4230447e
[COMPONENT][Group] Add orderBy to query, as otherwise the feed order is wrong
2022-03-28 20:49:28 +01:00
Diogo Peralta Cordeiro
7463044971
[COMPONENT][Circle] Ensure strict typing on getter
2022-03-28 20:48:29 +01:00
Hugo Sales
7027633ed5
[PLUGIN][WebHooks] Make request method configurable
...
This way, PUT can be used, which doesn't seem to be the standard, so isn't the default, but which makes sense to me, as it doesn't have a response, which we don't care about anyway
2022-03-24 00:51:00 +00:00
Hugo Sales
48b42c539c
[PLUGINS][WebHooks] Use ActivityPub to serialize the activity, so the object is included
2022-03-24 00:51:00 +00:00
Hugo Sales
d41a67a9f9
[PLUGIN][WebHooks] Add WebHooks plugin, which allows for sending a POST request to an external resource when a notification or a follow occurs
2022-03-24 00:51:00 +00:00
Diogo Peralta Cordeiro
13f22c911c
[COMPONENT][Notification] Feed: Fix typo in query
2022-03-23 16:09:13 +00:00
Diogo Peralta Cordeiro
56b8710b26
[PLUGIN][ActivityPub][Notification] Fix some issues with targetting
2022-03-23 13:23:44 +00:00
Diogo Peralta Cordeiro
e63c310d70
[COMPONENT][Notification] Always pre-add Actor subscribers when notifying
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
259d2da05a
[CORE][Controller] Add default handler for when using http methods
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
23e88b30a6
[COMPONENT][Blog] This is not used for replies
2022-03-19 22:18:33 +00:00
Diogo Peralta Cordeiro
60713878f0
[TESTS] Load languages prior to remaining fixtures
2022-03-19 22:18:00 +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
a08b661779
[COMPONENT][Group] Cast integer string to int when getting group 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
Hugo Sales
91fecd77ba
[TOOLS][DOCKER] Use a more robust way to check for database availability
2022-03-19 17:20:12 +00:00
Hugo Sales
e22fe55bbe
[TOOLS] Add .well-known/acme-challenge/ root certbot to nginx container, to allow certbot certificate renewals
2022-03-19 07:32:01 +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
Hugo Sales
27706d63f4
[PLUGIN][OAuth] Fix login for OAuth
2022-03-14 21:41:22 +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
e1cceac150
[CORE][Form][TESTS] Fix FormTest::handle
2022-03-13 18:53:53 +00:00
Hugo Sales
63ef9292f3
[DEPENDENCIES] Update dependencies
2022-03-13 18:17:32 +00:00
Hugo Sales
cbae649991
[PLUGIN][ActivityPub][TESTS] Move ActivityPub test fixtures to new facility
2022-03-13 18:11:11 +00:00
Hugo Sales
1d8bba3949
[TESTS][MODULES] Move Test Fixtures to tests/fixtures folder and add support for loading fixtures from components and plugins
2022-03-13 18:00:21 +00:00
Hugo Sales
18864ca9fa
[CONTROLLER][Security] Override the _next
form field in Security->register to redirect to login page
2022-03-13 16:01:51 +00:00