aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
Commit message (Collapse)AuthorAgeFilesLines
* Add user::displayname() method.Harald Eilertsen2018-08-021-0/+9
| | | | Get's rid of another clippy warning, and makes the code nicer.
* Fix clippy issues.Harald Eilertsen2018-08-022-20/+19
|
* Explicit import of utils::DbConn in models too.Harald Eilertsen2018-08-022-14/+14
|
* Run rustfmt on project.Harald Eilertsen2018-08-013-18/+22
|
* Implemet editing users.Harald Eilertsen2018-07-311-2/+7
|
* Implement deleting users.Harald Eilertsen2018-07-311-0/+5
|
* Drop unused trait for struct NewUserHarald Eilertsen2018-07-311-1/+1
|
* Add view to list all usersHarald Eilertsen2018-07-311-0/+5
|
* Move methods to get display values into user model.Harald Eilertsen2018-07-311-9/+27
|
* Add simple unfinished login controller.Harald Eilertsen2018-01-201-0/+6
| | | | | It will not actually log you in yet, but will check email/password and report back if it is good or not. More tbd.
* Fix user model, and include in build.Harald Eilertsen2018-01-192-4/+10
|
* Begin implementing user model.Harald Eilertsen2018-01-181-0/+36
|
* Upgrade to Diesel 1.1 and r2d2 0.8.2.Harald Eilertsen2018-01-181-3/+4
| | | | Also drop the now obsolete diesel_codegen crate.
* Implement deleting posts.Harald Eilertsen2018-01-121-0/+7
|
* Drop the lib.Harald Eilertsen2018-01-111-6/+7
| | | | | | The misc stuff from the lib root was moved to the utils module (terrible name, it's meant to be temporary.) The modules under the lib has been moved directly under the app.
* Implement actually updating database.Harald Eilertsen2018-01-101-10/+14
|
* Make proper module of modelsHarald Eilertsen2018-01-102-0/+54