Commit Graph

378 Commits

Author SHA1 Message Date
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
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
JBP
99177a59c3 commenter_new.go: do not return error on empty website
Closes https://gitlab.com/commento/commento-ce/issues/57
2018-08-09 11:09:42 +02:00
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
Adhityaa Chandrasekar
ee324c1f28 login, signup: redirect to dashboard if logged in
Fixes https://gitlab.com/commento/commento-ce/issues/60
2018-08-08 11:38:48 +05:30
Adhityaa Chandrasekar
97d3d556e6 remove-config.sql: drop table only if it exists 2018-08-08 11:37:42 +05:30
Adhityaa Chandrasekar
12d9d52555 self.js: delete invalid cookie before redirecting 2018-08-08 11:32:37 +05:30
Adhityaa Chandrasekar
c71d634e82 Dockerfile: use number of make jobs based on nproc 2018-08-08 11:15:05 +05:30
Adhityaa Chandrasekar
e87367d22f Makefile: fix dependency graph to allow -j8
Previously, the dependency graph was messed up; the copy target was
a dependency of the root target, making it run concurrently when a
-j8 flag is passed to make. This causes make to copy the build files
before they are even built.

With this change, each component copies its own files after building.
2018-08-08 11:04:12 +05:30
Adhityaa Chandrasekar
3ad5128cb9 config.go: trim trailing slash in ORIGIN and CDN_PREFIX
Fixes https://gitlab.com/commento/commento-ce/issues/59
2018-08-08 10:49:14 +05:30
Adhityaa Chandrasekar
62d8e0b1dd .gitlab-ci.yml: do not run tests and builds on master 2018-07-26 21:56:04 +05:30