10ff342991
api/firstRun.post: properly initialize database using @prisma/migrate
...
Build dev / build (push) Successful in 1m2s
instead of executing the command,
which was not available in the build
now we use the proper library to initialize the database.
2023-11-09 23:52:56 +01:00
1d8220d92c
page/firstRun: use password input for password
...
Build dev / build (push) Successful in 51s
because why password should be shown in plain text??
2023-11-09 18:48:37 +01:00
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
434ae5843e
api/firstRun.post: await for user creation
2023-11-09 17:29:41 +01:00
e509bb22c1
components/entryEditor: Remove unused "modelValue" property
...
makes eslint happy about that file :)
2023-11-09 13:16:21 +01:00
500a9ad595
page/client: Don't default form to undefined.
...
Build dev / build (push) Successful in 52s
This fixes an issue when user does not click the form field.
it is not being defined, meaning the field will not be updated.
2023-11-09 11:39:00 +01:00
f5b205f90c
api/clients.post (checkIsClient): Fix opposite condition for the patch parameter.
...
previously, when patch was true, it was requiring the values in the fields.
and vice versa.
It turns out the "patch" variable was negated for some reason.
2023-11-09 11:39:00 +01:00
ccbbfd1d3b
README: Precise a description of running of a project.
Build dev / build (push) Successful in 1m0s
2023-11-09 04:43:54 +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
95137acbed
Workflow: rename the artifact with a better name
Build dev / build (push) Successful in 58s
2023-11-09 02:43:24 +01:00
d5d2f2e889
Add forgejo actions
Build dev / build (push) Successful in 1m41s
2023-11-09 02:28:33 +01:00
f26206de87
Reconfigure Vuetify to be installed as Vuetify doc states
...
As of today, the vutetify doc states how to install it in the nuxt.
So following the guide I did it.
Now the website layout does not "jump" with offsets on load.
2023-11-09 00:45:37 +01:00
aa645e710e
Add nix shell
2023-11-08 06:03:30 +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
be1e3909b6
Delete unrelated testing stuff
2023-11-07 17:36:30 +01:00
1d893c4a78
Update dependencies, fix (auto)import problems
2023-11-07 17:36:30 +01:00
267a83d484
fix no template for index.vue
2023-06-14 13:52:53 +02:00
4720202d8a
remove playground junk
2023-06-14 13:47:21 +02:00
90932a49c8
Add database initialization
...
now, when the project is ran without configured database,
it will prompt for the first user to configure
the database and add the first user
2023-06-14 13:00:19 +02:00
cbfc4e9317
fix auth check if database is uninitialised
2023-06-14 12:37:57 +02:00
75f809051c
refactor out password hashing in login.post.ts
...
this will be used to create the first user account in an empty database
2023-06-14 11:48:31 +02: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
0705ed9018
Zaktualizuj 'README.md'
2023-06-11 20:06:31 +02:00
13254bb241
add Schema Model
2023-06-11 19:13:00 +02:00
b6ce27cdfb
add README.md
2023-06-11 19:12: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