Commit Graph

276 Commits

Author SHA1 Message Date
Adhityaa
ef21599109 frontend: use camelCase instead of snake_case 2018-06-16 18:55:27 +05:30
Adhityaa
91c2d047d5 commento.js: add config to control auto-init 2018-06-16 18:52:46 +05:30
Adhityaa
fea61af08d frontend: allow CSS overrides 2018-06-16 18:38:24 +05:30
Adhityaa
e93733510b api: don't auto-upvote new comments 2018-06-14 16:33:40 +05:30
Adhityaa
57e5bc7abc api: add disqus endpoint 2018-06-14 16:33:40 +05:30
Adhityaa
93b842c5d4 commento.js: use a separate function to autoload 2018-06-14 16:33:40 +05:30
Adhityaa
877a9bf09f smtp_configure_test.go: clean SMTP_PORT each test 2018-06-13 00:33:42 +05:30
Adhityaa
425312034f smtp_configure_test.go: clean env before test
Sometimes the tests end before they reach the end.
2018-06-13 00:32:32 +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
0ee43ae52a commento-tags.scss: use a lighter shades for tags 2018-06-12 21:13:15 +05:30
Adhityaa
a9d7076c2e commento.js: remove double call protection 2018-06-12 21:13:14 +05:30
Adhityaa
c7b3686506 README.md: change logo size 2018-06-11 15:35:06 +05:30
Adhityaa
78384073b0 api: allow gzipped response 2018-06-11 15:02:14 +05:30
Adhityaa
9e682a964a commento.js: allow dynamic script loading 2018-06-11 15:02:14 +05:30
Adhityaa
70505c5f06 commento.js: hold off display until css load 2018-06-11 15:02:13 +05:30
Adhityaa
82240a72e4 commento.js: remove stray console.log 2018-06-11 14:18:39 +05:30
Adhityaa
6e57dabdf8 domain_new.go: use stripped domain name
Fixes https://gitlab.com/commento/commento-ce/issues/19
2018-06-11 12:05:31 +05:30
Adhityaa
14509adaba commento-buttons.scss: escape hash character 2018-06-11 01:57:10 +05:30
Pierre-Alain TORET
5ec58eea33 Dockerfile: bind on all interfaces
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 22:19:29 +02:00
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
684734cb29 commento.js: fix configuredOauths typo 2018-06-11 01:23:37 +05:30
Adhityaa
1a61d52123 commento.js: fix anonymity button logic typo 2018-06-11 01:20:17 +05:30
Adhityaa
95d80927b2 Makefile: make devel the default target 2018-06-11 01:19:41 +05:30
Adhityaa
60ad11bdcb README.md: fix banner logo url
Fixes https://gitlab.com/commento/commento-ce/issues/12
2018-06-11 00:44:55 +05:30
Adhityaa
0cb37de5a7 commento.js: remove oauth only if it exists 2018-06-11 00:40:34 +05:30
Adhityaa
b2b7f59356 docker-compose.yml: do not hardcode values 2018-06-11 00:25:26 +05:30
Adhityaa
442e3e44de owner_new.go: create commenter user on ownerNew 2018-06-11 00:16:22 +05:30
Pierre-Alain TORET
08c708341b Makefile: add test target
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 19:57:36 +02:00
Pierre-Alain TORET
c59a53515c .gitlab-ci.yml: use test target
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-06-10 19:57:36 +02:00
Adhityaa
8b0d198934 api: run go fmt 2018-06-10 23:13:42 +05:30
Adhityaa
42a58f1d87 api: sanitise new commenters' links 2018-06-10 23:13:18 +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
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