Commit graph

277 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
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
344b0c94cd
Update cors dep 2020-06-11 18:39:03 -06:00
Daniel Supernault
144678fc9c
Update IG Import, remove hardcoded media size limit 2020-05-27 17:09:41 -06:00
Daniel Supernault
e2a6bdd0e1
Add Instagram Import 2020-05-25 21:41:42 -06:00
Daniel Supernault
06c83ba08a
Update federation config 2020-05-23 23:08:27 -06:00
Daniel Supernault
76dd453ea0
Update instance config 2020-05-23 23:08:09 -06:00
Daniel Supernault
877023fb21
Update purify config, fix microformats support 2020-04-26 23:10:21 -06:00
Daniel Supernault
2635bc53e0
Update config, disable costars 2020-04-19 13:00:26 -06:00
Daniel Supernault
c6185ceea1
Bump version to v0.10.9 2020-04-17 19:57:16 -06:00
Daniel Supernault
b87952719f
Update session config, increase session timeout from 2 days to 60 days 2020-03-14 22:01:59 -06:00
Daniel Supernault
599f6a5273
Remove unused config 2020-03-14 12:58:30 -06:00
daniel
6689a6fe3c
Merge pull request #2036 from techknowlogick/patch-2
Support minio for S3 uploads
2020-02-21 18:32:47 -07:00
daniel
cd34438405
Merge pull request #2025 from shleeable/patch-2
Update pixelfed.php - concatenate fix
2020-02-21 18:13:07 -07:00
daniel
585a5ca8f8
Merge pull request #2007 from shleeable/cleanup
Code Review - dead code
2020-02-21 18:06:31 -07:00
techknowlogick
254c53ecb8
Support minio for S3 uploads 2020-02-18 23:16:25 -05:00
Shlee
0e52521a1b
Update pixelfed.php 2020-02-16 20:37:37 +08:00
Shlee
c241184a70
Update pixelfed.php 2020-02-16 19:36:12 +08:00
Shlee
03c90fd4de
Update pixelfed.php 2020-02-16 13:08:20 +08:00
Daniel Supernault
e313f2735b
Update self-diagnosis command 2020-02-14 21:35:12 -07:00
Daniel Supernault
03f808c744
Update self-diagnosis checks 2020-02-14 20:48:35 -07:00
Shlee
b629e4fd90
Update routes.php 2020-02-13 17:55:30 +08:00
Shlee
77bc605417
Update pixelfed.php 2020-02-13 17:52:33 +08:00
Shlee
438138b55c
Update instance.php 2020-02-13 17:51:53 +08:00
Shlee
03de0761ab
Update exp.php 2020-02-13 17:45:58 +08:00
Shlee
44c5494a0c
Update pixelfed.php 2020-02-13 17:44:28 +08:00
Shlee
2295bef877
Update pixelfed.php 2020-02-13 17:42:34 +08:00
Shlee
524d4370d2
Update media.php 2020-02-13 17:16:55 +08:00
Shlee
10211fe9cb
Update media.php 2020-02-13 17:15:56 +08:00
Shlee
76fd1c1efd
Update media.php 2020-02-13 17:13:29 +08:00
Daniel Supernault
a6765e1a6d
Bump version to v0.10.8 2020-01-29 20:49:57 -07:00
Daniel Supernault
5ece86fb0a
Revert image driver breaking change, will delay 2020-01-28 22:09:17 -07:00
Daniel Supernault
c5e171c4a8
Update image-optimizer config 2020-01-28 21:32:09 -07:00
Daniel Supernault
e86ddb94de
Update image config 2020-01-28 21:31:30 -07: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
asonix
64af65e992 TrustProxies natively supports , strings 2020-01-16 23:34:10 -06:00
asonix
cb6e8a4eaa Don't always explode the TRUST_PROXIES variable 2020-01-16 22:52:13 -06:00
Daniel Supernault
d27e60c3e8
Bump version to v0.10.7 2020-01-06 23:23:25 -07:00
Daniel Supernault
1810ef8594
Update passport config 2019-12-31 22:16:11 -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
a7c30388d8
Update config 2019-12-08 14:18:18 -07:00
Daniel Supernault
6d40876ae8
Update Site Config 2019-11-02 21:12:44 -06:00
Daniel Supernault
e5af5dd12b
Update service providers 2019-10-01 21:20:18 -06:00
Daniel Supernault
417f411584
Update service providers 2019-10-01 21:18:48 -06:00
Daniel Supernault
f590f616b3
Bump version to v0.10.6 2019-09-29 22:43:18 -06:00
Daniel Supernault
6549f0d13d
Bump version to v0.10.5 2019-09-24 12:04:09 -06:00
Daniel Supernault
929ace22a9
Bump version to v0.10.3 2019-09-08 22:45:35 -06:00
Daniel Supernault
76a2d38275
Update session config 2019-09-06 21:43:50 -06:00
Daniel Supernault
6ab601e73d
Update session config 2019-09-06 21:16:00 -06:00
Daniel Supernault
576a55a2af
Bump version to v0.10.2 2019-09-06 20:35:09 -06:00
Daniel Supernault
48f5161b3c
Bump version to 0.10.1 2019-09-06 20:29:06 -06:00
Daniel Supernault
97ff17f71f
Update config 2019-09-05 22:06:23 -06:00
Daniel Supernault
581684e2d3
Update session config 2019-09-01 18:58:14 -06:00
Daniel Supernault
c81ff0dc7c
Update websockets config, added env vars 2019-09-01 18:33:05 -06:00
Daniel Supernault
2fd193edb3
Update session config, added secure defaults, longer session lifetime and changed the default driver to database 2019-09-01 18:31:43 -06:00
trwnh
02e5abf3b3
read IMAGE_DRIVER from env 2019-08-29 05:19:18 -05:00
trwnh
1213e65b8c
Update cache.php 2019-08-13 02:33:36 -05:00
trwnh
9a0a497ced
Update database.php 2019-08-13 02:33:06 -05: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
b88d020818
Update config 2019-07-18 19:41:53 -06:00
Daniel Supernault
e313a9b0ca
Update config 2019-07-18 19:41:19 -06:00
Daniel Supernault
e021ab9f2a
Bump version to v0.10.0 2019-07-17 21:22:14 -06:00
Daniel Supernault
281d9ac7e3
Update instance config 2019-07-16 20:13:14 -06:00
Daniel Supernault
9041f4b13c
Update app config 2019-07-16 19:50:48 -06:00
Daniel Supernault
c499c4f7e5
Bump version to v0.9.6 2019-07-10 19:00:02 -06:00
Daniel Supernault
b5c017a2ba
Update instance config, preserve backwards compatible defaults 2019-07-10 13:13:35 -06:00
Daniel Supernault
770d414148
Bump version to v0.9.5 2019-07-08 23:26:44 -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
94bef4c74c
Add Admin Configuration Editor 2019-06-20 20:01:16 -06:00
Daniel Supernault
157a03f13d
Update instance config 2019-06-18 14:16:01 -06:00
Daniel Supernault
25d632c761
Add new config 2019-06-17 22:15:36 -06:00
Daniel Supernault
577dac9802
Update pixelfed config 2019-06-16 16:41:54 -06:00
Daniel Supernault
9cf2365edd
Update federation config 2019-06-16 16:08:46 -06:00
Daniel Supernault
ae1ec542a6
Update federation config 2019-06-10 20:09:56 -06:00
Daniel Supernault
ae116457bf
Update federation config 2019-06-09 17:25:17 -06:00
Daniel Supernault
227ddf4879
Add Federation config 2019-06-09 17:15:01 -06:00
Kirk Strauser
5d263d1c2e
PixelFed -> Pixelfed
There was a remaining mix of capital-F "PixelFed" occurrences. This
changes everything to the same capitalization, "Pixelfed", for
consistency.
2019-06-05 18:21:19 -07:00
Daniel Supernault
c402f75113
Add new instance config 2019-06-04 21:47:48 -06:00
Daniel Supernault
124d557f3d
Bump version to v0.9.4 2019-06-03 17:53:52 -06:00
Daniel Supernault
40970d5c5e
Bump version to v0.9.3 2019-06-03 17:45:01 -06:00
Daniel Supernault
0411e59738
Update configs 2019-05-28 21:00:42 -06:00
Daniel Supernault
1f3a5e263b
Update config 2019-05-26 23:02:01 -06:00
Daniel Supernault
9dbeea41ee
Update config 2019-05-26 18:40:30 -06:00
Daniel Supernault
3d6480d239
Update Horizon dark mode regression 2019-05-05 16:42:07 -06:00
Daniel Supernault
4b1ac4a6ef
Update config 2019-04-30 22:48:01 -06:00
Shleeble
a50a8b1cf6
Update pixelfed.php 2019-04-30 18:07:49 +08:00
Shleeble
44b5f91713
Update app.php 2019-04-30 15:22:59 +08:00
Shleeble
b2e79b9bc6
Update pixelfed.php 2019-04-30 15:21:55 +08:00
Shleeble
d020b4fcc8
Delete recaptcha.php 2019-04-30 15:17:39 +08:00
Daniel Supernault
aa09413fa4
Bump version to v0.9.2 2019-04-29 22:05:30 -06:00
Daniel Supernault
5373e7b435
Update config 2019-04-25 23:24:25 -06:00
trwnh
f553543a16
Add more safe html types
- b for bold
- del for semantic redaction
- s, strike for strikethroughs
- h6 was missing
2019-04-23 21:12:02 -05:00
Daniel Supernault
aaf5253422
Rename .env var, based on feedback from https://mastodon.social/users/alicerunsonfedora/statuses/101978263084840936 2019-04-23 18:30:50 -06:00
Daniel Supernault
4e14cabe70
Update html purifier config 2019-04-23 17:58:46 -06:00
Daniel Supernault
af05595be0
Bump version to v0.9.1 2019-04-21 23:43:33 -06:00