Yanislav Igonin
55cc4a3614
feat: add redirect on post after post creation
2022-04-11 11:19:19 +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
2f9e26d799
feat: disable captcha for local dev
2022-02-09 09:18:51 +02:00
Yanislav Igonin
736be1f461
fix: parent id get for html template
2022-02-03 17:22:46 +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
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
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
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
d331c8700d
feat: add thread refresh after posting
2021-10-14 10:45:32 +03:00
Yanislav Igonin
fb29be59ae
feat: update post validation
...
title - 100
text - 1000
files - 4
text or files in post
2021-10-11 11:08:55 +03:00
Yanislav Igonin
86b7750a36
feat: add files ext check
2021-10-10 11:11:31 +03:00
Yanislav Igonin
44c1f56e9f
feat: add files size check
2021-10-10 10:41:36 +03:00
Yanislav Igonin
89487cda3b
feat: make sage possible
2021-10-07 10:51:18 +03:00
Yanislav Igonin
b6428b033c
feat: add message pass to 400 html template
2021-10-06 11:50:19 +03:00
Yanislav Igonin
79207ce24a
feat: remove csrf token
2021-10-06 11:36:01 +03:00
Yanislav Igonin
19a2c02e9a
feat: add captcha check
2021-10-04 19:37:33 +03:00
Yanislav Igonin
77096ef867
update templates, structs and controllers to support captcha
2021-10-04 11:40:53 +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
06b4eea014
feat: add image thumb creating
2021-09-12 14:06:52 +03:00
Yanislav Igonin
b2b2fc3268
feat: add originals and thumbnails folder for pictures
2021-09-12 11:31:43 +03:00
Yanislav Igonin
f24c97f5e0
feat: add simple post validation
2021-09-11 16:56:22 +03:00
Yanislav Igonin
e5bbc585e3
feat: write files by id
2021-09-11 16:05:31 +03:00
Yanislav Igonin
b54db6f729
feat: add thread update
2021-09-11 14:59:16 +03:00
Yanislav Igonin
99a6113caa
fix: 404 for empty pages
2021-09-11 01:20:56 +03:00
Yanislav Igonin
007f5f4883
feat: add thread creation
2021-09-10 19:16:53 +03:00
Yanislav Igonin
2a21b5b4b0
feat: add some checks to render 404
2021-09-10 17:09:15 +03:00
Yanislav Igonin
1a784118e9
fix: add default query for page
2021-09-10 15:06:37 +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
3f3f0aea19
feat: add 500 page
2021-09-05 16:05:14 +03:00
Yanislav Igonin
25f6ba7e93
feat: add 404 page
2021-09-05 15:35:20 +03:00
Yanislav Igonin
9f4082a832
create thread wip
2021-09-05 13:50:22 +03:00
Yanislav Igonin
ea8f3323ec
feat: add get thread by id
2021-09-05 00:36:55 +03:00
Yanislav Igonin
b4a77d1b55
feat: add posts db seeds
2021-08-31 22:10:24 +03:00
Yanislav Igonin
5c7551b6ad
wip on db quries
2021-08-30 12:09:27 +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