Daniel García
32cfaab5ee
Updated dependencies and changed rocket request imports
6 years ago
Daniel García
668d5c23dc
Removed try_trait and some formatting, particularly around imports
6 years ago
BlackDex
078234d8b3
Small change for rocket compatibilty
6 years ago
BlackDex
3442eb1b9d
Trying to fix issue #687
- Using an older commit from rocket repo
6 years ago
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.
7 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.
7 years ago
Daniel García
05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies
7 years ago
Daniel García
12af32b9ea
Don't print DB URL
7 years ago
Nils Domrose
dc36f0cb6c
re-added sqlite check_db code, cleanup
7 years ago
Nils Domrose
ff759397f6
initial mysql support
7 years ago
Emil Madsen
ab95a69dc8
Rework migrations for MySQL
7 years ago
Emil Madsen
42af7c6dab
MySQL database
7 years ago
TheMardy
ef551f4cc6
Create Backup funcitonality
Added create backup functionality to the admin panel
7 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
Improved some two factor methods.
7 years ago
Daniel García
30e768613b
Start using rustfmt and some style changes to make some lines shorter
7 years ago
Daniel García
94810c106a
Migrate to rust 2018 edition
7 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
8 years ago
Daniel García
5cd40c63ed
First working version
8 years ago