Commit Graph

10 Commits

Author SHA1 Message Date
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
164f41ed9e feat: rename env var 2022-02-06 19:37:20 +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
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
d4a3422281 feat: take postgres max conn from connection url 2021-09-30 20:55:34 +03:00
Yanislav Igonin
828deb52a4 feat: hide rate limiter under flag 2021-09-08 18:54:46 +03:00
Yanislav Igonin
ac006d5f1b feat: hide seeds under env var 2021-09-08 15:36:13 +03:00
Yanislav Igonin
107dd0fa0e feat: add err check for single row 2021-09-03 02:34:45 +03:00
Yanislav Igonin
843e81dd78 feat: add carcass 2021-08-26 16:16:50 +03:00