Adhityaa
|
57e5bc7abc
|
api: add disqus endpoint
|
2018-06-14 16:33:40 +05:30 |
|
Adhityaa
|
93b842c5d4
|
commento.js: use a separate function to autoload
|
2018-06-14 16:33:40 +05:30 |
|
Adhityaa
|
877a9bf09f
|
smtp_configure_test.go: clean SMTP_PORT each test
|
2018-06-13 00:33:42 +05:30 |
|
Adhityaa
|
425312034f
|
smtp_configure_test.go: clean env before test
Sometimes the tests end before they reach the end.
|
2018-06-13 00:32:32 +05:30 |
|
Adhityaa
|
a3a6f2ba68
|
api: use COMMENTO_ prefix on errors
Closes https://gitlab.com/commento/commento-ce/issues/44
|
2018-06-13 00:22:08 +05:30 |
|
Adhityaa
|
0ee43ae52a
|
commento-tags.scss: use a lighter shades for tags
|
2018-06-12 21:13:15 +05:30 |
|
Adhityaa
|
a9d7076c2e
|
commento.js: remove double call protection
|
2018-06-12 21:13:14 +05:30 |
|
Adhityaa
|
c7b3686506
|
README.md: change logo size
|
2018-06-11 15:35:06 +05:30 |
|
Adhityaa
|
78384073b0
|
api: allow gzipped response
|
2018-06-11 15:02:14 +05:30 |
|
Adhityaa
|
9e682a964a
|
commento.js: allow dynamic script loading
|
2018-06-11 15:02:14 +05:30 |
|
Adhityaa
|
70505c5f06
|
commento.js: hold off display until css load
|
2018-06-11 15:02:13 +05:30 |
|
Adhityaa
|
82240a72e4
|
commento.js: remove stray console.log
|
2018-06-11 14:18:39 +05:30 |
|
Adhityaa
|
6e57dabdf8
|
domain_new.go: use stripped domain name
Fixes https://gitlab.com/commento/commento-ce/issues/19
|
2018-06-11 12:05:31 +05:30 |
|
Adhityaa
|
14509adaba
|
commento-buttons.scss: escape hash character
|
2018-06-11 01:57:10 +05:30 |
|
Adhityaa
|
684734cb29
|
commento.js: fix configuredOauths typo
|
2018-06-11 01:23:37 +05:30 |
|
Adhityaa
|
1a61d52123
|
commento.js: fix anonymity button logic typo
|
2018-06-11 01:20:17 +05:30 |
|
Adhityaa
|
95d80927b2
|
Makefile: make devel the default target
|
2018-06-11 01:19:41 +05:30 |
|
Adhityaa
|
60ad11bdcb
|
README.md: fix banner logo url
Fixes https://gitlab.com/commento/commento-ce/issues/12
|
2018-06-11 00:44:55 +05:30 |
|
Adhityaa
|
0cb37de5a7
|
commento.js: remove oauth only if it exists
|
2018-06-11 00:40:34 +05:30 |
|
Adhityaa
|
b2b7f59356
|
docker-compose.yml: do not hardcode values
|
2018-06-11 00:25:26 +05:30 |
|
Adhityaa
|
442e3e44de
|
owner_new.go: create commenter user on ownerNew
|
2018-06-11 00:16:22 +05:30 |
|
Adhityaa
|
8b0d198934
|
api: run go fmt
|
2018-06-10 23:13:42 +05:30 |
|
Adhityaa
|
42a58f1d87
|
api: sanitise new commenters' links
|
2018-06-10 23:13:18 +05:30 |
|
Adhityaa
|
2020405e8b
|
frontend, api: allow custom emails as commenters
I'm really sorry this came out as one huge commit, but I'm afraid
I can't split this up.
Closes https://gitlab.com/commento/commento-ce/issues/9
|
2018-06-10 22:58:54 +05:30 |
|
Adhityaa
|
e42f77b4eb
|
commento.js: use nounVerb format
|
2018-06-10 20:18:54 +05:30 |
|
Adhityaa
|
a9b235ef0b
|
frontend: add password reset functionality
|
2018-06-09 15:49:55 +05:30 |
|
Adhityaa
|
5f23706003
|
reset-hex.html: use ResetHex instead of Hex
|
2018-06-09 15:49:55 +05:30 |
|
Adhityaa
|
c794c40392
|
api: add new config SMTP_PORT
|
2018-06-09 15:49:55 +05:30 |
|
Adhityaa
|
9d5e4f9f96
|
smtp_templates.go: use STATIC instead of COMMENTO_STATIC
|
2018-06-09 15:49:55 +05:30 |
|
Adhityaa
|
0d6c3b5992
|
main.go: load SMTP templates
|
2018-06-09 15:49:54 +05:30 |
|
Adhityaa
|
5fe785f2fd
|
owner_reset_hex.go: check for SMTP configuration before queries
|
2018-06-09 15:49:54 +05:30 |
|
Adhityaa
|
130ee48e7e
|
Makefile: do not place templates double-nested
|
2018-06-09 15:49:54 +05:30 |
|
Adhityaa
|
cd8b1b85b2
|
templates: use html extension instead of tmpl
|
2018-06-09 15:49:54 +05:30 |
|
Adhityaa
|
21175cb649
|
frontend: remove link to account
|
2018-06-09 14:22:32 +05:30 |
|
Adhityaa
|
8983efabe2
|
errors.go: remove irrelevant errors
|
2018-06-09 14:22:32 +05:30 |
|
Adhityaa
|
2e64c95b7c
|
smtp_templates.go: add reset-hex
|
2018-06-09 14:11:53 +05:30 |
|
Adhityaa
|
c208e3392b
|
config_test.go: add test for no ORIGIN
|
2018-06-09 14:11:53 +05:30 |
|
Adhityaa
|
37e772b595
|
api: use Errorf instead of Fatalf
|
2018-06-09 14:11:53 +05:30 |
|
Adhityaa
|
432ffeebb3
|
api: add COMMENTO_STATIC environment variable
Closes https://gitlab.com/commento/commento-ce/issues/2
|
2018-06-09 14:11:31 +05:30 |
|
Adhityaa
|
88165504f3
|
README: fix documentation links
|
2018-06-09 13:28:54 +05:30 |
|
Adhityaa
|
5c5f5b6230
|
.gitlab-ci.yml: add automated registry push on master
|
2018-06-09 11:11:13 +05:30 |
|
Adhityaa
|
5b28e80924
|
gitlab-ci.yml: add build and test
|
2018-06-08 00:46:26 +05:30 |
|
Adhityaa
|
6f3ed40b39
|
api: use localhost instead of 0.0.0.0
|
2018-06-08 00:39:45 +05:30 |
|
Adhityaa
|
73647421fb
|
testing.go: use COMMENTO_POSTGRES if set
|
2018-06-08 00:39:45 +05:30 |
|
Adhityaa
|
3252c30dd9
|
comment_approve_test.go: include unapproved listing
|
2018-06-07 23:19:43 +05:30 |
|
Adhityaa
|
1df933c3c0
|
config_test.go: use COMMENTO_ prefix
|
2018-06-07 23:19:43 +05:30 |
|
Adhityaa
|
5a7cffb317
|
api: fix test since change in commenter API
|
2018-06-07 23:19:43 +05:30 |
|
Adhityaa
|
8c4220dcd8
|
docker: add Dockerfile and docker-compose.yml
|
2018-06-07 14:37:04 +05:30 |
|
Adhityaa
|
2e6297d494
|
frontend: remove 404 tos and privacy links
|
2018-06-07 14:36:51 +05:30 |
|
Adhityaa
|
e80617d41c
|
config.go: use a COMMENTO_ prefix
|
2018-06-07 14:33:15 +05:30 |
|
Adhityaa
|
7c75792622
|
README: add file
Lots of broken links, I'll fix these later.
|
2018-06-07 13:42:31 +05:30 |
|
Adhityaa
|
a6c6598c4a
|
frontend: add commento embed js and scss
|
2018-06-07 13:31:11 +05:30 |
|
Adhityaa
|
8f2d7e58a5
|
devel.env: do not check in
|
2018-06-07 13:15:40 +05:30 |
|
Adhityaa
|
2723053039
|
oauth_google_callback.go: use commenterGetByEmail
|
2018-06-07 13:14:19 +05:30 |
|
Adhityaa
|
a066062f8b
|
oauth_google_callback.go: use error to detect auth
|
2018-06-07 13:13:36 +05:30 |
|
Adhityaa
|
36f281ec44
|
commenter_get.go: add spaces around SQL WHERE
|
2018-06-07 13:11:33 +05:30 |
|
Adhityaa
|
d75c882882
|
api: replace commenterIsProviderUser
|
2018-06-07 13:11:02 +05:30 |
|
Adhityaa
|
2f93726a04
|
comment_list.go: do not leak state if not mod
|
2018-06-07 13:10:15 +05:30 |
|
Adhityaa
|
0f2a6a8ccc
|
api: rename VoteDirection to Direction
|
2018-06-07 13:09:53 +05:30 |
|
Adhityaa
|
fcf21fd9db
|
comment.go: include state in JSON response
|
2018-06-07 13:08:44 +05:30 |
|
Adhityaa
|
d85c136f1d
|
comment_delete.go: fix isDomainModerator args
|
2018-06-07 13:05:52 +05:30 |
|
Adhityaa
|
2a44e83989
|
comment_approve.go: fix isDomainModerator args
|
2018-06-07 12:59:39 +05:30 |
|
Adhityaa
|
85a6d1ec95
|
oauth_google.go: fix env variable
|
2018-06-06 22:51:59 +05:30 |
|
Adhityaa
|
16e3c926fe
|
commenter_get.go: ret error on non-existant user
|
2018-06-06 22:51:36 +05:30 |
|
Adhityaa
|
d4f617a703
|
frontend: prefix cdn and origin with commento
|
2018-06-05 15:31:16 +05:30 |
|
Adhityaa
|
ee65be7bac
|
frontend: add logout
|
2018-06-05 14:23:32 +05:30 |
|
Adhityaa
|
98422b2dae
|
dashboard.html: split name and buttons in navbar
|
2018-06-05 14:22:56 +05:30 |
|
Adhityaa
|
b8da3bd164
|
login.html: fix logo image src
|
2018-06-05 14:22:22 +05:30 |
|
Adhityaa
|
53dbbebd07
|
dashboard: rephrase general settings
|
2018-06-05 14:01:29 +05:30 |
|
Adhityaa
|
44e6d2bc8e
|
Makefile: fix target typo
|
2018-06-05 13:52:29 +05:30 |
|
Adhityaa
|
71f8653bd6
|
frontend: switch to node sass
|
2018-06-05 13:52:29 +05:30 |
|
Adhityaa
|
9ee3f0166a
|
templates: add confirm-hex and reset-hex
|
2018-06-05 13:52:29 +05:30 |
|
Adhityaa
|
a88dea879b
|
frontend: check in html, css, js
|
2018-06-05 13:52:25 +05:30 |
|
Adhityaa
|
5b7b97a4bf
|
api: add statistics endpoint
|
2018-06-03 21:35:44 +05:30 |
|
Adhityaa
|
13eca3c78a
|
domain_delete: delete moderator data
|
2018-06-03 21:35:25 +05:30 |
|
Adhityaa
|
79f39f8094
|
router_static.go: inject CDN_PREFIX in JS files
|
2018-06-03 20:48:29 +05:30 |
|
Adhityaa
|
02f134932f
|
domain_moderator_delete.go: fix fn param order
|
2018-06-03 20:47:58 +05:30 |
|
Adhityaa
|
08783df363
|
config.go: Set CDN_PREFIX to ORIGIN if empty
|
2018-06-03 20:47:31 +05:30 |
|
Adhityaa
|
4e24e875cf
|
gitignore: add .sass-cache
|
2018-06-03 20:20:34 +05:30 |
|
Adhityaa
|
efb23778b8
|
router_static.go: set Content-Type header
|
2018-06-03 20:19:46 +05:30 |
|
Adhityaa
|
7e9713b35e
|
router_static.go: use a prefix variable
|
2018-06-03 20:18:50 +05:30 |
|
Adhityaa
|
dec05be7f8
|
domain_new: create domains with ownerHex
|
2018-06-03 20:14:11 +05:30 |
|
Adhityaa
|
c5b29bbfe1
|
router_static.go: inject origin instead of api
|
2018-06-03 17:27:42 +05:30 |
|
Adhityaa
|
2d6ce008c6
|
owner_new: return whether to confirm email
|
2018-06-03 17:27:22 +05:30 |
|
Adhityaa
|
31d965bf12
|
router_static.go: redirect / to login
|
2018-06-03 17:09:49 +05:30 |
|
Adhityaa
|
11fdecb8cc
|
.gitignore: permanently set in devel.env
|
2018-06-03 16:43:40 +05:30 |
|
Adhityaa
|
7110b68258
|
devel.env: add file
|
2018-06-03 16:43:17 +05:30 |
|
Adhityaa
|
45baee2eef
|
autoserve: add script
|
2018-06-03 16:42:50 +05:30 |
|
Adhityaa
|
a565f34842
|
router_static.go: use a common path string
|
2018-06-03 16:42:37 +05:30 |
|
Adhityaa
|
03f075e75a
|
router_static.go: prefix JS with Origin
|
2018-06-03 16:42:05 +05:30 |
|
Adhityaa
|
01d1b1dbdf
|
templates: build into the templates directory
|
2018-06-03 16:40:57 +05:30 |
|
Adhityaa
|
c6222208cf
|
db: build into the db directory
|
2018-06-03 16:40:51 +05:30 |
|
Adhityaa
|
e0f9679694
|
router_static.go: use different template delims
Vue.js uses the same template system {{variable}}, and that clashes
with Go's default delimiters for templates.
|
2018-06-03 14:03:47 +05:30 |
|
Adhityaa
|
72ab137f06
|
api: handle SIGINT gracefully
|
2018-06-03 14:03:24 +05:30 |
|
Adhityaa
|
a44e389b10
|
editoconfig: add go rules
|
2018-05-28 00:02:58 +05:30 |
|
Adhityaa
|
a090770b73
|
api: Add go files
I know this is a huge commit, but I can't be bothered to check
this in part by part.
|
2018-05-27 23:40:46 +05:30 |
|
Adhityaa
|
60e7e59841
|
db: add Makefile
|
2018-05-27 23:40:46 +05:30 |
|
Adhityaa
|
c6970127f4
|
Makefile: add db targets
|
2018-05-27 23:40:46 +05:30 |
|
Adhityaa
|
cf572a6883
|
db: add initial postgresql schema
|
2018-05-27 23:40:46 +05:30 |
|
Adhityaa
|
4504048f87
|
templates/Makefile: change TMPL_* to TEMPLATES_*
|
2018-05-27 23:40:46 +05:30 |
|