Commit Graph

158 Commits

Author SHA1 Message Date
Yanislav Igonin
f4c2f9262e fix: access to thread id in post template 2022-02-03 15:12:34 +02:00
Yanislav Igonin
6280a5fc9f feat: separate thread card title and text components 2022-02-02 15:03:40 +02:00
Yanislav Igonin
2d065c1346 fix: css renaming for recursively structured folders 2022-02-02 11:49:49 +02:00
Yanislav Igonin
fbe39f45a3
Feature - Components refactor (#10)
* feat: header component

* feat: captcha component

* feat: rename all html files

* feat: update github link

* feat: all templates in subfolders

* feat: separate thread card

* feat: separate pagination

* feat: update pagination

* feat: separate post

* lint
2022-01-31 19:56:21 +03:00
Yanislav Igonin
21c82b47e9 doc: change header 2022-01-27 20:08:35 +02:00
Yanislav Igonin
50ccde9e1e doc: change name 2022-01-27 20:08:14 +02:00
Yanislav Igonin
8e9f84e681 doc: update readme 2022-01-27 20:07:39 +02:00
Yanislav Igonin
2bcd0ff8c3
Feature- Bump limit (#9)
* feat: add bump limit check on thread update

* feat: add captcha is active env var
2022-01-27 20:23:51 +03:00
Yanislav Igonin
868a7214d2 remove api 2022-01-26 19:43:27 +02:00
Yanislav Igonin
bd6f378b59 disable api 2022-01-26 19:42:23 +02:00
Yanislav Igonin
d74fb8a246 lint 2022-01-26 19:37:14 +02:00
Yanislav Igonin
25d91e5742 feat: add thread is archived check on posting 2022-01-23 19:32:02 +02:00
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