Commit graph

2652 commits

Author SHA1 Message Date
Daniel Supernault
cd4f73bed9
Update inbox workers, fixes #3304 2022-03-16 21:02:23 -06:00
Daniel Supernault
758a828fdf
Update MediaGarbageCollector 2022-03-16 20:19:10 -06:00
Daniel Supernault
20710f4d6e
Update InboxPipeline, fixes #3306 2022-03-12 23:49:11 -07: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
281443d7fe
Update SearchApiV2Service, filter banned instances 2022-03-12 23:15:47 -07:00
Daniel Supernault
c13bca7629
Update ApiV1Controller, fix unlisted replies 2022-03-12 19:07:23 -07:00
Daniel Supernault
d48674154a
Update ReblogService 2022-03-11 00:00:47 -07:00
Daniel Supernault
4482482e2a
Update ReblogService 2022-03-10 23:58:47 -07:00
Daniel Supernault
ebe9c54dae
Update ReblogService 2022-03-10 23:55:32 -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
018f7e10a3
Merge pull request #3294 from rm-yakovenko/issues/3288
Fix: Undefined index: replies_count
2022-03-08 21:05:48 -07:00
Daniel Supernault
c7e1e473ca
Update CollectionController, fixes #3289 2022-03-08 20:57:18 -07:00
Daniel Supernault
aba0c97cee
Add CollectionService 2022-03-08 20:56:08 -07:00
Rm Yakovenko
72da667305 #3288 Fix: Undefined index: replies_count
https://github.com/pixelfed/pixelfed/issues/3288
2022-03-07 09:21:05 +02:00
Daniel Supernault
fe7687851c
Update AccountController, refresh relationship after handling follow request 2022-03-06 03:45:19 -07:00
Daniel Supernault
539752067f
Update AP Helpers, fixes #3290 2022-03-03 21:57:13 -07:00
Daniel Supernault
b78bff72db
Update AP Helpers, fixes #3287 2022-03-03 21:55:15 -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
c166925319
Update MediaTransformer, fix type case bug. Fixes #3281 2022-03-02 01:05:36 -07:00
Daniel Supernault
ad48521a35
Update ConfigCacheService, fix discover features 2022-03-01 21:49:09 -07:00
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
Daniel Supernault
e5387d6742
Add StatusMentionService, fixes #3026 2021-12-03 20:47:00 -07:00
Daniel Supernault
ed62a09f9a
Update lexer utils 2021-11-15 19:35:10 -07:00
Daniel Supernault
639e9859ed
Add AutolinkService 2021-11-15 19:33:52 -07:00
Daniel Supernault
4cb956aea2
Update AdminStatsService, add storage() method 2021-11-10 21:54:50 -07:00
daniel
59d76bb9b3
Merge pull request #2956 from h3xx/fix-psql-grouping
Fix grouping error in PostgreSQL
2021-11-10 21:53:30 -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
2ae527c0f3
Update Status model, use AccountService to generate urls instead of loading profile relation 2021-11-03 23:29:12 -06:00
Daniel Supernault
aa2dd26c1b
Update PublicApiController, fix private account statuses api. Closes #2995 2021-11-03 19:40:46 -06:00
Daniel Supernault
0107e8fd68
Update Localization util, filter out .DS_Store 2021-10-30 00:56:48 -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
Dan Church
b167873632
Fix grouping error in PostgreSQL 2021-10-20 14:11:33 -05: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 Supernault
f0d4c17236
Update Autospam service, use silent classification for better user experience 2021-10-19 23:13:12 -06:00
daniel
a53692f6bf
Merge pull request #2957 from h3xx/fix-memory-limit
Fix global memory limit set in constructor
2021-10-19 20:49:15 -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
66f04bec25
Update InstanceService 2021-10-19 19:51:14 -06:00
Daniel Supernault
7a9a06e0fd
Update NotificationTransformer 2021-10-19 19:49:44 -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
Dan Church
c685e3e9f4
Fix global memory limit set in constructor
Instead, set it when running.

Having the set in the constructor was causing memory_limit to be changed
for "artisan queue:work" processes.
2021-09-27 15:09:00 -05:00
Daniel Supernault
7b3e672d89
Update NoteTransformer, fix tag array 2021-09-22 20:04:23 -06:00
Daniel Supernault
a900de2121
Update HttpSignatures, update instance actor headers. Fixes #2935 2021-09-20 00:21:16 -06:00
Daniel Supernault
4a609dc377
Update NotificationService, fix 500 bug 2021-09-19 23:05:56 -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
Wv5twkFEKh54vo4tta9yu7dHa3
13f65629e1 Fix error 500 on image upload
Without this missing import, the server threw "Class 'App\Http\Controllers\Api\UserSetting' not found" when trying to upload images.
2021-09-09 15:03:00 +02:00
Daniel Supernault
0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 2021-09-07 21:07:20 -06:00
Daniel Supernault
00c32360ae
Update StoryController, fix postgres bug. Fixes #2904 2021-09-06 01:41:24 -06:00
Daniel Supernault
32995064ec
Update Profile model 2021-09-06 00:29:06 -06:00
Daniel Supernault
9e630851a3
Update AccountService, fix status bug 2021-09-04 21:12:44 -06:00
Daniel Supernault
6ae1ba0a64
Update StoryService, fix division by zero bug 2021-09-04 17:55:58 -06:00
Daniel Supernault
0f00be4d98
Update DirectMessageController, fix autocomplete bug 2021-09-04 03:22:05 -06:00
Daniel Supernault
ee9f079551
Update Profile, fix following count bug 2021-09-04 03:17:54 -06:00
Daniel Supernault
d32d05eed0
Update story gc 2021-09-04 01:59:50 -06:00
Daniel Supernault
7dee8f58fe
Update StoryComposeController, fix expiry bug 2021-09-04 01:55:29 -06:00
Daniel Supernault
1f45580f18
Update AP Inbox 2021-09-04 00:11:20 -06:00
Daniel Supernault
e73cf531cb
Update InstanceCrawlPipeline, remove unused variable 2021-09-03 23:00:30 -06:00
Daniel Supernault
588384543b
Update Story model, use immutable datetime 2021-09-03 22:46:06 -06:00
Daniel Supernault
dd7262d841
Update StoryController, add StoryComposeController 2021-09-03 22:08:15 -06:00
Daniel Supernault
d0bfefe8d0
Update Media model 2021-09-03 21:25:19 -06:00
Daniel Supernault
d7b6edc018
Update NotificationTransformer 2021-09-03 21:23:43 -06:00
Daniel Supernault
3c8c23a143
Update AP Inbox 2021-09-03 21:21:17 -06:00
Daniel Supernault
c7a5715a60
Add StoryPipeline jobs 2021-09-03 21:18:33 -06:00
Daniel Supernault
0d8d6bc71e
Update FollowerService 2021-09-03 20:51:56 -06:00
Daniel Supernault
6b0b2cfaa5
Update StoryService 2021-09-03 20:51:26 -06:00
Daniel Supernault
b32f4d91c4
Update Snowflake service 2021-09-03 20:51:05 -06:00
Daniel Supernault
f808b7b19d
Story transformers 2021-09-03 20:50:38 -06:00
Daniel Supernault
da6943daed
Add InstancePipeline and NodeinfoService 2021-09-03 20:45:56 -06:00
Daniel Supernault
e5aea490b1
Refactor snowflake id generation to improve randomness 2021-09-01 22:46:57 -06:00
Daniel Supernault
e95b702e23
Add activitypub story validator 2021-09-01 03:34:41 -06:00
Daniel Supernault
e90637098a
Add Bearcap util 2021-09-01 01:21:47 -06:00
Daniel Supernault
0e13ab074c
Update SnowflakeService 2021-09-01 01:17:37 -06:00
Daniel Supernault
ca5d964f5f
Update Profile model 2021-08-31 00:42:14 -06:00
Daniel Supernault
e1a3e26644
Update Story model 2021-08-31 00:41:43 -06:00
Daniel Supernault
2593cdeed9
Update Status model, add poll relation and allow up to 2 urls to autolink 2021-08-31 00:40:41 -06:00
Daniel Supernault
ef8e38298f
Update StatusService 2021-08-31 00:40:07 -06:00
Daniel Supernault
f9194df332
Update PollService 2021-08-31 00:39:32 -06:00
Daniel Supernault
2d93bc8b51
Update NotificationService 2021-08-31 00:39:03 -06:00
Daniel Supernault
07bc5d5c83
Update MediaStorageService 2021-08-31 00:38:43 -06:00
Daniel Supernault
450154e5af
Update MediaService 2021-08-31 00:38:27 -06:00
Daniel Supernault
427f9da33e
Update MediaPathService, change story paths 2021-08-31 00:38:07 -06:00
Daniel Supernault
168c19c5b6
Update LikeService 2021-08-31 00:37:40 -06:00
Daniel Supernault
2fb916c22b
Update InstanceService 2021-08-31 00:37:28 -06:00
Daniel Supernault
ad2db4aea7
Update FollowerService 2021-08-31 00:37:02 -06:00
Daniel Supernault
1c59933c0a
Update ProfileController 2021-08-31 00:35:29 -06:00
Daniel Supernault
a4a1270e70
Add Stories to admin dashboard 2021-08-31 00:33:04 -06:00
Daniel Supernault
0573213093
Add StoryService 2021-08-31 00:29:17 -06:00
Daniel Supernault
a0da80bc70
Update media gc command 2021-08-31 00:24:20 -06:00
Daniel Supernault
fee2857deb
Update ComposeController 2021-08-31 00:22:08 -06:00
Daniel Supernault
e1277d4081
Update StatusStatelessTransformer, cast snowflake ids as strings 2021-08-27 20:37:00 -06:00
Daniel Supernault
7709220074
Add Polls 2021-08-04 20:29:21 -06:00
Daniel Supernault
5916f8c76a
Update Profile model, fix getAudienceInbox method 2021-08-04 00:00:50 -06:00
Daniel Supernault
acaf630dee
Update StatusService, invalidate profile embed cache on deletion 2021-07-27 00:13:03 -06:00
Daniel Supernault
3f8acb1266
Update AccountService, add syncPostCount method 2021-07-26 23:59:38 -06:00
Daniel Supernault
e9ef0c887a
Add Archive Posts 2021-07-26 22:49:46 -06:00
Daniel Supernault
6e45021fc2
Update StatusTransformer, prioritize scope over deprecated visibility attribute 2021-07-26 22:21:03 -06:00
Daniel Supernault
bc3add0525
Update ContactAdmin mail, set New Support Message subject 2021-07-26 19:23:55 -06:00
Daniel Supernault
15c4fdd90c
Update StatusService, add non-public option and improve cache invalidation 2021-07-26 19:02:11 -06:00
Daniel Supernault
ee0028bc57
Update PublicApiController, use account service 2021-07-26 18:47:40 -06:00
Daniel Supernault
22257cc2a7
Update FollowerService, cache audience 2021-07-25 05:56:35 -06:00
Daniel Supernault
38e5fc43eb
Add FollowObserver 2021-07-25 05:46:42 -06:00
Daniel Supernault
c4146a3040
Update RemoteProfile component, add follower modals 2021-07-25 05:06:38 -06:00
Daniel Supernault
f6131ed764
Update License util, add nameToId method 2021-07-25 03:29:22 -06:00
Daniel Supernault
f3d6023ef8
Update LikeController, improve query perf 2021-07-25 03:19:48 -06:00
Daniel Supernault
14a1367a8f
Federate Media Licenses 2021-07-25 03:17:49 -06:00
Daniel Supernault
f9516ac316
Update ApiControllers, use NotificationService 2021-07-25 02:12:30 -06:00
Daniel Supernault
bce8edd994
Update PublicApiController, improve accountStatuses api perf 2021-07-25 01:39:03 -06:00
Daniel Supernault
c1f14f89f6
Update FollowPipeline, fix cache invalidation bug 2021-07-25 01:36:57 -06:00
Daniel Supernault
7c6cff3103
Update StatusTransformer 2021-07-24 23:24:56 -06:00
Daniel Supernault
1054b025b1
Update StatusTransformer 2021-07-24 23:16:01 -06:00
Daniel Supernault
09d5198c55
Update StatusTransformers, remove includes and use cached services 2021-07-24 23:10:44 -06:00
Daniel Supernault
2a791f1991
Update ApiV1Controller, add default license support 2021-07-24 22:20:05 -06:00
Daniel Supernault
ea0fc90c92
Add default licenses and license sync 2021-07-24 22:13:14 -06:00
Daniel Supernault
072d55d1a8
Update Compose Apis, make media descriptions/alt text length limit configurable. Default length: 1000 2021-07-24 21:15:15 -06:00
Daniel Supernault
67e3f6048f
Update Settings, add default license and enforced media descriptions 2021-07-23 09:47:14 -06:00
Daniel Supernault
8ac8fcad3f
Update LikeController, add UndoLikePipeline and federate Undo Like activities 2021-07-21 03:41:28 -06:00
Daniel Supernault
f39f32c866
Update ApiController, fix notification bug 2021-07-21 02:16:20 -06:00
Daniel Supernault
0153ed6d64
Update Timeline, make text-only posts opt-in by default 2021-07-21 02:00:57 -06:00
Daniel Supernault
08f492bd3d
Update PublicApiController, remove text only posts 2021-07-21 01:19:53 -06:00
Daniel Supernault
86219b57fc
Update PublicApiController, filter out text replies on home timeline 2021-07-21 01:03:43 -06:00
Daniel Supernault
9f4f983f27
Update ap helpers, set text type when appropriate 2021-07-20 22:17:31 -06:00
Daniel Supernault
728f10d778
Update Timeline.vue, improve followed hashtags 2021-07-16 01:20:21 -06:00
Daniel Supernault
ca6e491c83
Update PublicApiController, use fUserFilterService in public timeline endpoint 2021-07-15 22:39:40 -06:00
Daniel Supernault
135474ae11
Update DiscoverController, use UserFilterService on trendingApi 2021-07-15 20:48:39 -06:00
Daniel Supernault
7f4213924f
Update job queue, separate deletes into their own queue 2021-07-13 23:09:50 -06:00
Daniel Supernault
c8824d1b51
Update FollowerService 2021-07-11 07:43:29 -06:00
Daniel Supernault
57e0a741ab
Add FanoutDeletePipeline 2021-07-09 02:07:14 -06:00
Daniel Supernault
26b9c1401c
Update ActivityPub helpers, fix comment threading in statusFetch() method 2021-07-08 21:30:59 -06:00
Daniel Supernault
9650b668e9
Update PublicApiController, fix public timeline filtering 2021-07-08 17:33:51 -06:00
Daniel Supernault
08467d52d5
Update PublicTimelineService 2021-07-07 01:58:39 -06:00
Daniel Supernault
1fdcbe5bf9
Update StatusEntityLexer, only add specific status types to PublicTimelineService 2021-07-07 01:53:28 -06:00
Daniel Supernault
4fe42e5b57
Update PublicApiController, improve home timeline perf 2021-07-07 01:06:20 -06:00
Daniel Supernault
9017f7c4e1
Update Profile, fix unauthenticated private profiles 2021-07-07 00:40:01 -06:00
Daniel Supernault
f2686cacd2
Update AdminMediaController, improve perf and use simple pagination 2021-07-06 23:36:25 -06:00
Daniel Supernault
352aa57346
Update ApiV1Controller, use ProfileService for verify_credentials 2021-07-06 20:43:24 -06:00
Daniel Supernault
f67c67bce1
Update ApiV1Controller, use PublicTimelineService 2021-07-06 20:29:52 -06:00
Daniel Supernault
d43e6d8d07
Update NotificationService, use zrevrangebyscore for api 2021-07-06 20:10:42 -06:00
Daniel Supernault
918016a5ad
Update PublicTimelineService 2021-07-06 02:01:24 -06:00
Daniel Supernault
51a277e1ae
Update StatusHashtagService, fix null status bug 2021-07-05 23:40:54 -06:00
Daniel Supernault
f215ee26b3
Update moderator api, expire cached status 2021-07-05 23:00:59 -06:00
Daniel Supernault
78529cb1f8
Update PublicApiController 2021-07-02 03:05:33 -06:00
Daniel Supernault
82895591c3
Update PublicApiController, add LikeService to Network timeline 2021-07-02 01:34:35 -06:00
Daniel Supernault
d3157f2a2d
Add LikeObserver 2021-07-02 01:33:49 -06:00
Daniel Supernault
447e44e5ac
Update LikeService 2021-07-02 01:31:45 -06:00
Daniel Supernault
117b8410eb
Update PublicTimelineService, skip adds for now 2021-07-02 01:21:21 -06:00
Daniel Supernault
64725ecce7
Add diagnostics to error page and admin dashboard 2021-07-01 21:46:45 -06:00
Daniel Supernault
9ac8bbde91
Update ApiController, fix hashtag endpoint 2021-06-30 17:10:33 -06:00
Daniel Supernault
6d956a86f4
Add mark as spammer mod tool, unlists and applies content warning to existing and future posts 2021-06-29 02:14:22 -06:00
Daniel Supernault
7b9e0eefd3
Update InternalApiController formatting 2021-06-29 01:46:04 -06:00
Daniel Supernault
e5f683fda4
Update PublicApiController, improve network timeline perf 2021-06-29 01:23:24 -06:00
Daniel Supernault
3ba31bdc7c
Add UndoAnnounce transformer 2021-06-28 23:25:49 -06:00
Daniel Supernault
c8e40e0fd3
Update SharePipeline, add Undo->Announce support 2021-06-28 22:37:38 -06:00
Daniel Supernault
f1208de0ef
Update ApiController, fix nulls in hashtag endpoint 2021-06-28 21:01:45 -06:00
Daniel Supernault
d48ebb829c
Update StatusController, improve share api perf (11s to 72ms) 2021-06-28 20:19:57 -06:00
Daniel Supernault
3741c76da3
Update LikeService, skip self likes 2021-06-23 21:26:45 -06:00
Daniel Supernault
cc47243733
Update Inbox 2021-06-23 21:21:33 -06:00
Daniel Supernault
929ff5eb01
Update Inbox, fix tombstone bug 2021-06-23 19:57:39 -06:00
Daniel Supernault
ef63124d88
Update Inbox, delete notifications on tombstone 2021-06-18 05:24:26 -06:00
Daniel Supernault
c8c6b98380
Update like api, store status_profile_id and is_comment 2021-06-18 02:57:08 -06:00
Daniel Supernault
8edd829436
Update AP Helpers, generate notification for remote replies 2021-06-18 02:55:42 -06:00
Daniel Supernault
f37952d6cf
Update verify email screen, add contact admin link 2021-06-13 00:37:54 -06:00
Daniel Supernault
39e57f9506
Update StoryController, fix expiration time bug 2021-06-12 20:00:59 -06:00
Daniel Supernault
93c7af7464
Update routes, add legacy webfinger profile redirect 2021-06-11 00:03:41 -06:00
Daniel Supernault
8ee104363a
Update Profile, add linkified bio, joined date, follows you label and improved website handling 2021-06-10 22:54:31 -06:00
Daniel Supernault
68aa25400b
Add Auto Following support for admins 2021-06-10 21:07:35 -06:00
Daniel Supernault
069a0e4ae1
Add WebP support 2021-06-08 03:22:01 -06:00
Daniel Supernault
20ec870bf9
Update PrettyNumber, fix deprecated warning 2021-06-07 17:18:06 -06:00
Daniel Supernault
2d0a253e07
Update DirectMessageController, disable exception logging for invalid urls. Fixes #2752 2021-06-01 21:18:02 -06:00
Daniel Supernault
84520fe103
Update PrettyNumber, add decimal option 2021-06-01 20:07:07 -06:00
Daniel Supernault
28df9f7e80
Update Inbox, fix reply/comment bug by moving attachment validation to Note with attachments 2021-06-01 20:06:18 -06:00
Daniel Supernault
1e230e80fb
Update PublicApiController, add recent feed support to home timeline 2021-06-01 20:03:59 -06:00
Daniel Supernault
f3bf2fd41e
Update StatusController, add cache invalidation for timeline cursor 2021-06-01 19:51:22 -06:00
Daniel Supernault
7cbd6bc36d
Update StatusController, use transactions for status views 2021-05-31 23:54:20 -06:00
Daniel Supernault
f767d99ad5
Update liked by, fix remote username urls 2021-05-31 22:43:53 -06:00
Daniel Supernault
3c1e1f7e87
Update PublicApiController, fix likes bug 2021-05-31 21:49:44 -06:00
Daniel Supernault
7e0be15404
Update exceptions handler 2021-05-27 23:06:47 -06:00
Daniel Supernault
178ed63d0a
Update AuthServiceProvider, increase default token + refresh token lifetime 2021-05-27 23:04:24 -06:00
Daniel Supernault
c8e43c6094
Update api, remove auth requirement for hashtag timeline 2021-05-26 20:11:25 -06:00
Daniel Supernault
af71913597
Update AdminStatsService, fix postgres bug 2021-05-25 01:36:13 -06:00
Daniel Supernault
eb7d5a4e36
New admin dashboard layout 2021-05-24 23:24:42 -06:00
Daniel Supernault
3de44f3392
Update Timeline.vue, batch api views 2021-05-24 00:37:52 -06:00
Daniel Supernault
92dc7af69b
Update landing and about page 2021-05-23 23:09:26 -06:00
Daniel Supernault
061b145b54
Update ComposeController, bail on empty attachments 2021-05-20 20:26:26 -06:00
Daniel Supernault
29947e157c
Update admin settings 2021-05-19 02:15:37 -06:00
Daniel Supernault
24e77f647d
Update admin settings 2021-05-19 02:01:33 -06:00
Daniel Supernault
41792eea56
Update config() to config_cache() 2021-05-18 22:45:04 -06:00