Commit Graph

2428 Commits

Author SHA1 Message Date
Daniel Supernault 6af842eb3e
Update LikeService, improve caching logic and add profile id to likedBy method to fix #3271 2022-02-26 22:41:57 -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 cf286fb046
Update Inbox, fix undo announce 2022-02-12 23:01:50 -07:00
Daniel Supernault a84b173678
Update StatusTagsPipeline, process federated hashtags and mentions 2022-02-12 22:38:43 -07:00
Daniel Supernault ccc94802ec
Update CommentPipeline, improve parent reply_count calculation - mysql only for now 2022-02-12 20:58:35 -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 0932b6e117
Update PrettyNumber util 2022-02-05 19:02:57 -07:00
Daniel Supernault cd78560184
Update ApiV1Controller, add validation messages to update_credentials endpoint 2022-02-05 18:39:17 -07:00
Daniel Supernault 74905ba1d0
Update Exception handler to report validation message bag errors 2022-02-05 18:37:46 -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 a7d715517d
Update StatusService, use BookmarkService for bookmarked state 2022-01-28 20:57:25 -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 0157566c25
Add BookmarkService 2022-01-27 05:17:55 -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 792212b655
Cleanup 2022-01-22 19:42:37 -07:00
Daniel Supernault aff7456639
Update WebfingerService. Fixes #3167 2022-01-22 19:37:50 -07:00
Daniel Supernault 42602351c7
Update StatusTransformer, add emoji entities 2022-01-22 18:54:12 -07:00
Daniel Supernault 1e00c431a8
Fix custom emoji admin dashboard bug 2022-01-21 03:19:09 -07:00
Daniel Supernault 46d5f12590
Update custom emoji json-ld 2022-01-21 01:55:58 -07:00
Daniel Supernault dbb1638fd6
Invalidate status cache after importing custom emoji 2022-01-21 01:28:36 -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 b2016e6c21
Update note transformers, add custom emoji support 2022-01-19 02:21:26 -07:00
Daniel Supernault 489fdbb248
Update StatusTagPipeline 2022-01-19 00:58:13 -07:00
Daniel Supernault dc17c9fc27
Improve emoji import 2022-01-19 00:46:30 -07:00
Daniel Supernault 01798daf56
Update AP helpers, import Emoji tags 2022-01-18 23:26:44 -07:00
Daniel Supernault ca79e26d3a
Add custom emoji 2022-01-18 23:03:21 -07:00
Daniel Supernault 1c20d6960a
Update MediaStorageService, fix reremote avatar bug 2022-01-17 17:11:16 -07:00
Daniel Supernault 350585d316
Fix typo in ApiV1Controller 2022-01-14 17:27:21 -07:00
Daniel Supernault c8a667f20e
Update SearchApiV2Service, resolve remote queries 2022-01-09 23:15:45 -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 a578035bbc
Update AccountService 2022-01-08 04:03:45 -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 eeaf0f9311
Update StatusService 2022-01-07 19:59:29 -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 ff211dbec5
Update RestrictedNames 2022-01-05 22:28:39 -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 3ee699ba3f
Merge pull request #3122 from idanoo/hashtag_unique_constraint_fix
Fix for firstOrCreate failing hashtags with case differences on name column
2022-01-05 18:44:32 -07:00
daniel 854f858543
Merge pull request #3121 from inthreedee/patch-1
Avoid upscaling small images
2022-01-05 18:37:13 -07:00
daniel c43f9ab7a4
Update app/Util/Media/Image.php
Co-authored-by: Daniel Mason <daniel@m2.nz>
2022-01-05 18:36:02 -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 Mason 9cc18eb82a Fix for firstOrCreate failing hashtags with case differences on name 2022-01-05 19:45:19 +13:00
Jonathan 27b715cb35
Avoid upscaling small images 2022-01-03 17:46:10 -05:00
Daniel Supernault 454b4e21dd
Update Services, fix mastoapi compat 2022-01-03 02:31:03 -07:00
Daniel Supernault 85fc9dd0a8
Update PublicApiController, fix accountStatuses pagination operator 2022-01-03 00:59:39 -07:00
Daniel Supernault 85e4be8172
Update AccountService, add getMastodon method for mastoapi compatibility 2022-01-03 00:53:15 -07:00
Daniel Supernault 36a129fe89
Update StatusService, add getMastodon method for mastoapi compatibility 2022-01-02 23:47:08 -07:00
Daniel Supernault 772352903b
Update web routes 2022-01-02 23:46:17 -07:00
Daniel Supernault a64aef6726
Update Profile model, cast last_status_at as timestamp 2022-01-02 23:27:47 -07:00
Daniel Supernault 89206d6e1f
Update mastoapi transformers 2022-01-02 23:26:18 -07:00
Daniel Supernault 41cc741be6
Add avatar:sync command 2022-01-02 21:34:15 -07:00
Daniel Supernault b4bd0400c2
Store remote avatars locally if S3 not enabled 2022-01-02 21:30:02 -07:00
Daniel Supernault 1a979bee5c
Update exception handler 2021-12-31 01:14:50 -07:00
Daniel Supernault f4e12c42b3
Update exception handler 2021-12-31 01:12:33 -07:00
Daniel Supernault c481e473d8
Update Exception handler 2021-12-31 00:58:16 -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 e5f8f3441c
Update AccountService, fix json casting 2021-12-30 23:11:46 -07:00
Daniel Supernault 92bc28456d
Update RemoteAvatarFetch job 2021-12-30 21:05:50 -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 ff7ee3bd62
Update Webfinger, fixes #3050 2021-12-26 04:58:19 -07:00
Daniel Supernault 469d49d832
Update site config, increase ttl and enable SPA by default 2021-12-26 03:46:15 -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 327073724f
Update StatusEntityLexer, prevent boosts and replies from being added to PublicTimelineService 2021-12-21 22:48:47 -07:00
Daniel Supernault 7bef159119
Add i18n dev command 2021-12-21 22:32:33 -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 937cdfb7f9
Update StatusService 2021-12-21 21:40:10 -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 03b0a62a22
Update console kernel, add db session garbage collector that runs twice daily 2021-12-19 01:25:49 -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 493c5ca0ce
Add DiscoverService 2021-12-19 00:43:09 -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 b8ebc00212
Update SharePipeline, fix variable bug 2021-12-14 21:13:30 -07:00
Daniel Supernault 0616a859d5
Update CommentPipeline, fix variable bug 2021-12-14 21:09:23 -07:00
Daniel Supernault 3515a98e55
Add Cloud Backups, a command to store backups on S3 or compatible filesystems 2021-12-14 20:08:44 -07:00
Daniel Supernault 83b48b5681
Update StatusService, improve cache invalidation 2021-12-12 22:30:55 -07:00
Daniel Supernault c2910e5d42
Update MediaService, return empty array if cantt find status 2021-12-12 19:33:20 -07:00
Daniel Supernault 44b32d8bb6
Update SharePipeline 2021-12-12 19:32:11 -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 fe64e18712
Update LikePipeline jobs, fix likes_count calculation 2021-12-04 20:31:36 -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 19d140b020
Update FollowerService 2021-12-04 17:37:44 -07:00
Daniel Supernault 0342027867
Update UserSetting model, cast compose_settings and other as json 2021-12-04 17:35:50 -07:00
Daniel Supernault 98f76abbe8
Update AccountTransformer, add note_text and location fields 2021-12-04 17:34:32 -07:00
Daniel Supernault f88b3a2fb9
Update StatusService, add getDirectMessage method 2021-12-04 17:33:32 -07:00
Daniel Supernault fbaed93eda
Update SearchApiV2Service, improve performance and include hashtag post counts when applicable 2021-12-04 17:32:43 -07:00
Daniel Supernault a37971dd28
Add HashtagService 2021-12-04 17:31:53 -07:00
Daniel Supernault 9d9e9ce7fa
Update MediaStorageService, improve header parsing 2021-12-04 17:30:05 -07:00
Daniel Supernault 2aa73c1ffa
Update AccountService, add dynamic user settings methods 2021-12-04 17:27:58 -07:00
Daniel Supernault b8e9056ee3
Update UserInviteController, fixes #3017 2021-12-04 15:30:08 -07:00