Commit graph

15 commits

Author SHA1 Message Date
ebf5690519 [BREAKING] Auth: replace current auth tokens with more secure ones
previously tokens were only like IDs, time based and incrementing counter.
An attacker could easily bruteforce them.
This patch changes tokens to be completely random.

fixes #2
2023-11-09 18:28:09 +01:00
5602c22861 Don't import Decimal from internal libraries
This was causing the project build to not work properly.
2023-11-09 04:34:25 +01:00
eebf25198d Replace mysql2 with prisma
also I updated packages,
and properly typed api input
a lot of time was spent, I don't remeber what really I did x3
but everything was related to replacing mysql2 with prisma
2023-11-08 05:36:12 +01:00
1d893c4a78 Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
bbe0c91d7e allow to override default database config in new
this way we can temporarily allow to execute multiple statements
in one query.
2023-06-14 10:41:25 +02:00
4e67cc4e19 update cuz presentation 2023-05-24 09:40:45 +02:00
7a9e451739 add groupBy 2023-05-11 11:09:28 +02:00
775cc2e1db fixup where 2023-05-11 11:02:08 +02:00
b14cf774ec allow select modification 2023-05-11 10:51:41 +02:00
6d4cbbd1b2 fixup 2023-05-11 10:49:47 +02:00
7c2ca8bbe4 add where arguments 2023-05-11 10:43:05 +02:00
28f0d7992e fix typos, fix logic of "around" 2023-05-11 10:27:24 +02:00
42a1c9fe1a set proper response status for creation 2023-05-11 10:26:23 +02:00
67cad656d5 factor out common api code 2023-05-11 09:11:20 +02:00
1e63e008af Initial commit 2023-05-11 06:03:22 +02:00