Commit Graph

203 Commits

Author SHA1 Message Date
Adhityaa Chandrasekar
88d4f8afcf commento.js: use scrollIntoView for #commento 2019-03-02 15:17:00 -05:00
Adhityaa Chandrasekar
15b1640f89 count.js: add comment count display JS 2019-03-02 15:14:42 -05:00
Adhityaa Chandrasekar
216016a4be commento-card.scss: add line-height to name badges 2019-03-02 14:35:55 -05:00
Adhityaa Chandrasekar
a7cd8066f8 commento.js: undo changes on failed vote 2019-03-02 14:30:23 -05:00
Adhityaa Chandrasekar
295318e6a6 commento.js: use full timestamp in timeago title 2019-03-02 14:30:12 -05:00
Adhityaa Chandrasekar
d26b6f6e9f commento.js: load CSS async 2019-03-02 14:09:29 -05:00
Adhityaa Chandrasekar
c8a2ece0d6 commento.js: remove logo SVG from footer 2019-03-02 14:09:11 -05:00
Adhityaa Chandrasekar
e9ba79974b commento.js: remove vote button onclick listeners before reset 2019-03-02 13:28:08 -05:00
Adhityaa Chandrasekar
1ccc95fae4 commento-input.scss: use pre-wrap for textarea 2019-02-23 12:08:38 -05:00
Adhityaa Chandrasekar
fa3fa39696 source-sans.scss: fix cyrillic fonts typo 2019-02-23 11:26:14 -05:00
Adhityaa Chandrasekar
ecbb505c97 commento.scss: remove all unset 2019-02-23 11:23:41 -05:00
Adhityaa Chandrasekar
789a58bd7a api, frontend: add moderator tag to mods in comments 2019-02-22 22:57:35 -05:00
Adhityaa Chandrasekar
be197f2b69 frontend: use pointer for names in card 2019-02-22 22:24:46 -05:00
Adhityaa Chandrasekar
d4b466b04f api: mirror user photos for better privacy 2019-02-22 22:23:27 -05:00
Adhityaa Chandrasekar
3e5c1c2656 oauth: add gitlab 2019-02-22 22:23:27 -05:00
Adhityaa Chandrasekar
c07f3e8b9f oauth: add twitter 2019-02-22 22:23:26 -05:00
Adhityaa Chandrasekar
0609ef0e27 commento-mod-toolss.scss: inline display mod buttons 2019-02-22 18:24:39 -05:00
Adhityaa Chandrasekar
adb87d7029 commento.js: use commento namespace for allShow 2019-02-22 18:22:49 -05:00
Adhityaa Chandrasekar
23bec48ebb commento.js: use commenterToken from args
Fixes https://gitlab.com/commento/commento/issues/114
2019-02-22 18:20:14 -05:00
Adhityaa Chandrasekar
f4489c9921 commento.js: compute mobileView only once 2019-02-20 10:55:51 -05:00
Adhityaa Chandrasekar
352c93bf88 commento-oauth.scss: explicitly define button width 2019-02-20 10:50:52 -05:00
Adhityaa Chandrasekar
27caa60e0c commento.scss: unset previously defined CSS 2019-02-20 10:44:53 -05:00
Adhityaa Chandrasekar
5df5b5f112 fonts: add source sans fonts 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
220109a157 commento.js: close login box when logged in 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
2e2d022c9b commento.js: add login button 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
e1c94ecf15 api,frontend: add unsubscribe 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
60a9f2cc15 button.scss: move .button to separate file 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
06f0f6f014 everywhere: add email notifications 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
69aba94590 commento.scss: move highlighted to commento-card.scss 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
619231e32f commento.js: add scroll into view based on hash 2019-02-18 17:34:43 -05:00
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
5bb51bb131 commento-mod-tools.scss: use 12px font 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
8a8e0b53fc commento.scss: move avatar and dark-card to commento-card.scss 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
2b00384219 commento.scss: move mod-tools to separate file 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
bd695c53fd commento-input.scss: darken textarea placeholder 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
24ddf0657b commento-input.scss: remove unused approve and delete classes 2019-02-18 17:34:43 -05:00
Adhityaa Chandrasekar
e70546fb56 commento-oauth.scss: move oauth button styling to file 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
41b0c8e5ca checkbox.scss: add commento- prefix 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
caca7b8c41 commento-input.scss: use Source Sans Pro 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
24de2dbcb3 checkbox.scss: move checkbox element to separate file 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
9a14801990 commento.scss: rename buttons, tags, card file 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
de98ed81cd commento-logo.scss: rename to commento-footer.scss 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
3f7b65dee9 commento.js: fix anonymous selfHex logic in commentNew 2019-02-18 17:33:44 -05:00
Adhityaa Chandrasekar
8c09aa0ff6 commento.scss: remove unnecessary common-main include 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
1aea90cb07 dashboard.html: hide email settings for now 2019-02-04 18:08:17 -05:00
Adhityaa Chandrasekar
815628c5ee dashboard-statistics.js: namespace numberify with global 2019-01-31 02:25:05 -05:00
Adhityaa Chandrasekar
fff5e5c0e1 everywhere: add option to export data 2019-01-31 02:06:11 -05:00
Adhityaa Chandrasekar
f1ece27c99 dashboard: overhaul 2019-01-30 23:49:16 -05:00
Adhityaa Chandrasekar
5e48da6940 dashboard: improve moderator list explanation text 2019-01-30 22:49:25 -05:00
Adhityaa Chandrasekar
28fe1aaa89 dashboard.html: improve readability in panes 2019-01-30 22:44:36 -05: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
42b452b9f8 commento-input.scss: biggen oauth button text size 2019-01-30 21:26:14 -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
24d76c2fb6 frontend: add favicon to all html files 2019-01-30 20:13:08 -05:00
Adhityaa Chandrasekar
6d1563e22a email-main.scss: unset width 2019-01-24 07:01:16 -05:00
Adhityaa Chandrasekar
9a3c181442 commento-input.scss: use pixels instead of rem 2019-01-24 06:56:30 -05:00
Adhityaa Chandrasekar
010b7336cd signup.js: fix document.location typo
I have no idea what that was.
2019-01-24 06:12:44 -05:00
Adhityaa Chandrasekar
c6a98d93e4 dashboard.html: update allow-anonymous subtext 2019-01-23 18:39:12 -05:00
Adhityaa Chandrasekar
edd8aae7a7 auth-common.js, reset.js: use global namespace for paramGet 2019-01-23 17:48:39 -05:00
Adhityaa Chandrasekar
022fc06257 everywhere: improve anonymous comments logic 2019-01-23 00:26:25 -05:00
Adhityaa Chandrasekar
61bc73e705 dashboard.html: rephrase requireIdentification text on-screen 2019-01-22 23:55:18 -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
02615088ff everywhere: remove -ce suffix 2018-12-28 12:58:01 -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
Adhityaa Chandrasekar
c29b3a7a25 auth-common.js: add semicolon after use strict 2018-12-24 21:49:31 -05:00
Adhityaa Chandrasekar
a99bf15332 dashboard-installation.js: remove unnecessary commento namespace 2018-12-24 21:47:23 -05:00
Adhityaa Chandrasekar
7074800ecc gulpfile.js: remove redundant 'js' subpath 2018-12-24 21:40:28 -05:00
Adhityaa Chandrasekar
80fb09d941 dashboard-installation.js: use namespaced cdn variable 2018-12-24 21:40:28 -05:00
Adhityaa Chandrasekar
afabc25037 frontend: do not uglify devel JS files 2018-12-20 05:26:03 -05:00
Anton Linevych
c9e7a3f40a dashboard-setting.js: simplified if condition 2018-12-20 04:20:34 -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
d1318daaca commento.scss: use yellow instead of blue for moderation 2018-12-19 22:14:36 -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
cd88ae264e commento-input.scss: make create account button width 150px 2018-10-07 01:33:39 -04: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
4ffdd2cfb6 frontend: use better placeholders 2018-09-23 02:30:59 -04:00
Adhityaa Chandrasekar
b4f2ba41be commento.js: sort comments by score by default 2018-09-23 02:30:00 -04:00
Adhityaa Chandrasekar
405d10766a utils.js: set Secure flag on cookies if using HTTPS
Related to https://gitlab.com/commento/commento-ce/issues/79
2018-09-23 01:09:59 -04:00
Adhityaa Chandrasekar
2a713c22f1 email-main.scss: use a smaller width in email boxes 2018-09-23 01:00:48 -04:00
Adhityaa Chandrasekar
d6ccb7338c frontend: rephrase dashboard pane titles and subtexts
Closes https://gitlab.com/commento/commento-ce/issues/82
2018-09-23 01:00:16 -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
baf2e7dc03 commento-input.scss: use rem and position static in textarea
https://gitlab.com/commento/commento-ce/issues/64
2018-08-13 11:21:34 +05:30
Adhityaa Chandrasekar
89a81ece19 logout.js: delete cookie instead of empty write
Closes https://gitlab.com/commento/commento-ce/issues/73
2018-08-12 23:37:45 +05:30