Commit graph

2049 commits

Author SHA1 Message Date
Daniel Supernault 7066e19d0e
Update ap helpers 2021-04-20 22:09:59 -06:00
Daniel Supernault f582937300
Update admin instance page, add search and improve performance 2021-04-20 22:03:41 -06:00
Wv5twkFEKh54vo4tta9yu7dHa3 a19d4d5418
Use same json error format as Mastodon
As documented in the Mastodon API ( https://docs.joinmastodon.org/entities/error/ ),   error responses use "error" as the key for the value, instead of Laravel's default (which is "message")
2021-04-20 18:18:42 +02:00
Daniel Supernault 10119bbbea
Update PublicApiController, limit network pagination to 3 months 2021-04-06 23:37:53 -06:00
Daniel Supernault af7face4da
Add Network Timeline 2021-04-06 21:17:42 -06:00
Daniel Supernault 552e950d7a
New License formats 2021-03-31 22:08:03 -06:00
Daniel Supernault 886ea6175d
Update ApiV1Controller, add missing variable 2021-03-19 21:22:37 -06:00
Daniel Supernault e1c6297ee7
Update PublicApiController, show unlisted comments 2021-03-03 20:18:32 -07:00
Daniel Supernault 42375b3d79
Update Compose Apis, refactor rate limits 2021-03-01 20:58:35 -07:00
Daniel Supernault f3a2b354db
Update bouncer 2021-03-01 02:20:19 -07:00
Daniel Supernault d200c12cf2
Update Nodeinfo util, use last_active_at for monthly active user count 2021-02-28 23:25:37 -07:00
Daniel Supernault b2501bfcc3
Update moderation api, invalidate profile embed 2021-02-28 23:14:27 -07:00
Daniel Supernault 9c8a87c331
Update StatusController, invalidate profile embed cache on status delete 2021-02-28 23:04:15 -07:00
Daniel Supernault 063558e3ac
Update comment apis 2021-02-28 22:41:07 -07:00
Daniel Supernault f0e48a09a3
Update ComposeController, add autocomplete apis for hashtags and mentions 2021-02-28 22:38:07 -07:00
Daniel Supernault f53bfa6fa6
Update Compose apis, prevent private accounts from posting public or unlisted scopes 2021-02-24 20:06:58 -07:00
Daniel Supernault 43201a70e6
Update user admin, fix pagination 2021-02-23 00:31:12 -07:00
Daniel Supernault 8feeadbf4e
Update user admin, remove expensive db query and add search 2021-02-22 23:03:49 -07:00
Daniel Supernault 1769cdfd74
Update MediaStorageService, improve head checks to fix failed jobs 2021-02-17 01:09:39 -07:00
Daniel Supernault ddc768871b
Update federation pipeline, add locks 2021-02-16 23:39:39 -07:00
Daniel Supernault 2ab73e1e96
Update AdminController, update reports method 2021-02-15 21:07:18 -07:00
Daniel Supernault 4507d4520c
Update RestrictedNames 2021-02-15 20:23:44 -07:00
Daniel Supernault 5206b09627
Update ReportController, handle json reports 2021-02-15 20:23:06 -07:00
Daniel Supernault d4c647cb4d
Update ReportController, add new report types 2021-02-15 02:49:17 -07:00
Daniel Supernault b1fd99644b
Update AdminController, show open reports by default 2021-02-15 02:46:58 -07:00
Daniel Supernault f05c3b66fc
Update Status model, refactor liked and shared methods to fix cache invalidation bug 2021-02-14 22:35:31 -07:00
Daniel Supernault d1c5e9b867
Update InboxPipeline, fail earlier for invalid public keys. Fixes #2648 2021-02-12 22:25:34 -07:00
Daniel Supernault deb6f1153f
Update FederationController, return 404 for invalid webfinger addresses. Fixes #2647 2021-02-12 21:44:06 -07:00
Christoph Stelz f5aa89b2d2 Add fix for InstagramImport 2021-02-09 09:34:05 +01:00
Daniel Supernault 5ac9d0e8f2
Update Embeds. Fix Profile + Status embeds, remove following count and improve cache invalidation and hidden follower counts 2021-02-09 00:42:12 -07:00
Daniel Supernault 33b625f508
Update ComposeController, add mediaProcessingCheck method 2021-02-05 21:15:13 -07:00
Daniel Supernault 1404ac6e6f
Update Discover, allow public discover access 2021-02-05 21:09:03 -07:00
Daniel Supernault 9fd90e174b
Update StatusDeletePipeline, use StorageMediaService for media deletes 2021-02-05 21:05:58 -07:00
Daniel Supernault ab5469ff70
Update ComposeController, use MediaStorageService for media deletes 2021-02-05 21:04:34 -07:00
Daniel Supernault 37dbb3de29
Update MediaStorageService, dispatch deletes to MediaDeletePipeline 2021-02-05 21:00:29 -07:00
Daniel Supernault 2d11317ceb
Update webfinger util, fail on invalid webfinger url 2021-02-03 20:55:49 -07:00
Daniel Supernault b299da9311
Update AccountService, cache object and observe changes 2021-02-01 00:47:54 -07:00
Daniel Supernault 1fb7e2b2c9
Update AccountController, add mutes and blocks endpoint to pixelfed api 2021-01-31 13:45:22 -07:00
Daniel Supernault b16e9452bc
Update DiscoverController, deprecate unused endpoints 2021-01-30 23:13:54 -07:00
Daniel Supernault 9862a85599
Update InternalApiController, update discoverPosts method to improve performance 2021-01-30 21:39:31 -07:00
Daniel Supernault 1ac60173af
Update AccountLog model, add fillable attribute 2021-01-30 19:56:31 -07:00
Daniel Supernault 090b6d0336
Update SeasonalController 2021-01-30 19:56:10 -07:00
Daniel Supernault 3419379aa8
Update AP helpers, fix statusFetch 404s 2021-01-30 18:41:51 -07:00
Daniel Supernault 240e36ed45
Update AP helpers 2021-01-30 18:14:04 -07:00
Daniel Supernault 3f14a4c412
Update MediaTransformers, add default blurhash attribute 2021-01-30 17:31:07 -07:00
Daniel Supernault 896452c74c
Update VideoThumbnail job, generate blurhash for videos 2021-01-30 17:30:04 -07:00
Daniel Supernault 38a37c15af
Update Blurhash util, add default hash for invalid media 2021-01-30 17:28:35 -07:00
Daniel Supernault 9e0fd36ba7
Update Status tranformers, add version attribute 2021-01-30 16:39:42 -07:00
Daniel Supernault 899bbeba5f
Update StatusHashtagTransformer, add blurhash attribute 2021-01-30 16:38:43 -07:00
Daniel Supernault 3f772ff864
Update StatusDelete pipeline, call StatusService::del() to remove status from cache 2021-01-30 16:37:29 -07:00
Daniel Supernault 069f20ff77
Update LikePipeline, add StatusService del() method 2021-01-30 16:36:58 -07:00
Daniel Supernault 2eea04097a
Update DiscoverController, change api schema 2021-01-30 16:35:52 -07:00
Daniel Supernault 789ed4b498
Update ComposeController, use placeholder image for video media. Fixes #2595 2021-01-30 16:34:44 -07:00
Daniel Supernault eab4370c84
Update Like, Status and Comment controllers to add StatusService del() method to update counts 2021-01-30 16:25:50 -07:00
Daniel Supernault 05b9445c8f
Update ApiV1Controller, add StatusService del calls to update likes_count, reblogs_count and reply_count 2021-01-30 16:15:56 -07:00
Daniel Supernault aa4c718d79
Update StatusHashtagService, remove deprecated methods 2021-01-30 16:09:17 -07:00
Daniel Supernault 0355b567dd
Update StatusHashtagService, use StatusService for statuses 2021-01-30 16:07:12 -07:00
Daniel Supernault 6e44ae0b64
Update StatusService, add ttl of 7 days 2021-01-30 16:05:18 -07:00
Daniel Supernault 4f40f6f5a1
Update RemotAvatarFetch, only dispatch jobs if cloud storage is enabled 2021-01-30 09:47:02 -07:00
Daniel Supernault 6edaf94099
Update AdminController, fix variable name in updateSpam method 2021-01-30 09:36:09 -07:00
Daniel Supernault b7fcf8a504
Update StatusLabelService 2021-01-29 19:46:55 -07:00
Daniel Supernault 23db9de870
Update StatusTransformer, add blurhash 2021-01-29 01:38:40 -07:00
Daniel Supernault fa0df4004c
Update AP Helpers 2021-01-28 21:26:45 -07:00
Daniel Supernault 7d376c64ec
Update SiteController, only allow redirects for logged in users 2021-01-28 21:25:43 -07:00
Daniel Supernault 10b178c8ee
Update SiteController, use url validator in redirect endpoint 2021-01-28 21:23:15 -07:00
Daniel Supernault 4abfe76a49
Update StatusLabelService, change config key 2021-01-28 18:42:15 -07:00
Daniel Supernault abe9cb3db0
Update site config, add labels to config 2021-01-28 18:40:13 -07:00
Daniel Supernault ab888b2e70
Add StatusLabelService 2021-01-27 22:25:14 -07:00
Daniel Supernault de8828e88a
Update AP Helpers, add blurhash and RemoteAvatarFetch 2021-01-25 22:24:24 -07:00
Daniel Supernault cc2d4bf8d8
Update ComposeController, update media version 2021-01-25 22:22:01 -07:00
Daniel Supernault 4c148055cf
Update AvatarPipeline, add remote avatar fetch 2021-01-25 22:03:27 -07:00
Daniel Supernault 94a9f685b5
Update MediaStorageService, add avatar method 2021-01-25 21:54:30 -07:00
Daniel Supernault 654b08d382
Update ActivityPubFetchService, add url validation 2021-01-25 21:44:07 -07:00
Daniel Supernault ea8e426174
Update Profile model, use cdn_url for avatars 2021-01-25 21:39:10 -07:00
Daniel Supernault 9eafc31e6f
Update AvatarObserver, add logic to delete avatars stored in S3 2021-01-25 21:37:44 -07:00
Daniel Supernault f7e72d7c62
Update avatar model 2021-01-25 21:30:37 -07:00
Daniel Supernault 1031311f06
Update RestrictedNames, add additional static assets 2021-01-25 17:48:03 -07:00
Daniel Supernault 77f21b4b33
Update AP helpers, only run MediaStoragePipeline if using cloud storage 2021-01-24 21:13:31 -07:00
Daniel Supernault 258b2729d3
Update MediaTransformer, remove cache busting 2021-01-24 21:11:52 -07:00
Daniel Supernault ce6ab80dba
Update MediaStorageService, clear transformer cache after storing media 2021-01-24 21:07:28 -07:00
Daniel Supernault f930c4bda2
Update StatusDelete pipeline, fix object storage thumbnail deletion 2021-01-24 19:08:55 -07:00
Daniel Supernault 98c44f7bdb
Update VideoThumbnail, add MediaStoragePipeline 2021-01-24 18:58:38 -07:00
Daniel Supernault 889c3d8758
Update AvatarController, remove deprecated thumb_path 2021-01-24 18:22:13 -07:00
Daniel Supernault b2b8c9f99c
Update UserCreate command, closes #2581 2021-01-24 15:43:37 -07:00
Daniel Supernault febe9e1b6d
Add ComposeController 2021-01-24 14:11:58 -07:00
Daniel Supernault 01a1ffd64a
Update AP Helpers, use MediaStoragePipeline 2021-01-24 13:32:20 -07:00
Daniel Supernault be6d12fcb6
Update MediaPipeline, handle cloud object storage 2021-01-24 13:30:31 -07:00
Daniel Supernault 2538673a7b
Update StatusController, unescape slashes in json response 2021-01-24 13:22:10 -07:00
Daniel Supernault 6d078377f1
Update AdminController 2021-01-23 23:12:05 -07:00
Daniel Supernault 2284d85f9c
Update VideoThumbnail job, remove outdated cloud storage logic 2021-01-19 19:42:31 -07:00
Daniel Supernault 4a70e18596
Update Media model, fix url methods 2021-01-19 19:40:41 -07:00
Daniel Supernault f8cbe1e42c
Update MediaTransformers, include meta attribute with focus and dimensions 2021-01-19 19:39:04 -07:00
Daniel Supernault 40bd64aae7
Update Image media util, store dimensions of media not thumbnail 2021-01-19 19:36:05 -07:00
Daniel Supernault cf40526ef9
Update mobile apis, add blurhash 2021-01-18 18:25:03 -07:00
Daniel Supernault 4415af1bf0
Update api controllers, deprecate old endpoints 2021-01-17 23:43:23 -07:00
Daniel Supernault 8132db74e5
Update MediaController, remove deprecated endpoint 2021-01-17 23:37:10 -07:00
Daniel Supernault 57fa889d16
Update Media model, add cdn support to url and thumbnailUrl methods 2021-01-17 22:45:40 -07:00
Daniel Supernault a98b65bf5c
Update DiscoverController 2021-01-17 22:02:27 -07:00
Daniel Supernault 234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 2021-01-17 21:59:34 -07:00
Daniel Supernault 4b1a0fd750
Update StatusDelete job, handle cloud storage media deletes 2021-01-17 21:51:25 -07:00
Daniel Supernault aac4430970
Update MediaPathService, add story method 2021-01-17 21:46:40 -07:00
Daniel Supernault 0cfc12c5dd
Update StatusController, add view method 2021-01-17 21:38:34 -07:00
Daniel Supernault 5e13643246
Update MediaTagController 2021-01-17 21:27:55 -07:00
Daniel Supernault f32072a396
Add Year in Review feature (mysql only) 2021-01-17 19:50:35 -07:00
Daniel Supernault b00e2b0868
Update EmailService 2021-01-17 15:33:56 -07:00
Daniel Supernault 5b0b14fc42
Update StoryItemTransformer, increase story duration from 5 seconds to 10 seconds 2021-01-17 15:27:26 -07:00
Daniel Supernault c91891b457
Update InstanceActor model 2021-01-17 14:03:32 -07:00
Daniel Supernault 3ee1215a4a
Add signed GET for secure mode compatibility 2021-01-17 12:51:07 -07:00
Daniel Supernault e71e525ac9
Update console kernel 2021-01-17 01:47:02 -07:00
Daniel Supernault 21837be99f
Update media:optimize command 2021-01-17 01:45:56 -07:00
Daniel Supernault 844ae6224a
Add InstanceActor generate command 2021-01-17 01:43:57 -07:00
Daniel Supernault 2159eecdbc
Add InstanceActorController 2021-01-17 01:38:01 -07:00
Daniel Supernault aafd023c5a
Add InstanceActor model 2021-01-17 01:36:59 -07:00
Daniel Supernault fa6ecd8df1
Add migration 2021-01-17 01:36:03 -07:00
Daniel Supernault 36a722aa3c
Update InboxValidator 2021-01-14 18:54:13 -07:00
Daniel Supernault 51f8fe5bde
Update ApiV1Controller 2021-01-14 18:51:19 -07:00
Daniel Supernault 56256cb037
Update InboxPipeline, add missing import 2021-01-13 21:45:53 -07:00
Daniel Supernault 4a4d8f0069
Update InboxWorker, fix race condition in account deletes 2021-01-13 21:38:22 -07:00
Daniel Supernault 74ba326adb
Update DiscoverController, limit trending api to local posts 2021-01-12 22:04:25 -07:00
Daniel Supernault d8d3331f3f
Update DiscoverController, improve trending api performance 2021-01-12 21:52:07 -07:00
Daniel Supernault c0076ab035
Add snowflake id service 2021-01-12 21:50:45 -07:00
Daniel Supernault a443694dc0
Update PublicApiController 2021-01-11 18:47:16 -07:00
Daniel Supernault b2fe219eec
Update DiscoverController, add albums and video to discover trending api 2021-01-11 00:31:21 -07:00
Daniel Supernault 96afc3e781
Update Controllers, add last_active_at logic 2021-01-09 02:41:17 -07:00
Daniel Supernault cc3053ed5d
Update api controllers 2021-01-09 00:21:29 -07:00
Daniel Supernault d6907f9ce4
Add StatusArchived model + migration 2021-01-09 00:05:21 -07:00
Daniel Supernault 2d540919cb
Update AP Helpers 2021-01-07 20:52:50 -07:00
Daniel Supernault 4f3107ca23
Update AP helpers 2021-01-07 14:11:09 -07:00
Daniel Supernault 2bac25ebcd
Update InboxPipeline, increase timeout length 2021-01-07 14:04:12 -07:00
Daniel Supernault d5cd2ad4cb
Update InboxPipeline, increase timeout length 2021-01-07 14:00:37 -07:00
Daniel Supernault 1f672ecfb8
Update Helpers, cache profiles 2021-01-07 00:25:45 -07:00
Daniel Supernault a52564f31d
Update AP helpers, fix federation bug 2021-01-06 20:34:55 -07:00
Daniel Supernault 7dc3739c1d
Update StatusController, fix scope bug 2021-01-03 22:06:05 -07:00
Daniel Supernault b9b84e6fa4
Update Follower model, increase hourly limit from 30 to 150 2020-12-27 18:15:10 -07:00
Daniel Supernault f70826e18c
Update status model, use scope over deprecated visibility attribute 2020-12-27 18:00:43 -07:00
Daniel Supernault 0fbde91e87
Update StatusService, cast response to array 2020-12-27 17:54:55 -07:00
Daniel Supernault 6dcd472be6
Update Profile, fix status count 2020-12-27 14:45:31 -07:00
Daniel Supernault b74e14c4e5
Update SiteController 2020-12-26 20:28:12 -07:00
Daniel Supernault 799a4cba12
Update LikeController, store status_profile_id and is_comment attributes 2020-12-26 20:18:48 -07:00
Daniel Supernault 7a68ee948a
Add StatusView model to store views for discover algorithm 2020-12-26 20:16:35 -07:00
Daniel Supernault 888ea7f07e
Update ap inbox 2020-12-18 02:58:00 -07:00
Daniel Supernault 941da5d589
Update admin dashboard 2020-12-18 00:52:49 -07:00
Daniel Supernault 3244ca92ff
Update StatusController 2020-12-17 23:12:27 -07:00
Daniel Supernault 5ac1746aff
Update bouncer 2020-12-17 17:47:56 -07:00
Daniel Supernault 5fffe1d0dd
Update AvatarController 2020-12-17 13:14:38 -07:00
Daniel Supernault 7d818197bb
Update antispam bouncer, change recent from 1 week to 3 months 2020-12-15 01:03:19 -07:00
Daniel Supernault be3ad6b15f
Update Avatar Migration command, use jpeg default 2020-12-14 23:57:28 -07:00
Daniel Supernault f6528c8470
Update avatars, use jpeg default 2020-12-14 23:54:22 -07:00
Daniel Supernault cd2661fc0b
Update 2FA setup, fix qrcode handler 2020-12-14 22:30:44 -07:00
Daniel Supernault 63eceb8236
Update delete handler 2020-12-14 02:58:07 -07:00