aboutsummaryrefslogtreecommitdiffstats
path: root/src/controllers
Commit message (Collapse)AuthorAgeFilesLines
* Add user::displayname() method.Harald Eilertsen2018-08-021-4/+1
| | | | Get's rid of another clippy warning, and makes the code nicer.
* Fix clippy issues.Harald Eilertsen2018-08-024-15/+19
|
* Run rustfmt on project.Harald Eilertsen2018-08-014-102/+79
|
* 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-013-4/+4
| | | | | Pass full flash to template, and style according to flash name/type.
* Implemet editing users.Harald Eilertsen2018-07-311-1/+78
|
* Implement deleting users.Harald Eilertsen2018-07-311-1/+15
|
* Validate password confirmation on create user.Harald Eilertsen2018-07-311-8/+38
|
* Add view to list all usersHarald Eilertsen2018-07-311-11/+20
|
* Move routing details into controllers.Harald Eilertsen2018-07-314-0/+29
|
* Add simple unfinished login controller.Harald Eilertsen2018-01-202-0/+39
| | | | | It will not actually log you in yet, but will check email/password and report back if it is good or not. More tbd.
* Add markdown support for posts using comrak.Harald Eilertsen2018-01-201-0/+7
|
* Refactor index template.Harald Eilertsen2018-01-202-4/+7
| | | | | Use a vector of show post templates instead of manually decoding posts in the index view.
* Implement new/create user logic.Harald Eilertsen2018-01-192-0/+41
|
* Add flash messages when adding/editing/deleting posts.Harald Eilertsen2018-01-142-8/+12
|
* Serve static files from public directory if no other route match.Harald Eilertsen2018-01-141-0/+10
|
* Split out layout from templates.Harald Eilertsen2018-01-142-14/+30
|
* Implement deleting posts.Harald Eilertsen2018-01-121-0/+6
|
* Move homepage processing to separate controller.Harald Eilertsen2018-01-112-0/+22
|
* Move controller code to own module.Harald Eilertsen2018-01-112-0/+58