Commit Graph

28 Commits

Author SHA1 Message Date
91d568bcd9 feat: support authentik aouth2.
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-10 16:01:30 +00:00
matclab
b57b6bcc12 oauth config: Use GITLAB_URL env variable
In order to use oauth from gitlab CE instance one has to be
able to provide the URL of the instance.

closes #209 (https://gitlab.com/commento/commento/issues/209)
2020-03-19 06:47:05 -04:00
Adhityaa Chandrasekar
52f8df5183 config.go: parse config file before default
Closes https://gitlab.com/commento/commento/issues/187
2019-09-13 16:14:59 -07:00
Adhityaa Chandrasekar
3e5c1c2656 oauth: add gitlab 2019-02-22 22:23:27 -05:00
Adhityaa Chandrasekar
c07f3e8b9f oauth: add twitter 2019-02-22 22:23:26 -05:00
Adhityaa Chandrasekar
55f24b2de2 api: add github oauth
Closes https://gitlab.com/commento/commento/issues/20
2019-01-30 21:22:46 -05:00
Adhityaa Chandrasekar
9fcf67d667 api,frontend: add Akismet spam flagging integration 2018-12-19 22:57:02 -05:00
Adhityaa Chandrasekar
9f14a9389c api: add MAX_IDLE_PG_CONNECTIONS config variable
This allows lib/pq to maintain that many idle connections to the
PostgreSQL server. The larger the number the better, but obviously, your
machine needs to be capable to maintain that many connections.

Closes https://gitlab.com/commento/commento-ce/issues/76
2018-08-17 00:22:38 +05:30
Adhityaa Chandrasekar
5c6ab490c7 config.go: fix CDN_PREFIX sanitisation typo 2018-08-12 23:39:26 +05:30
Adhityaa Chandrasekar
3205766248 config.go: add http prefix to ORIGIN and CDN_PREFIX 2018-08-12 23:39:21 +05:30
Adhityaa Chandrasekar
3ad5128cb9 config.go: trim trailing slash in ORIGIN and CDN_PREFIX
Fixes https://gitlab.com/commento/commento-ce/issues/59
2018-08-08 10:49:14 +05:30
Adhityaa Chandrasekar
9fb33fbd9d api: add option to forbid new owner registrations
Closes https://gitlab.com/commento/commento-ce/issues/10
2018-07-24 15:53:41 +05:30
Adhityaa Chandrasekar
b7b224983c config.go: rename parseConfig to configParse 2018-07-24 12:11:01 +05:30
Adhityaa
39940c9f6b api: config files have lower precedence than envvars 2018-06-21 21:08:28 +05:30
Adhityaa
1b1c97f0f0 api: allow configuration files
Closes https://gitlab.com/commento/commento-ce/issues/55
2018-06-21 20:53:06 +05:30
Adhityaa
590e878679 api: run go fmt 2018-06-16 19:00:03 +05:30
Adhityaa
a3a6f2ba68 api: use COMMENTO_ prefix on errors
Closes https://gitlab.com/commento/commento-ce/issues/44
2018-06-13 00:22:08 +05:30
Adhityaa
78384073b0 api: allow gzipped response 2018-06-11 15:02:14 +05:30
Pierre-Alain TORET
73d04bf857 api: add COMMENTO_BIND_ADDRESS variable
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 22:19:29 +02:00
Adhityaa
8b0d198934 api: run go fmt 2018-06-10 23:13:42 +05:30
Adhityaa
2020405e8b frontend, api: allow custom emails as commenters
I'm really sorry this came out as one huge commit, but I'm afraid
I can't split this up.

Closes https://gitlab.com/commento/commento-ce/issues/9
2018-06-10 22:58:54 +05:30
Adhityaa
c794c40392 api: add new config SMTP_PORT 2018-06-09 15:49:55 +05:30
Adhityaa
37e772b595 api: use Errorf instead of Fatalf 2018-06-09 14:11:53 +05:30
Adhityaa
432ffeebb3 api: add COMMENTO_STATIC environment variable
Closes https://gitlab.com/commento/commento-ce/issues/2
2018-06-09 14:11:31 +05:30
Adhityaa
6f3ed40b39 api: use localhost instead of 0.0.0.0 2018-06-08 00:39:45 +05:30
Adhityaa
e80617d41c config.go: use a COMMENTO_ prefix 2018-06-07 14:33:15 +05:30
Adhityaa
08783df363 config.go: Set CDN_PREFIX to ORIGIN if empty 2018-06-03 20:47:31 +05:30
Adhityaa
a090770b73 api: Add go files
I know this is a huge commit, but I can't be bothered to check
this in part by part.
2018-05-27 23:40:46 +05:30