aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Fix clippy issues.Harald Eilertsen2018-08-027-36/+39
* Explicit import of utils::DbConn in models too.Harald Eilertsen2018-08-022-14/+14
* Run rustfmt on project.Harald Eilertsen2018-08-0110-142/+122
* No need to be able to serialize templates.Harald Eilertsen2018-08-012-2/+2
* Make imports explicit.Harald Eilertsen2018-08-014-69/+100
* Fix display of flash messages.Harald Eilertsen2018-08-014-7/+7
* Implemet editing users.Harald Eilertsen2018-07-312-3/+85
* Implement deleting users.Harald Eilertsen2018-07-312-1/+20
* Drop unused trait for struct NewUserHarald Eilertsen2018-07-311-1/+1
* Validate password confirmation on create user.Harald Eilertsen2018-07-311-8/+38
* Add view to list all usersHarald Eilertsen2018-07-312-11/+25
* Move methods to get display values into user model.Harald Eilertsen2018-07-311-9/+27
* Move routing details into controllers.Harald Eilertsen2018-07-315-25/+39
* Add simple unfinished login controller.Harald Eilertsen2018-01-204-1/+51
* Add markdown support for posts using comrak.Harald Eilertsen2018-01-202-0/+8
* Refactor index template.Harald Eilertsen2018-01-202-4/+7
* Implement new/create user logic.Harald Eilertsen2018-01-193-1/+47
* Fix user model, and include in build.Harald Eilertsen2018-01-192-4/+10
* Begin implementing user model.Harald Eilertsen2018-01-181-0/+36
* Add users table to schema.Harald Eilertsen2018-01-181-0/+15
* Upgrade to Diesel 1.1 and r2d2 0.8.2.Harald Eilertsen2018-01-183-8/+7
* Be explicit about the schema instead of infering it.Harald Eilertsen2018-01-181-1/+8
* Add flash messages when adding/editing/deleting posts.Harald Eilertsen2018-01-143-8/+13
* Serve static files from public directory if no other route match.Harald Eilertsen2018-01-142-1/+12
* Improve error message with missing database url.Harald Eilertsen2018-01-141-22/+20
* Split out layout from templates.Harald Eilertsen2018-01-143-15/+39
* Implement deleting posts.Harald Eilertsen2018-01-123-1/+15
* Read .env file in main.Harald Eilertsen2018-01-112-9/+9
* Move homepage processing to separate controller.Harald Eilertsen2018-01-113-22/+27
* Move controller code to own module.Harald Eilertsen2018-01-113-2/+10
* Drop the lib.Harald Eilertsen2018-01-114-34/+26
* Implement actually updating database.Harald Eilertsen2018-01-101-10/+14
* Make proper module of modelsHarald Eilertsen2018-01-102-4/+7
* Adding edit/update logic.Harald Eilertsen2018-01-103-4/+31
* Order and cosmetics on extern crate declarations.Harald Eilertsen2017-12-302-12/+10
* Move creating post in db to Post model impl.Harald Eilertsen2017-12-233-16/+19
* Implement posts/show handler.Harald Eilertsen2017-12-233-1/+21
* Don't import modules in macro.Harald Eilertsen2017-12-231-10/+5
* Move get_post into impl and rename.Harald Eilertsen2017-12-232-8/+10
* Move get_posts function to models.Harald Eilertsen2017-12-232-11/+11
* Move implement_responder_for macro into crate.Harald Eilertsen2017-12-233-25/+28
* Move posts module to it's own source file.Harald Eilertsen2017-12-172-30/+29
* Move responder impl's for templates to a macro.Harald Eilertsen2017-11-221-15/+19
* Add handlers for creating new Posts.Harald Eilertsen2017-11-222-1/+51
* Derive FromForm for models::Post.Harald Eilertsen2017-11-212-1/+4
* Implement default trait for Posts using derive.Harald Eilertsen2017-11-211-1/+1
* Use route decorators to produce different output formats.Harald Eilertsen2017-11-201-22/+21
* Use serde_json to create json response when requested by client.Harald Eilertsen2017-11-203-8/+22
* Implement responder for IndexTemplate.Harald Eilertsen2017-11-171-3/+15
* Set correct content-type for response.Harald Eilertsen2017-11-161-2/+3