1
0
Fork 0
Commit Graph

18 Commits

Author SHA1 Message Date
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
Daniel Supernault 76dd453ea0
Update instance config 2020-05-23 23:08:09 -06:00
Shlee 438138b55c
Update instance.php 2020-02-13 17:51:53 +08:00
Daniel Supernault 3be32597d3
Update instance config, cleanup and add restricted mode 2020-01-27 20:55:11 -07:00
Daniel Supernault 6cdd64c669
Add BANNED_USERNAMES env var support to RestrictedNames 2020-01-16 23:07:58 -07:00
Daniel Supernault 1960e8d6b4
Update instance config, add stories 2019-12-31 16:16:02 -07:00
Daniel Supernault b32cf31cdd
Update site config service 2019-12-17 20:56:09 -07:00
Daniel Supernault 6d40876ae8
Update Site Config 2019-11-02 21:12:44 -06:00
Daniel Supernault 97ff17f71f
Update config 2019-09-05 22:06:23 -06:00
Daniel Supernault dbfcff840a
Update 503 and 404 view, allow custom text 2019-07-27 00:11:16 -06:00
Daniel Supernault 223ee74c80
Update 503 view, allow custom text 2019-07-27 00:05:41 -06:00
Daniel Supernault 281d9ac7e3
Update instance config 2019-07-16 20:13:14 -06:00
Daniel Supernault b5c017a2ba
Update instance config, preserve backwards compatible defaults 2019-07-10 13:13:35 -06:00
Daniel Supernault f90cf7f6f7
Update instance config, add optional public hashtags 2019-07-07 23:23:01 -06:00
Daniel Supernault f86fc83cbd
Update PublicApiController, fix bug that does not show private posts in home timeline 2019-07-07 20:24:10 -06:00
Daniel Supernault 76962abb4c
Update instance config 2019-06-27 00:50:01 -06:00
Daniel Supernault 157a03f13d
Update instance config 2019-06-18 14:16:01 -06:00
Daniel Supernault c402f75113
Add new instance config 2019-06-04 21:47:48 -06:00