Commit Graph

102 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
b77089388f commento.js: show oauth above email login 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
b35155b9e5 commento.js: default to login instead of signup 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
4ceb85ae51 commento.js, commento-input.scss: make textarea cleaner 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
3f7b65dee9 commento.js: fix anonymous selfHex logic in commentNew 2019-02-18 17:33:44 -05:00
dasZGFz
ce47f80e8e commento.js: Add iframe support 2019-02-12 23:35:33 -08:00
Adhityaa Chandrasekar
f846935a2a comment_new.go, commento.js: don't refresh when creating comments 2019-01-30 22:19:16 -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
022fc06257 everywhere: improve anonymous comments logic 2019-01-23 00:26:25 -05:00
Adhityaa Chandrasekar
bc92df8083 commento.js: use single arg in onclick
Fixes https://gitlab.com/commento/commento/issues/96
2019-01-16 23:03:32 -05:00
Adhityaa Chandrasekar
96589a2658 commento.js: warn user if no div with id=commento
Closes https://gitlab.com/commento/commento/issues/42
2018-12-28 11:59:02 -05:00
Adhityaa Chandrasekar
6d00a8e3aa frontend,api: refactor static router 2018-12-24 21:49:53 -05:00
Anton Linevych
9e3935b3b2 frontend: use gulp, eslint, code refactor
Apologies in advance for the insanely huge commit. This commit is
primarily based on Anton Linevych's amazing work found here [1]. While
he had gone through the pains of making small, atomic changes to each
file, I had put off reviewing the PR for a long time. By the time I
finally got around to it, the project had changed so much that it didn't
make sense to keep the commits the same way. So I've cherry-picked most
of his commits, with some changes here and there, and I've squashed them
into one commit.

[1] https://gitlab.com/linevych/commento-ce/tree/feature/frontend_building_improvements
2018-12-20 04:14:48 -05:00
Adhityaa Chandrasekar
e4f71fe402 frontend: display options at the bottom on mobile 2018-12-20 01:27:55 -05:00
Adhityaa Chandrasekar
06c71f4e65 frontend: use commento namespace, event handlers, UI 2018-12-20 00:50:00 -05:00
Adhityaa Chandrasekar
9fcf67d667 api,frontend: add Akismet spam flagging integration 2018-12-19 22:57:02 -05:00
Adhityaa Chandrasekar
87a0c577bb frontend: display anonymous button in textarea 2018-12-18 19:46:43 -05:00
Adhityaa Chandrasekar
bcc81e1ad8 frontend: redesign score and timeago subtitle 2018-12-18 19:10:12 -05:00
Adhityaa Chandrasekar
1f8f3b3a36 commento.js: update avatar colors to be more distinct 2018-12-18 19:02:01 -05:00
Adhityaa Chandrasekar
610b61831d frontend,api: open source comment sticky 2018-12-18 18:57:32 -05:00
Adhityaa Chandrasekar
ac9f896a22 commento.js: reverse sorting algorithm 2018-09-28 09:39:07 -04:00
Adhityaa Chandrasekar
c21329ac4e commento.js: use a button for upvote and downvote 2018-09-23 02:32:28 -04:00
Adhityaa Chandrasekar
8500a3f7c6 commento.js: rename postComment to commentNew 2018-09-23 02:31:49 -04:00
Adhityaa Chandrasekar
b4f2ba41be commento.js: sort comments by score by default 2018-09-23 02:30:00 -04:00
Adhityaa Chandrasekar
4d799182da frontend: add min-height only when necessary
Fixes https://gitlab.com/commento/commento-ce/issues/81
2018-09-23 00:52:35 -04:00
Adhityaa
299649cea2 api,db: add page attributes and thread locking 2018-09-23 00:26:37 -04:00
Adhityaa Chandrasekar
3339944cf2 commento.js: focus on field based on login box type 2018-08-13 11:21:34 +05:30
Adhityaa Chandrasekar
ddf345ae3c commento.js: autofocus on password when email entered 2018-08-13 11:21:34 +05:30
Adhityaa Chandrasekar
5470170920 commento.js: use login type specific submessage 2018-08-13 11:21:34 +05:30
Adhityaa Chandrasekar
6f89d30b37 commento.js: remove social buttons on login button 2018-08-13 11:21:34 +05:30
Adhityaa Chandrasekar
b6dc79edd7 commento.{js,scss}: add login button in textarea
Closes https://gitlab.com/commento/commento-ce/issues/64
2018-08-08 13:54:41 +05:30
Adhityaa Chandrasekar
88b88a1198 commento.js: better undefined user link checks
Closes https://gitlab.com/commento/commento-ce/issues/63
2018-08-08 13:54:40 +05:30
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