Commit Graph

501 Commits

Author SHA1 Message Date
Anton Linevych
c9e7a3f40a dashboard-setting.js: simplified if condition 2018-12-20 04:20:34 -05:00
Anton Linevych
4d82106aff gitlab-ci.yml: Install yarn for new F/E building system 2018-12-20 04:19:36 -05:00
Adhityaa Chandrasekar
4c0e261a8e autoserve: make it easy to switch between devel and prod 2018-12-20 04:18:43 -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
cf0b394b05 release: v1.3.1 2018-10-18 02:17:52 -04:00
Adhityaa Chandrasekar
a36b11f07d api: use dep instead of go get 2018-10-18 02:17:51 -04:00
Adhityaa Chandrasekar
93c9ce0cad release: v1.3.0 2018-10-18 01:05:01 -04:00
Adhityaa Chandrasekar
af88db42b2 owner_get.go: fix incorrent owner session selection field 2018-10-18 01:03:12 -04:00
Adhityaa Chandrasekar
0c6ccdc0a1 domain_delete.go: delete entries from pages on domain delete 2018-10-08 02:34:06 -04:00
Adhityaa Chandrasekar
6d3f8171e5 release: v1.2.0 2018-10-07 23:14:55 -04:00
Adhityaa Chandrasekar
3f1c570e84 db: store version in config table 2018-10-07 23:13:26 -04:00
Adhityaa Chandrasekar
cd88ae264e commento-input.scss: make create account button width 150px 2018-10-07 01:33:39 -04:00
Adhityaa Chandrasekar
b2abcae319 README.md: add Mozilla and DO 2018-10-05 22:48:52 -04:00
Adhityaa Chandrasekar
41a5c675bf release: v1.1.3 2018-09-28 09:39:38 -04:00
Adhityaa Chandrasekar
ac9f896a22 commento.js: reverse sorting algorithm 2018-09-28 09:39:07 -04:00
Adhityaa Chandrasekar
36d57914b2 release: v1.1.2 2018-09-27 17:13:05 -04:00
Adhityaa Chandrasekar
800ba5dd0d .gitlab-ci.yml: install git before usage 2018-09-27 17:11:57 -04:00
Adhityaa Chandrasekar
a793f7b3b4 release: v1.1.1 2018-09-26 04:01:11 -04:00
Adhityaa Chandrasekar
0d6dfb8319 .gitlab-ci.yml: auto-build docker image on tags 2018-09-26 04:01:10 -04:00
Adhityaa Chandrasekar
c5d2e17615 release: v1.1.0 2018-09-26 03:23:24 -04:00
Adhityaa Chandrasekar
93595f3877 router_static.go: do multiple rounds of templating 2018-09-26 03:18:36 -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
8ebc0cd965 api: run go fmt 2018-09-23 01:12:52 -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 Chandrasekar
f54f4d0afd db: build the comments count column 2018-09-23 00:47:38 -04:00
Adhityaa Chandrasekar
988a9fb1a1 router_api.go: expose /api/comment/count endpoint 2018-09-23 00:42:16 -04:00
Adhityaa Chandrasekar
283a32e2bb comment_list.go: allow empty path on new comments 2018-09-23 00:41:02 -04:00
Adhityaa Chandrasekar
330131f390 api,db: add comments count endpoint
Closes https://gitlab.com/commento/commento-ce/issues/27
2018-09-23 00:40:10 -04:00
Adhityaa
299649cea2 api,db: add page attributes and thread locking 2018-09-23 00:26:37 -04:00
Adhityaa Chandrasekar
0a03a2c6fc api/Makefile: use verbose when getting deps 2018-09-22 17:14:03 -04:00
Adhityaa Chandrasekar
c58b63b3b3 gitlab-ci.yml: run tests before building 2018-08-17 01:29:38 +05:30
Adhityaa Chandrasekar
0cce223f1a README.md: rephrase some bits 2018-08-17 00:22:40 +05:30
Adhityaa Chandrasekar
03e0b11e4e api: add version checking 2018-08-17 00:22:40 +05:30
Adhityaa Chandrasekar
9f14a9389c api: add MAX_IDLE_PG_CONNECTIONS config variable
This allows lib/pq to maintain that many idle connections to the
PostgreSQL server. The larger the number the better, but obviously, your
machine needs to be capable to maintain that many connections.

Closes https://gitlab.com/commento/commento-ce/issues/76
2018-08-17 00:22:38 +05:30
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