Commit Graph

167 Commits

Author SHA1 Message Date
Yanislav Igonin
79e6cc8e5b
Feature - Gateway (#12)
* feat: add geateway config

* feat: add ping controller for check by gateway

* feat: add new env vars for gateway

* feat: update config

* gateway request wip

* feat: add auth header for gateway request

* feat: separate gateway folder

* update endpoint for gateway

* add makefile

* lint

* swap png to svg

* add url of board to request to gateway

* change deployed path prefix

* add env in compose

* add body log on gateway connect
2022-02-28 10:18:44 +03:00
Yanislav Igonin
140d56b627 feat: separate templates package, now header has link even with empty title 2022-02-22 08:54:17 +02:00
Yanislav Igonin
f7be64e1b4 license 2022-02-09 12:23:06 +02:00
Yanislav Igonin
2f9e26d799 feat: disable captcha for local dev 2022-02-09 09:18:51 +02:00
Yanislav Igonin
672e82d06e
Feature - Post design (#11)
* feat: add date and id in post design

* feat: add file styling
2022-02-07 13:27:16 +03:00
Yanislav Igonin
a02884e6b5 docs 2022-02-06 19:40:21 +02:00
Yanislav Igonin
164f41ed9e feat: rename env var 2022-02-06 19:37:20 +02:00
Yanislav Igonin
aafbf6b1fe fix: BumpThreadInTx method 2022-02-03 18:28:22 +02:00
Yanislav Igonin
736be1f461 fix: parent id get for html template 2022-02-03 17:22:46 +02:00
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