Daniel García
fccc0a4b05
Update rocket to latest master
Downgrade rust version to fix cargo issue
Set rustup profile to minimal
6 years ago
BlackDex
2cde814aaa
Fixed a bug with the sqlite backup feature.
When a custom path is used the backup feature does not work.
Changed it so it will take the path of the sqlite file and use that.
6 years ago
Michael Powers
f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246 .
This includes migrations as well as Dockerfile's for amd64.
The biggest change is that replace_into isn't supported by Diesel for the
PostgreSQL backend, instead requiring the use of on_conflict. This
unfortunately requires a branch for save() on all of the models currently
using replace_into.
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
Added create backup functionality to the admin panel
6 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
Improved some two factor methods.
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.
Same thing with time, included in chrono
7 years ago
Daniel García
5cd40c63ed
First working version
7 years ago