Commit Graph

399 Commits

Author SHA1 Message Date
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
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