Commit Graph

18 Commits (7dc3739c1d6c0cc0b6f2a9355fb7f082a0173ede)

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.
5 years ago
Daniel Supernault 76dd453ea0
Update instance config 5 years ago
Shlee 438138b55c
Update instance.php 5 years ago
Daniel Supernault 3be32597d3
Update instance config, cleanup and add restricted mode 5 years ago
Daniel Supernault 6cdd64c669
Add BANNED_USERNAMES env var support to RestrictedNames 5 years ago
Daniel Supernault 1960e8d6b4
Update instance config, add stories 5 years ago
Daniel Supernault b32cf31cdd
Update site config service 5 years ago
Daniel Supernault 6d40876ae8
Update Site Config 5 years ago
Daniel Supernault 97ff17f71f
Update config 6 years ago
Daniel Supernault dbfcff840a
Update 503 and 404 view, allow custom text 6 years ago
Daniel Supernault 223ee74c80
Update 503 view, allow custom text 6 years ago
Daniel Supernault 281d9ac7e3
Update instance config 6 years ago
Daniel Supernault b5c017a2ba
Update instance config, preserve backwards compatible defaults 6 years ago
Daniel Supernault f90cf7f6f7
Update instance config, add optional public hashtags 6 years ago
Daniel Supernault f86fc83cbd
Update PublicApiController, fix bug that does not show private posts in home timeline 6 years ago
Daniel Supernault 76962abb4c
Update instance config 6 years ago
Daniel Supernault 157a03f13d
Update instance config 6 years ago
Daniel Supernault c402f75113
Add new instance config 6 years ago