Commit Graph

337 Commits

Author SHA1 Message Date
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
Adhityaa Chandrasekar
4bae1bf370 Dockerfile: use 8 concurrent builds 2018-07-26 21:55:34 +05:30
Adhityaa Chandrasekar
ca21648536 autoserve: use 8 concurrent builds 2018-07-25 14:53:13 +05:30
Adhityaa Chandrasekar
64570de75f commento.scss: set width of commento-name to fit-content 2018-07-25 00:05:19 +05:30
Adhityaa Chandrasekar
afeef81b29 comment_domain_path_get.go: include path in return 2018-07-25 00:04:42 +05:30
Adhityaa Chandrasekar
9fb33fbd9d api: add option to forbid new owner registrations
Closes https://gitlab.com/commento/commento-ce/issues/10
2018-07-24 15:53:41 +05:30
Adhityaa Chandrasekar
58be6a44b6 db: remove the config table 2018-07-24 15:37:03 +05:30
Adhityaa Chandrasekar
c57bc6a39b api: standardise strip fn names 2018-07-24 12:30:45 +05:30
Adhityaa Chandrasekar
a8ecbd9717 api: standardise marshal and unmarshal fn names 2018-07-24 12:28:43 +05:30
Adhityaa Chandrasekar
9974365b73 smtp_configure_test.go: rename cleanSmtpVars 2018-07-24 12:26:19 +05:30
Adhityaa Chandrasekar
44b7abbe5f api: rename performMigrations to migrate 2018-07-24 12:21:59 +05:30
Adhityaa Chandrasekar
58c011030e api: rename connectDB 2018-07-24 12:20:14 +05:30
Adhityaa Chandrasekar
645fad6139 api: rename initStaticRouter 2018-07-24 12:16:34 +05:30
Adhityaa Chandrasekar
14002df4b9 api: rename initAPIRouter 2018-07-24 12:16:02 +05:30
Adhityaa Chandrasekar
6701b4e863 api: rename serveRoutes 2018-07-24 12:15:25 +05:30
Adhityaa Chandrasekar
3c865fd8ff api: rename setupSigintCleanup 2018-07-24 12:14:25 +05:30
Adhityaa Chandrasekar
94f0f68604 api: rename createMarkdownRenderer 2018-07-24 12:13:23 +05:30
Adhityaa Chandrasekar
1f45c04aca api: rename createLogger to loggerCreate 2018-07-24 12:12:03 +05:30
Adhityaa Chandrasekar
b7b224983c config.go: rename parseConfig to configParse 2018-07-24 12:11:01 +05:30
Adhityaa Chandrasekar
6ca442f9cc frontend: dynamically generate width and position 2018-07-24 11:59:22 +05:30
Adhityaa
41b14e847c dashboard-main.scss: remove unnecessary SVG id 2018-07-04 18:30:49 +05:30
Adhityaa
a2c6d8b21d login.html: fix reset password link 2018-07-04 18:30:11 +05:30
Adhityaa
459c4d4234 dashboard-main.scss: inline SVG 2018-07-04 18:28:57 +05:30
Adhityaa
730db87f6f frontend: prefix images with CDN 2018-07-04 18:21:31 +05:30
Anton Linevych
07701eaa9f Project configuration improvements. 2018-06-24 13:28:37 +00:00
Adhityaa
7324243b4e build: lock npm package versions 2018-06-23 19:29:14 +05:30
Adhityaa
781aeca6bb api, frontend: use triple square brackets for templating 2018-06-22 19:50:22 +05:30
Adhityaa
7e4fcb20a6 login.html: fix reset password link 2018-06-22 19:50:22 +05:30
Adhityaa
584698df94 everywhere: use common html to generate footer 2018-06-22 19:50:22 +05:30
Adhityaa
c1c2a19842 utils_misc.go: print error on fatal exit 2018-06-22 19:50:20 +05:30
Adhityaa
f158e7e62c config_file_test.go: add tests 2018-06-21 21:17:13 +05:30
Adhityaa
39940c9f6b api: config files have lower precedence than envvars 2018-06-21 21:08:28 +05:30
Adhityaa
bb24f62b9c config_file.go: return error if config is invalid 2018-06-21 21:03:35 +05:30
Adhityaa
4890bc4cc7 config_file.go: allow comments with hash prefix 2018-06-21 20:59:42 +05:30
Adhityaa
6f06c4ed65 config_file.go: skip newlines 2018-06-21 20:59:29 +05:30
Adhityaa
ccfdba4f54 config_file.go: trim whitespace before processing 2018-06-21 20:58:26 +05:30
Adhityaa
1b1c97f0f0 api: allow configuration files
Closes https://gitlab.com/commento/commento-ce/issues/55
2018-06-21 20:53:06 +05:30
Adhityaa
89852ef76a scripts: move autoserve to scripts 2018-06-20 12:47:57 +05:30
Adhityaa
1e73c980ef api: run go fmt 2018-06-20 09:20:14 +05:30
Adhityaa
510257fd8b api: retry database connection if it fails
Closes https://gitlab.com/commento/commento-ce/issues/52
2018-06-20 09:19:39 +05:30
Adhityaa
237a02bee9 commenter_session_update_test.go: verify update
Fixes https://gitlab.com/commento/commento-ce/issues/53
2018-06-20 09:11:11 +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