b8a12fcd42
Merge pull request 'inteligentsql' ( #10 ) from inteligentsql into main
...
Reviewed-on: #10
2021-09-27 16:52:07 +02:00
6da1602759
Merge pull request 'getting warp to work' ( #9 ) from start-the-warp-engine into main
...
Reviewed-on: #9
2021-09-27 12:54:18 +00:00
8522306298
getting warp to work
...
Co-authored-by: Elias Schriefer
2021-09-26 14:59:56 +00:00
d9531dc789
Add uuid
to dependencies explicitly
...
In preparation for uuid generation
2021-07-27 19:15:51 +00:00
40abea11f0
Implement GraphQL logic for SQLite
2021-07-27 19:11:40 +00:00
bc8d204a71
Change id
type in SQL to TEXT
2021-07-27 19:09:01 +00:00
8efd4036a6
Remove juniper-from-schema
from dependencies
2021-07-21 08:25:15 +00:00
5fce7657f7
Add GraphQL juniper definitions
2021-07-21 08:23:14 +00:00
35519d69ca
Add url
to dependencies
2021-07-21 08:21:56 +00:00
db12059c1f
Fix typo in noise.graphql
2021-07-21 08:20:36 +00:00
80fc6548d0
Use SqlitePool
instead of SqliteConnection
2021-07-19 15:28:33 +00:00
998b6f93bc
Add module for graphql stuff
2021-07-16 07:05:09 +00:00
018b5af67c
add redout capabilities
2021-07-16 06:54:12 +00:00
9c62e93ca1
Update juniper_warp
2021-07-16 06:48:56 +00:00
95d15f7a9d
Change sql query to check 'IF' table ' NOT EXISTS'
2021-07-13 15:32:45 +00:00
450ec49bf0
Fix database-path not being read from config
...
`database-path` in config was correct, but was being overwritten by
`--database-path` option. In a test case the option was not given, but
clap/structopt marked it as `present`. The occurrences were `0` though.
2021-07-13 13:30:16 +00:00
aa021a9754
Move get_config into config module
2021-07-12 10:59:13 +02:00
e32c0e2a70
Move sqlite functions into their own module
2021-07-12 10:53:55 +02:00
7dcd078a2b
Move Config into its own module
2021-07-10 13:30:18 +00:00
9b4262b996
Move Options into its own module
2021-07-09 10:02:59 +02:00
fa9b77c335
Use more async API from tokio
...
Fixes issue #4
2021-07-08 16:30:55 +02:00
cfed9b149c
Change sql template concatting
...
Switch out `format!` with `concat!`, which is doing work at compile time
...as far as I know at least
2021-07-08 16:17:43 +02:00
212b2d3bf2
Fix reading of database-path option if given
2021-07-08 16:10:08 +02:00
76bacdca08
Remove some whitespace
...
We definitely need a rustfmt config at some point
2021-07-08 15:29:43 +02:00
891f61f046
Add option for generating default config
2021-07-08 12:55:48 +02:00
ef1c124395
Fix kebab-case naming in config
2021-07-08 12:54:42 +02:00
fc2ae6cf0a
Add option for usage without config
2021-07-08 12:53:02 +02:00
7764c5021e
Clean up Options
2021-07-08 12:49:56 +02:00
a1df49555f
Insert all other SQL templates
2021-06-28 21:46:19 +00:00
c42fbebe09
Add sqlite template insertion for users.sql
2021-06-28 15:54:52 +00:00
59d26277db
Add offline feature to sqlx
2021-06-28 14:35:18 +00:00
a82ca7d052
Add macros feature to sqlx
2021-06-28 14:03:55 +00:00
d6aee960fa
Wrap sqlite connection in an Arc and tokios RwLock
2021-06-28 13:50:28 +00:00
898e10f040
Add sync feautre to tokio
2021-06-28 13:45:36 +00:00
34778ae928
create emty method for Elias
2021-06-28 13:43:26 +00:00
96c6d14c46
Add sqlite connection call
...
And make main() async
2021-06-28 13:27:53 +00:00
55c549d2cf
Add tokio dependency
2021-06-28 13:24:49 +00:00
caf9bd299a
Edit for readability
2021-06-20 17:39:47 +00:00
e68fc11e43
Fix a type typo in SQL
...
whoops
2021-06-20 17:29:51 +00:00
99918f1bb9
Add method for preparing sqlite connection
...
This is not being used yet
Co-authored-by: Erik Foris
2021-06-15 14:49:21 +00:00
e62f3ee2dc
Add config reading
2021-06-15 14:45:38 +00:00
ac4ab4c132
Add some new features to sqlx
...
Co-authored-by: Elias Schriefer
2021-06-14 14:48:18 +00:00
ce83c99420
Change data types according to sqlx
...
Co-authored-by: Elias Schriefer
2021-06-14 14:33:57 +00:00
36cc3d4de6
Move template files to src folder
2021-06-14 14:04:14 +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
a06f8319ca
Add description to Cargo.toml
...
Co-authored-by: Elias Schriefer
2021-06-08 13:17:11 +00:00
5e7e456732
Modify database layout
2021-06-08 11:22:57 +00:00
663fbd12fd
create database layout
2021-06-07 17:16:47 +00:00
850e736b3c
Fix some inconsistencies in graphql schema
2021-06-07 15:59:03 +00:00