Commit Graph

166 Commits

Author SHA1 Message Date
Yanislav Igonin
d331c8700d feat: add thread refresh after posting 2021-10-14 10:45:32 +03:00
Yanislav Igonin
fb29be59ae feat: update post validation
title - 100
text - 1000
files - 4
text or files in post
2021-10-11 11:08:55 +03:00
Yanislav Igonin
86b7750a36 feat: add files ext check 2021-10-10 11:11:31 +03:00
Yanislav Igonin
a87101d1ea refac: var -> const 2021-10-10 10:42:28 +03:00
Yanislav Igonin
44c1f56e9f feat: add files size check 2021-10-10 10:41:36 +03:00
Yanislav Igonin
2491d5b680 feat: change arrow, remove underlined sate 2021-10-07 16:40:47 +03:00
Yanislav Igonin
4126b79f72 feat: update arrow 2021-10-07 11:12:13 +03:00
Yanislav Igonin
5a0189bbb3 feat: add home link in thread title 2021-10-07 11:11:36 +03:00
Yanislav Igonin
89487cda3b feat: make sage possible 2021-10-07 10:51:18 +03:00
Yanislav Igonin
10207952e2 feat: add parent post updated_at update 2021-10-06 13:02:43 +03:00
Yanislav Igonin
b6428b033c feat: add message pass to 400 html template 2021-10-06 11:50:19 +03:00
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