Commit Graph

146 Commits

Author SHA1 Message Date
Yanislav Igonin
cb4eaa9fc2 feat: little refactoring 2022-01-21 01:24:30 +02:00
Yanislav Igonin
62be228308 feat: add line breaks on threads list text 2022-01-20 21:03:18 +02:00
Yanislav Igonin
16d5fa039e feat: add post text slice if too big on threads list 2022-01-20 20:45:47 +02:00
Yanislav Igonin
b550c8c16d feat: now threads centered 2022-01-20 20:30:51 +02:00
Yanislav Igonin
cf00c7a3fa
feat: add css renamer for production (#8) 2022-01-11 12:49:39 +03:00
Yanislav Igonin
86bd536f42 fix: word wrap for multiline posts 2021-11-21 09:14:09 +02:00
Yanislav Igonin
0c0969ddcb feat: artifacts live for 1 day 2021-11-20 23:00:18 +02:00
Yanislav Igonin
a6daededbf feat: add line break for posts 2021-11-20 22:57:14 +02:00
Yanislav Igonin
21f804cafb feat: archive only parents 2021-11-20 22:42:16 +02:00
Yanislav Igonin
8c448d11a1 fix: add defults for threads max count, also add some helpful method to handle default config values 2021-11-20 19:32:05 +02:00
Yanislav Igonin
783e577311
Feature - Threads archivation (#4)
* todo

* update env var

* add new var to config

* update GetCount (not archived threads)

* wip on threads count check

* feat: add get oldest updated at thread

* feat: add archivation method for oldest threads

* feat: add migrations for posts timefields

* feat: now child posts created without updated_at

* feat: add threads archivation
2021-11-20 20:13:05 +03:00
Yanislav Igonin
9d2703f35a fix: add migrations to build 2021-11-18 00:26:28 +02:00
Yanislav Igonin
242abb8645
Feature - Migrator (#3)
* feat: rename init migration

* feat: add migration for is_archived field

* fix: thread title wrap

* fix: captcha checks after post validation now

* fix

* wip on migrate method

* feat: decided to write own migrator

* feat: add get files on folder func

* wip

* feat: add migrations table

* feat: add migration method

* doc

* feat: query -> exec
2021-11-17 11:44:12 +03:00
Yanislav Igonin
c1f632ee03 feat: only numbers in captcha field on mobile 2021-10-25 10:47:21 +03:00
Yanislav Igonin
dafdd198e1 fix: remove ы 2021-10-24 12:43:44 +03:00
Yanislav Igonin
8a886accf0
feat: first post image as seo image (#2) 2021-10-24 12:41:37 +03:00
Yanislav Igonin
efd3d7a4fe
Release and deploy only from master (#1)
* feat: release and deploy only on master

* todo
2021-10-24 10:41:48 +03:00
Yanislav Igonin
3a8077f85d fix: get thread by id for deleted 2021-10-22 15:36:50 +03:00
Yanislav Igonin
6bff9179f2 fix: deleted posts not returned 2021-10-22 15:27:08 +03:00
Yanislav Igonin
d099f76d25 feat: add golang migrate 2021-10-17 11:12:05 +03:00
Yanislav Igonin
b3d9bcb9cb feat: rename migration 2021-10-17 11:11:52 +03:00
Yanislav Igonin
993ca5e614 fix: fast fix for 400/404 errors pages 2021-10-16 18:06:56 +03:00
Yanislav Igonin
a98d4f1ceb fix: add doctype everywhere in html 2021-10-16 14:36:52 +03:00
Yanislav Igonin
fe301b24a2 fix: connect post form styles 2021-10-16 14:17:32 +03:00
Yanislav Igonin
37d3be774b fix: disable files in seeds 2021-10-16 14:17:15 +03:00
Yanislav Igonin
4398698ee0 fix: error image again 2021-10-16 13:58:21 +03:00
Yanislav Igonin
fd1d917e09 fix: not centered text on error pages 2021-10-16 13:52:25 +03:00
Yanislav Igonin
9d14673bb5 fix: update error image sizes 2021-10-16 13:45:55 +03:00
Yanislav Igonin
4d83b91ade fix: squized error picture 2021-10-16 13:14:45 +03:00
Yanislav Igonin
441c158846 feat: add footer 2021-10-14 11:43:32 +03:00
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