45 Commits (23c2921690f9b735eb30615cf8d89f26754a5682)

Author SHA1 Message Date
Stefan Melmuk 2f9d7060bd
check if sqlite folder exists 2 years ago
BlackDex 439ef44973
Update Rust version, deps and workflow 2 years ago
BlackDex 17388ec43e
Update Rust version, deps and workflow 2 years ago
BlackDex 42db4b5c77
Update Rust version, deps and workflow 2 years ago
BlackDex b010dde661
Update Rust version, deps and workflow 2 years ago
Daniel García 8409b31d6b
Update to diesel2 3 years ago
BlackDex 3ca85028ea
Improve sync speed and updated dep. versions 3 years ago
Jeremy Lin 542a73cc6e Switch to a single config option for database connection init 3 years ago
Jeremy Lin b617ffd2af Add support for database connection init statements 3 years ago
Daniel García cad0dcbed1
await the mutex in db_run and use block_in_place for it's contents 3 years ago
BlackDex 87e08b9e50
Async/Awaited all db methods 3 years ago
Daniel García 0b7d6bf6df
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking 3 years ago
Daniel García fd9693b961
await the mutex in db_run and use block_in_place for it's contents 3 years ago
BlackDex 775d07e9a0
Async/Awaited all db methods 3 years ago
Daniel García 2d5f172e77
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking 3 years ago
BlackDex 89b5f7c98d Dependency updates 4 years ago
Daniel García c380d9c379
Support for webauthn and u2f->webauthn migrations 4 years ago
Daniel García b8010be26b
Extract some FromDb trait impls outside the macros so they aren't repeated, and fix some clippy lints 4 years ago
Daniel García 1e5306b820
Remove warning when compiling only with mysql and add compatibility mode with the old docker script names 4 years ago
Jake Howard 3ab90259f2
Modify rustfmt file 4 years ago
BlackDex 95fc88ae5b Some admin interface updates. 4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase 4 years ago
BlackDex 9caf4bf383 Misc changes. 4 years ago
BlackDex 57e17d0648 Updated diagnostics page 4 years ago
Daniel García 1fc6c30652
Send deletion thread and updated users revision 4 years ago
Rob Watson b9daa59e5d Add DATABASE_MAX_CONNS config setting 5 years ago
Daniel García 729c9cff41
Retry initial db connection, with adjustable option 5 years ago
Daniel García aaba1e8368
Fix some clippy warnings and remove unused function 5 years ago
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros. 5 years ago
Daniel García 32cfaab5ee
Updated dependencies and changed rocket request imports 5 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports 5 years ago
BlackDex 078234d8b3 Small change for rocket compatibilty 5 years ago
BlackDex 3442eb1b9d Trying to fix issue #687 5 years ago
Daniel García fccc0a4b05
Update rocket to latest master 6 years ago
BlackDex 2cde814aaa Fixed a bug with the sqlite backup feature. 6 years ago
Michael Powers f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246. 6 years ago
Daniel García 05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies 6 years ago
Daniel García 12af32b9ea
Don't print DB URL 6 years ago
Nils Domrose dc36f0cb6c re-added sqlite check_db code, cleanup 6 years ago
Nils Domrose ff759397f6 initial mysql support 6 years ago
Emil Madsen ab95a69dc8 Rework migrations for MySQL 6 years ago
Emil Madsen 42af7c6dab MySQL database 6 years ago
TheMardy ef551f4cc6 Create Backup funcitonality 6 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel. 6 years ago
Daniel García 30e768613b
Start using rustfmt and some style changes to make some lines shorter 6 years ago
Daniel García 94810c106a
Migrate to rust 2018 edition 6 years ago
Daniel García 66097e5f12 r2d2_diesel is included in diesel since 1.1, so we don't need the dependencies directly. 7 years ago
Daniel García 5cd40c63ed First working version 7 years ago