Frédéric Guillot
c394a61a4e
Add Prometheus exporter
2020-09-27 20:04:48 -07:00
Frédéric Guillot
13c89c29c5
Add option to archive unread entries
2020-09-12 20:17:52 -07:00
Frédéric Guillot
df7a6e18fd
Add option to enable maintenance mode
2020-09-12 18:42:28 -07:00
Kebin Liu
cf7712acea
Add HTTP proxy option for subscriptions
2020-09-09 23:28:54 -07:00
Frédéric Guillot
d2f4ed93df
Add support for secret keys exposed as a file
...
Secret keys are often exposed as a file in containerized environments.
2020-06-29 21:01:37 -07:00
Frédéric Guillot
7e5157f218
Rename alternative scheduler to entry_frequency
2020-05-25 15:12:47 -07:00
Shizun Ge
cead85b165
Add alternative scheduler based on the number of entries
2020-05-25 14:06:56 -07:00
Patrick
3e1e0b604f
Add generic OpenID Connect provider (OAuth2)
...
This adds the oauth2 provider `oidc`. It needs an additional argument, the OIDC discovery endpoint to figure out where the auth and token URLs are.
Configuration is similar to setting up the Google Authentication with these changes:
* `OAUTH2_PROVIDER = oidc`
* `OAUTH2_OIDC_DISCOVERY_ENDPOINT = https://auth.exampe.org/discovery `
2020-03-07 18:45:19 -08:00
Pavel Borzenkov
7389c79c52
Implement support for authentication via Auth Proxy
...
Auth Proxy allows to authenticate a user using an HTTP header provided
by an external authentication service. This provides a way to
authenticate users in miniflux using authentication schemes not
supported by miniflux itself (LDAP, non-Google OAuth2 providers, etc.)
and to implement SSO for multiple applications behind single
authentication service.
Auth Proxy header is checked for the '/' endpoint only, as the rest are
protected by the miniflux user/app sessions.
Closes #534
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2020-02-24 19:43:45 -08:00
Ty Cobb
fb9a1a6129
Rename cleanup config variables
...
The config parser logs a warning when the user uses a deprecated variable. It also ignores the value from a deprecated variable if it has already been set using the corresponding non-deprecated variable (and logs another warning).
- CLEANUP_FREQUENCY_HOURS instead of CLEANUP_FREQUENCY
- CLEANUP_ARCHIVE_READ_DAYS instead of ARCHIVE_READ_DAYS
2019-09-15 11:47:39 -07:00
Ty Cobb
3a60abbac0
Make configurable the number of days to remove old sessions
2019-09-11 20:10:33 -07:00
Frédéric Guillot
91508c50b5
Add option to toggle date/time in log messages
2019-06-08 17:48:45 -07:00
Frédéric Guillot
f7b7b63e3f
Add optional config file parser in addition to environment variables
2019-06-02 18:28:29 -07:00
Frédéric Guillot
bb720c87c1
Make HTTP Client timeout and max body size configurable
2019-06-02 07:29:56 -07:00
Frédéric Guillot
228862fefa
Refactor config package
...
- Parse configuration only once during startup time
- Store configuration values in a global variable
2019-06-02 06:30:08 -07:00
Jebbs
87648490fd
Make configurable the number of days to archive read items
2018-12-05 20:35:30 -08:00
Frédéric Guillot
becd086865
Add config options to disable HTTP and scheduler services
2018-11-11 15:54:19 -08:00
Frédéric Guillot
186f2b11c3
Change default database connection string
2018-11-09 21:58:09 -08:00
Frédéric Guillot
11dfcdd3d6
Fix typo in license header
2018-10-08 15:50:15 -07:00
Frédéric Guillot
844680e573
Add more unit tests for config package
2018-09-23 15:23:46 -07:00
Frédéric Guillot
dbcc5d8a97
Use canonical imports
2018-08-24 21:56:39 -07:00
Frédéric Guillot
cf03e0e338
Create database package (refactoring)
2018-08-01 20:28:45 -07:00
Dave Z
c926498d3d
Make image proxy configurable
...
Adds IMAGE_PROXY configuration setting to change image proxy filter behaviour:
- none = No proxy
- http-only = Proxy only non-HTTPS images (default)
- all = Proxy everything
2018-07-12 17:41:09 -07:00
Frédéric Guillot
55a1e97778
Add base URL validation
2018-07-07 14:01:02 -07:00
Frédéric Guillot
b270159aae
Offer the possibility to set Pocket Consumer Key as environment variable
2018-05-21 19:58:36 -04:00
Frédéric Guillot
f19ab21b7d
Archive read entries automatically after 60 days
2018-05-19 16:45:27 -07:00
Frédéric Guillot
0429bbb19d
Simplify Heroku deployment
2018-04-15 21:07:59 -07:00
Frédéric Guillot
a9f0fdaf22
Print info message if DATABASE_URL is not set
2018-02-23 18:26:34 -08:00
Frédéric Guillot
61bc012a62
Add support for HTTP Strict Transport Security header
2018-02-03 15:54:02 -08:00
Frédéric Guillot
9c42997209
Add support for base URLs with subfolders
2018-02-03 15:33:17 -08:00
Frédéric Guillot
b78172033f
Show API URL endpoints in user interface
2018-01-31 21:57:20 -08:00
Frédéric Guillot
23d2d9109f
Add the possiblity to enable debug mode with an environment variable
2018-01-29 20:54:38 -08:00
Frédéric Guillot
da5c8c2edb
Move environment variables to config package
2018-01-20 16:49:47 -08:00
Frédéric Guillot
c2fd2e747a
Add functions to get config values
2018-01-15 18:08:30 -08:00
Frédéric Guillot
9652dfa1fe
Add more comments (GoDoc)
2018-01-11 19:21:20 -08:00
Frédéric Guillot
7c19febd73
Add configurable HTTPS flag for secure cookie flag
2017-12-28 20:34:18 -08:00
Frédéric Guillot
18f55d1569
Add scheduler to clean old sessions
2017-12-16 18:48:17 -08:00
Frédéric Guillot
3b40ce4960
Add Let's Encrypt integration
2017-11-22 13:11:01 -08:00
Frédéric Guillot
199b1fd6c3
Add the possibility to use TLS
2017-11-22 11:16:48 -08:00
Frédéric Guillot
9ff3c4504c
Set all default config values in config package
2017-11-21 20:20:20 -08:00
Frédéric Guillot
6690f6a70e
Add bookmarklet
2017-11-21 19:37:47 -08:00
Frédéric Guillot
8ffb773f43
First commit
2017-11-19 22:01:46 -08:00