Commit graph

3504 commits

Author SHA1 Message Date
Daniel Supernault
4f2b8ed20a
Refactor total local post count logic, cache value and schedule updates twice daily to eliminate the perf issue on larger instances 2024-06-19 03:02:00 -06:00
Daniel Supernault
bc84259a63
Lint 2024-06-19 00:18:42 -06:00
Daniel Supernault
96f24f337e
Update DirectMessageController, add carousel entity to threads 2024-06-19 00:18:03 -06:00
Daniel Supernault
b24d2554a8
Update DirectMessageController, add timestamps to threads 2024-06-17 23:02:16 -06:00
Daniel Supernault
6e0d1ef41b
Update cache 2024-06-12 02:58:25 -06:00
Daniel Supernault
d339b5c251
Update AccountService 2024-06-11 23:35:39 -06:00
Daniel Supernault
165df0ca52
Update ApiV1Controller, update tag feed 2024-06-11 23:11:59 -06:00
Daniel Supernault
25d41901ec
Lint 2024-06-11 22:57:52 -06:00
Daniel Supernault
a75b89b239
Update StatusController, cache AP object 2024-06-11 22:57:30 -06:00
Daniel Supernault
5b85efb570
Update ApiV1Dot1Controller, lint 2024-06-08 06:57:09 -06:00
Daniel Supernault
4d6cea9aa4
Update ApiV1Dot1Controller, fix username to id endpoint 2024-06-08 06:56:29 -06:00
Daniel Supernault
679ef677b7
Update ApiController, add pe support to like/unlike endpoints 2024-06-08 06:21:11 -06:00
Daniel Supernault
28bc7aa439
Update ApiV1Controller, fix self relationship response 2024-06-08 03:02:18 -06:00
Daniel Supernault
b29527cf53
Add api endpoint 2024-06-08 00:57:29 -06:00
Daniel Supernault
921be4287c
Update ApiV2Controller 2024-06-07 17:22:55 -06:00
Daniel Supernault
71adfd2804
Add app:captcha-toggle-command command to disable captcha from cli 2024-06-05 22:48:58 -06:00
Daniel Supernault
c5e7e91777
Add disable_embeds setting, and fix cache invalidation in other settings 2024-06-04 03:46:06 -06:00
Daniel Supernault
d56a4108ec
Update ApiV1Controller, fix cache invalidation bug in update_credentials 2024-06-04 02:08:42 -06:00
Daniel Supernault
19c62aaafa
Update ApiV1Controller, fix update_credentials boolean handling 2024-06-03 23:20:51 -06:00
Daniel Supernault
3f4e0b94ee
Update ApiV1Controller, add settings to verify_credentials endpoint 2024-06-02 17:57:31 -06:00
Daniel Supernault
42915ff9a0
Update AP fetch service and domain service 2024-06-02 02:55:28 -06:00
Daniel Supernault
4aad1c225a
Add api/v1/instance/peers API endpoint, disabled by default 2024-05-31 03:35:40 -06:00
Daniel Supernault
dc6b9f4661
Update task scheduler, add weekly instance scan to check nodeinfo for known instances 2024-05-31 02:56:13 -06:00
Daniel Supernault
a7fce91e0c
Update FetchNodeinfoPipeline, set last_fetched_at timestamp 2024-05-31 02:23:55 -06:00
Daniel Supernault
951c339010
Update RestrictedNames, add intent 2024-05-24 23:16:04 -06:00
Daniel Supernault
ad30498dbc
Lint 2024-05-23 00:00:59 -06:00
Daniel Supernault
24194f7d16
Update FederationController, add webfinger support for actor uri. Fixes #5068 2024-05-22 23:55:39 -06:00
Daniel Supernault
bc2495c676
Update CollectionsController, add new self route 2024-05-22 02:21:07 -06:00
Daniel Supernault
921e29659f
Update ProfileController, fix atom feed cache ttl. Fixes #5093 2024-05-18 03:09:22 -06:00
Daniel Supernault
e4edc6f192
Update ActivityPubFetchService, fix Friendica bug 2024-05-17 21:45:42 -06:00
Daniel Supernault
cbb96cfd2a
Update AdminCuratedRegisterController, fix existing account approval 2024-05-16 05:45:31 -06:00
Daniel Supernault
d645d6ca26
Update ApiV1Controller, add pe (pixelfed entity) support to /api/v1/statuses/{id}/context endpoint 2024-05-10 23:54:47 -06:00
Daniel Supernault
9a5e3471d4
Update AdminCuratedRegisterController, increase message length from 1000 to 3000 2024-05-07 04:22:28 -06:00
Daniel Supernault
61d105fd25
Update DirectMessageController, add 72 hour delay for new accounts before they can send a DM 2024-05-07 04:21:20 -06:00
Daniel Supernault
60a62b59c9
Update ConfigCacheService, fix database race condition and fallback to file config and enable by default 2024-05-07 01:00:32 -06:00
Daniel Supernault
cbf996c9b6
Update ApiV1Dot1Controller, fix in app registration bug that prevents proper auth flow due to missing oauth scopes 2024-04-30 23:05:38 -06:00
Daniel Supernault
4223119f58
Update Like model, increase max likes per day from 500 to 1500 2024-04-29 02:46:14 -06:00
Daniel Supernault
7f8bba4415
Update CustomEmojiService, only return local emoji 2024-04-23 05:54:24 -06:00
Daniel Supernault
8b8b1ffc5c
Update ProfileController, refactor profile embeds 2024-04-20 04:33:47 -06:00
Daniel Supernault
9a7acc12a6
Update StatusController, refactor status embeds 2024-04-20 04:26:47 -06:00
Daniel Supernault
6bdf73de4d
Update UnfollowPipeline, fix follower count cache bug 2024-04-06 03:29:17 -06:00
Daniel Supernault
b8e96a5ff3
Update ApiV1Controller, improve refresh relations logic when (un)muting or (un)blocking 2024-04-06 01:24:09 -06:00
Daniel Supernault
b7322b6874
Update PrivacySettings controller, refresh RelationshipService when unmute/unblocking 2024-04-06 01:22:52 -06:00
daniel
e2c2952fda
Merge pull request #5011 from ThisIsMissEm/feat/add-api-cors
Adjust CORS configuration to support API & OAuth Routes
2024-04-05 22:11:20 -06:00
Daniel Supernault
a9e54aa540
Add BeagleService 2024-04-05 22:02:51 -06:00
Emelia Smith
626c87a420
Fix default severity for domain blocks 2024-03-30 01:07:48 +01:00
Emelia Smith
96a226d90c
Fix issue with wildcard domain blocks 2024-03-30 01:07:46 +01:00
Emelia Smith
2d34e86f26
Add digest to Admin DomainBlockResource, coming in Mastodon 4.3 2024-03-30 01:07:45 +01:00
Emelia Smith
fcdfc73eaf
Remove production environment check in AuthServiceProvider
This check resulted in the /oauth/scopes route returning nothing, meaning in development you couldn't use access tokens with scopes; It probably also affected other logic
2024-03-30 01:07:45 +01:00
Emelia Smith
4afe72e62f
Add oauth protection to admin domain blocks API 2024-03-30 01:07:44 +01:00
Emelia Smith
feed580f51
Minor compatibility fixes 2024-03-30 01:07:43 +01:00
Emelia Smith
21466556d4
Add update and delete 2024-03-30 01:07:42 +01:00
Emelia Smith
652654e24f
WIP: Implement domain blocks 2024-03-30 01:07:40 +01:00
Daniel Supernault
d946afcc5c
Update AdminSettings, use better validation for user integer settings 2024-03-18 06:13:27 -06:00
Daniel Supernault
2dcbc1d5ef
Update AdminSettings, add max_account_size support 2024-03-18 06:09:36 -06:00
Daniel Supernault
dcc5f416ef
Update AdminSettingsController, add AdminSettingsService 2024-03-18 05:55:38 -06:00
Emelia Smith
1eadff9d2e
Adjust CORS configuration to support API & OAuth Routes
Fixes #4411 and #3381
2024-03-17 21:43:26 +01:00
Daniel Supernault
ac1f074889
Update AdminSettingsController, add user filter max limit settings 2024-03-16 05:13:06 -06:00
Daniel Supernault
5162c0704a
Update RemoteFollowImportRecent, use MediaPathService 2024-03-16 03:58:24 -06:00
Daniel Supernault
3628b4625c
Update ConfigCacheService, encrypt keys at rest 2024-03-14 05:49:02 -06:00
Daniel Supernault
087b27916f
Update filesystems config, add to config_cache 2024-03-14 05:03:19 -06:00
Daniel Supernault
6ce513f8c3
Update user_filters, use config_cache 2024-03-14 00:06:33 -06:00
Daniel Supernault
949e99798e
Update UserObserver, fix type casting 2024-03-13 23:36:26 -06:00
Daniel Supernault
911446c03e
Update app.name config, use config_cache 2024-03-12 06:42:12 -06:00
Daniel Supernault
a76cb5f4f8
Update autospam config, use config_cache 2024-03-12 06:20:26 -06:00
Daniel Supernault
da0e0ffabf
Update ig import, use config_cache 2024-03-12 06:11:20 -06:00
Daniel Supernault
2d113de536
Update config_cache, fix type casting 2024-03-12 04:27:24 -06:00
Daniel Supernault
d1adb109de
Update stories config, use config_cache 2024-03-12 04:15:05 -06:00
Daniel Supernault
ce228f7fa4
Update oauth setting, use config_cache 2024-03-12 03:55:51 -06:00
Daniel Supernault
5071aaf408
Update activitpub setting, use config_cache() 2024-03-12 02:20:37 -06:00
Daniel Supernault
40478f258a
Update landing settings, use config_cache 2024-03-12 02:05:22 -06:00
Daniel Supernault
d670de175e
Update media_types, use config_cache 2024-03-12 01:28:08 -06:00
Daniel Supernault
fecbe1897b
Update pixelfed.max_album_length, use config_cache 2024-03-12 01:20:24 -06:00
Daniel Supernault
665581d80c
Update cloud storage, use config_cache 2024-03-12 01:03:33 -06:00
Daniel Supernault
a72188a7db
Update image pipeline, use config_cache 2024-03-12 00:35:33 -06:00
Daniel Supernault
ad506e901d
Update AdminDirectoryController, fix type casting 2024-03-12 00:03:10 -06:00
Daniel Supernault
f2f2a8097c
Update PixelfedDirectoryController, use cached stats 2024-03-12 00:02:15 -06:00
Daniel Supernault
f08aab2231
Update PixelfedDirectoryController, fix boolean cast bug 2024-03-11 23:43:23 -06:00
Daniel Supernault
75081e609a
Update ProfileController, handle permalink redirect bug 2024-03-11 23:26:30 -06:00
Daniel Supernault
481314cd23
Update custom emoji, add config_cache support 2024-03-11 22:42:26 -06:00
Daniel Supernault
8a89e3c963
Update captcha, use config_cache helper 2024-03-11 21:25:04 -06:00
Daniel Supernault
c96167f2f7
Update config_cache 2024-03-11 00:29:55 -06:00
Daniel Supernault
bf46f6f5f4
Update config_cache 2024-03-10 05:42:25 -06:00
Daniel Supernault
b0cb4456a9
Update ApiV1Dot1Controller, use config_cache for in-app registration 2024-03-10 05:06:52 -06:00
Daniel Supernault
7785a2dae4
Update Config, use config_cache 2024-03-10 04:37:22 -06:00
Daniel Supernault
5e4d4eff9d
Update config cache 2024-03-10 04:19:44 -06:00
Daniel Supernault
a4bc5ce3d0
Update web-api popular accounts route to its own method to remove the breaking oauth scope bug 2024-03-09 23:25:28 -07:00
Daniel Supernault
4aa0e25f4c
Update commands, add user account delete cli command to federate account deletion 2024-03-08 06:44:02 -07:00
Daniel Supernault
bcce1df6fc
Update AP transformers, add DeleteActor activity 2024-03-08 06:02:11 -07:00
Daniel Supernault
95199843e3
Update SiteController, add curatedOnboarding method that gracefully falls back to open registration when applicable 2024-03-08 05:03:29 -07:00
Daniel Supernault
853a729f76
Update ProfileController, preserve deleted actor objects for federated account deletion and use more efficient account cache lookup 2024-03-08 05:00:56 -07:00
Daniel Supernault
e742d595a6
Update PrivacySettings controller, add cache invalidation 2024-03-08 04:43:57 -07:00
Daniel Supernault
2e5e68e447
Update AP Profile Transformer, fix suspended attributes 2024-03-08 04:24:13 -07:00
Daniel Supernault
63100fe950
Update AP Profile Transformer, fix movedTo attribute 2024-03-08 03:56:53 -07:00
Daniel Supernault
25f3fa06af
Update AP Profile Transformer, add suspended attribute 2024-03-08 03:49:47 -07:00
Daniel Supernault
cee618e844
Update SearchApiV2Service, use more efficient query 2024-03-07 03:33:18 -07:00
Daniel Supernault
94503a1cf9
Update ApiV1Controller, use admin filter service 2024-03-07 03:11:36 -07:00
Daniel Supernault
18382e8a1f
Update DiscoverController, handle discover hashtag redirects 2024-03-07 02:38:50 -07:00
Daniel Supernault
592c84125c
Update StatusHashtagService, use more efficient cached count 2024-03-07 02:37:35 -07:00
Daniel Supernault
632f2cb619
Update SoftwareUpdateService, add command to refresh latest versions 2024-03-05 07:02:40 -07:00