Commit graph

1348 commits

Author SHA1 Message Date
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
Daniel Supernault
a87f8301b1
Update ApiV1Controller, fix timeline default limit 2022-03-23 02:54:15 -06:00
Daniel Supernault
b1ab41e0c4
Update ApiV1Controller, fix context entities 2022-03-23 02:41:59 -06:00
Daniel Supernault
a0e15d89e2
Update FederationController, fix webfinger endpoint 2022-03-23 00:58:21 -06:00
Daniel Supernault
afe903c36e
Update ApiV1Controller, fix notification entities 2022-03-23 00:28:39 -06:00
Daniel Supernault
244869b7c2
Update ApiV1Controller, fix statusCreate validator 2022-03-22 23:35:16 -06:00
Daniel Supernault
b6b15b0cce
Update ApiV1Controller, fix statusCreate validator 2022-03-22 23:32:12 -06:00
Daniel Supernault
89303fa478
Update ApiV1Controller, marshal json without escaped slashes 2022-03-22 23:13:04 -06:00
Daniel Supernault
3a3997fa91
Update ApiV1Controller, fix instance endpoint 2022-03-22 22:04:11 -06:00
Daniel Supernault
c383f1008d
Update ApiV1Controller, fix instance endpoint 2022-03-22 21:56:22 -06:00
Daniel Supernault
72918a4b09
Update InstanceService, define cache keys 2022-03-12 23:32:31 -07:00
Daniel Supernault
b91747b4bb
Update DiscoverController, fix favourited state on memories 2022-03-12 23:24:33 -07:00
Daniel Supernault
c13bca7629
Update ApiV1Controller, fix unlisted replies 2022-03-12 19:07:23 -07:00
Daniel Supernault
b3ef2b2902
Improve reblog api performance 2022-03-10 23:38:10 -07:00
Daniel Supernault
3ef6c9fe81
Improve reblog api performance 2022-03-10 23:34:34 -07:00
Daniel Supernault
b6c6c85bb7
Update SpaController, handle web redirects 2022-03-08 22:22:40 -07:00
Daniel Supernault
c7e1e473ca
Update CollectionController, fixes #3289 2022-03-08 20:57:18 -07:00
Daniel Supernault
fe7687851c
Update AccountController, refresh relationship after handling follow request 2022-03-06 03:45:19 -07:00
Daniel Supernault
3e670774c0
Update ApiV1Controller, fixes #3288 2022-03-03 21:47:08 -07:00
Daniel Supernault
a44b812b13
Update SpaController, redirect web ui hashtags to legacy page for unauthenticated users 2022-03-03 20:51:13 -07:00
Daniel Supernault
0b68009933
New Discover layout on Metro 2.0 2022-02-26 19:27:40 -07:00
Daniel Supernault
8d1af1d6a1
Update SpaController, fix variable typo. Fixes #3268 2022-02-19 12:42:16 -07:00
Daniel Supernault
1a7a4a052f
Update SpaController 2022-02-18 04:16:31 -07:00
Daniel Supernault
7f8129a75c
Update ProfileController, redirect profile view for authed users to Metro 2.0 UI 2022-02-18 03:38:35 -07:00
Daniel Supernault
71dff472cc
Update StatusController, redirect status view for authed users to Metro 2.0 UI 2022-02-18 03:25:42 -07:00
Daniel Supernault
f0d48ade0d
Update CollectionController 2022-02-16 04:42:02 -07:00
Daniel Supernault
d2188e7ab3
Update PublicApiController 2022-02-16 04:41:36 -07:00
Daniel Supernault
ec2cfaf54e
Update ComposeController, add collection support to compose endpoint 2022-02-16 02:43:27 -07:00
Daniel Supernault
bd249f0c39
Update CollectionController, fix broken unauthenticated access. Fixes #3242 2022-02-16 00:58:19 -07:00
Daniel Supernault
548a12a4c2
Update StatusController, set missing reblog/share type 2022-02-13 02:14:26 -07:00
Daniel Supernault
2848620a32
Update ApiV1Controller, improve favourites endpoint 2022-02-13 00:32:25 -07:00
Daniel Supernault
151dc17c25
Update ApiV1Controller, improve favourites endpoint 2022-02-13 00:23:29 -07:00
Daniel Supernault
7fa9d4dc1b
Update AvatarController, fix store bug 2022-02-09 19:57:12 -07:00
Daniel Supernault
29c4bd251a
Update ComposeController, improve location search results ordering by use frequency 2022-02-09 19:14:10 -07:00
Daniel Supernault
927a2a7d04
Update SettingsController 2022-02-08 03:35:58 -07:00
Daniel Supernault
f363a3275a
Update SettingsController 2022-02-08 03:30:05 -07:00
Daniel Supernault
bae6126db3
Update compiled assets 2022-02-05 19:32:10 -07:00
Daniel Supernault
cd78560184
Update ApiV1Controller, add validation messages to update_credentials endpoint 2022-02-05 18:39:17 -07:00
Daniel Supernault
217922466a
Update InstanceActorController, fix content-type header 2022-02-02 17:55:29 -07:00
Daniel Supernault
f8bc0d9c03
Update InternalApiController 2022-01-28 22:56:52 -07:00
Daniel Supernault
6cfd6be523
Add ReblogService, improve reblogged state for api entities 2022-01-28 22:06:43 -07:00
Daniel Supernault
0db82ff2dd
Update PublicApiController 2022-01-28 20:29:46 -07:00
Daniel Supernault
73226360fc
Update ApiV1Controller, fix private status replies returning 404 2022-01-28 20:04:02 -07:00
Daniel Supernault
a11772bcfe
Update BookmarkService, use sorted set 2022-01-28 18:27:53 -07:00
Daniel Supernault
c0b1e0427e
Update PublicApiController, add bookmark state to timeline endpoints 2022-01-27 05:11:34 -07:00
Daniel Supernault
34a3d65f30
Update InternalApiController 2022-01-27 05:11:06 -07:00
Daniel Supernault
3c261bbfec
Update ApiV1Controller, invalidate status reply cache on new reply 2022-01-27 00:39:44 -07:00
Daniel Supernault
3d86d21be6
Update BaseApiController, improve favourites endpoint 2022-01-26 23:48:32 -07:00
Daniel Supernault
f063cb0185
Update BaseApiController, improve favourites endpoint 2022-01-26 23:32:31 -07:00
Daniel Supernault
3c35158ebc
Update InternalApiController, redirect remote post and profiles to Metro 2.0 2022-01-25 02:18:50 -07:00
Daniel Supernault
16e725183e
Update ApiV1Controller, add custom_emoji endpoint 2022-01-25 02:08:50 -07:00
Daniel Supernault
5d9b6863b6
Update atom feeds, include media alt text. Fixes #3184 2022-01-25 00:39:46 -07:00
Daniel Supernault
042c5b6c33
Improve onboarding 2022-01-24 23:26:38 -07:00
Daniel Supernault
4b6effb9c8
Update ApiV1Controller, improve follow count cache invalidation 2022-01-24 22:46:31 -07:00
Daniel Supernault
940209018a
Update ProfileController 2022-01-23 02:44:34 -07:00
Daniel Supernault
3bd211d7f5
Update profile embeds, fix NaN bug and improve performance 2022-01-23 01:47:31 -07:00
Daniel Supernault
803bbac0ea
Update compiled assets 2022-01-23 00:04:34 -07:00
Daniel Supernault
1e00c431a8
Fix custom emoji admin dashboard bug 2022-01-21 03:19:09 -07:00
Daniel Supernault
dc7962d898
Add shortcode & domain search 2022-01-21 01:12:56 -07:00
Daniel Supernault
efeaf427e1
Add CustomEmoji admin dashboard 2022-01-21 00:27:30 -07:00
Daniel Supernault
350585d316
Fix typo in ApiV1Controller 2022-01-14 17:27:21 -07:00
Daniel Supernault
de42d84c11
Update ApiV1Controller, fix reblogs endpoints 2022-01-09 20:49:34 -07:00
Daniel Supernault
d6d99385db
Update ApiV1Controller, fix favourites endpoints 2022-01-09 20:33:43 -07:00
Daniel Supernault
6fc0dcb34d
Update ApiV1Controller, fix home timeline entities 2022-01-09 20:18:51 -07:00
Daniel Supernault
dcb7ba9c7a
Update PublicApiController, fix public timeline endpoint 2022-01-09 19:32:41 -07:00
Daniel Supernault
80c7def3df
Update ApiV1Controller, fix public timeline endpoint 2022-01-09 19:30:53 -07:00
Daniel Supernault
a6261221ad
Update ApiV1Controller, fix version on instance endpoint 2022-01-09 15:40:28 -07:00
Daniel Supernault
4ab99d66d1
Update FederationController 2022-01-09 15:09:37 -07:00
Daniel Supernault
4fe421a166
Update ApiV1Controller 2022-01-08 05:01:26 -07:00
Daniel Supernault
1515a9f111
Update CommentPipeline 2022-01-08 04:59:28 -07:00
Daniel Supernault
08246f2482
Update ApiV1Controller, fix account settings bug 2022-01-08 04:02:14 -07:00
Daniel Supernault
da6312c2b0
Update ApiV1Controller 2022-01-08 01:51:24 -07:00
Daniel Supernault
0c1a0fa55b
Update PublicApiController 2022-01-07 19:47:21 -07:00
Daniel Supernault
6f1b02456f
Update AccountController, refresh RelationshipService on mute/blocks 2022-01-06 01:05:11 -07:00
Daniel Supernault
cdf78e23a4
Update ApiV1Controller, improve instance endpoint 2022-01-05 23:37:27 -07:00
Daniel Supernault
e825b07d88
Update ApiV1Controller 2022-01-05 21:40:07 -07:00
Daniel Supernault
46485426ea
Update ApiV1Controller, add mastoapi strict mode 2022-01-05 21:36:02 -07:00
Daniel Supernault
861a2d36df
Update PublicApiController, enforce only_media on accountStatuses method. Fixes #3105 2022-01-05 19:31:49 -07:00
Daniel Supernault
fcabc9be02
Fix Direct Message conversations endpoint on postgres instances 2022-01-05 18:30:58 -07:00
Daniel Supernault
ddf41dc347
Update StoryController, add postgres bug fix 2022-01-05 18:17:05 -07:00
Daniel Supernault
85fc9dd0a8
Update PublicApiController, fix accountStatuses pagination operator 2022-01-03 00:59:39 -07:00
Daniel Supernault
772352903b
Update web routes 2022-01-02 23:46:17 -07:00
Daniel Supernault
d820669bd1
Update StatusController, change param signature 2021-12-31 00:58:00 -07:00
Daniel Supernault
415826f253
Update ApiV1Controller, fix illegal operator bug by setting default min_id 2021-12-30 23:19:38 -07:00
Daniel Supernault
10b6058cc0
Update DiscoverController, add yearly option and increase limit from 15 to 30 posts 2021-12-29 01:46:29 -07:00
Daniel Supernault
e503a8da85
Update RegisterController 2021-12-29 00:38:08 -07:00
Daniel Supernault
b37c805172
Update AdminReportController 2021-12-29 00:15:01 -07:00
Daniel Supernault
745c35807c
Update FederationController, increase webfinger cache ttl from 12 hours to 14 days 2021-12-28 23:49:56 -07:00
Daniel Supernault
b00a453b99
Update status api, autolink caption before returning response 2021-12-28 18:26:01 -07:00
Daniel Supernault
5c65e2b761
Update SpaController, add username redirect method 2021-12-26 00:08:18 -07:00
Daniel Supernault
6bf92bed27
Update LoginController, bump decayMinutes from 1 to 60 2021-12-25 21:47:16 -07:00
Daniel Supernault
7bc684e5d1
Update SpaController, persist web language changes 2021-12-23 17:37:08 -07:00
Daniel Supernault
37dcc4ae13
Update PublicApiController 2021-12-22 00:59:03 -07:00
Daniel Supernault
5828a863cb
Update web routes 2021-12-21 21:54:48 -07:00
Daniel Supernault
7e35ab80ad
Update web routes 2021-12-21 21:44:52 -07:00
Daniel Supernault
edc2958bf2
Update ComposeController, refactor compose_settings 2021-12-19 04:19:26 -07:00
Daniel Supernault
aee9b994e3
Improve DiscoverService 2021-12-19 04:07:40 -07:00
Daniel Supernault
367d74fbfb
Update ApiV1Controller, use DiscoverService for discoverPosts method 2021-12-19 00:48:59 -07:00
Daniel Supernault
f36da7816f
Update InternalApiController, use DiscoverService for discoverPosts method 2021-12-19 00:48:05 -07:00
Daniel Supernault
f3f35f590d
Remove admin .env editor 2021-12-14 21:46:24 -07:00
Daniel Supernault
642b802022
Update Http Kernel 2021-12-14 21:18:29 -07:00
Daniel Supernault
83b48b5681
Update StatusService, improve cache invalidation 2021-12-12 22:30:55 -07:00
Daniel Supernault
466286af92
Update ApiV1Controller, improve statusesById perf and dispatch CommentPipeline job when applicable 2021-12-10 22:03:33 -07:00
Daniel Supernault
b6b0837f49
Update CommentPipeline, move reply_count calculation to comment pipeline job and improve count calculation 2021-12-10 21:55:42 -07:00
Daniel Supernault
945a7e49f5
Update InternalApiController, prevent moderation actions against admin accounts 2021-12-05 01:42:55 -07:00
Daniel Supernault
2923453e13
Update PublicApiController 2021-12-04 20:41:46 -07:00
Daniel Supernault
079804e65b
Update ApiV1Controller, improve settings and add discoverPosts endpoint 2021-12-04 17:55:38 -07:00
Daniel Supernault
cdaa153003
Update StoryController 2021-12-04 17:46:23 -07:00
Daniel Supernault
b8e9056ee3
Update UserInviteController, fixes #3017 2021-12-04 15:30:08 -07:00
Daniel Supernault
ae8c751796
Update Autospam service, add mark all as read and mark all as not spam options and filter active, spam and not spamreports 2021-11-10 21:46:31 -07:00
Daniel Supernault
dff3dad1c8
Update AdminController, move report methods to AdminReports trait 2021-11-09 00:06:56 -07:00
Daniel Supernault
e6d9437846
Update middleware 2021-11-08 23:21:53 -07:00
Daniel Supernault
0e892bb3fd
Update AccountController 2021-11-08 23:13:10 -07:00
Daniel Supernault
bc65938757
Add manual email verification requests 2021-11-08 23:02:34 -07:00
Daniel Supernault
aa2dd26c1b
Update PublicApiController, fix private account statuses api. Closes #2995 2021-11-03 19:40:46 -06:00
Daniel Supernault
7df3540b08
Update verify_credentials api endpoint to improve performance 2021-10-30 00:11:35 -06:00
Daniel Supernault
192553ff77
Update public timeline api, add experimental cache 2021-10-21 19:02:15 -06:00
Daniel Supernault
37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 2021-10-20 04:31:07 -06:00
daniel
3d2c98c033
Merge pull request #2941 from rfonseca/rfonseca-patch-1
Fix starting check of username to allow numbers.
2021-10-19 20:45:55 -06:00
Daniel Supernault
e5454620e6
Update HomeTimeline api 2021-10-07 04:49:33 -06:00
Daniel Supernault
bef959f451
Update PublicApiController, use AccountService in accountStatuses method 2021-10-07 03:30:23 -06:00
Daniel Supernault
80d9b9399a
Refactor following & relationship logic. Replace FollowerObserver with FollowerService and added RelationshipService to cache results. Removed NotificationTransformer includes and replaced with cached services to improve performance and reduce database queries. 2021-10-07 03:27:13 -06:00
Daniel Supernault
0a8eb81bf0
Update InstanceActorController, improve json seralization by not escaping slashes 2021-10-07 00:46:20 -06:00
Daniel Supernault
4505d1f0f9
Update FederationController, move well-known to api middleware and cache webfinger lookups 2021-10-07 00:34:37 -06:00
Rodrigo Fonseca
31330e0aed
Fix starting check of username to allow numbers.
The check for the first letter of username used to be !ctype_alpha, but the error message says "Must start with a letter or number." Updated check to be !ctype_alnum, to be coherent with the error message.
2021-09-16 22:36:30 -07:00
Daniel Supernault
ac6b3f07de
Update controllers, fixes #2906 2021-09-10 21:44:29 -06:00
Daniel Supernault
0fc3a1d6a5
Formatting 2021-09-10 21:08:04 -06:00
daniel
907945a7a0
Merge pull request #2923 from Wv5twkFEKh54vo4tta9yu7dHa3/patch-1
Fix media upload
2021-09-10 20:55:55 -06:00