Commit Graph

182 Commits

Author SHA1 Message Date
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
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
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
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
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
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
db376eb124 Makefile: use consistent build structure 2018-05-27 23:40:46 +05:30
Adhityaa
1ceac9bbf3 api: add Makefile 2018-05-27 23:40:46 +05:30
Adhityaa
050ec10b36 .gitignore: use a root gitignore 2018-05-27 23:40:46 +05:30
Adhityaa
795456eba1 .gitignore: add build 2018-05-27 23:40:46 +05:30