Commit Graph

2542 Commits (aa57e1e59325d4a7fe9242599e2f40d058d5cf48)

Author SHA1 Message Date
Daniel Supernault b3ef2b2902
Improve reblog api performance 3 years ago
Daniel Supernault 3ef6c9fe81
Improve reblog api performance 3 years ago
Daniel Supernault b6c6c85bb7
Update SpaController, handle web redirects 3 years ago
daniel 018f7e10a3
Merge pull request #3294 from rm-yakovenko/issues/3288
Fix: Undefined index: replies_count
3 years ago
Daniel Supernault c7e1e473ca
Update CollectionController, fixes #3289 3 years ago
Daniel Supernault aba0c97cee
Add CollectionService 3 years ago
Rm Yakovenko 72da667305 #3288 Fix: Undefined index: replies_count
https://github.com/pixelfed/pixelfed/issues/3288
3 years ago
Daniel Supernault fe7687851c
Update AccountController, refresh relationship after handling follow request 3 years ago
Daniel Supernault 539752067f
Update AP Helpers, fixes #3290 3 years ago
Daniel Supernault b78bff72db
Update AP Helpers, fixes #3287 3 years ago
Daniel Supernault 3e670774c0
Update ApiV1Controller, fixes #3288 3 years ago
Daniel Supernault a44b812b13
Update SpaController, redirect web ui hashtags to legacy page for unauthenticated users 3 years ago
Daniel Supernault c166925319
Update MediaTransformer, fix type case bug. Fixes #3281 3 years ago
Daniel Supernault ad48521a35
Update ConfigCacheService, fix discover features 3 years ago
Daniel Supernault 6af842eb3e
Update LikeService, improve caching logic and add profile id to likedBy method to fix #3271 3 years ago
Daniel Supernault 0b68009933
New Discover layout on Metro 2.0 3 years ago
Daniel Supernault 8d1af1d6a1
Update SpaController, fix variable typo. Fixes #3268 3 years ago
Daniel Supernault 1a7a4a052f
Update SpaController 3 years ago
Daniel Supernault 7f8129a75c
Update ProfileController, redirect profile view for authed users to Metro 2.0 UI 3 years ago
Daniel Supernault 71dff472cc
Update StatusController, redirect status view for authed users to Metro 2.0 UI 3 years ago
Daniel Supernault f0d48ade0d
Update CollectionController 3 years ago
Daniel Supernault d2188e7ab3
Update PublicApiController 3 years ago
Daniel Supernault ec2cfaf54e
Update ComposeController, add collection support to compose endpoint 3 years ago
Daniel Supernault bd249f0c39
Update CollectionController, fix broken unauthenticated access. Fixes #3242 3 years ago
Daniel Supernault 548a12a4c2
Update StatusController, set missing reblog/share type 3 years ago
Daniel Supernault 2848620a32
Update ApiV1Controller, improve favourites endpoint 3 years ago
Daniel Supernault 151dc17c25
Update ApiV1Controller, improve favourites endpoint 3 years ago
Daniel Supernault cf286fb046
Update Inbox, fix undo announce 3 years ago
Daniel Supernault a84b173678
Update StatusTagsPipeline, process federated hashtags and mentions 3 years ago
Daniel Supernault ccc94802ec
Update CommentPipeline, improve parent reply_count calculation - mysql only for now 3 years ago
Daniel Supernault 7fa9d4dc1b
Update AvatarController, fix store bug 3 years ago
Daniel Supernault 29c4bd251a
Update ComposeController, improve location search results ordering by use frequency 3 years ago
Daniel Supernault 927a2a7d04
Update SettingsController 3 years ago
Daniel Supernault f363a3275a
Update SettingsController 3 years ago
Daniel Supernault bae6126db3
Update compiled assets 3 years ago
Daniel Supernault 0932b6e117
Update PrettyNumber util 3 years ago
Daniel Supernault cd78560184
Update ApiV1Controller, add validation messages to update_credentials endpoint 3 years ago
Daniel Supernault 74905ba1d0
Update Exception handler to report validation message bag errors 3 years ago
Daniel Supernault 217922466a
Update InstanceActorController, fix content-type header 3 years ago
Daniel Supernault f8bc0d9c03
Update InternalApiController 3 years ago
Daniel Supernault 6cfd6be523
Add ReblogService, improve reblogged state for api entities 3 years ago
Daniel Supernault a7d715517d
Update StatusService, use BookmarkService for bookmarked state 3 years ago
Daniel Supernault 0db82ff2dd
Update PublicApiController 3 years ago
Daniel Supernault 73226360fc
Update ApiV1Controller, fix private status replies returning 404 3 years ago
Daniel Supernault a11772bcfe
Update BookmarkService, use sorted set 3 years ago
Daniel Supernault 0157566c25
Add BookmarkService 3 years ago
Daniel Supernault c0b1e0427e
Update PublicApiController, add bookmark state to timeline endpoints 3 years ago
Daniel Supernault 34a3d65f30
Update InternalApiController 3 years ago
Daniel Supernault 3c261bbfec
Update ApiV1Controller, invalidate status reply cache on new reply 3 years ago
Daniel Supernault 3d86d21be6
Update BaseApiController, improve favourites endpoint 3 years ago
Daniel Supernault f063cb0185
Update BaseApiController, improve favourites endpoint 3 years ago
Daniel Supernault 3c35158ebc
Update InternalApiController, redirect remote post and profiles to Metro 2.0 3 years ago
Daniel Supernault 16e725183e
Update ApiV1Controller, add custom_emoji endpoint 3 years ago
Daniel Supernault 5d9b6863b6
Update atom feeds, include media alt text. Fixes #3184 3 years ago
Daniel Supernault 042c5b6c33
Improve onboarding 3 years ago
Daniel Supernault 4b6effb9c8
Update ApiV1Controller, improve follow count cache invalidation 3 years ago
Daniel Supernault 940209018a
Update ProfileController 3 years ago
Daniel Supernault 3bd211d7f5
Update profile embeds, fix NaN bug and improve performance 3 years ago
Daniel Supernault 803bbac0ea
Update compiled assets 3 years ago
Daniel Supernault 792212b655
Cleanup 3 years ago
Daniel Supernault aff7456639
Update WebfingerService. Fixes #3167 3 years ago
Daniel Supernault 42602351c7
Update StatusTransformer, add emoji entities 3 years ago
Daniel Supernault 1e00c431a8
Fix custom emoji admin dashboard bug 3 years ago
Daniel Supernault 46d5f12590
Update custom emoji json-ld 3 years ago
Daniel Supernault dbb1638fd6
Invalidate status cache after importing custom emoji 3 years ago
Daniel Supernault dc7962d898
Add shortcode & domain search 3 years ago
Daniel Supernault efeaf427e1
Add CustomEmoji admin dashboard 3 years ago
Daniel Supernault b2016e6c21
Update note transformers, add custom emoji support 3 years ago
Daniel Supernault 489fdbb248
Update StatusTagPipeline 3 years ago
Daniel Supernault dc17c9fc27
Improve emoji import 3 years ago
Daniel Supernault 01798daf56
Update AP helpers, import Emoji tags 3 years ago
Daniel Supernault ca79e26d3a
Add custom emoji 3 years ago
Daniel Supernault 1c20d6960a
Update MediaStorageService, fix reremote avatar bug 3 years ago
Daniel Supernault 350585d316
Fix typo in ApiV1Controller 3 years ago
Daniel Supernault c8a667f20e
Update SearchApiV2Service, resolve remote queries 3 years ago
Daniel Supernault de42d84c11
Update ApiV1Controller, fix reblogs endpoints 3 years ago
Daniel Supernault d6d99385db
Update ApiV1Controller, fix favourites endpoints 3 years ago
Daniel Supernault 6fc0dcb34d
Update ApiV1Controller, fix home timeline entities 3 years ago
Daniel Supernault dcb7ba9c7a
Update PublicApiController, fix public timeline endpoint 3 years ago
Daniel Supernault 80c7def3df
Update ApiV1Controller, fix public timeline endpoint 3 years ago
Daniel Supernault a6261221ad
Update ApiV1Controller, fix version on instance endpoint 3 years ago
Daniel Supernault 4ab99d66d1
Update FederationController 3 years ago
Daniel Supernault 4fe421a166
Update ApiV1Controller 3 years ago
Daniel Supernault 1515a9f111
Update CommentPipeline 3 years ago
Daniel Supernault a578035bbc
Update AccountService 3 years ago
Daniel Supernault 08246f2482
Update ApiV1Controller, fix account settings bug 3 years ago
Daniel Supernault da6312c2b0
Update ApiV1Controller 3 years ago
Daniel Supernault eeaf0f9311
Update StatusService 3 years ago
Daniel Supernault 0c1a0fa55b
Update PublicApiController 3 years ago
Daniel Supernault 6f1b02456f
Update AccountController, refresh RelationshipService on mute/blocks 3 years ago
Daniel Supernault cdf78e23a4
Update ApiV1Controller, improve instance endpoint 3 years ago
Daniel Supernault ff211dbec5
Update RestrictedNames 3 years ago
Daniel Supernault e825b07d88
Update ApiV1Controller 3 years ago
Daniel Supernault 46485426ea
Update ApiV1Controller, add mastoapi strict mode 3 years ago
Daniel Supernault 861a2d36df
Update PublicApiController, enforce only_media on accountStatuses method. Fixes #3105 3 years ago
daniel 3ee699ba3f
Merge pull request #3122 from idanoo/hashtag_unique_constraint_fix
Fix for firstOrCreate failing hashtags with case differences on name column
3 years ago
daniel 854f858543
Merge pull request #3121 from inthreedee/patch-1
Avoid upscaling small images
3 years ago
daniel c43f9ab7a4
Update app/Util/Media/Image.php
Co-authored-by: Daniel Mason <daniel@m2.nz>
3 years ago
Daniel Supernault fcabc9be02
Fix Direct Message conversations endpoint on postgres instances 3 years ago
Daniel Supernault ddf41dc347
Update StoryController, add postgres bug fix 3 years ago
Daniel Mason 9cc18eb82a Fix for firstOrCreate failing hashtags with case differences on name 3 years ago
Jonathan 27b715cb35
Avoid upscaling small images 3 years ago
Daniel Supernault 454b4e21dd
Update Services, fix mastoapi compat 3 years ago
Daniel Supernault 85fc9dd0a8
Update PublicApiController, fix accountStatuses pagination operator 3 years ago
Daniel Supernault 85e4be8172
Update AccountService, add getMastodon method for mastoapi compatibility 3 years ago
Daniel Supernault 36a129fe89
Update StatusService, add getMastodon method for mastoapi compatibility 3 years ago
Daniel Supernault 772352903b
Update web routes 3 years ago
Daniel Supernault a64aef6726
Update Profile model, cast last_status_at as timestamp 3 years ago
Daniel Supernault 89206d6e1f
Update mastoapi transformers 3 years ago
Daniel Supernault 41cc741be6
Add avatar:sync command 3 years ago
Daniel Supernault b4bd0400c2
Store remote avatars locally if S3 not enabled 3 years ago
Daniel Supernault 1a979bee5c
Update exception handler 3 years ago
Daniel Supernault f4e12c42b3
Update exception handler 3 years ago
Daniel Supernault c481e473d8
Update Exception handler 3 years ago
Daniel Supernault d820669bd1
Update StatusController, change param signature 3 years ago
Daniel Supernault 415826f253
Update ApiV1Controller, fix illegal operator bug by setting default min_id 3 years ago
Daniel Supernault e5f8f3441c
Update AccountService, fix json casting 3 years ago
Daniel Supernault 92bc28456d
Update RemoteAvatarFetch job 3 years ago
Daniel Supernault 10b6058cc0
Update DiscoverController, add yearly option and increase limit from 15 to 30 posts 3 years ago
Daniel Supernault e503a8da85
Update RegisterController 3 years ago
Daniel Supernault b37c805172
Update AdminReportController 3 years ago
Daniel Supernault 745c35807c
Update FederationController, increase webfinger cache ttl from 12 hours to 14 days 3 years ago
Daniel Supernault b00a453b99
Update status api, autolink caption before returning response 3 years ago
Daniel Supernault ff7ee3bd62
Update Webfinger, fixes #3050 3 years ago
Daniel Supernault 469d49d832
Update site config, increase ttl and enable SPA by default 3 years ago
Daniel Supernault 5c65e2b761
Update SpaController, add username redirect method 3 years ago
Daniel Supernault 6bf92bed27
Update LoginController, bump decayMinutes from 1 to 60 3 years ago
Daniel Supernault 7bc684e5d1
Update SpaController, persist web language changes 3 years ago
Daniel Supernault 37dcc4ae13
Update PublicApiController 3 years ago
Daniel Supernault 327073724f
Update StatusEntityLexer, prevent boosts and replies from being added to PublicTimelineService 3 years ago
Daniel Supernault 7bef159119
Add i18n dev command 3 years ago
Daniel Supernault 5828a863cb
Update web routes 3 years ago
Daniel Supernault 7e35ab80ad
Update web routes 3 years ago
Daniel Supernault 937cdfb7f9
Update StatusService 3 years ago
Daniel Supernault edc2958bf2
Update ComposeController, refactor compose_settings 3 years ago
Daniel Supernault aee9b994e3
Improve DiscoverService 3 years ago
Daniel Supernault 03b0a62a22
Update console kernel, add db session garbage collector that runs twice daily 3 years ago
Daniel Supernault 367d74fbfb
Update ApiV1Controller, use DiscoverService for discoverPosts method 3 years ago
Daniel Supernault f36da7816f
Update InternalApiController, use DiscoverService for discoverPosts method 3 years ago
Daniel Supernault 493c5ca0ce
Add DiscoverService 3 years ago
Daniel Supernault f3f35f590d
Remove admin .env editor 3 years ago
Daniel Supernault 642b802022
Update Http Kernel 3 years ago
Daniel Supernault b8ebc00212
Update SharePipeline, fix variable bug 3 years ago
Daniel Supernault 0616a859d5
Update CommentPipeline, fix variable bug 3 years ago
Daniel Supernault 3515a98e55
Add Cloud Backups, a command to store backups on S3 or compatible filesystems 3 years ago
Daniel Supernault 83b48b5681
Update StatusService, improve cache invalidation 3 years ago
Daniel Supernault c2910e5d42
Update MediaService, return empty array if cantt find status 3 years ago
Daniel Supernault 44b32d8bb6
Update SharePipeline 3 years ago
Daniel Supernault 466286af92
Update ApiV1Controller, improve statusesById perf and dispatch CommentPipeline job when applicable 3 years ago
Daniel Supernault b6b0837f49
Update CommentPipeline, move reply_count calculation to comment pipeline job and improve count calculation 3 years ago
Daniel Supernault 945a7e49f5
Update InternalApiController, prevent moderation actions against admin accounts 3 years ago
Daniel Supernault 2923453e13
Update PublicApiController 3 years ago
Daniel Supernault fe64e18712
Update LikePipeline jobs, fix likes_count calculation 3 years ago
Daniel Supernault 079804e65b
Update ApiV1Controller, improve settings and add discoverPosts endpoint 3 years ago
Daniel Supernault cdaa153003
Update StoryController 3 years ago
Daniel Supernault 19d140b020
Update FollowerService 3 years ago
Daniel Supernault 0342027867
Update UserSetting model, cast compose_settings and other as json 3 years ago
Daniel Supernault 98f76abbe8
Update AccountTransformer, add note_text and location fields 3 years ago
Daniel Supernault f88b3a2fb9
Update StatusService, add getDirectMessage method 3 years ago
Daniel Supernault fbaed93eda
Update SearchApiV2Service, improve performance and include hashtag post counts when applicable 3 years ago
Daniel Supernault a37971dd28
Add HashtagService 3 years ago
Daniel Supernault 9d9e9ce7fa
Update MediaStorageService, improve header parsing 3 years ago
Daniel Supernault 2aa73c1ffa
Update AccountService, add dynamic user settings methods 3 years ago
Daniel Supernault b8e9056ee3
Update UserInviteController, fixes #3017 3 years ago
Daniel Supernault e5387d6742
Add StatusMentionService, fixes #3026 3 years ago
Daniel Supernault ed62a09f9a
Update lexer utils 3 years ago
Daniel Supernault 639e9859ed
Add AutolinkService 3 years ago
Daniel Supernault 4cb956aea2
Update AdminStatsService, add storage() method 3 years ago
daniel 59d76bb9b3
Merge pull request #2956 from h3xx/fix-psql-grouping
Fix grouping error in PostgreSQL
3 years ago
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 3 years ago
Daniel Supernault dff3dad1c8
Update AdminController, move report methods to AdminReports trait 3 years ago
Daniel Supernault e6d9437846
Update middleware 3 years ago
Daniel Supernault 0e892bb3fd
Update AccountController 3 years ago
Daniel Supernault bc65938757
Add manual email verification requests 3 years ago
Daniel Supernault 2ae527c0f3
Update Status model, use AccountService to generate urls instead of loading profile relation 3 years ago
Daniel Supernault aa2dd26c1b
Update PublicApiController, fix private account statuses api. Closes #2995 3 years ago
Daniel Supernault 0107e8fd68
Update Localization util, filter out .DS_Store 3 years ago
Daniel Supernault 7df3540b08
Update verify_credentials api endpoint to improve performance 3 years ago
Daniel Supernault 192553ff77
Update public timeline api, add experimental cache 3 years ago
Dan Church b167873632
Fix grouping error in PostgreSQL 3 years ago
Daniel Supernault 37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 3 years ago
Daniel Supernault f0d4c17236
Update Autospam service, use silent classification for better user experience 3 years ago
daniel a53692f6bf
Merge pull request #2957 from h3xx/fix-memory-limit
Fix global memory limit set in constructor
3 years ago
daniel 3d2c98c033
Merge pull request #2941 from rfonseca/rfonseca-patch-1
Fix starting check of username to allow numbers.
3 years ago
Daniel Supernault 66f04bec25
Update InstanceService 3 years ago
Daniel Supernault 7a9a06e0fd
Update NotificationTransformer 3 years ago
Daniel Supernault e5454620e6
Update HomeTimeline api 3 years ago
Daniel Supernault bef959f451
Update PublicApiController, use AccountService in accountStatuses method 3 years ago
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. 3 years ago
Daniel Supernault 0a8eb81bf0
Update InstanceActorController, improve json seralization by not escaping slashes 3 years ago
Daniel Supernault 4505d1f0f9
Update FederationController, move well-known to api middleware and cache webfinger lookups 3 years ago
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.
3 years ago
Daniel Supernault 7b3e672d89
Update NoteTransformer, fix tag array 4 years ago
Daniel Supernault a900de2121
Update HttpSignatures, update instance actor headers. Fixes #2935 4 years ago
Daniel Supernault 4a609dc377
Update NotificationService, fix 500 bug 4 years ago
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.
4 years ago
Daniel Supernault ac6b3f07de
Update controllers, fixes #2906 4 years ago
Daniel Supernault 0fc3a1d6a5
Formatting 4 years ago
daniel 907945a7a0
Merge pull request #2923 from Wv5twkFEKh54vo4tta9yu7dHa3/patch-1
Fix media upload
4 years ago
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.
4 years ago
Daniel Supernault 0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 4 years ago
Daniel Supernault 00c32360ae
Update StoryController, fix postgres bug. Fixes #2904 4 years ago
Daniel Supernault 32995064ec
Update Profile model 4 years ago
Daniel Supernault 9e630851a3
Update AccountService, fix status bug 4 years ago
Daniel Supernault 6ae1ba0a64
Update StoryService, fix division by zero bug 4 years ago
Daniel Supernault 0f00be4d98
Update DirectMessageController, fix autocomplete bug 4 years ago
Daniel Supernault ee9f079551
Update Profile, fix following count bug 4 years ago
Daniel Supernault d32d05eed0
Update story gc 4 years ago
Daniel Supernault 7dee8f58fe
Update StoryComposeController, fix expiry bug 4 years ago
Daniel Supernault 1f45580f18
Update AP Inbox 4 years ago
Daniel Supernault e73cf531cb
Update InstanceCrawlPipeline, remove unused variable 4 years ago
Daniel Supernault 588384543b
Update Story model, use immutable datetime 4 years ago
Daniel Supernault dd7262d841
Update StoryController, add StoryComposeController 4 years ago
Daniel Supernault d0bfefe8d0
Update Media model 4 years ago
Daniel Supernault d7b6edc018
Update NotificationTransformer 4 years ago
Daniel Supernault 3c8c23a143
Update AP Inbox 4 years ago
Daniel Supernault c7a5715a60
Add StoryPipeline jobs 4 years ago
Daniel Supernault 0d8d6bc71e
Update FollowerService 4 years ago
Daniel Supernault 6b0b2cfaa5
Update StoryService 4 years ago
Daniel Supernault b32f4d91c4
Update Snowflake service 4 years ago
Daniel Supernault f808b7b19d
Story transformers 4 years ago
Daniel Supernault da6943daed
Add InstancePipeline and NodeinfoService 4 years ago
Daniel Supernault e5aea490b1
Refactor snowflake id generation to improve randomness 4 years ago
Daniel Supernault e95b702e23
Add activitypub story validator 4 years ago
Daniel Supernault e90637098a
Add Bearcap util 4 years ago
Daniel Supernault 0e13ab074c
Update SnowflakeService 4 years ago
Daniel Supernault ca5d964f5f
Update Profile model 4 years ago
Daniel Supernault e1a3e26644
Update Story model 4 years ago
Daniel Supernault 2593cdeed9
Update Status model, add poll relation and allow up to 2 urls to autolink 4 years ago
Daniel Supernault ef8e38298f
Update StatusService 4 years ago
Daniel Supernault f9194df332
Update PollService 4 years ago
Daniel Supernault 2d93bc8b51
Update NotificationService 4 years ago
Daniel Supernault 07bc5d5c83
Update MediaStorageService 4 years ago
Daniel Supernault 450154e5af
Update MediaService 4 years ago
Daniel Supernault 427f9da33e
Update MediaPathService, change story paths 4 years ago
Daniel Supernault 168c19c5b6
Update LikeService 4 years ago
Daniel Supernault 2fb916c22b
Update InstanceService 4 years ago
Daniel Supernault ad2db4aea7
Update FollowerService 4 years ago
Daniel Supernault 1c59933c0a
Update ProfileController 4 years ago
Daniel Supernault a4a1270e70
Add Stories to admin dashboard 4 years ago
Daniel Supernault 0573213093
Add StoryService 4 years ago
Daniel Supernault a0da80bc70
Update media gc command 4 years ago
Daniel Supernault fee2857deb
Update ComposeController 4 years ago
Daniel Supernault e1277d4081
Update StatusStatelessTransformer, cast snowflake ids as strings 4 years ago
Daniel Supernault 7709220074
Add Polls 4 years ago
Daniel Supernault 5916f8c76a
Update Profile model, fix getAudienceInbox method 4 years ago
Daniel Supernault acaf630dee
Update StatusService, invalidate profile embed cache on deletion 4 years ago
Daniel Supernault 3f8acb1266
Update AccountService, add syncPostCount method 4 years ago
Daniel Supernault e9ef0c887a
Add Archive Posts 4 years ago
Daniel Supernault 6e45021fc2
Update StatusTransformer, prioritize scope over deprecated visibility attribute 4 years ago