Commit graph

3605 commits

Author SHA1 Message Date
Daniel Supernault
be02f48a77
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d 2024-09-05 01:29:01 -06:00
Daniel Supernault
58506e390e
Add ProcessMovePipeline job 2024-09-05 00:41:59 -06:00
Daniel Supernault
1210bf7502
Lint 2024-09-05 00:40:57 -06:00
Daniel Supernault
21da2b642c
Update ActivityPubFetchService, reduce cache ttl from 1 hour to 7.5 mins and add uncached fetchRequest method 2024-09-05 00:40:00 -06:00
Daniel Supernault
edad436d4d
Update NodeinfoService, fix typo 2024-09-05 00:37:54 -06:00
daniel
5ea788dd3f
Merge pull request from intentionally-left-nil/oauth-keys-from-environment
Check for oauth keys from the config, as well as from disk
2024-09-04 22:20:24 -06:00
Daniel Supernault
1a6a3397e4
Add ActiveSharedInboxService, for efficient sharedInbox caching 2024-09-04 22:11:28 -06:00
Anil Kulkarni
9db038e4bb
Check for oauth keys from the config, as well as from disk 2024-08-18 12:41:34 -07:00
Daniel Supernault
6cd1cbb41a
Update BeagleService, disable discovery if AP is disabled 2024-08-18 01:59:24 -06:00
Daniel Supernault
4ca7c6c328
Add preliminary Authorize Interaction support 2024-08-13 00:00:51 -06:00
Daniel Supernault
dcd95d687c
Update ApiV1Controller, fix v1/instance stats, force cast to int 2024-08-12 21:21:29 -06:00
Daniel Supernault
8fea821504
Update AP helpers 2024-08-02 01:40:06 -06:00
Daniel Supernault
ea2a9eb42a
Add Authorized Fetch 2024-08-01 21:47:04 -06:00
daniel
1dbcdee289
Merge branch 'staging' into feat/implement-admin-domain-blocks-api 2024-07-30 22:29:28 -06:00
Daniel Supernault
a5946f590b
Update AppServiceProvider 2024-07-30 22:25:48 -06:00
Daniel Supernault
73b9a75a64
Add UserStorageService 2024-07-29 03:53:24 -06:00
Daniel Supernault
a2524910dd
Add migration 2024-07-29 03:52:07 -06:00
Daniel Supernault
2803861083
Update ApiV1Dot1Controller.php 2024-07-29 01:36:18 -06:00
Daniel Supernault
b03f5cec8b
Update ApiV1Dot1Controller, add new single media status create endpoint 2024-07-29 01:28:49 -06:00
Daniel Supernault
8b4ea6ff48
Update user model 2024-07-27 00:32:22 -06:00
Daniel Supernault
aa1049e3e0
Update site config 2024-07-23 02:21:33 -06:00
daniel
c13826e44b
Merge pull request from pixelfed/groups
Add Groups
2024-07-23 02:02:31 -06:00
Daniel Supernault
58b8a385bd
Update GroupController.php 2024-07-23 01:32:39 -06:00
Daniel Supernault
d723e207fd
Update Helpers.php 2024-07-23 01:30:27 -06:00
Daniel Supernault
4f2faed756
Update GroupActivityPubService.php 2024-07-23 01:30:22 -06:00
Daniel Supernault
78eb1c88d6
Create ValidUrl.php 2024-07-23 01:30:03 -06:00
Daniel Supernault
a76f3b0e2e
Update GroupsSearchController.php 2024-07-23 01:29:56 -06:00
Daniel Supernault
3d99972653
Update GroupController.php 2024-07-23 01:29:15 -06:00
Daniel Supernault
bd3d072227
Update ApiV1Dot1Controller.php 2024-07-22 03:11:26 -06:00
Daniel Supernault
8f7becc58b
Add push notification api endpoints 2024-07-22 03:04:04 -06:00
Daniel Supernault
83ce8fd78e
Add Push Notifications 2024-07-22 01:13:59 -06:00
Daniel Supernault
2910b61d21
Update RemoteStatusDelete.php 2024-07-19 23:46:17 -06:00
Daniel Supernault
c5fbc68745
Update ApiV1Controller 2024-07-19 01:59:28 -06:00
Daniel Supernault
c5f85c71ae
Update DeleteRemoteProfile command 2024-07-19 00:21:34 -06:00
Daniel Supernault
f3b596f0c8
Update RemoteStatusDeletePipeline 2024-07-19 00:01:44 -06:00
Daniel Supernault
c38bd54792
Add Delete Remote Profile command 2024-07-18 23:06:57 -06:00
Daniel Supernault
a9f24f85da
Update AdminApiController 2024-07-17 04:17:47 -06:00
Daniel Supernault
0aafb863e8
Update AdminApiController 2024-07-17 04:16:33 -06:00
Daniel Supernault
cb5620d4c0
Update AdminUser, fix entity casting 2024-07-17 02:24:16 -06:00
Daniel Supernault
3d6b9badf4
Add groups models, controllers and services 2024-07-09 23:16:05 -06:00
Daniel Supernault
dd6e3cc290
Update RegisterController, update username constraints, require atleast one alpha char 2024-07-08 03:26:29 -06:00
Daniel Supernault
72f681607a
Update ApiV1Controller, fix /api/v1/favourites pagination 2024-07-08 02:47:00 -06:00
Daniel Supernault
a8bb97b22b
Update ApiV1Dot1Controller, fix mutual api 2024-07-02 04:00:27 -06:00
Daniel Supernault
f61bbecaa9
Update ApiV1Controller, fix support for notification filter types[] 2024-07-02 01:00:31 -06:00
Daniel Supernault
2b9586fce1
Update ApiV1Controller.php 2024-07-02 00:46:22 -06:00
Daniel Supernault
f61159a15a
Update ApiV1Controller, add support for notification filter types[] 2024-07-02 00:42:22 -06:00
Daniel Supernault
81018265db
Fix BeagleService 2024-06-30 23:29:08 -06:00
Daniel Supernault
2cae8b48de
Update discover, add network trending using Beagle API 2024-06-30 23:02:51 -06:00
Daniel Supernault
ecf22b54d5
Add custom css to admin dashboard 2024-06-29 18:39:11 -06:00
Daniel Supernault
83098428bb
Update StatusController, fix unlisted post guest/ap access bug 2024-06-21 04:03:11 -06:00
Daniel Supernault
e33643c295
Update Media model, fix broken thumbnail/gray thumbnail bug 2024-06-21 03:45:14 -06:00
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 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 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 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  and 
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