Commit Graph

21 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
6ca442f9cc frontend: dynamically generate width and position 2018-07-24 11:59:22 +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
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
f1625b4274 commento.js: attempt load on readystatechange 2018-06-16 20:06:31 +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
93b842c5d4 commento.js: use a separate function to autoload 2018-06-14 16:33:40 +05:30
Adhityaa
a9d7076c2e commento.js: remove double call protection 2018-06-12 21:13: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
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
0cb37de5a7 commento.js: remove oauth only if it exists 2018-06-11 00:40:34 +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
Adhityaa
a6c6598c4a frontend: add commento embed js and scss 2018-06-07 13:31:11 +05:30