Commit Graph

12 Commits

Author SHA1 Message Date
Yanislav Igonin
fb9933097b add validation on post create 2022-04-12 11:39:02 +03:00
Yanislav Igonin
c8c9850625
Refactoring - Fiber (#14)
* add fiber

* disable gin, enable fiber

* gradually enabling app setup

* change env

* add routes

* add static

* connect template engine

* add simple load test

* make it executable

* add rate limiter

* doc

* connect get threads controller

* clean

* add compression middleware

* add etag middleware

* lint

* add recover middleware

* check isFromLocal method

* connect get thread by id controller

* connect create thread controller

* connect captcha controller

* connect update thread controller

* rename file

* playing with css

* connect gateway controller
2022-04-09 15:16:09 +03:00
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
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
62be228308 feat: add line breaks on threads list text 2022-01-20 21:03:18 +02:00
Yanislav Igonin
86bd536f42 fix: word wrap for multiline posts 2021-11-21 09:14:09 +02:00
Yanislav Igonin
a6daededbf feat: add line break for posts 2021-11-20 22:57:14 +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
993ca5e614 fix: fast fix for 400/404 errors pages 2021-10-16 18:06:56 +03:00
Yanislav Igonin
4398698ee0 fix: error image again 2021-10-16 13:58:21 +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