Commit graph

1759 commits

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