e192f2d8f9
Change seen_by in msgdata_template to not be null
...
The sender has always seen their message, haven't they?
2021-12-12 22:50:47 +01:00
9a52c072d3
Rename createUser to newUser for consistency
2021-12-11 18:45:48 +01:00
9bc103018e
Change ID fields in SQL to be unique
2021-12-10 22:54:22 +01:00
bc50c13803
Add utility functions
...
- `user_authentication` returns Ok when authenticated successfully
- `user_exists` returns Ok when the passed user exists
2021-11-25 15:44:32 +01:00
ba2b882ed6
Add creating new personal chats
2021-11-17 19:24:08 +01:00
39280f479c
Add username validation
2021-10-25 17:47:51 +02:00
3dfa8a1474
Update to Rust 2021
2021-10-23 19:29:51 +02:00
c9a59f4731
Simplify some utility functions
2021-10-18 14:37:29 +02:00
54461e7934
Fix connection between GraphQL and SQL
...
At this point I don't even know where I started anymore.
At least it works and the code looks kinda nice.
This is something for future me. I need sleep.
2021-10-17 22:04:39 +00:00
1ea3e5260c
Add basic user adding functionality
...
What works:
- adding users
- default settings
- detect duplicate usernames
2021-10-16 23:52:58 +00:00
d9531dc789
Add uuid
to dependencies explicitly
...
In preparation for uuid generation
2021-07-27 19:15:51 +00:00
8efd4036a6
Remove juniper-from-schema
from dependencies
2021-07-21 08:25:15 +00:00
35519d69ca
Add url
to dependencies
2021-07-21 08:21:56 +00:00
9c62e93ca1
Update juniper_warp
2021-07-16 06:48:56 +00:00
59d26277db
Add offline feature to sqlx
2021-06-28 14:35:18 +00:00
55c549d2cf
Add tokio dependency
2021-06-28 13:24:49 +00:00
ac4ab4c132
Add some new features to sqlx
...
Co-authored-by: Elias Schriefer
2021-06-14 14:48:18 +00:00
b04b61adbd
Add config deserialization
...
Co-authored-by: Elias Schriefer
2021-06-08 13:57:04 +00:00
9b4246a078
Add structopt
...
Co-authored-by: Elias Schriefer
2021-06-08 13:18:56 +00:00
f6c78b957b
Add feature sqlite
2021-06-07 15:56:48 +00:00
f5eea11fad
Add new dependencies and tidy up Cargo.toml
...
Co-authored-by: Erik Foris
2021-06-07 14:38:15 +00:00
dfbd34a264
Add GraphQL dependencies
...
Co-authored-by: Elias Schriefer
2021-04-19 20:16:08 +00:00
a3e8a2ca14
Initial commit
2021-04-06 19:42:24 +02:00