diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-03-05 14:11:16 -0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-05 14:11:16 -0100 |
commit | a6ad99eed17b0318af731e8452a3eda092a676e6 (patch) | |
tree | 3acffb5d7e751c068b8f6989ddc32fa7910e6abc /appinfo | |
parent | ee81f3717cc03f5aa80dea13d075e7eea3898059 (diff) | |
parent | 88f7a56aadd5e769c6714fb28cd9cd1907f84c61 (diff) |
Merge branch 'master' into feature/noid/attachments
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/info.xml | 3 | ||||
-rw-r--r-- | appinfo/routes.php | 19 |
2 files changed, 14 insertions, 8 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index 00d26eda..83c87f31 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -18,7 +18,7 @@ **🕸 Open standards:** We use the established ActivityPub standard! ]]></description> - <version>0.1.2</version> + <version>0.2.0-dev01</version> <licence>agpl</licence> <author mail="maxence@artificial-owl.com">Maxence Lange</author> <author mail="jus@bitgrid.net">Julius Härtl</author> @@ -47,6 +47,7 @@ <commands> <command>OCA\Social\Command\CacheRefresh</command> <command>OCA\Social\Command\NoteCreate</command> + <command>OCA\Social\Command\NoteBoost</command> <command>OCA\Social\Command\Reset</command> <command>OCA\Social\Command\QueueStatus</command> <command>OCA\Social\Command\QueueProcess</command> diff --git a/appinfo/routes.php b/appinfo/routes.php index 01ef4314..d0816a74 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -38,10 +38,10 @@ return [ 'routes' => [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], ['name' => 'Navigation#test', 'url' => '/test', 'verb' => 'GET'], - [ 'name' => 'Navigation#timeline', 'url' => '/timeline/{path}', 'verb' => 'GET', - 'requirements' => ['path' => '.+'], 'defaults' => ['path' => ''] + 'requirements' => ['path' => '.+'], + 'defaults' => ['path' => ''] ], ['name' => 'Navigation#documentGet', 'url' => '/document/get', 'verb' => 'GET'], ['name' => 'Navigation#documentGetPublic', 'url' => '/document/public', 'verb' => 'GET'], @@ -54,11 +54,16 @@ return [ ['name' => 'ActivityPub#followers', 'url' => '/@{username}/followers', 'verb' => 'GET'], ['name' => 'ActivityPub#following', 'url' => '/@{username}/following', 'verb' => 'GET'], + ['name' => 'OStatus#subscribe', 'url' => '/ostatus/follow/{uri}', 'verb' => 'GET'], + ['name' => 'OStatus#followRemote', 'url' => '/api/v1/ostatus/followRemote/{local}', 'verb' => 'GET'], + ['name' => 'OStatus#getLink', 'url' => '/api/v1/ostatus/link/{local}/{account}', 'verb' => 'GET'], + ['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{postId}', 'verb' => 'GET'], ['name' => 'Local#streamHome', 'url' => '/api/v1/stream/home', 'verb' => 'GET'], ['name' => 'Local#streamNotifications', 'url' => '/api/v1/stream/notifications', 'verb' => 'GET'], ['name' => 'Local#streamTimeline', 'url' => '/api/v1/stream/timeline', 'verb' => 'GET'], + ['name' => 'Local#streamTag', 'url' => '/api/v1/stream/tag/{hashtag}/', 'verb' => 'GET'], ['name' => 'Local#streamFederated', 'url' => '/api/v1/stream/federated', 'verb' => 'GET'], ['name' => 'Local#streamDirect', 'url' => '/api/v1/stream/direct', 'verb' => 'GET'], ['name' => 'Local#streamAccount', 'url' => '/api/v1/account/{username}/stream', 'verb' => 'GET'], @@ -66,6 +71,8 @@ return [ ['name' => 'Local#postCreate', 'url' => '/api/v1/post', 'verb' => 'POST'], ['name' => 'Local#postDelete', 'url' => '/api/v1/post', 'verb' => 'DELETE'], + ['name' => 'Local#postBoost', 'url' => '/api/v1/post/boost', 'verb' => 'POST'], + ['name' => 'Local#actionFollow', 'url' => '/api/v1/current/follow', 'verb' => 'PUT'], ['name' => 'Local#actionUnfollow', 'url' => '/api/v1/current/follow', 'verb' => 'DELETE'], @@ -84,12 +91,10 @@ return [ // ['name' => 'Local#documentsCache', 'url' => '/api/v1/documents/cache', 'verb' => 'POST'], - ['name' => 'Queue#asyncWithToken', 'url' => CurlService::ASYNC_TOKEN, 'verb' => 'POST'], + ['name' => 'Local#search', 'url' => '/api/v1/search', 'verb' => 'GET'], - [ - 'name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', - 'verb' => 'POST' - ], + ['name' => 'Queue#asyncForRequest', 'url' => CurlService::ASYNC_REQUEST_TOKEN, 'verb' => 'POST'], + ['name' => 'Config#setCloudAddress', 'url' => '/api/v1/config/cloudAddress', 'verb' => 'POST'] ] ]; |