Commit Graph

155 Commits

Author SHA1 Message Date
Yanislav Igonin
79207ce24a feat: remove csrf token 2021-10-06 11:36:01 +03:00
Yanislav Igonin
c94f711da7 todo 2021-10-05 22:48:49 +03:00
Yanislav Igonin
649aea9abf fix: static meta in errors templates 2021-10-05 21:53:12 +03:00
Yanislav Igonin
35934c04f0 refactoring: make separate files for embeded templates 2021-10-05 21:46:17 +03:00
Yanislav Igonin
fcc6330b19 feat: make form responsible for different screens 2021-10-04 19:49:44 +03:00
Yanislav Igonin
19a2c02e9a feat: add captcha check 2021-10-04 19:37:33 +03:00
Yanislav Igonin
8ec262f09c feat: center captch, add input 2021-10-04 19:30:59 +03:00
Yanislav Igonin
096948bcaa add hidden input with captcha id in form 2021-10-04 11:44:02 +03:00
Yanislav Igonin
b2fdb89d49 add captcha view 2021-10-04 11:41:08 +03:00
Yanislav Igonin
77096ef867 update templates, structs and controllers to support captcha 2021-10-04 11:40:53 +03:00
Yanislav Igonin
e0d44aa0b6 feat: add captcha endpoint 2021-10-03 11:48:59 +03:00
Yanislav Igonin
d4a3422281 feat: take postgres max conn from connection url 2021-09-30 20:55:34 +03:00
Yanislav Igonin
2cff45875f clean 2021-09-30 20:47:44 +03:00
Yanislav Igonin
1219eb3d29 feat: add csrf token on backend and frontend 2021-09-30 20:44:14 +03:00
Yanislav Igonin
06b4eea014 feat: add image thumb creating 2021-09-12 14:06:52 +03:00
Yanislav Igonin
b2b2fc3268 feat: add originals and thumbnails folder for pictures 2021-09-12 11:31:43 +03:00
Yanislav Igonin
6838a2ded4 posts design wip 2021-09-12 00:30:48 +03:00
Yanislav Igonin
6243ad9f4c feat: remove title in form from thread page 2021-09-12 00:14:31 +03:00
Yanislav Igonin
6ef39c6726 feat: disable gin logs 2021-09-11 17:57:57 +03:00
Yanislav Igonin
35131c4ff8 feat: add limit for max connections for poll 2021-09-11 17:09:43 +03:00
Yanislav Igonin
f24c97f5e0 feat: add simple post validation 2021-09-11 16:56:22 +03:00
Yanislav Igonin
e5bbc585e3 feat: write files by id 2021-09-11 16:05:31 +03:00
Yanislav Igonin
b54db6f729 feat: add thread update 2021-09-11 14:59:16 +03:00
Yanislav Igonin
3e4f384c1b Revert "feat: docker image: busybox -> scratch"
This reverts commit 90ea60d698.
2021-09-11 01:22:48 +03:00
Yanislav Igonin
99a6113caa fix: 404 for empty pages 2021-09-11 01:20:56 +03:00
Yanislav Igonin
90ea60d698 feat: docker image: busybox -> scratch 2021-09-11 01:16:37 +03:00
Yanislav Igonin
8990de565b fix: volumes 2021-09-11 01:01:03 +03:00
Yanislav Igonin
4c194d4a5a feat: add docker compose volume 2021-09-11 00:21:14 +03:00
Yanislav Igonin
65fb2bb2a6 debug: add go version 2021-09-10 19:57:45 +03:00
Yanislav Igonin
6a59874238 feat: add margin bottom for posts list 2021-09-10 19:21:33 +03:00
Yanislav Igonin
007f5f4883 feat: add thread creation 2021-09-10 19:16:53 +03:00
Yanislav Igonin
545a131801 feat: remove conn aquire in file create 2021-09-10 18:18:52 +03:00
Yanislav Igonin
2a21b5b4b0 feat: add some checks to render 404 2021-09-10 17:09:15 +03:00
Yanislav Igonin
4123a4a04a feat: add sage checkbox and send button in form 2021-09-10 17:08:28 +03:00
Yanislav Igonin
1a784118e9 fix: add default query for page 2021-09-10 15:06:37 +03:00
Yanislav Igonin
95bebb01cb fix: pagination count 2021-09-10 14:52:56 +03:00
Yanislav Igonin
9b69eb46b7 feat: add pagination 2021-09-10 02:17:45 +03:00
Yanislav Igonin
8860c4f26c feat: remove edges from form, add gutters between form elements, move form to templates 2021-09-08 22:34:10 +03:00
Yanislav Igonin
828deb52a4 feat: hide rate limiter under flag 2021-09-08 18:54:46 +03:00
Yanislav Igonin
fc650b2d2a fix: postgres connection freezes 2021-09-08 18:50:33 +03:00
Yanislav Igonin
81de0e69b7 feat: add rate limiter 2021-09-08 16:56:03 +03:00
Yanislav Igonin
4c48bdb5b5 feat: remove local seeds 2021-09-08 15:39:09 +03:00
Yanislav Igonin
ac006d5f1b feat: hide seeds under env var 2021-09-08 15:36:13 +03:00
Yanislav Igonin
d456be5e9a readme 2021-09-08 15:31:26 +03:00
Yanislav Igonin
3f3f0aea19 feat: add 500 page 2021-09-05 16:05:14 +03:00
Yanislav Igonin
a37b8e1bae feat: add link on error page 2021-09-05 16:02:17 +03:00
Yanislav Igonin
9ae5f37aea feat: move static meta to templates 2021-09-05 15:38:08 +03:00
Yanislav Igonin
25f6ba7e93 feat: add 404 page 2021-09-05 15:35:20 +03:00
Yanislav Igonin
ca65436fb6 feat: add nested templates 2021-09-05 14:36:10 +03:00
Yanislav Igonin
9f4082a832 create thread wip 2021-09-05 13:50:22 +03:00