Hugo Sales
5cbb1627f2
[COMPONENT][Language] Fix collection query build event incorrectly not setting 'actor_language' join
...
Thanks to tsmethurst <tobi.smethurst@protonmail.com> for finding the error
2022-10-21 11:31:35 +01:00
Hugo Sales
46ff8aacd2
[UTIL][TemporaryFile] Silence warnings in critical section inside TemporaryFile
2022-10-21 11:30:47 +01:00
Hugo Sales
c4d6df4637
[TESTS] Fixup failing tests
...
Not a permanent solution
2022-10-21 11:30:37 +01:00
Hugo Sales
053bc38792
[TESTS] Fix tests
2022-10-19 22:39:17 +01:00
Hugo Sales
2fd46ca886
[TOOLS] Continue raising PHPStan level to 6
2022-10-19 22:39:17 +01:00
Hugo Sales
c31f3d4997
[TOOLS] Continue raising PHPStan to level 6
2022-10-19 22:39:17 +01:00
Hugo Sales
e6bb418fe6
[TOOLS] Begin raising PHPStan level to 6
2022-10-19 22:38:49 +01:00
Hugo Sales
fed2242a56
[TOOLS] Raise PHPStan level to 5 and fix associated error, fixing some bugs in the process
2022-10-19 22:38:49 +01:00
Hugo Sales
edeee49af9
[TOOLS] Fix errors pointed out by PHPStan level 4
2022-10-19 22:38:49 +01:00
Hugo Sales
4d7742e0e1
[OAuth2] Fix error in plugin install
2022-10-19 22:38:49 +01:00
Hugo Sales
76f2cdd212
[DEPENDENCIES] Update dependencies
2022-10-19 22:38:44 +01:00
Hugo Sales
a2aa45fb1f
[DOCS] Expand developer Event documentation
2022-04-03 22:05:19 +01:00
Hugo Sales
d4b7e990ce
[CORE][Event] Make all events return \EventResult, enforced at container build time
2022-04-03 21:40:32 +01:00
Hugo Sales
aef1fac536
[SECURITY] Refactor security hardening code and disable unused stream wrappers
...
Ensure unwanted enviorment variables are removed from the actual
global environment rather than just the `$_ENV` superglobal variable
Disable stream wrappers, as this is an unexpected feature for most
developers and can be exploited. For instance, `phar://` can be used
to override any class and thus provide code execution (through
`__wakeup` or `__costruct`, for instance). Not a complete solution, as
`php://` can also be abused, but we can't disable it as it gets used
_somewhere_ in our dependencies
2022-04-03 18:02:54 +01:00
Hugo Sales
556ac85061
[PLUGIN][Pinboard] For tag list request, respond with the most common variant and the corresponding count for each canon tag
2022-04-01 02:10:12 +01:00
Hugo Sales
539104ec33
[PLUGIN][Pinboard] Refactor and cleanup code
2022-04-01 00:17:57 +01:00
Hugo Sales
74ffd261b8
[PLUGIN][Pinboard] Implement tag handling
2022-04-01 00:16:04 +01:00
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
08587b6942
[COMPONENT][Link][Tag] Refactor to make it easier to create links or tags from other places
2022-04-01 00:09:25 +01:00
Hugo Sales
1664293cf7
[PLUGIN][Pinboard] Change token to user user ID rather than nickname, to avoid complications with it possibly changing
2022-03-31 22:06:37 +01:00
Hugo Sales
94ab4ce8c4
[PLUGIN][Pinboard] Invalidate token and it's cache when actor information is changed via ActorForms
2022-03-31 03:47:14 +01:00
Hugo Sales
dd70de20da
[PLUGIN][Pinboard] Implement token authentication and settings page, allowing the user to enable, disable, refresh or consult their token
2022-03-31 03:29:31 +01:00
Hugo Sales
ded9c86054
[CORE][DB] Add DB::refetch, which refetches an entity from the database, so it's managed and definitely up to date (use when wanting to update entities from cache)
2022-03-31 03:29:31 +01:00
Hugo Sales
20e07c9140
[CORE][DB] Make DB::dql return an object rather than an array if limit 1 is specified
2022-03-31 03:29:31 +01:00
Hugo Sales
4e2f6545ec
[COMPONENT][Person][PLUGIN][WebHooks] Rename person settings section from 'others' to 'api'
2022-03-31 03:29:31 +01:00
Hugo Sales
f6a8f44420
[COMPONENT][Person][TEMPLATES] Move persosn settings template from core to the component
2022-03-31 03:29:31 +01:00
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
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