Commit graph

1747 commits

Author SHA1 Message Date
Daniel Supernault
62b9eef805
Fix api endpoints 2024-02-09 20:51:37 -07:00
Daniel Supernault
fd7f5dbba1
Fix api endpoints 2024-02-09 20:45:10 -07:00
Daniel Supernault
e354750808
Fix api endpoints 2024-02-09 20:41:12 -07:00
Emelia Smith
0f8e45fe75
Implement proper OAuth authorization on API endpoints 2024-02-09 02:28:08 +01:00
Emelia Smith
9330cd02f7
Implement proper OAuth authorization on Admin API endpoints 2024-02-09 02:28:08 +01:00
Daniel Supernault
4d02d6f12e
Update ApiV2Controller, add vapid key to instance object. Thanks thisismissem! 2024-02-07 05:59:12 -07:00
Daniel Supernault
5b284cacea
Update ApiV1Controller, enforce blocked instance domain logic 2024-02-07 04:41:12 -07:00
Daniel Supernault
01b33fb37e
Update PublicApiController, consume InstanceService blocked domains for account and statuses endpoints 2024-02-07 03:43:20 -07:00
Daniel Supernault
0aff126aa0
Update ApiV1Controller, properly cast boolean sensitive parameter. Fixes #4888 2024-02-01 22:46:13 -07:00
Daniel Supernault
6167ebc654
Update UserEmailForgotController 2024-01-22 05:59:37 -07:00
Daniel Supernault
96366ab3de
Update forgot email captcha config 2024-01-22 05:51:50 -07:00
Daniel Supernault
67c650b195
Add forgot email feature 2024-01-22 05:26:01 -07:00
Daniel Supernault
0325e17115
Update LoginController, fix captcha validation error message 2024-01-22 03:06:14 -07:00
Daniel Supernault
c91f1c595a
Update ParentalControlsController, prevent children from adding accounts 2024-01-11 06:52:12 -07:00
Daniel Supernault
c7ed684a5c
Update ParentalControlsController 2024-01-11 06:31:19 -07:00
Daniel Supernault
71c148c61e
Update StoryController, add parental controls support 2024-01-11 05:46:02 -07:00
Daniel Supernault
fe30cd25d1
Update DirectMessageController, add parental controls support 2024-01-11 05:25:23 -07:00
Daniel Supernault
fd9b5ad443
Update api controllers, add parental control support 2024-01-11 04:50:11 -07:00
Daniel Supernault
9d365d07f9
Update ParentalControls, map updated saved permissions/roles 2024-01-11 04:41:38 -07:00
Daniel Supernault
2dcfc81495
Update ComposeController, add parental controls support 2024-01-11 04:40:25 -07:00
Daniel Supernault
1a16ec2078
Update BookmarkController, add parental control support 2024-01-11 03:22:35 -07:00
Daniel Supernault
5f6ed85770
Update settings sidebar 2024-01-11 02:34:43 -07:00
Daniel Supernault
319a20b473
Update ParentalControlsController, redirect to new custom error page on active session when attempting to use child invite link so as to not overwrite parent active session with child session 2024-01-11 02:12:54 -07:00
Daniel Supernault
c53894fe16
Add Parental Controls feature 2024-01-11 01:35:15 -07:00
Daniel Supernault
d25209f74a
Update ApiV1Controller, update favourites max limit. Fixes #4854 2024-01-06 11:43:56 -07:00
Daniel Supernault
cbe75ce871
Update UserRolesController 2024-01-02 22:06:54 -07:00
Daniel Supernault
75b0f2dda0
Update ComposeController, add permissions check 2024-01-02 22:06:18 -07:00
Daniel Supernault
d39946b045
Update ApiV1Controller, add permissions check 2024-01-02 22:04:27 -07:00
Daniel Supernault
7dbdbf15a5
Add Roles & Parental Controls 2023-12-27 02:51:47 -07:00
Daniel Supernault
89b8e87477
Update ApiV1Controller, apply user domain blocks filtering to hashtag timelines 2023-12-21 02:03:15 -07:00
Daniel Supernault
21947835f8
Update ApiV1Controller, use domainBlock filtering on public/network feeds 2023-12-21 00:46:24 -07:00
Daniel Supernault
6d81214138
Update DomainBlockController, purge domainBlocks cache 2023-12-21 00:44:54 -07:00
Daniel Supernault
87bba03d23
Update DomainBlockController, dispatch jobies 2023-12-19 06:24:51 -07:00
Daniel Supernault
a492a95a0e
Update AdminShadowFilter, fix deleted profile bug 2023-12-19 04:01:41 -07:00
Daniel Supernault
60e053c936
Update ApiV1Controller, update discoverAccountsPopular method 2023-12-16 06:22:56 -07:00
Daniel Supernault
28da107f66
Add DomainBlockController 2023-12-16 05:56:37 -07:00
Daniel Supernault
28da44beec
Update PrivacySettings, add domainBlocks 2023-12-16 05:42:56 -07:00
Daniel Supernault
b641954549
Update ApiV1Controller, set last_active_at 2023-12-13 06:49:00 -07:00
Daniel Supernault
33dbbe467d
Add Mutual Followers API endpoint 2023-12-11 01:34:46 -07:00
Daniel Supernault
38fee418a9
Update DirectMessageController 2023-12-08 05:48:04 -07:00
Daniel Supernault
9818656425
Update DirectMessageController, dispatch local deletes to pipeline 2023-12-08 04:27:09 -07:00
Daniel Supernault
d1c297d1ad
Update DirectMessageController, revert delete delivery to sharedInbox 2023-12-08 02:36:56 -07:00
Daniel Supernault
7f462a8055
Update DirectMessageController, dispatch deliver and delete actions to the job queue 2023-12-08 02:07:26 -07:00
Daniel Supernault
d848792ad4
Update DirectMessageController, deliver direct delete activities to user inbox instead of sharedInbox 2023-12-08 01:38:17 -07:00
Daniel Supernault
dec061f5ae
Update FederationController, add proper statuses counts 2023-12-05 00:55:41 -07:00
Daniel Supernault
3204fb9669
Update FederationController, add proper following/follower counts 2023-12-05 00:48:14 -07:00
daniel
6ffc964371
Merge pull request #4792 from mbliznikova/4790_4791_add_recently_deleted_post_to_collection_no_page_reloading_invalidate_cache_after_adding
4790 4791 add recently deleted post to collection no page reloading invalidate cache after adding
2023-12-05 00:28:42 -07:00
daniel
baa653d7de
Merge pull request #4750 from mbliznikova/3698_make_unlisted_photos_visible_in_collections
3698 make unlisted photos visible in collections
2023-12-05 00:27:30 -07:00
mbliznikova
a7320535e9 #4791 Invalidate cache after adding a collection item for data consistency 2023-11-30 00:19:04 +00:00
Daniel Supernault
bcb88d5b0a
Update StoryApiV1Controller, add self-carousel endpoint. Fixes #4352 2023-11-18 01:11:12 -07:00
Daniel Supernault
aa166ab11a
Update ApiV1Controller, move tags endpoints to TagsController 2023-11-17 22:10:03 -07:00
Daniel Supernault
287f903bf3
Update ApiV1Controller, fix include_reblogs param on timelines/home endpoint, and improve limit pagination logic 2023-11-17 20:50:07 -07:00
Daniel Supernault
19233cc976
Update HashtagFollowObserver 2023-11-15 22:16:23 -07:00
Daniel Supernault
c6a6b3ae30
Update Experimental Home Feed, fix remote posts, shares and reblogs 2023-11-15 21:57:13 -07:00
Daniel Supernault
b365aa7e06
Update ApiV1Controller 2023-11-15 00:17:31 -07:00
Daniel Supernault
015b1b80b4
Update hashtag following 2023-11-13 05:29:38 -07:00
Daniel Supernault
e917341651
Update ApiV1Controller 2023-11-12 23:32:45 -07:00
Daniel Supernault
24c370ee22
Update ApiV1Controller, add experimental home timeline support to v1/timelines/home 2023-11-12 21:13:08 -07:00
mbliznikova
2c6edf37a7 oFix #3698, make unlisted photos visible in collections 2023-11-11 04:08:29 +00:00
Daniel Supernault
ddc217147c
Update ApiV1Controller, fix mutes in home feed 2023-11-07 02:24:52 -07:00
Daniel Supernault
9c24157ab3
Update ImportPostController, fix IG bug with missing spaces between hashtags 2023-11-02 04:31:59 -06:00
Daniel Supernault
da510089e2
Update LikePipeline, dispatch to feed queue. Fixes #4723 2023-10-30 21:16:28 -06:00
Daniel Supernault
4c6a0719ca
Update ApiV1Dot1Controller, add configurable app confirm rate limit ttl 2023-10-29 05:29:30 -06:00
Daniel Supernault
3249695066
Update ApiV1Dot1Controller, update iar redirect url format 2023-10-29 04:50:20 -06:00
Daniel Supernault
432acb491a
Update ApiV1Dot1Controller, update iar redirect url format 2023-10-29 04:07:04 -06:00
Daniel Supernault
1f82d47ce5
Update ApiV1Dot1Controller, add domain to iar redirect 2023-10-29 03:47:06 -06:00
Daniel Supernault
28a808031b
Update ApiV1Dot1Controller, allow iar rate limits to be configurable 2023-10-29 03:06:10 -06:00
Daniel Supernault
36df0d8373
Update nodeinfo 2023-10-12 21:29:51 -06:00
Daniel Supernault
e4d3b19642
Update AdminReportController, add profile_id to group by. Fixes #4685 2023-10-09 13:44:25 -06:00
Daniel Supernault
135798eb68
Update ApiV1Controller, hydrate reblog interactions. Fixes #4686 2023-10-09 13:06:46 -06:00
Daniel Supernault
895dc4fa9e
Update Sign-in with Mastodon, allow usage when registrations are closed 2023-09-27 01:33:39 -06:00
Daniel Supernault
33ed7a8c91
Add AdminShadowFilter feature 2023-09-14 22:32:37 -06:00
Daniel Supernault
8fa2afe016
Remove unused resource 2023-09-10 01:13:45 -06:00
Daniel Supernault
941736ce6c
Update StoryApiV1Controller, add viewers route to view story viewers 2023-09-10 01:12:27 -06:00
David Gabriel
2e5c141724 Fix similar SQL error which triggers when mentioning people in new posts 2023-09-09 20:46:50 +02:00
David Gabriel
480394f3d8 [Bugfix] Fix for #4518: SQL query that generates the report list in the admin view needs to include the 'id' field 2023-09-09 19:50:45 +02:00
Daniel Supernault
fc24630eba
Update Privacy Settings, add support for Mastodon indexable search flag 2023-08-24 23:31:33 -06:00
Daniel Supernault
ca746717cb
Update ApiV1Controller, add bookmarked to timeline entities 2023-08-21 22:43:30 -06:00
Daniel Supernault
47e5c07061
Add ProfileAliasController, hello account migrations! 2023-08-08 00:00:24 -06:00
Daniel Supernault
6161cf45aa
Add AdminProfile resource 2023-08-01 05:48:27 -06:00
Daniel Supernault
ed87ddb923
Update RemoteStatusDelete pipeline 2023-08-01 04:30:50 -06:00
Daniel Supernault
dccec7d5a9
Update SettingsController, add photo_reblogs_only setting 2023-07-30 06:29:12 -06:00
Daniel Supernault
13bdaa2ed4
Update ApiV1Controller, hydrate reblog state in home timeline 2023-07-30 05:16:51 -06:00
Daniel Supernault
3b885709b8
Update ApiV1Dot1Controller 2023-07-30 04:01:29 -06:00
Daniel Supernault
0eca48f1a4
Update SettingsController 2023-07-30 03:55:51 -06:00
Daniel Supernault
1c105a6ce3
Update ProfileController, allow albums in atom feed. Closes #4561. Fixes #4526 2023-07-30 00:49:23 -06:00
Daniel Supernault
ff58f9707f
Add Health check endpoint at /api/service/health-check 2023-07-18 02:11:06 -06:00
Daniel Supernault
acabf603f0
Update Remote Auth feature, fix custom domain bug and enforce banned domains 2023-07-17 23:43:19 -06:00
Daniel Supernault
9cfa89dab4
Update routes and add RemoteAuthController 2023-07-16 22:54:02 -06:00
Daniel Supernault
1cc6274ac0
Update rate limits, fixes #4537 2023-07-13 21:38:18 -06:00
Daniel Supernault
37fd03428a
Update ApiV1Controller, add include_reblogs attribute to home timeline 2023-07-10 23:41:17 -06:00
Daniel Supernault
fe6123c820
Update ImportPostController 2023-06-26 05:38:29 -06:00
Daniel Supernault
b89c4f1cdc
Update ActivityPubFetchService, fix authorized_fetch support 2023-06-25 22:26:04 -06:00
Daniel Supernault
763ce19a0a
Update AdminApiController, improve admin moderation tools 2023-06-22 05:43:42 -06:00
Daniel Supernault
71ad7d5d43
Update AdminUser resource 2023-06-22 01:12:53 -06:00
Daniel Supernault
4f850e54ad
Update AdminApiController, include more data for getUser method 2023-06-22 01:08:15 -06:00
Daniel Supernault
5c5541fc01
Update AdminApiController 2023-06-20 05:09:15 -06:00
Daniel Supernault
a6d10f0389
Update RegisterController 2023-06-20 05:03:49 -06:00
Daniel Supernault
89c3710d3c
Update AdminApiController, add instance stats endpoint 2023-06-20 00:34:02 -06:00
Daniel Supernault
ba58aaba36
Update ImportPostController, fix typo 2023-06-12 06:19:09 -06:00
Daniel Supernault
c394fb76c6
Update sidebar/settings 2023-06-12 06:08:25 -06:00
Daniel Supernault
49e5703198
Add ImportPostController 2023-06-12 05:13:50 -06:00
Daniel Supernault
7dd45c23b7
Add ImportStatus Resource 2023-06-12 02:52:00 -06:00
Daniel Supernault
36b6bf480e
Update admin dashboard, improve users section 2023-06-10 03:40:31 -06:00
Daniel Supernault
a8453e7719
Update api routes, add DeprecatedEndpoint middleware 2023-06-06 01:55:28 -06:00
Daniel Supernault
fe8728c0ba
Update Direct Messages, fix api endpoint 2023-06-02 06:45:14 -06:00
Daniel Supernault
a2305d5fdc
Added /api/v1.1/accounts/app/settings endpoint and UserAppSettings model to store app specific settings 2023-05-29 03:43:25 -06:00
Daniel Supernault
992d910b9c
Added following_since attribute to /api/v1/accounts/relationships endpoint when _pe=1 (pixelfed entity) parameter is present 2023-05-29 00:08:31 -06:00
Daniel Supernault
0f803446dd
Update EditHistoryModal, fix caption rendering 2023-05-25 02:27:03 -06:00
Daniel Supernault
98cf8f32a0
Add Post Edits/Updates 2023-05-25 00:33:44 -06:00
Daniel Supernault
221ddce0fa
Update login form, allow admins to enable captcha after X failed attempts. Admins can set the number of attempts before captcha is shown, default is 2 attempts before captcha is required 2023-05-23 05:08:34 -06:00
Daniel Supernault
c071c7195e
Update login/register views and captcha config, enable login or register captchas or both 2023-05-23 03:52:34 -06:00
Daniel Supernault
c54cdd3eb4
Update ApiV1Controller, add idempotency-key support to /api/v1/statuses endpoint 2023-05-23 00:46:57 -06:00
Daniel Supernault
4973cb4611
Update MediaController, add fallback for local files that are later stored on S3 but still are referenced in cached objects remotely 2023-05-22 18:10:55 -06:00
Daniel Supernault
c6ffda9618
Update admin moderation logic, only re-add top level posts 2023-05-21 01:53:25 -06:00
Daniel Supernault
79bcaadd49
Update ApiV1Controller, filter muted/blocked accounts from tag timeline. 2023-05-20 22:59:11 -06:00
Daniel Supernault
f42c114058
Update ApiV1Controller, filter muted/blocked accounts from tag timeline. 2023-05-20 22:57:42 -06:00
Daniel Supernault
3662d3defe
Update Settings, allow users to disable atom feeds 2023-05-19 04:53:52 -06:00
Daniel Supernault
dd2f5bb96a
Update ProfileController, require login to view spam accounts, and disable profile embeds for spam accounts 2023-05-19 03:41:01 -06:00
Daniel Supernault
c167af43a4
Update StatusController, disable embeds from spam accounts 2023-05-19 03:40:00 -06:00
Daniel Supernault
ae0d5d2d40
Update AdminReportController 2023-05-18 22:34:00 -06:00
Daniel Supernault
132a58de54
Add Autospam Advanced Detection 2023-05-17 04:00:03 -06:00
Daniel Supernault
6a2daf1f63
Update ApiControllers, remove cloud ip blocks 2023-05-14 20:15:41 -06:00
Daniel Supernault
a91a5e4872
Update StatusEntityLexer, stop saving entities 2023-05-13 06:28:17 -06:00
Daniel Supernault
588ca653a8
Update admin autospam apis, remove autospam warning notifications when appropriate 2023-05-13 05:44:46 -06:00
Daniel Supernault
6cdb5bc672
Update Notification logic, remove message and rendered fields 2023-05-12 23: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
db2da84bec
Update LandingController, fix config_cache api check 2023-05-07 05:25:38 -06:00
Daniel Supernault
ccbba56633
Update AdminSettingsController 2023-05-07 05:08:45 -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
633351f6dc
Update StoryController, show active self stories on home timeline 2023-05-05 06:42:17 -06:00
Daniel Supernault
3dac45f388
Update AdminController, fix custom emoji domain search on postgres. Closes #4333 2023-05-03 00:10:08 -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
0ab5b96a00
Update ResetPasswordController, add captcha support, improve security and a new redesigned view 2023-04-26 03:10:06 -06:00
Daniel Supernault
f6e7ff649e
Update ForgotPasswordController, add captcha support, improve security and a new redesigned view 2023-04-26 03:08:20 -06:00
Daniel Supernault
506f95c6b1
Update SecuritySettings, remove imagick depdency for 2FA qr code generation image 2023-04-26 02:34:44 -06:00
Daniel Supernault
1bbee6d07b
Update RegisterController, improve max_users calculation and add kb page to redirect to if conditions are met 2023-04-24 03:58:34 -06:00
Robert von Burg
7e8938d749
[Fix] Don't count inactive accounts for registration blocking 2023-04-24 11:26:36 +02:00
Daniel Supernault
c6cc6327d3
Redesigned Admin Dashboard Reports/Moderation 2023-04-24 01:52:59 -06:00
Daniel Supernault
ae6dd4e3a2
Update pipeline dispatch, replace dispatchSync with dispatch 2023-04-24 01:36:06 -06:00
Daniel Supernault
9873913921
Update ApiV1Controller, fix account blocks.Closes #4304 2023-04-20 05:27:44 -06:00
Daniel Supernault
d4c967de98
Update RegisterController, store client ip during registration 2023-04-20 01:54:23 -06:00