Commit Graph
100 Commits
Author SHA1 Message Date
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 514535a607 oauth_google_callback.go: fix potential nil panic 2019-01-30 21:25:09 -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 00c197e2ee owner_new.go: perform email check before processing 2019-01-24 06:11:37 -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 3677d43aab templates: use plaintext instead of fancy HTML 2019-01-23 02:52:13 -05:00
Adhityaa Chandrasekar 0cdba65e48 release: v1.4.2 2019-01-23 00:27:55 -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 e0cf9a89f9 release: v1.4.1 2019-01-16 23:03:32 -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 71947bbe2c README.md: use h3 for sections 2019-01-14 11:44:50 -05:00
Adhityaa Chandrasekar 5a029e2786 README.md: update with FAQ 2019-01-14 11:26:08 -05:00
Adhityaa Chandrasekar 7f9a39c330 .gitlab-ci.yml: specify AWS variables in job 2018-12-29 01:59:54 -05:00
Adhityaa Chandrasekar 633ccf427c .gitlab-ci.yml: environment: aws-upload-tags 2018-12-29 01:37:27 -05:00
Adhityaa Chandrasekar 51e4608c19 .gitlab-ci.yml: use environment for aws-upload-tags 2018-12-29 01:14:21 -05:00
Adhityaa Chandrasekar 612e620ffc .gitlab-ci.yml: remove ce suffix from CI scripts 2018-12-29 00:57:25 -05:00
Adhityaa Chandrasekar 642076a231 .gitlab-ci.yml: add automated aws push on release 2018-12-29 00:39:25 -05:00
Adhityaa Chandrasekar f63639782c check-dco: add execute permission bit 2018-12-29 00:14:55 -05:00
Adhityaa Chandrasekar 02615088ff everywhere: remove -ce suffix 2018-12-28 12:58:01 -05:00
Adhityaa Chandrasekar 5aa3bc86eb release: v1.4.0 2018-12-28 12:18:54 -05:00
Adhityaa Chandrasekar d5769d56c1 version.go: remove unused import 2018-12-28 12:18:54 -05:00
Adhityaa Chandrasekar 8eb0bc147c router_static.go: go fmt 2018-12-28 12:14:15 -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 34e39edcda version.go: remove ORIGIN and reduce frequency of logs 2018-12-28 11:47:54 -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
Adhityaa Chandrasekar 4c0e261a8e autoserve: make it easy to switch between devel and prod 2018-12-20 04:18:43 -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 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
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 e95e2f9e7a .gitlab-ci.yml: check for dco 2018-08-13 11:21:33 +05:30
Adhityaa Chandrasekar 999ba0c419 dep: add dependency version pinning with dep
Closes https://gitlab.com/commento/commento-ce/issues/69
2018-08-12 23:39:26 +05:30
Adhityaa Chandrasekar d41e8b0372 owner_confirm_hex.go: fix login redirect typo
I have no idea where the FRONTEND environment variable came from (I
think it's from my original write of Commento v1, which had whole bunch
of different terminologies).

Anyway, the `os.Getenv("FRONTEND")` would basically amount to nothing
all the time, and it would redirect to "/login" irrespective of whether
the user has a subdirectory-based COMMENTO_ORIGIN value.

Closes https://gitlab.com/commento/commento-ce/issues/72
2018-08-12 23:39:26 +05:30
Adhityaa Chandrasekar 5c6ab490c7 config.go: fix CDN_PREFIX sanitisation typo 2018-08-12 23:39:26 +05:30
Adhityaa Chandrasekar 3205766248 config.go: add http prefix to ORIGIN and CDN_PREFIX 2018-08-12 23:39:21 +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
Adhityaa Chandrasekar eaa8001e7e .gitlab-ci.yml: run docker-registry only on upstream master 2018-08-08 22:35:37 +05:30
Adhityaa Chandrasekar f3119e28fd confirm-email.html: add file
Closes https://gitlab.com/commento/commento-ce/issues/66
2018-08-08 22:33:02 +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 199e650147 Dockerfile: install ca-certificates in the final image
Closes https://gitlab.com/commento/commento-ce/issues/65
2018-08-08 13:11:02 +05:30
Adhityaa Chandrasekar 6ed44db56b everywhere: allow subdir-ed origin setups
Closes https://gitlab.com/commento/commento-ce/issues/61
2018-08-08 12:42:59 +05:30