Commit Graph

186 Commits

Author SHA1 Message Date
Yanislav Igonin
d645af63da feat: remove bootstrap js 2022-04-11 09:45:15 +03:00
Yanislav Igonin
0cc994c2b7 feat: turn rate limiter back on 2022-04-11 09:31:17 +03:00
Yanislav Igonin
2d321e8833 feat: update deps 2022-04-10 11:41:11 +03:00
Yanislav Igonin
84cd830a7f fix: disable rate limiter (need to be configured properly) 2022-04-09 15:42:56 +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
4f23b5dc71
Fix - Rename method (#13) 2022-04-05 21:17:08 +03:00
Yanislav Igonin
edb39360d2 Revert "fix: static hosting"
This reverts commit 2c19a7794d.
2022-02-28 12:33:32 +02:00
Yanislav Igonin
920018950b Revert "fix: seo + uploads"
This reverts commit 424a5ff4df.
2022-02-28 12:33:20 +02:00
Yanislav Igonin
76e6179346 Revert "fix: css renaming for deploy"
This reverts commit 21cd94b93e.
2022-02-28 12:33:13 +02:00
Yanislav Igonin
21cd94b93e fix: css renaming for deploy 2022-02-28 12:18:15 +02:00
Yanislav Igonin
424a5ff4df fix: seo + uploads 2022-02-28 12:10:37 +02:00
Yanislav Igonin
2c19a7794d fix: static hosting 2022-02-28 11:59:50 +02:00
Yanislav Igonin
03f0dfc55d add middleware to traefik 2022-02-28 11:54:14 +02:00
Yanislav Igonin
8a194d7f48 change path to pathprefix 2022-02-28 11:33:50 +02:00
Yanislav Igonin
c5d0ebfbca add slash for prefix 2022-02-28 11:32:11 +02:00
Yanislav Igonin
88aba20245 fix labels 2022-02-28 11:28:21 +02:00
Yanislav Igonin
03f210bf4a fix label 2022-02-28 11:26:08 +02:00
Yanislav Igonin
6b67e11e3b fix 2022-02-28 11:24:24 +02:00
Yanislav Igonin
6c1ac1367e add stripprefix for deploy 2022-02-28 11:22:08 +02: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
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