Commit Graph

294 Commits

Author SHA1 Message Date
Adhityaa
e42f77b4eb commento.js: use nounVerb format 2018-06-10 20:18:54 +05:30
Pierre-Alain TORET
2527fbec55 commento_ce: add rc style init script
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 13:25:30 +02:00
Pierre-Alain TORET
adfacbc873 Makefile: fix MAKECMDGOALS typo
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-09 15:32:46 +02:00
Pierre-Alain TORET
1faf2fbe0b commento-ce.service: add a linux systemd example file
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-09 12:58:11 +02:00
Adhityaa
a9b235ef0b frontend: add password reset functionality 2018-06-09 15:49:55 +05:30
Adhityaa
5f23706003 reset-hex.html: use ResetHex instead of Hex 2018-06-09 15:49:55 +05:30
Adhityaa
c794c40392 api: add new config SMTP_PORT 2018-06-09 15:49:55 +05:30
Adhityaa
9d5e4f9f96 smtp_templates.go: use STATIC instead of COMMENTO_STATIC 2018-06-09 15:49:55 +05:30
Adhityaa
0d6c3b5992 main.go: load SMTP templates 2018-06-09 15:49:54 +05:30
Adhityaa
5fe785f2fd owner_reset_hex.go: check for SMTP configuration before queries 2018-06-09 15:49:54 +05:30
Adhityaa
130ee48e7e Makefile: do not place templates double-nested 2018-06-09 15:49:54 +05:30
Adhityaa
cd8b1b85b2 templates: use html extension instead of tmpl 2018-06-09 15:49:54 +05:30
Adhityaa
21175cb649 frontend: remove link to account 2018-06-09 14:22:32 +05:30
Adhityaa
8983efabe2 errors.go: remove irrelevant errors 2018-06-09 14:22:32 +05:30
Adhityaa
2e64c95b7c smtp_templates.go: add reset-hex 2018-06-09 14:11:53 +05:30
Adhityaa
c208e3392b config_test.go: add test for no ORIGIN 2018-06-09 14:11:53 +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
88165504f3 README: fix documentation links 2018-06-09 13:28:54 +05:30
Adhityaa
5c5f5b6230 .gitlab-ci.yml: add automated registry push on master 2018-06-09 11:11:13 +05:30
Pierre-Alain TORET
452e1a6442 .gitlab-ci.yml: add docker:dind service
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-08 15:45:02 +02:00
Pierre-Alain TORET
f9a269de95 .gitlab-ci.yml: pulling dependencies is done in make step
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-08 14:36:13 +02:00
Pierre-Alain TORET
de3cac7a3a Dockerfile: pulling dependencies is done in make step
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-08 12:27:01 +02:00
Pierre-Alain TORET
e88d027239 Makefile: use go get to pull the dependencies
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-08 12:26:54 +02:00
Adhityaa
5b28e80924 gitlab-ci.yml: add build and test 2018-06-08 00:46:26 +05:30
Adhityaa
6f3ed40b39 api: use localhost instead of 0.0.0.0 2018-06-08 00:39:45 +05:30
Adhityaa
73647421fb testing.go: use COMMENTO_POSTGRES if set 2018-06-08 00:39:45 +05:30
Adhityaa
3252c30dd9 comment_approve_test.go: include unapproved listing 2018-06-07 23:19:43 +05:30
Adhityaa
1df933c3c0 config_test.go: use COMMENTO_ prefix 2018-06-07 23:19:43 +05:30
Adhityaa
5a7cffb317 api: fix test since change in commenter API 2018-06-07 23:19:43 +05:30
Adhityaa
8c4220dcd8 docker: add Dockerfile and docker-compose.yml 2018-06-07 14:37:04 +05:30
Adhityaa
2e6297d494 frontend: remove 404 tos and privacy links 2018-06-07 14:36:51 +05:30
Adhityaa
e80617d41c config.go: use a COMMENTO_ prefix 2018-06-07 14:33:15 +05:30
Adhityaa
7c75792622 README: add file
Lots of broken links, I'll fix these later.
2018-06-07 13:42:31 +05:30
Adhityaa
a6c6598c4a frontend: add commento embed js and scss 2018-06-07 13:31:11 +05:30
Adhityaa
8f2d7e58a5 devel.env: do not check in 2018-06-07 13:15:40 +05:30
Adhityaa
2723053039 oauth_google_callback.go: use commenterGetByEmail 2018-06-07 13:14:19 +05:30
Adhityaa
a066062f8b oauth_google_callback.go: use error to detect auth 2018-06-07 13:13:36 +05:30
Adhityaa
36f281ec44 commenter_get.go: add spaces around SQL WHERE 2018-06-07 13:11:33 +05:30
Adhityaa
d75c882882 api: replace commenterIsProviderUser 2018-06-07 13:11:02 +05:30
Adhityaa
2f93726a04 comment_list.go: do not leak state if not mod 2018-06-07 13:10:15 +05:30
Adhityaa
0f2a6a8ccc api: rename VoteDirection to Direction 2018-06-07 13:09:53 +05:30
Adhityaa
fcf21fd9db comment.go: include state in JSON response 2018-06-07 13:08:44 +05:30
Adhityaa
d85c136f1d comment_delete.go: fix isDomainModerator args 2018-06-07 13:05:52 +05:30
Adhityaa
2a44e83989 comment_approve.go: fix isDomainModerator args 2018-06-07 12:59:39 +05:30
Adhityaa
85a6d1ec95 oauth_google.go: fix env variable 2018-06-06 22:51:59 +05:30
Adhityaa
16e3c926fe commenter_get.go: ret error on non-existant user 2018-06-06 22:51:36 +05:30
Adhityaa
d4f617a703 frontend: prefix cdn and origin with commento 2018-06-05 15:31:16 +05:30
Adhityaa
ee65be7bac frontend: add logout 2018-06-05 14:23:32 +05:30
Adhityaa
98422b2dae dashboard.html: split name and buttons in navbar 2018-06-05 14:22:56 +05:30