Yanislav Igonin
79c350c2fb
change limiter enabling
2022-05-18 10:45:53 +03:00
Yanislav Igonin
0853d87fc3
rate limiter now enabled from config
2022-05-18 10:34:56 +03:00
Yanislav Igonin
0cc994c2b7
feat: turn rate limiter back on
2022-04-11 09:31:17 +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
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
164f41ed9e
feat: rename env var
2022-02-06 19:37:20 +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
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
cf00c7a3fa
feat: add css renamer for production ( #8 )
2022-01-11 12:49:39 +03: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
79207ce24a
feat: remove csrf token
2021-10-06 11:36:01 +03:00
Yanislav Igonin
e0d44aa0b6
feat: add captcha endpoint
2021-10-03 11:48:59 +03:00
Yanislav Igonin
1219eb3d29
feat: add csrf token on backend and frontend
2021-09-30 20:44:14 +03:00
Yanislav Igonin
6ef39c6726
feat: disable gin logs
2021-09-11 17:57:57 +03:00
Yanislav Igonin
95bebb01cb
fix: pagination count
2021-09-10 14:52:56 +03:00
Yanislav Igonin
9b69eb46b7
feat: add pagination
2021-09-10 02:17:45 +03:00
Yanislav Igonin
828deb52a4
feat: hide rate limiter under flag
2021-09-08 18:54:46 +03:00
Yanislav Igonin
81de0e69b7
feat: add rate limiter
2021-09-08 16:56:03 +03:00
Yanislav Igonin
ac006d5f1b
feat: hide seeds under env var
2021-09-08 15:36:13 +03:00
Yanislav Igonin
ea8f3323ec
feat: add get thread by id
2021-09-05 00:36:55 +03:00
Yanislav Igonin
8708374f64
feat: add folders utils
2021-09-04 21:53:48 +03:00
Yanislav Igonin
107dd0fa0e
feat: add err check for single row
2021-09-03 02:34:45 +03:00
Yanislav Igonin
0717a89bc7
prod debug
2021-09-01 23:33:10 +03:00
Yanislav Igonin
0e46965130
feat: rename
2021-09-01 15:48:39 +03:00
Yanislav Igonin
b4a77d1b55
feat: add posts db seeds
2021-08-31 22:10:24 +03:00
Yanislav Igonin
51fd582a31
fix: disable db
2021-08-30 23:46:52 +03:00
Yanislav Igonin
c3e4bf7204
feat: add grid for threads
2021-08-30 23:29:51 +03:00
Yanislav Igonin
5c7551b6ad
wip on db quries
2021-08-30 12:09:27 +03:00
Yanislav Igonin
299c44cd73
feat: add dockerfile
2021-08-28 19:30:14 +03:00
Yanislav Igonin
a7f31e48c2
feat: add threads mock, make template work
2021-08-28 18:41:34 +03:00
Yanislav Igonin
157a8108d5
feat: add basic template
2021-08-28 17:34:58 +03:00
Yanislav Igonin
6b72e3f843
feat: add routes and basic controllers
2021-08-26 20:23:55 +03:00
Yanislav Igonin
fe4d2a0501
feat: add env autoload
2021-08-26 17:32:19 +03:00
Yanislav Igonin
843e81dd78
feat: add carcass
2021-08-26 16:16:50 +03:00