Commit Graph

160 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
6ca442f9cc frontend: dynamically generate width and position 2018-07-24 11:59:22 +05:30
Adhityaa
41b14e847c dashboard-main.scss: remove unnecessary SVG id 2018-07-04 18:30:49 +05:30
Adhityaa
a2c6d8b21d login.html: fix reset password link 2018-07-04 18:30:11 +05:30
Adhityaa
459c4d4234 dashboard-main.scss: inline SVG 2018-07-04 18:28:57 +05:30
Adhityaa
730db87f6f frontend: prefix images with CDN 2018-07-04 18:21:31 +05:30
Anton Linevych
07701eaa9f Project configuration improvements. 2018-06-24 13:28:37 +00:00
Adhityaa
7324243b4e build: lock npm package versions 2018-06-23 19:29:14 +05:30
Adhityaa
781aeca6bb api, frontend: use triple square brackets for templating 2018-06-22 19:50:22 +05:30
Adhityaa
7e4fcb20a6 login.html: fix reset password link 2018-06-22 19:50:22 +05:30
Adhityaa
584698df94 everywhere: use common html to generate footer 2018-06-22 19:50:22 +05:30
Adhityaa
c1c2a19842 utils_misc.go: print error on fatal exit 2018-06-22 19:50:20 +05:30
Adhityaa
f158e7e62c config_file_test.go: add tests 2018-06-21 21:17:13 +05:30
Adhityaa
39940c9f6b api: config files have lower precedence than envvars 2018-06-21 21:08:28 +05:30
Adhityaa
bb24f62b9c config_file.go: return error if config is invalid 2018-06-21 21:03:35 +05:30
Adhityaa
4890bc4cc7 config_file.go: allow comments with hash prefix 2018-06-21 20:59:42 +05:30
Adhityaa
6f06c4ed65 config_file.go: skip newlines 2018-06-21 20:59:29 +05:30
Adhityaa
ccfdba4f54 config_file.go: trim whitespace before processing 2018-06-21 20:58:26 +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
89852ef76a scripts: move autoserve to scripts 2018-06-20 12:47:57 +05:30
Adhityaa
1e73c980ef api: run go fmt 2018-06-20 09:20:14 +05:30
Adhityaa
510257fd8b api: retry database connection if it fails
Closes https://gitlab.com/commento/commento-ce/issues/52
2018-06-20 09:19:39 +05:30
Adhityaa
237a02bee9 commenter_session_update_test.go: verify update
Fixes https://gitlab.com/commento/commento-ce/issues/53
2018-06-20 09:11:11 +05:30
Adhityaa
da3fa3cd41 commento.js: remove jsLoad
It wasn't being used.

Closes https://gitlab.com/commento/commento-ce/issues/54
2018-06-20 09:07:45 +05:30
Adhityaa
9b021d47e4 frontend: prefix ownerToken with commento 2018-06-20 09:07:18 +05:30
Adhityaa
be85a911aa commento.js: prefix commenterToken with commento 2018-06-20 09:07:04 +05:30
Adhityaa
ef0f45527a everywhere: use different session cookie names
If the user is hosting the dashboard in the same domain as
their blog (with a nginx suburi, for example), the two session
cookies clash; logging into one service logs you out of the other.
With this patch, both have separate names.

Fixes https://gitlab.com/commento/commento-ce/issues/49
2018-06-20 08:59:55 +05:30
Adhityaa
76a286d884 README.md: remove badges 2018-06-19 19:27:19 +05:30
Adhityaa
39043f85d3 domain_import_disqus.go: remove unused import 2018-06-17 17:50:38 +05:30
Adhityaa
d803a2f503 .gitlab-ci.yml: run go fmt on all MRs 2018-06-17 17:50:37 +05:30
Adhityaa
9fae3cd080 README.md: add custom theming to list of features 2018-06-16 20:32:33 +05:30
Adhityaa
f1625b4274 commento.js: attempt load on readystatechange 2018-06-16 20:06:31 +05:30
Adhityaa
590e878679 api: run go fmt 2018-06-16 19:00:03 +05:30
Adhityaa
816b0ec6f3 commento.js: remove isMobile function 2018-06-16 18:58:38 +05:30
Adhityaa
53016b93ce commento.js: double newline between functions 2018-06-16 18:58:17 +05:30
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