Lucien Cartier-Tilet
d0a40b7ed8
Almost no unwraps !
continuous-integration/drone/push Build is passing
Details
2023-01-16 00:48:09 +01:00
Lucien Cartier-Tilet
dcaa920c51
Better error handling
2023-01-16 00:22:58 +01:00
Lucien Cartier-Tilet
425e00acc1
Manually add users to database, better handling of errors in API
...
continuous-integration/drone/push Build is passing
Details
Also manually remove users from database, and list them only as admin
2023-01-16 00:09:50 +01:00
Lucien Cartier-Tilet
8c62727ec9
Add ADMIN_KEY variable to context
2023-01-15 22:51:22 +01:00
Lucien Cartier-Tilet
e522f358e5
Change mutation to quickly test if a user is connected or not
2023-01-15 22:50:48 +01:00
Lucien Cartier-Tilet
05ca82c4e1
Move context to new file, add to context if user is authentified
continuous-integration/drone/push Build is passing
Details
2023-01-15 18:10:51 +01:00
Lucien Cartier-Tilet
b20fb5f079
Fragment graphql module, add Appwrite vars to context
2023-01-15 17:36:32 +01:00
Lucien Cartier-Tilet
34e28384ce
Add Drone CI
continuous-integration/drone/push Build is passing
Details
2023-01-08 17:42:56 +01:00
Lucien Cartier-Tilet
2026a2ddc6
Fix incorrect function
2023-01-08 16:51:13 +01:00
Lucien Cartier-Tilet
5c199e2628
Change Serials to UUIDs, fix translation table
...
Languages now refer to other languages they are translated to through
an additional table rather than an array of identifiers. This ensures
no orphan identifier remains when a language is deleted.
The primary key of languages is now a unique identifier rather than
the name of the language itself. It now allows for multiple languages
to have the same name. Their unique identifier is now a v4 UUID.
Set Diesel to specific version 2.0.2, since 2.0 apparently does not
mean the latest version of 2.0.z and 2.0 has issues with its uuid
feature.
Cleanup and simplify some code.
Some more GraphQL documentation on available queries.
2023-01-08 15:58:26 +01:00
Lucien Cartier-Tilet
eb48924761
Add description for GraphQL query
2023-01-05 12:15:07 +01:00
Lucien Cartier-Tilet
ecd8f58542
Plenty of GraphQL query implementation
...
Implement query for languages, words, initial implementation for user
query
2023-01-04 22:16:48 +01:00
Lucien Cartier-Tilet
c0b0a53061
Gitea complaining about ambiguous characters
2023-01-04 19:33:29 +01:00
Lucien Cartier-Tilet
8d5e523ab3
Initial GraphQL API sort of working
2023-01-04 19:33:29 +01:00
Lucien Cartier-Tilet
a2a2863d62
Add CORS and authorized origins to server
2023-01-04 14:42:55 +01:00
Lucien Cartier-Tilet
57bc676ec1
Add .editorconfig file
2023-01-03 16:24:40 +01:00
Lucien Cartier-Tilet
50d55ed480
Add license and README
2023-01-03 16:20:31 +01:00
Lucien Cartier-Tilet
60988cff24
Make Rust models for database schema
2023-01-03 16:11:43 +01:00
Lucien Cartier-Tilet
a9e300ede2
Initial commit with basic DB layout
2023-01-03 15:16:10 +01:00