Commit Graph

344 Commits

Author SHA1 Message Date
Daniel Supernault f42c114058
Update ApiV1Controller, filter muted/blocked accounts from tag timeline. 2023-05-20 22:57:42 -06:00
Daniel Supernault 6a2daf1f63
Update ApiControllers, remove cloud ip blocks 2023-05-14 20:15:41 -06:00
Daniel Supernault 167dbcdd43
Add /api/v2/instance api endpoint 2023-05-11 04:06:27 -06:00
Daniel Supernault 0b42fe0f00
Update HashtagService 2023-05-09 03:22:28 -06:00
Daniel Supernault b5fe956acf
Add `only_media` support to /api/v1/timelines/tag/:id api endpoint 2023-05-09 02:13:26 -06:00
Daniel Supernault 521b3b4c82
Add /api/v1/tags/:id api endpoint 2023-05-09 01:25:39 -06:00
Daniel Supernault 4d997bb959
Add /api/v1/tags/:id/follow and /api/v1/tags/:id/unfollow api endpoints 2023-05-09 01:08:09 -06:00
Daniel Supernault 175a848665
Add /api/v1/followed_tags api endpoint 2023-05-09 00:21:46 -06:00
Daniel Supernault fc1a385cfd
Update ApiV1Controller, fix hashtag timeline 2023-05-08 22:50:49 -06:00
Daniel Supernault 6ea2bdc782
Update Admin Dashboard, allow admins to designate an admin account for the landing page and instance api endpoint 2023-05-07 05:04:18 -06:00
Daniel Supernault 37bd2ee51b
Update ApiV1Controller, fix trending accounts format. Closes #4356 2023-05-06 18:49:21 -06:00
Daniel Supernault 055aa6b39f
Update ApiV1Controller and DiscoverController, fix postgres hashtag search 2023-05-02 23:26:37 -06:00
Daniel Supernault d563901622
Update ApiV1Controller 2023-05-02 20:11:26 -06:00
Daniel Supernault 9873913921
Update ApiV1Controller, fix account blocks.Closes #4304 2023-04-20 05:27:44 -06:00
Daniel Supernault 50ab2e2039
Add cloud ip bans to BouncerService 2023-04-20 01:08:54 -06:00
Daniel Supernault 22da2647c7
Update filesystems, store all files as public by default and add default permissions. Fixes #4273, #4275. Closes #3825 2023-04-03 19:15:20 -06:00
Daniel Supernault 73aa01e8e0
Update ApiV1Controller, filter mute/blocks on statuses/context and statuses/replies endpoints 2023-04-03 18:51:20 -06:00
Daniel Supernault 8e71e0c03e
Update ApiV1Controller, fix blocking remote accounts. Closes #4256 2023-03-28 20:21:54 -06:00
Daniel Supernault 4d5614726f
Update ApiV1Controller, improve timeline account hydration 2023-03-25 06:30:33 -06:00
Daniel Supernault 4e79c77282
Update ApiV1Controller, improve timeline account hydration 2023-03-25 06:19:04 -06:00
Daniel Supernault 5a67e9f93b
Update image pipeline, dispatch jobs to mmo queue and add "replace_id" param to v2/media endpoint to dispatch delayed MediaDeletePipeline job for original media id to improve media gc on supported clients 2023-03-23 01:34:37 -06:00
Daniel Supernault deb2697115
Update ApiV1Controller, preserve album order. Fixes #3708 2023-03-11 05:49:39 -07:00
Daniel Supernault 5cf9ba785f
Update ApiV1Controller, increase home timeline max limit to 100 to fix compatibility with mastoapi 2023-03-11 05:45:20 -07:00
Daniel Supernault a8ec8445a5
Update ApiV1Controller, fix home timeline bug 2023-03-05 08:18:22 -07:00
Daniel Supernault 4716c280c5
Update ApiV1Controller, fix following/follower entities, use masto schema by default and update components accordingly 2023-03-05 01:03:34 -07:00
Daniel Supernault e346b675d4
Update ApiV1Controller, fix link header pagination in /api/v1/statuses/{id}/reblogged_by 2023-03-05 00:21:42 -07:00
Daniel Supernault adc82ecab3
Update ApiV1Controller, fix link header pagination in /api/v1/statuses/{id}/favourited_by 2023-03-04 23:47:29 -07:00
Daniel Supernault 713aa5fd7d
Update ApiV1Controller, add cursor pagination and pagination link headers to account/{id}/followers and account/{id}/following endpoints with legacy support for `page=` simple pagination 2023-03-04 22:20:16 -07:00
Daniel Supernault f4a69631a4
Update ApiV1Controller, allow optional mastodonMode on v2/search endpoint 2023-03-04 15:09:45 -07:00
Daniel Supernault f31646502f
Update ApiV1Controller, fix media update. Fixes #4196 2023-03-03 21:22:35 -07:00
Daniel Supernault 6153b620bf
Update FollowPipeline, fix followers_count and following_count counters 2023-03-03 04:08:29 -07:00
Daniel Supernault 5b879f0156
Update mute/block logic with admin defined limits and improved filtering to skip deleted accounts 2023-03-01 04:16:42 -07:00
Daniel Supernault dda9e77024
Update ApiV1Controller, add Redis facade 2023-02-10 06:14:51 -07:00
Daniel Supernault 94069db9b8
Update ApiV1Controller, add pixelfed entity support to bookmarks endpoint 2023-02-10 04:53:36 -07:00
Daniel Supernault e343061a13
Update ApiV1Controller and BookmarkController, fix api differences and allow unbookmarking regardless of relationship 2023-02-10 04:06:18 -07:00
Daniel Supernault e8a6a8c71e
Update ApiV1Controller, filter conversations without last_status 2023-02-10 02:02:07 -07:00
Daniel Supernault 29b1af100c
Update ApiV1Controller, add BookmarkService logic to bookmark endpoints 2023-02-10 02:01:15 -07:00
Daniel Supernault 1a130f3e33
Update ApiV1Controller, fix favourited_by and reblogged_by follows attribute 2023-02-08 02:47:24 -07:00
Daniel Supernault e1c7e7015e
Update ApiV1Controller, use cursor pagination for favourited_by and reblogged_by endpoints 2023-02-08 02:07:35 -07:00
Daniel Supernault 6deb09de28
Update ApiV1Controller 2023-02-07 22:40:06 -07:00
Daniel Supernault 9f66d6b640
Update ApiV1Controller, fix account statuses and bookmark pagination 2023-02-07 22:02:23 -07:00
Daniel Supernault fab0c9cca9
Update ApiV1Controller 2023-02-06 05:39:36 -07:00
Daniel Supernault 2881b6626a
Update ApiV1Controller 2023-02-05 22:50:12 -07:00
Daniel Supernault 80e6a5a98f
Update ComposeController, fix validation issue 2023-02-01 22:58:06 -07:00
Daniel Supernault 83e1e203ce
Update SharePipeline, fix share handling and notification generation 2023-01-31 02:27:23 -07:00
Daniel Supernault 869c3ed1fa
Update ApiV1Controller, allow description (alt text) updates after status is published 2023-01-29 00:27:23 -07:00
Daniel Supernault f0e648b7b8
Update ApiV1Controller, fix bookmarks endpoint 2023-01-27 00:53:47 -07:00
Daniel Supernault b9154e3090
Update api routes 2022-12-30 23:23:39 -07:00
Daniel Supernault 3328b367fd
Add optional home feed caching 2022-12-16 00:43:20 -07:00
Daniel Supernault 2b0db8121a
Update ApiV1Controller, remove min avatar size limit, fixes #3715 2022-12-12 23:56:05 -07:00
Daniel Supernault aaed2bf66e
Dispatch follow accept/reject pipeline jobs to follow queue 2022-12-12 20:43:51 -07:00
Daniel Supernault 81f7d17263
Update FollowerService, improve cache invalidation 2022-12-07 02:50:13 -07:00
Daniel Supernault e71972d8f1
Update ApiV1Controller, map AccountService 2022-11-17 20:13:26 -07:00
Daniel Supernault 1d52ad0b27
Update ApiV1Controller, fix followAccountById with firstOrCreate() 2022-11-17 18:59:51 -07:00
Daniel Supernault 94697d536b
Add Server Directory integration 2022-11-13 20:11:07 -07:00
Daniel Supernault 04e8c96a7e
Update status deletion, fix database lock issues and side effects 2022-10-07 03:15:34 -06:00
Daniel Supernault 58b331d22e
Update ApiV1Controller, include self likes in favourited_by endpoint 2022-10-04 23:18:25 -06:00
Daniel Supernault 3bf792072a
Update CollectionService 2022-10-01 00:07:28 -06:00
Daniel Supernault 95b5861094
Update ApiV1Controller, add comments_disabled param to /api/v1/statuses endpoint 2022-09-29 01:11:29 -06:00
Daniel Supernault 7ae21fc396
Update ApiV1Controller, add collection_ids to /api/v1/statuses endpoint 2022-09-28 23:48:46 -06:00
Daniel Supernault d06fac072c
Update ApiV1Controller, fix mute/blocks orderBy 2022-09-24 18:07:24 -06:00
Daniel Supernault 364adb4387
Update ApiV1Controller, fix mute/block entities 2022-09-23 01:35:42 -06:00
Daniel Supernault ef0d1f84ae
Update ApiV1Controller, add optional place_id parameter to POST /api/v1/statuses endpoint 2022-09-19 00:48:08 -06:00
Daniel Supernault 4fe07e6fe2
Update ApiV1Controller, fix pagination header. Fixes #3354 2022-09-18 21:44:37 -06:00
Daniel Supernault 374bfdae15
Update ApiV1Controller, normalize profile id comparison 2022-09-15 20:49:37 -06:00
Daniel Supernault 796ad37419
Update ApiV1Controller 2022-09-12 21:27:53 -06:00
Daniel Supernault 61d26e85cd
Update ApiV1Controller update_credentials endpoint to support app (_pe) response 2022-09-11 02:48:47 -06:00
Daniel Supernault c91a6a7542
Update ApiV1Controller, fix typo in statusFavouriteById method 2022-09-01 01:33:22 -06:00
Daniel Supernault 61f230aa9e
Update ApiV1Controller 2022-08-31 18:44:30 -06:00
Daniel Supernault c3391c036a
Update ApiV1Controller 2022-08-30 00:51:15 -06:00
Daniel Supernault 016b11f301
Refactor discover accounts endpoint, cache popular accounts and remove following check as most invocations are from new accounts 2022-08-20 06:07:52 -06:00
Daniel Supernault f6ed560e78
Limit NotificationService to 400 items 2022-08-17 23:08:40 -06:00
Daniel Supernault c3e8a0e439
Improve mute/block v1 api endpoints, fixes #3540 2022-08-15 21:45:30 -06:00
Daniel Supernault 1545e37cdb
Enforce blocks on incoming likes, shares, replies and follows 2022-08-07 20:59:36 -06:00
Daniel Supernault 2fb18b7dff
Add configuration to v1/instance endpoint. Fixes #3605 2022-08-05 22:01:30 -06:00
Daniel Supernault b700790bb4
Update update_credentials endpoint, enforce validator limits 2022-08-01 19:47:11 -06:00
Daniel Supernault 44de1ad748
Update unfollow api endpoint to only decrement when appropriate, fixes #3539 2022-08-01 19:05:22 -06:00
Daniel Supernault abb4f7e1ec
Hydrate `favourited` and `reblogged` state on v1 context endpoint 2022-07-25 23:35:44 -06:00
Daniel Supernault 54a5c3be34
Fix v1 api block/mute endpoints, refresh RelationshipService cache after relationship changes 2022-07-19 23:22:31 -06:00
Daniel Supernault aa498af073
Add live stream events 2022-06-26 16:06:08 -06:00
Daniel Supernault 5254f3921b
Update ApiV1Controller, fix source note 2022-06-23 01:09:25 -06:00
Daniel Supernault a7613baee6
Update ApiV1Controller, fix public timeline min/max id pagination 2022-06-15 03:32:04 -06:00
Daniel Supernault 11e99d782f
Update ApiV1Controller, fix network timeline 2022-06-15 01:10:39 -06:00
Daniel Supernault 4ff179ad4d
Update ApiV1Controller, improve local/remote logic in public timeline endpoint 2022-06-13 03:08:43 -06:00
Daniel Supernault e97900a060
Update follower counts on follow_request approval 2022-06-11 05:16:38 -06:00
Daniel Supernault b4dda5776b
Implement follow request api endpoints 2022-06-11 03:31:24 -06:00
Daniel Supernault aded149fae
Update AccountController, include account entities in follow_requests.json endpoint 2022-06-11 00:37:36 -06:00
Daniel Supernault f54fd6e9cc
Update ApiV1Controller, add network timeline support via NetworkTimelineService 2022-06-09 05:11:39 -06:00
Daniel Supernault 98c2397bf0
Update ApiV1Controller, fix non-public visibility inclusion on home timeline 2022-06-05 03:24:44 -06:00
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 2022-05-21 05:14:22 +09:00
noellabo 1bdfa7a4a2 Fix instance API 2022-05-21 05:13:03 +09:00
Daniel Supernault d48642132b
Add custom content warnings/spoiler text 2022-05-18 02:58:49 -06:00
Daniel Supernault 71ba5fedc2
Update Like model, bump max likes per day from 100 to 200 2022-05-09 00:33:01 -06:00
Daniel Supernault f07cc14c4f
Add /api/v2/media endpoint, fixes #3405 2022-04-30 12:29:39 -06:00
Daniel Supernault f34a1e9d8e
Add Conversations model 2022-04-20 05:07:20 -06:00
Daniel Supernault cc6b78c436
Update StatusService 2022-04-18 01:59:27 -06:00
Daniel Supernault 5649873ab8
Update ApiV1Controller, add miissing pagination header 2022-04-02 16:34:12 -06:00
Daniel Supernault a5cdc28b6c
Update ApiV1Controller, fix timelline pagination 2022-04-02 16:18:13 -06:00
Daniel Supernault 37dfb1014f
Update ApiV1Controller, remove no-preview image from media urls 2022-03-30 20:51:35 -06:00
Daniel Supernault 6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 2022-03-25 02:46:12 -06:00