Commit graph

1779 commits

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