Commit Graph

1475 Commits

Author SHA1 Message Date
Daniel Supernault 6e214904a8
Update StatusController 2022-10-07 03:49:23 -06:00
Daniel Supernault 04e8c96a7e
Update status deletion, fix database lock issues and side effects 2022-10-07 03:15:34 -06:00
Daniel Supernault 2ecc314434
Update PublicApiController, remove expensive and unused relationships 2022-10-06 22:32:26 -06:00
Daniel Supernault 58b331d22e
Update ApiV1Controller, include self likes in favourited_by endpoint 2022-10-04 23:18:25 -06:00
Daniel Supernault b8ad594a05
Update CollectionController 2022-10-02 18:55:16 -06:00
Daniel Supernault 84e152896b
Update CollectionController 2022-10-01 05:36:07 -06:00
Daniel Supernault 6e76cf4b68
Update CollectionController, limit max title and description length 2022-10-01 03:45:53 -06:00
Daniel Supernault 3bf792072a
Update CollectionService 2022-10-01 00:07:28 -06:00
Daniel Supernault ab2d1315a0
Update CollectionController 2022-09-30 22:23:58 -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 0a82e9466d
Update api routes 2022-09-28 23:15:54 -06:00
Daniel Supernault 74f576c8ce
Update web routes 2022-09-28 22:29:16 -06:00
Daniel Supernault 08ab19f0ea
Update v1.1 api 2022-09-25 08:16:01 -06:00
Daniel Supernault 6b2f6b3c22
Update v1.1 api 2022-09-25 08:11:44 -06:00
Daniel Supernault 12f9539054
Update v1.1 api 2022-09-25 03:28:43 -06:00
Daniel Supernault fa88cf4ea6
Update v1.1 api 2022-09-25 03:00:00 -06:00
Daniel Supernault 34b57783c4
Update v1.1 api 2022-09-24 23:38:08 -06:00
Daniel Supernault 613e98ce09
Update v1.1 api 2022-09-24 23:20:45 -06:00
Daniel Supernault 78d82c7c2c
Update v1.1 api 2022-09-24 22:31:17 -06:00
Daniel Supernault 491843ac6c
Update v1.1 api 2022-09-24 20:52:19 -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 842f40a1b5
Update ApiV1Dot1Controller 2022-09-19 03:49:45 -06:00
Daniel Supernault 4514ab1dbe
Update SettingsController, fix double json encoding and cache settings for 7 days 2022-09-19 03:39:33 -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 9e223a6b83
Update DirectMessageController, include account entity in lookup endpoint 2022-09-06 23:27:37 -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 fe6787f75e
Update AdminSettingsController, fix cache invalidation when updating rules 2022-08-26 01:55:51 -06:00
Daniel Supernault 243fcac7d5
Update Discover apis 2022-08-23 22:34:22 -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 101676758e
Update api routes 2022-08-18 03:48:40 -06:00
Daniel Supernault f6ed560e78
Limit NotificationService to 400 items 2022-08-17 23:08:40 -06:00
Daniel Supernault 7734dc033b
Add instance post/profile embed config setting 2022-08-16 02:57:52 -06:00
Daniel Supernault 0b7d0a9627
Add customizable Legal Notice page 2022-08-15 23:39:33 -06:00
Daniel Supernault c18dcde38f
Set Last-Modified header for atom feeds, fixes #2988 2022-08-15 22:29:07 -06:00
Daniel Supernault c3e8a0e439
Improve mute/block v1 api endpoints, fixes #3540 2022-08-15 21:45:30 -06:00
Daniel Supernault 75fbd373c8
Remove quilljs from admin page editor, fixes #3616 2022-08-15 20:32:17 -06:00
Daniel Supernault 6033d83726
Fix unlisted post web redirect and api response 2022-08-13 22:51:02 -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 b57066d15d
Fix email verification requests filtering to gracefully handle deleted accounts and accounts already verified 2022-08-04 03:41:54 -06:00
Daniel Supernault 5ea12601ce
Add DELETE /api/v1.1/accounts/avatar api endpoint 2022-08-02 00:57:46 -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 9d52b9c2d6
Improve admin dashboard by moving expensive stats to its page and loading stats and recent data async on the dashboard home page 2022-07-28 01:06:39 -06:00
Daniel Supernault b4bc9fe31c
Update AdminReportController 2022-07-26 03:11:28 -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 8803c6de3d
Update ResetPasswordController redirectToo path to /i/web as /home is deprecated 2022-07-19 22:48:50 -06:00
Daniel Supernault 89abbe200d
Add report api endpoint 2022-07-19 20:05:00 -06:00
Daniel Supernault feb969b908
Update LiveStreamController, remove auth middleware from config endpoint 2022-06-29 00:28:58 -06:00
Daniel Supernault 4bd9e12f00
Update livestream events 2022-06-27 21:52:07 -06:00
Daniel Supernault 19908f6ffb
Update LiveStreamController 2022-06-26 20:54:35 -06:00
Daniel Supernault 433eace75e
Update LiveStreamController 2022-06-26 20:52:42 -06:00
Daniel Supernault 473cdba855
Update LiveStreamController 2022-06-26 20:42:05 -06:00
Daniel Supernault 4630c5d67a
Update LiveStream events 2022-06-26 20:24:32 -06:00
Daniel Supernault b55e91d1e3
Update LiveStreamController, add stream end event to deleteStream 2022-06-26 20:15:52 -06:00
Daniel Supernault a45deb93ed
Add stream start + end events 2022-06-26 20:10:10 -06:00
Daniel Supernault 6bf68c147e
Update LiveStreamController, fix visibility condition 2022-06-26 19:53:36 -06:00
Daniel Supernault f8e585c49a
Update LiveStreamController, clear chat cache when deleting stream 2022-06-26 19:50:40 -06:00
Daniel Supernault f51ffa7eab
Update LiveStreamController, clear chat after stream ends 2022-06-26 19:37:05 -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 03a85460af
Fix timeline infinite scroll 2022-06-19 07:05:07 -06:00
Daniel Supernault bb1cccbe03
Update MediaDeletePipeline, fix async media deletion 2022-06-19 06:52:06 -06:00
Daniel Supernault 44f4a9edd9
Improve CollectionService cache invalidation, fixes #3548 2022-06-18 23:47:16 -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 494f11202f
Update LiveStream model 2022-06-15 00:46:20 -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 4470981af7
Improve follow request flow, federate rejections and delete rejections from database to properly handle future follow requests from same actor 2022-06-11 03:27:52 -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 1310d95cdb
Add NetworkTimelineService cache 2022-06-09 04:15:23 -06:00
Daniel Supernault 97f3bc571e
Update TrustProxies middleware 2022-06-09 02:28:59 -06:00
Daniel Supernault 98c2397bf0
Update ApiV1Controller, fix non-public visibility inclusion on home timeline 2022-06-05 03:24:44 -06:00
Daniel Supernault 5bcc02ecac
Update PublicApiController, fix non-public visibility inclusion on home timeline 2022-06-05 03:23:41 -06:00
Daniel Supernault 68300c426c
Update AccountController 2022-06-03 04:28:58 -06:00
Daniel Supernault 4dc9365acb
Update AccountController, dispatch Accept Follow activity if applicable 2022-06-03 04:18:06 -06:00
Daniel Supernault 00770c6002
Update livestream config 2022-06-01 00:13:44 -06:00
Daniel Supernault 5206f21f59
Add Live Stories/Live streaming 2022-05-26 01:59:54 -06:00
Daniel Supernault 13a6630351
Update network timeline api, limit falloff to 2 days 2022-05-21 01:49:39 -06:00
Shlee 0fcdf1ebe4
Update AdminSettingsController.php 2022-05-21 16:02:55 +09:30
daniel ecffbd294e
Merge pull request #3490 from shleeable/patch-25
Update LabsSettings.php - CookieJar::make() expects string, true given.
2022-05-20 23:38:40 -06:00
daniel 8d49ca18fd
Merge pull request #3486 from shleeable/patch-21
Update InstallController.php - function version_compare expects string, float given.
2022-05-20 23:35:20 -06:00
daniel 9784e261ea
Merge pull request #3483 from shleeable/patch-18
Update SpaController.php
2022-05-20 23:29:21 -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 7d26f4ef2e
Merge pull request #3453 from shleeable/staging-unwanted-semicolons
unwanted semicolons
2022-05-17 23:43:23 -06:00
Shlee 7447209236
Update SettingsController.php 2022-05-18 11:51:21 +09:30
Shlee 9b792e8e98
Update LabsSettings.php 2022-05-18 11:48:16 +09:30
Shlee a54d9c4f71
Update InstallController.php 2022-05-17 20:37:38 +09:30
Shlee f47ed7bdd1
Update SpaController.php 2022-05-17 18:04:21 +09:30
Daniel Supernault 3f322e29d7
Update adminReportController, fix mail verification request 500 bug by changing filter precedence to catch deleted users that may still be cached in AccountService 2022-05-16 02:16:23 -06:00
Daniel Supernault 5ff4730ff1
Update home timeline, redirect to /i/web unless force_old_ui is present 2022-05-15 23:09:45 -06:00
daniel 73b82855ed
Merge branch 'staging' into ld 2022-05-15 21:52:59 -06:00
a 9e22b48a42 add back missing security context to direct messages 2022-05-14 10:35:36 -05:00
a be6dc8ac47 clean up json-ld schema 2022-05-14 10:31:47 -05:00
Shlee d0c44757e7 Update AdminController.php 2022-05-14 19:27:04 +09:30
Shlee e36be67c70 unwanted semicolons 2022-05-14 19:12:07 +09:30
Daniel Supernault 8f9d36bd3d
Cleanup, fixes #3440 2022-05-14 00:36:52 -06:00
Daniel Supernault 84209c2433
Remove arbitrary metro url redirect timeout 2022-05-13 23:59:00 -06:00
Daniel Supernault 0afea2ba1c
Cleanup outdated discover routes and unused HomeController 2022-05-11 18:28:44 -06:00
Daniel Supernault 153eb6ba4c
Update HashtagService, use sorted set for followed tags 2022-05-09 02:01:33 -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 a4659fd2ab
Update DirectMessageController to support new Metro 2.0 UI DMs 2022-05-09 00:15:03 -06:00
Daniel Supernault f07cc14c4f
Add /api/v2/media endpoint, fixes #3405 2022-04-30 12:29:39 -06:00
Daniel Supernault cb2392f351
Update FederationController 2022-04-26 20:36:08 -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 563817a94a
Update AdminReportController, add account delete button 2022-04-18 00:30:06 -06:00
Daniel Supernault 6cf671cb23
Add web installer 2022-04-10 05:50:44 -06:00
Daniel Supernault a3d76ee522
Update AdminSettingsController 2022-04-07 23:52:55 -06:00
Daniel Supernault f6f2c27874
Update horizon config, add default timeout limit 2022-04-05 21:22:32 -06:00
Daniel Supernault a0061eb56c
Update CollectionController, limit unpublished collections to owner 2022-04-03 03:25:08 -06:00
Daniel Supernault dab9bcaf36
Update SpaController, fix typo 2022-04-03 01:47:20 -06:00
Daniel Supernault 9a7289198a
Update PublicApiController, fix edge case in timeline pagination 2022-04-03 00:50:25 -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 d8ff40ebf9
Update DiscoverController, improve tag feed perf 2022-03-31 01:31:03 -06:00
Daniel Supernault 0541aed510
Update DiscoverController, cache public tag feed and only include local posts for unauthenticated users 2022-03-31 01:04:15 -06:00
Daniel Supernault d9e4cc3df6
Update PublicApiController, return empty 403 response 2022-03-31 00:14:48 -06:00
Daniel Supernault 6ba7d43391
Updaet PublicApiController, disable legacy public access to local timeline 2022-03-31 00:04:04 -06:00
Daniel Supernault e7783af686
Update PlaceController, require authentication 2022-03-30 23:56:46 -06:00
Daniel Supernault 37dfb1014f
Update ApiV1Controller, remove no-preview image from media urls 2022-03-30 20:51:35 -06:00
Daniel Supernault 72e3d89118
Update controller signatures, fix mysql 8 support 2022-03-30 20:33:34 -06:00
Daniel Supernault 6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 2022-03-25 02:46:12 -06:00
Daniel Supernault a84ab6ea92
Update ApiV1Controller, update statusCreate entity 2022-03-25 02:10:57 -06:00
Daniel Supernault db7b1af343
Update ApiV1Controller, fix accountStatusesById endpoint 2022-03-25 00:33:30 -06:00
Daniel Supernault 15eccd443c
Update ApiV1Controller, increase limits from 80 to 100 2022-03-24 23:56:08 -06:00
Daniel Supernault 235d9184c6
Update ApiV1Controller, update markers endpoint 2022-03-24 23:51:44 -06:00
Daniel Supernault 93a9769e47
Update ApiV1Controller, add markers endpoint 2022-03-24 23:37:19 -06:00
Daniel Supernault fbe07c5161
Update ApiV1Controller, add announcements endpoint 2022-03-24 23:00:55 -06:00
Daniel Supernault d40a84533a
Update ApiV1Controller, add trends endpoint 2022-03-24 22:57:04 -06:00
Daniel Supernault 8c65d60b77
Update ApiV1Controller, fix tag timeline limits and remove has(media) constraint 2022-03-24 22:41:19 -06:00
Daniel Supernault c3e56b8722
Update ApiV1Controller, add preferences endpoint 2022-03-24 22:32:16 -06:00
Daniel Supernault df22f2e4b0
Update ApiV1Controller, increase max limit on timelines 2022-03-24 22:12:07 -06:00
Daniel Supernault c4d38c201f
Update ApiV1Controller, add apps/verify_credentials endpoint 2022-03-23 18:11:06 -06:00
Daniel Supernault 50baae5269
Update ApiV1Controller, fix apps endpoint 2022-03-23 16:59:18 -06:00
Daniel Supernault 9dac861ebe
Update ApiV1Controller, fix search v2 entities 2022-03-23 05:58:14 -06:00