Commit graph

2652 commits

Author SHA1 Message Date
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
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
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
Daniel Supernault
df9c3adff6
Update Timeline, remove simple mode and set labs deprecation date 2020-12-14 00:49:45 -07:00
Daniel Supernault
9fc5a80cd3
Update PublicApiController, add state endpoint 2020-12-13 22:51:44 -07:00
Daniel Supernault
a5019b8907
Update StatusController 2020-12-13 17:30:50 -07:00
Daniel Supernault
881fa86573
Update NotificationTransformer, handle tagged deletes 2020-12-13 17:28:33 -07:00
Daniel Supernault
1ea2db74b2
Update StatusService, fix json bug 2020-12-13 16:08:59 -07:00
Daniel Supernault
3a428366fb
Update NotificationTransformer, add missing types 2020-12-13 16:03:44 -07:00
Daniel Supernault
d06bec9cd9
Update Profile, fix follower counter bug 2020-12-13 15:44:48 -07:00
Daniel Supernault
8aa5d42d8b
Update laravel framework to v8 2020-12-13 14:15:30 -07:00
Daniel Supernault
dab051ecb9
Update console kernel 2020-12-13 11:40:28 -07:00
Daniel Supernault
1325ce2cef
Update PublicApiController, use stateless transformer 2020-12-12 23:47:59 -07:00
Daniel Supernault
d0d4680709
Update StatusStatelessController, remove unused attributes 2020-12-12 23:40:22 -07:00
Daniel Supernault
082c1ccb26
Add hCaptcha 2020-12-12 21:04:59 -07:00
Daniel Supernault
4a14e970f0
Update Profile model, improve counter caching 2020-12-10 22:58:13 -07:00
Daniel Supernault
c67f0c5784
Update AccountInterstitialController, add autospam type 2020-12-10 22:11:02 -07:00
Daniel Supernault
b892bcf0e8
Add autospam feature 2020-12-10 21:58:56 -07:00
Daniel Supernault
048642bead
Update Collections, add custom limit 2020-12-10 01:02:56 -07:00
Daniel Supernault
76353ca997
Update BaseApiController, add favourites method 2020-12-09 22:23:51 -07:00
Daniel Supernault
1b2fd665bf
Update compiled assets 2020-12-09 22:22:56 -07:00
Daniel Supernault
c95085ca31
Update AdminController, add appeals support 2020-12-09 22:08:32 -07:00
Daniel Supernault
19d6e7df65
Update middleware, add AccountInterstitial support 2020-12-09 21:59:16 -07:00
Daniel Supernault
003caf7e8a
Update StatusController, add interstitial logic 2020-12-09 21:43:09 -07:00
Daniel Supernault
342e7a50c9
Update PublicApiController, improve stateless object caching 2020-12-09 21:40:24 -07:00
Daniel Supernault
20681bcf14
Update InternalApiController, add interstitial logic 2020-12-09 21:36:32 -07:00
Daniel Supernault
0718711d09
Update ApiController, return status object after deletion 2020-12-09 21:34:43 -07:00
Daniel Supernault
b3078f274f
Update DeleteAccountPipeline, add AccountInterstitial and DirectMessage purging 2020-12-05 00:20:45 -07:00
Daniel Supernault
473e049528
Update media pipeline, add blurhash support 2020-12-05 00:18:34 -07:00
Daniel Supernault
9404a36c66
Add Blurhash util 2020-12-05 00:17:45 -07:00
Daniel Supernault
fad102bf80
Add Blurhash encoder 2020-12-05 00:16:27 -07:00
Daniel Supernault
4d22426da2
Update StatusStatelessTransformer, add missing attributes 2020-12-05 00:14:29 -07:00
Daniel Supernault
bd321a72f0
Update User model, add interstitial relation 2020-12-05 00:13:24 -07:00
Daniel Supernault
327ef1384b
Update Status model, fix thumb nsfw caching 2020-12-05 00:12:08 -07:00
Daniel Supernault
8766ccfe4f
Add AccountInterstitial model and controller 2020-12-05 00:08:05 -07:00
Daniel Supernault
0a5a0e8616
Add federated photo filters 2020-11-27 19:52:40 -07:00
Daniel Supernault
9d1499eeb9
Update Place model, add name method 2020-11-27 14:22:05 -07:00
Hervé Yvis
37cddf740c
Update FixUsernames.php
Should allow to fix registered usernames that are are restricted, even if they are in a different case.

Examples : "ADmiN" , "Logout", "Help", "FollowMe"
2020-11-26 18:30:40 +01:00
Daniel Supernault
78a8798ace
Update RegisterController, fixes #2436 2020-11-26 02:15:03 -07:00
Daniel Supernault
4fbada5586
Update InboxPipeline 2020-11-26 01:22:53 -07:00
Daniel Supernault
e2e32682fd
Update DirectMessageController, add sharedInbox support 2020-11-26 00:56:44 -07:00
Daniel Supernault
bfe2341575
Update AP Helpers 2020-11-26 00:50:46 -07:00
Daniel Supernault
4733ca9fb9
Add shared inbox 2020-11-26 00:39:01 -07:00
Daniel Supernault
2ab2c9a974
Update DiscoverController, fix trending api 2020-11-25 17:59:13 -07:00
Daniel Supernault
81f23ee970
Update DirectMessage model 2020-11-25 10:41:44 -07:00
Daniel Supernault
ef184a2cb4
Update AuthLogin listener 2020-11-25 10:11:50 -07:00
Daniel Supernault
8e8e6cafec
Update AuthLogin listener 2020-11-25 10:10:16 -07:00
Daniel Supernault
1b41d66446
Update EmailService, make case insensitive 2020-11-21 20:47:13 -07:00
Daniel Supernault
7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 2020-11-21 20:24:36 -07:00
daniel
93a76b3c05
Merge pull request #2400 from delthas/feature-tokens-days
Add support for configurable OAuth tokens and refresh tokens lifetime
2020-11-21 20:22:35 -07:00
daniel
45458bd542
Merge pull request #2398 from delthas/feature-password-length
Make the minimum user password length configurable
2020-11-21 20:10:34 -07:00
Daniel Supernault
f8dc33cc81
Update InternalApiController 2020-11-21 19:56:25 -07:00
Daniel Supernault
e08f646008
Update DiscoverController 2020-11-21 18:58:08 -07:00
Daniel Supernault
f1c28e7d0c
Update DirectMessageController, fix pgsql bug 2020-11-21 18:33:22 -07:00
Daniel Supernault
9d07071ee0
Update DirectMessageController 2020-11-18 23:12:49 -07:00
Daniel Supernault
f796cc7c11
Update DirectMessageController 2020-11-18 23:07:00 -07:00
Daniel Supernault
72a1a1ea19
Update AP Inbox, fix url parser 2020-11-18 19:54:09 -07:00
Daniel Supernault
4b90b1e0df
Update DirectMessageController 2020-11-18 19:51:08 -07:00
Daniel Supernault
fa8fbb7e86
Update Status model 2020-11-18 19:19:07 -07:00
Daniel Supernault
f15b8f8f5a
Update AP Inbox 2020-11-18 19:13:34 -07:00
Daniel Supernault
86765001e6
Update AP Inbox 2020-11-18 19:08:21 -07:00
Daniel Supernault
11a616b67d
Update AP Inbox 2020-11-18 15:29:54 -07:00
Daniel Supernault
8444d2dc50
Update AP Inbox 2020-11-18 15:23:11 -07:00
Daniel Supernault
20749d7c3c
Update AP Inbox 2020-11-18 15:05:34 -07:00
Daniel Supernault
1bbd613621
Update Inbox, add namespaces 2020-11-18 14:52:44 -07:00
Daniel Supernault
d63569c120
Add Direct Messages 2020-11-18 14:19:02 -07:00
delthas
748a3be46d Add support for configurable OAuth tokens and refresh tokens lifetime
Previously, the lifetime of tokens and refresh tokens was hardcoded at
15 and 30 days.

Some instances administrators may wish to change these values.

This makes these two values configurable with the two .env variables:
OAUTH_TOKEN_DAYS and OAUTH_REFRESH_DAYS which are the lifetime in days
for these two tokens and refresh tokens.
2020-08-31 23:16:42 +02:00
delthas
09479c02ca Make the minimum user password length configurable
Previously, all passwords had to be at least 12 characters long.

Some users use a slightly shorter password, so some instances could wish
to reduce the password length limit to a slightly lesser value.

This makes the minimum password length configurable in the .env file,
with the MIN_PASSWORD_LENGTH variable, that defaults to 12 to keep the
previous behaviour by default.
2020-08-31 23:01:01 +02:00
Daniel Supernault
de1cca4feb
Add password change email notification 2020-08-24 23:36:12 -06:00
Daniel Supernault
c4506ebd71
Update NotificationTransformer, fixes #2389 2020-08-24 18:53:37 -06:00
Daniel Supernault
27f3b29cf8
Update email confirmation middleware, add 2FA to allow list. Fixes #2385 2020-08-15 23:37:10 -06:00
Daniel Supernault
8d923d7767
Update SearchController, update version 2020-08-15 23:15:52 -06:00
Daniel Supernault
8e7f4f9d88
Update DiscoverController, fixes #2378 2020-08-13 18:52:20 -06:00
Daniel Supernault
c251d41b2e
Update Discover, add trending hashtags, places and posts 2020-08-13 18:05:36 -06:00
Daniel Supernault
d11fac0dfb
Update status embed, allow photo albums. Fixes #2374 2020-08-10 23:33:50 -06:00
Daniel Supernault
3b7ff030f2
Update RegisterController 2020-08-06 21:32:02 -06:00
Daniel Supernault
e5aa506c5a
Update Hashtag.vue, add nsfw toggle. Fixes #2225 2020-08-05 01:50:34 -06:00
Daniel Supernault
597378bfb4
Update upload endpoints with MediaBlocklist checks 2020-07-26 22:17:00 -06:00
Daniel Supernault
5d0a24a779
Add MediaBlocklistService 2020-07-26 22:14:57 -06:00
daniel
8ffad2b615
Merge pull request #2348 from dx7/2FA-page-issues
2FA verification page issues
2020-07-26 22:11:36 -06:00
Daniel Supernault
ce498e9b67
Update Nickname lexer 2020-07-26 22:09:11 -06:00
Daniel Supernault
ba1f7e7e2c
Add MediaBlocklist feature 2020-07-26 22:05:52 -06:00
Daniel Supernault
c2d194af1d
Update webfinger util, fix bug preventing username with dots 2020-07-26 20:09:45 -06:00
dx7
f3dba54179
Fix logout link on 2FA verification page 2020-07-26 01:34:35 -03:00
Daniel Supernault
c945263994
Update Tag People, allow untagging yourself 2020-07-24 19:49:49 -06:00
daniel
c6539bed90
Merge pull request #2316 from dx7/improve-username-email-validation
Improve error messages for username and email restricted on register page
2020-07-21 19:23:50 -06:00
daniel
58be61099e
Merge pull request #2315 from dx7/use-global-locale-for-session
Set session locale fallback using global locale config
2020-07-21 19:22:28 -06:00
Daniel Supernault
f33061642a
Update comments, fix remote reply bug 2020-07-21 19:14:48 -06:00
Strubbl
8aa97dec0c
Update HashidService.php
fix php 7.4 requirement, which causes the error `ERROR: Array and string offset access syntax with curly braces is deprecated {"userId":1,"exception":"[object] (ErrorException(code: 0): Array and string offset access syntax with curly braces is deprecated at /var/www/ap
p/Services/HashidService.php:24)`
2020-07-20 23:22:16 +02:00
Daniel Supernault
692d3c8d1b
Update AP Helpers 2020-07-20 08:39:48 -06:00
Daniel Supernault
6e507a553a
Update StatusTransformer, add tagged and shortcode fields 2020-07-20 08:34:51 -06:00
Daniel Supernault
f34977d9a8
Update StatusController, add shortcodeRedirect method 2020-07-20 08:32:16 -06:00
Daniel Supernault
a327f5c167
Add HashidService 2020-07-18 17:53:40 -06:00
Daniel Supernault
49dab6fb5a
Update NotificationTransformer, add modlog and tagged types 2020-07-15 10:37:37 -06:00
Daniel Supernault
ee93f4598c
Update InternalApiController, add media tags 2020-07-14 17:29:29 -06:00
Daniel Supernault
b3b220b9b3
Update StoryController, allow video stories 2020-07-14 17:15:18 -06:00
Daniel Supernault
af87bf5038
Update APFetchService 2020-07-14 17:12:37 -06:00
Daniel Supernault
524c6d4558
Add MediaTagService 2020-07-14 17:08:47 -06:00
Daniel Supernault
711fc020e7
Add Media Tags 2020-07-14 17:04:51 -06:00
Daniel Supernault
588642123e
Update Api controllers, use MediaPathService 2020-07-12 21:27:34 -06:00
Daniel Supernault
c54b29c559
Added MediaPathService 2020-07-12 21:25:11 -06:00
Daniel Supernault
2c440b4882
Update AccountController, prevent blocking admins 2020-07-12 21:12:39 -06:00
dx7
913bf77ba4
Improve email validation error for restricted emails 2020-07-09 21:19:57 -03:00
dx7
693f530326
Improve username validation error for restricted names 2020-07-09 21:19:26 -03:00
dx7
f81c642087
set session locale fallback using global config 2020-07-09 21:01:42 -03:00
Daniel Supernault
725fc6c62b
Update StoryController, fix deprecated getClientSize() use 2020-06-24 20:23:03 -06:00
Daniel Supernault
00a96a15f0
Update ApiV1Controller, wrap ancestor in array 2020-06-18 21:08:13 -06:00
Daniel Supernault
a0bde855bd
Update ApiV1Controller, add status ancestor and descendant context 2020-06-18 21:03:35 -06:00
Daniel Supernault
4bee8397e0
Update AP Helpers, update bio + name 2020-06-13 00:21:41 -06:00
Daniel Supernault
5c44354880
Update AP Inbox, remove trailing comma 2020-06-13 00:18:52 -06:00
Daniel Supernault
b7ee9981eb
Update ApiV1Controller, fix instance endpoint #2233 2020-06-12 23:16:11 -06:00
Daniel Supernault
6300789115
Update Api Transformers, fixes #2234 2020-06-12 23:12:15 -06:00
Daniel Supernault
344b0c94cd
Update cors dep 2020-06-11 18:39:03 -06:00
Daniel Supernault
6e0cb9dca8
Update Entity Extractor, fix broken tests 2020-05-30 20:13:28 -06:00
Daniel Supernault
11e28adab0
Update laravel to v7.0 2020-05-29 01:01:32 -06:00
Daniel Supernault
f10ed49586
Update Entity Extractor 2020-05-28 23:26:22 -06:00
Daniel Supernault
144678fc9c
Update IG Import, remove hardcoded media size limit 2020-05-27 17:09:41 -06:00
Daniel Supernault
ffccf0fd41
Update SettingsController, add 404 to import when disabled 2020-05-25 21:33:00 -06:00
Daniel Supernault
ef07d17423
Update InstagramImport trait 2020-05-25 21:31:35 -06:00
Daniel Supernault
3b7e9e07e1
Update ImportController 2020-05-25 21:30:18 -06:00
Daniel Supernault
776cd4398b
Update ImportInstagram pipeline 2020-05-25 21:27:31 -06:00
Daniel Supernault
8efe14cc4b
Update PublicApiController, order accountStatuses by id 2020-05-25 20:40:41 -06:00
Daniel Supernault
6e8e9a2d5e
Update ProfileController, remove actor object caching 2020-05-24 21:59:09 -06:00
Daniel Supernault
7680e771a7
Update ProfileController, reduce actor object ttl from 6 hours to 15 minutes 2020-05-24 21:32:11 -06:00
Daniel Supernault
b8819fbbfe
Update AP Inbox, add follow notifications 2020-05-24 03:21:40 -06:00
Daniel Supernault
6074c56838
Update AccountController 2020-05-24 02:04:53 -06:00
Daniel Supernault
f12bfb1435
Update RestrictedNames 2020-05-23 23:06:14 -06:00
Daniel Supernault
c4ebe9dca9
Update PublicApiController 2020-05-23 23:04:28 -06:00
Daniel Supernault
90b89cb809
Update MomentUI 2020-05-23 01:38:23 -06:00
Daniel Supernault
33c0db3a9a
Update FederationController, fix typo 2020-05-22 17:03:33 -06:00
Daniel Supernault
6476855519
Update jobs, add retry and timeout attributes 2020-05-22 15:53:59 -06:00
Daniel Supernault
0309f8a4e1
Update FederationController, remove old code 2020-05-22 15:52:49 -06:00
Daniel Supernault
29ce725c70
Update FederationController, dispatch inbox jobs now on high queue 2020-05-21 21:02:16 -06:00
Daniel Supernault
2ab58fb723
Update InboxValidator, oof 2020-05-21 20:58:31 -06:00
Daniel Supernault
011e2c964c
Update InboxValidator 2020-05-21 20:44:13 -06:00
Daniel Supernault
938e721e91
Update InboxValidator 2020-05-21 20:29:51 -06:00
Daniel Supernault
3ec5102c24
Update FederationController, move signature validation to InboxValidator job 2020-05-21 19:49:30 -06:00
Daniel Supernault
ba327ca8d6
Update api routes, remove throttle middleware from inbox endpoint 2020-05-21 18:00:14 -06:00
Daniel Supernault
310b0e58a1
Update Inbox worker 2020-05-21 17:48:05 -06:00
Daniel Supernault
f059d2fdd1
Update Inbox worker 2020-05-21 17:45:31 -06:00
Daniel Supernault
fee25d44e0
Update Inbox handler, remove logger 2020-05-21 16:45:51 -06:00
Daniel Supernault
18f32e7bcf
Update AP helpers 2020-05-21 11:52:18 -06:00
Daniel Supernault
c74cd0bdf0
Add missing bookmark api endpoints 2020-05-19 14:55:26 -06:00
Daniel Supernault
cfaa248c72
Update SiteController, add legacy profile/webfinger redirect 2020-05-15 23:32:54 -06:00
Daniel Supernault
99cb48c55e
Update v1 API, add bookmarks 2020-05-15 22:55:01 -06:00
Daniel Supernault
a0c0c84d3d
Update SearchApiV2Service, fix offset bug fixes #2116 2020-05-15 21:05:41 -06:00
Daniel Supernault
aa49afc755
Update ApiV1Controller, fix broken auth check on public timelines. Fixes #2168 2020-05-15 20:41:12 -06:00
Daniel Supernault
302ff874cb
Update webfinger logic, fixes #2180 2020-05-15 16:10:42 -06:00
Daniel Supernault
a87cc2dcaa
Update Discover 2020-04-30 23:29:53 -06:00
Daniel Supernault
f3ed2462a7
Update Inbox, add more validators 2020-04-29 20:52:48 -06:00
Daniel Supernault
6dbbe14cb8
Update AP Like validator 2020-04-29 20:46:48 -06:00
Daniel Supernault
8f2457bbc8
Update Inbox, only log new activities 2020-04-29 20:28:30 -06:00
Daniel Supernault
802dd326ce
Update AP tests 2020-04-29 20:27:36 -06:00
Daniel Supernault
c39be2464e
Update Inbox 2020-04-29 16:14:34 -06:00
Daniel Supernault
f829df23a0
Update Inbox 2020-04-29 15:56:21 -06:00
Daniel Supernault
d0fefe242b
Update Inbox handler 2020-04-29 15:35:48 -06:00
Daniel Supernault
3063eb249a
Update AP logger 2020-04-29 15:29:10 -06:00
Daniel Supernault
28cbadf197
Update AP Helper 2020-04-29 13:47:03 -06:00
Daniel Supernault
155e960f54
Update AP helpers, update user agent 2020-04-29 13:31:47 -06:00
Daniel Supernault
ef575ed483
Update Activity model, add fillable attribute 2020-04-29 13:29:45 -06:00
Daniel Supernault
eed00998be
Update AP Inbox, log activities 2020-04-29 13:27:05 -06:00
Daniel Supernault
9661b7788c
Update AP helpers, remove tombstone support until race condition fixed 2020-04-29 12:55:08 -06:00
Daniel Supernault
f67fada273
Update SearchController, fix self search bug and rank local matches first 2020-04-28 02:42:21 -06:00
Daniel Supernault
285bd4854b
Update ApiV1Controller, enforce public timeline setting 2020-04-28 00:12:49 -06:00
Daniel Supernault
1dc65e933e
Update StatusController, fix reblog_count bug 2020-04-27 00:14:50 -06:00
Daniel Supernault
8763bfc5c4
Add ActivityPubFetchService for signed GET requests 2020-04-26 23:43:54 -06:00
Daniel Supernault
924e424cd2
Update StoryItemTransformer, increase story length to 5 seconds 2020-04-26 23:33:37 -06:00
Daniel Supernault
38b0233e96
Update AccountTransformer, add last_fetched_at attribute 2020-04-26 23:29:24 -06:00
Daniel Supernault
fcab5010d6
Add UIKit model, migration and controller 2020-04-26 23:28:24 -06:00
Daniel Supernault
591a192928
Update UserInvite model, add sender relation 2020-04-26 23:25:35 -06:00
Daniel Supernault
483548e217
Update AccountController, add followRequestJson method 2020-04-26 23:20:27 -06:00
Daniel Supernault
996866cbac
Update LikeController, fix likes_count bug 2020-04-26 23:13:39 -06:00
Daniel Supernault
6969bb5bb4
Update Profile model, cast timestamp for last_fetched_at 2020-04-26 02:07:17 -06:00
Daniel Supernault
c7ccb26ffc
Update ModLog model, add fillable attribute 2020-04-26 02:06:48 -06:00
Daniel Supernault
b1d5eb0556
Update Timeline component, fix mod tools 2020-04-24 13:53:47 -06:00
Daniel Supernault
9b37c439f7
Update InternalApiController, update modAction method 2020-04-24 13:10:48 -06:00
Daniel Supernault
9e533c7e87
Update SearchController 2020-04-21 23:42:52 -06:00
Daniel Supernault
0f943f672c
Update FixUsernames command, fixes remote username search 2020-04-21 23:13:38 -06:00
Daniel Supernault
c2a51c91a6
Update AP Helper 2020-04-21 23:01:04 -06:00
Daniel Supernault
08383dd43d
Update PublicApiControllers, fix block/mutes filtering on public timeline 2020-04-21 19:45:42 -06:00
Daniel Supernault
7ef9056537
Update RemotePost component, fix missing like button on comments 2020-04-20 22:41:02 -06:00
Daniel Supernault
6afc61a409
Add custom content warnings for remote posts 2020-04-20 22:24:27 -06:00
Daniel Supernault
84e203a925
Add new landing page 2020-04-17 16:34:19 -06:00
Daniel Supernault
d918a68e8b
Update InternalApiController, limit remote profile ui to remote profiles 2020-04-16 20:18:32 -06:00
Daniel Supernault
eefa6e0dfd
Update StatusTransformer, fixes #2113 2020-04-16 15:18:31 -06:00
Daniel Supernault
324ccd0ab8
Update ApiV1Controller, fixes #2112 2020-04-16 15:07:46 -06:00
Daniel Supernault
599ab152a7
Update PublicApiController, remove trailing comma 2020-04-13 22:15:23 -06:00
Daniel Supernault
c84cee5ae0
Update ActivityPub Outbox, fixes #2100 2020-04-11 22:12:28 -06:00
Daniel Supernault
f5e4e468a2
Update AccountTransformer 2020-04-11 21:12:12 -06:00
Daniel Supernault
0540a28ad1
Update oauth api, allow multiple redirect_uris. Fixes #2106 2020-04-11 20:14:50 -06:00
Daniel Supernault
6ed00c9413
Update mastoapi StatusTransformer, fix in_reply_to_id cast to string instead of int 2020-04-11 19:43:25 -06:00
Daniel Supernault
2a3fd8771d
Update StoryGC command 2020-04-10 21:23:48 -06:00
Daniel Supernault
95bce31e62
Add remote posts and profiles 2020-04-08 21:34:31 -06:00
Daniel Supernault
0eae9f8b78
Update Profile model, use change_count for version 2020-03-30 19:34:27 -06:00
Daniel Supernault
e6190b896b
Update internal apis 2020-03-24 23:00:02 -06:00
Daniel Supernault
869b4ff727
Update SearchController, add WebfingerService support 2020-03-24 22:54:19 -06:00
Daniel Supernault
b5899648c5
Update SharePipeline, fix item relation bug 2020-03-20 23:22:10 -06:00
Daniel Supernault
3a828522dd
Update LikeController 2020-03-20 21:17:14 -06:00
Daniel Supernault
01525cba4c
Update ApiV1Controller, fix unfavourite bug #2088 2020-03-20 21:16:31 -06:00
Daniel Supernault
cdb6385298
Update v1 Api StatusTransformer 2020-03-19 21:22:02 -06:00