Commit Graph

2269 Commits

Author SHA1 Message Date
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
Daniel Supernault 241ae0368f
Add hashtag timeline to v1 api 2021-05-18 19:46:26 -06:00
Daniel Supernault dac326e949
Update StatusTransformer, fix missing tags attribute 2021-05-18 19:39:33 -06:00
Daniel Supernault 955696b8a0
Update site config, fix boolean casting 2021-05-18 17:53:59 -06:00
Daniel Supernault c9abd70e8a
Update LikeService, fix authentication bug 2021-05-14 17:15:08 -06:00
Daniel Supernault a4efbb75d8
Update admin settings, add rules 2021-05-13 23:45:36 -06:00
Daniel Supernault 4408e2ef8c
Update LikeService, show like count to status owner 2021-05-12 22:18:00 -06:00
Daniel Supernault f47161fcd9
Update StatusDeletePipeline 2021-05-12 22:16:35 -06:00
Daniel Supernault 68a21de57c
Update admin settings 2021-05-11 23:47:29 -06:00
Daniel Supernault 868cea96ca
Update AuthServiceProvider 2021-05-11 23:45:01 -06:00
Daniel Supernault d2cb7d4770
Update ConfigCacheService, fix db issue 2021-05-11 23:33:08 -06:00
Daniel Supernault fabb57a9d5
Add profile pronouns 2021-05-11 23:25:10 -06:00
Daniel Supernault 8a73643277
Update PublicApiController, increase public timeline to 6 months from 3 2021-05-11 22:12:10 -06:00
Daniel Supernault f2066b7401
Add admin config settings 2021-05-11 22:07:55 -06:00
Daniel Supernault 7895097fc1
Update config() to config_cache() 2021-05-11 20:14:51 -06:00
Daniel Supernault 3a9203e039
Update config() to config_cache() 2021-05-11 20:03:29 -06:00
Daniel Supernault f4fc8347c9
Update config() to config_cache() 2021-05-11 19:59:24 -06:00
Daniel Supernault 7873b7ecc5
Update config() to config_cache() 2021-05-11 19:08:08 -06:00
Daniel Supernault c65d03788b
Update config() to config_cache() 2021-05-11 19:07:03 -06:00
Daniel Supernault 1c2baa8f2c
Update config() to config_cache() 2021-05-11 18:30:32 -06:00
Daniel Supernault 3e52458889
Update config() to config_cache() 2021-05-11 18:26:52 -06:00
Daniel Supernault 53134208fe
Update config() to config_cache() 2021-05-11 18:17:03 -06:00
Daniel Supernault 27b722e7a7
Update config() to config_cache() 2021-05-10 23:23:09 -06:00
Daniel Supernault c0e693cc73
Update config() to config_cache() 2021-05-10 21:11:43 -06:00
Daniel Supernault a9f009305c
Update config() to config_cache() 2021-05-10 21:04:23 -06:00
Daniel Supernault 1d54204635
Update config() to config_cache() 2021-05-10 20:04:13 -06:00
Daniel Supernault 35b92fd7c9
Update admin settings 2021-05-07 22:19:58 -06:00
Daniel Supernault 61254b907f
Update site name config 2021-05-07 21:47:51 -06:00
Daniel Supernault c6848e99a4
Add helpers 2021-05-07 21:37:10 -06:00
Daniel Supernault 3136f8e137
Add ConfigCacheService 2021-05-07 21:34:58 -06:00
Daniel Supernault ba37a54a20
Add ConfigCache model and migration 2021-05-07 21:32:59 -06:00
Daniel Supernault a5e64da69b
Update LikeService, fix likedBy method 2021-05-03 17:55:06 -06:00
Daniel Supernault 372bacb01b
Update StatusTransformers, add liked_by attribute 2021-05-01 16:06:39 -06:00
Daniel Supernault ea68724054
Update LikeController, hide like counts 2021-05-01 16:01:32 -06:00
Daniel Supernault 477db75896
Add LikeService 2021-05-01 15:51:02 -06:00
Daniel Supernault 391b1287ac
Update ProfileService, use account transformer 2021-05-01 13:35:47 -06:00
Daniel Supernault 9cf962fff5
Update Settings, remove reports page 2021-05-01 12:40:32 -06:00
Daniel Supernault c799a01aa9
Update StatusController, allow license edits without 24 hour limit 2021-04-30 21:41:42 -06:00
Daniel Supernault e8e249ce31
Update story garbage collection 2021-04-30 19:59:56 -06:00
Daniel Supernault e66ed9a222
Update StoryController, optimize photo size by resizing to 9:16 aspect 2021-04-30 00:19:45 -06:00
Daniel Supernault c2f8faaeee
Update StoryController, fix cache crop bug 2021-04-30 00:10:50 -06:00
Daniel Supernault ae46bad70a
Update StoryController 2021-04-29 23:58:06 -06:00
Daniel Supernault 40f9aa6055
Update import job 2021-04-29 23:52:59 -06:00
daniel f25452ea1a
Merge pull request #2642 from stelzch/dev
Create directory in InstagramImport
2021-04-29 23:52:09 -06:00
daniel bd27ecb68e
Merge pull request #2732 from Wv5twkFEKh54vo4tta9yu7dHa3/staging
Use same json error format as Mastodon
2021-04-29 23:43:42 -06:00
Daniel Supernault 22dddaa044
Update Helpers, fix broken tests 2021-04-29 23:39:38 -06:00
Daniel Supernault 668e936eb5
Update instance endpoint, add custom description 2021-04-28 19:26:12 -06:00
Daniel Supernault c8edca696b
Update Stories, add crop and duration settings to composer 2021-04-27 20:15:31 -06:00
Daniel Supernault c43f8bcce8
Update story garbage collection, handle non active stories and new ephemeral story media directory 2021-04-27 20:02:33 -06:00
Daniel Supernault 64b86546b9
Update ApiV1Controller, add missing instance api attributes 2021-04-22 22:46:05 -06:00
Daniel Supernault 66b4f8c773
Update AP Helpers, use instance filtering 2021-04-20 23:18:07 -06:00
Daniel Supernault c20a9dfefe
Add InstanceService 2021-04-20 23:11:43 -06:00
Daniel Supernault 35393edfef
Update AdminInstanceController, invalidate banned domain cache when updated 2021-04-20 22:31:11 -06:00
Daniel Supernault e73b2f8373
Update ap helpers 2021-04-20 22:29:52 -06:00
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