Commit graph

1861 commits

Author SHA1 Message Date
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