Commit Graph

48 Commits

Author SHA1 Message Date
Yanislav Igonin
fb9933097b add validation on post create 2022-04-12 11:39:02 +03:00
Yanislav Igonin
4f23b5dc71
Fix - Rename method (#13) 2022-04-05 21:17:08 +03: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
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
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
21f804cafb feat: archive only parents 2021-11-20 22:42:16 +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
3a8077f85d fix: get thread by id for deleted 2021-10-22 15:36:50 +03:00
Yanislav Igonin
6bff9179f2 fix: deleted posts not returned 2021-10-22 15:27:08 +03:00
Yanislav Igonin
37d3be774b fix: disable files in seeds 2021-10-16 14:17:15 +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
a87101d1ea refac: var -> const 2021-10-10 10:42:28 +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
10207952e2 feat: add parent post updated_at update 2021-10-06 13:02:43 +03:00
Yanislav Igonin
b6428b033c feat: add message pass to 400 html template 2021-10-06 11:50:19 +03:00
Yanislav Igonin
c94f711da7 todo 2021-10-05 22:48:49 +03:00
Yanislav Igonin
77096ef867 update templates, structs and controllers to support captcha 2021-10-04 11:40:53 +03:00
Yanislav Igonin
e5bbc585e3 feat: write files by id 2021-09-11 16:05:31 +03:00
Yanislav Igonin
007f5f4883 feat: add thread creation 2021-09-10 19:16:53 +03:00
Yanislav Igonin
545a131801 feat: remove conn aquire in file create 2021-09-10 18:18:52 +03:00
Yanislav Igonin
9b69eb46b7 feat: add pagination 2021-09-10 02:17:45 +03:00
Yanislav Igonin
fc650b2d2a fix: postgres connection freezes 2021-09-08 18:50:33 +03:00
Yanislav Igonin
4c48bdb5b5 feat: remove local seeds 2021-09-08 15:39:09 +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
cc5ded555a minimize seeds count 2021-09-04 21:46:56 +03:00
Yanislav Igonin
107dd0fa0e feat: add err check for single row 2021-09-03 02:34:45 +03:00
Yanislav Igonin
af1283256c feat: add get posts from db 2021-09-01 23:00:37 +03:00
Yanislav Igonin
1323d83032 refac: move sql stmt 2021-09-01 19:23:39 +03:00
Yanislav Igonin
1d93c5621d feat: add files seeds in db 2021-09-01 18:51:15 +03:00
Yanislav Igonin
c300def2cc clean 2021-09-01 18:51:01 +03:00
Yanislav Igonin
54a201d0a8 feat: add files creation in repo 2021-09-01 18:40:13 +03:00
Yanislav Igonin
0e46965130 feat: rename 2021-09-01 15:48:39 +03:00
Yanislav Igonin
a70413ceb3 feat: fix non pictured thread view 2021-08-31 22:51:31 +03:00
Yanislav Igonin
8d050d2521 feat: add get posts in repo 2021-08-31 22:51:10 +03:00
Yanislav Igonin
b4a77d1b55 feat: add posts db seeds 2021-08-31 22:10:24 +03:00
Yanislav Igonin
872a6b58df feat: remake mocks only on posts 2021-08-31 19:48:02 +03:00
Yanislav Igonin
2409f18afa feat: random text on mocks 2021-08-31 19:18:27 +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
b028a4f7e1 feat: update file paths 2021-08-28 19:57:50 +03:00
Yanislav Igonin
a7f31e48c2 feat: add threads mock, make template work 2021-08-28 18:41:34 +03:00