Commit graph

28 commits

Author SHA1 Message Date
Sebastian Pravda
a3e87e0b27
chore: jsonwebtoken dependency 2022-10-25 14:51:08 +02:00
Sebastian Pravda
93512c0d34
Merge pull request #8 from EETagent/create_candidate
Create candidate
2022-10-24 22:21:46 +02:00
Sebastian Pravda
6c98b7e7ce
style: typo 2022-10-24 22:14:57 +02:00
Sebastian Pravda
3c35762455
style: typo 2022-10-24 22:05:22 +02:00
Sebastian Pravda
15205e8ec4
feat: foolproof random string function 2022-10-24 21:37:47 +02:00
Sebastian Pravda
29ff462ef9
style: code cleanup 2022-10-24 20:39:36 +02:00
EETagent
50abef29e3 feat: nový argon2, vracení result 2022-10-24 19:54:36 +02:00
EETagent
b7da8d579c chore: mod.rs z entity znovu pryč 2022-10-24 19:24:58 +02:00
Sebastian Pravda
00e050986e fix: unable to insert kvůli primary key
- using insert instead of save
2022-10-24 19:20:07 +02:00
Sebastian Pravda
d44082d3d8 feat: create candidate & generate code,
s autoincrementem application id uchazeče normalne funguje
2022-10-24 19:20:07 +02:00
Sebastian Pravda
5bd9535b85 refactor: use DATABASE_URL env variable
for db connection instead of url var in Rocket.toml
2022-10-24 19:20:07 +02:00
Vojtěch Jungmann
c009ca9544
Merge pull request #6 from EETagent/admin_rollback
Down pro vytvoření admin účtu
2022-10-24 17:45:36 +02:00
EETagent
f797950e00 refactor: down pro vytvoření admin účtu 2022-10-24 17:22:00 +02:00
Sebastian Pravda
dfacf9ac83
Merge pull request #5 from EETagent/db_url_as_env_var
refactor: use DATABASE_URL env variable instead of url var in Rocket.toml
2022-10-24 16:55:44 +02:00
Sebastian Pravda
6ee6b742da
refactor: use DATABASE_URL env variable
for db connection instead of url var in Rocket.toml
2022-10-24 16:36:21 +02:00
EETagent
dd8f0b0f72 chore: doporučené extensions 2022-10-24 16:13:02 +02:00
Sebastian Pravda
c47dfbb1f9
Refactoring aby to šlo spustit (#4)
* db: candidate entity

* chore: candidate migrace

* chore: import candidate migrace

* fix: default value pro citizenship

* fix: unique pro evideční číslo přihlášky

* chore: parent migrace

* fix: unique pro evideční číslo přihlášky

* chore: sample fill admin table

* fix: chybějící serde pro admin entitu

* chore: remove mock tests

* remove all post entity imports

Co-authored-by: EETagent <vojta.jungmann@gmail.com>
2022-10-24 15:00:49 +02:00
Sebastian Pravda
9dc330da6a chore: sample fill admin table 2022-10-24 14:15:04 +02:00
EETagent
4493e408e3 fix: unique pro evideční číslo přihlášky 2022-10-24 14:15:04 +02:00
EETagent
3fb5a51cfb chore: parent migrace 2022-10-24 14:15:04 +02:00
EETagent
08fe562088 fix: unique pro evideční číslo přihlášky 2022-10-24 14:15:04 +02:00
EETagent
ae89d23585 fix: default value pro citizenship 2022-10-24 14:15:04 +02:00
EETagent
1fc69e7cee chore: import candidate migrace 2022-10-24 14:15:04 +02:00
Sebastian Pravda
c42a52e863 chore: candidate migrace 2022-10-24 14:15:04 +02:00
EETagent
884bc3dea7 db: candidate entity 2022-10-24 14:15:04 +02:00
Sebastian Pravda
a5982a3231
chore: admin - created_at, update_at 2022-10-24 11:58:01 +02:00
Sebastian Pravda
9a00d053bd
chore: admin table migrations, entity 2022-10-24 11:45:24 +02:00
EETagent
63c7307e43 chore: project setup 2022-10-23 18:43:12 +02:00