aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Flesh out first test some more.HEADmasterHarald Eilertsen2018-08-022-3/+20
|
* Begin testing.Harald Eilertsen2018-08-023-8/+63
| | | | Add simple smoke test, and enable the test transaction for the database.
* Add user::displayname() method.Harald Eilertsen2018-08-022-4/+10
| | | | Get's rid of another clippy warning, and makes the code nicer.
* 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-0111-142/+124
|
* No need to be able to serialize templates.Harald Eilertsen2018-08-012-2/+2
|
* Make imports explicit.Harald Eilertsen2018-08-014-69/+100
|
* Pretty up the main layout a bit.Harald Eilertsen2018-08-011-1/+5
|
* Fix display of flash messages.Harald Eilertsen2018-08-016-8/+21
| | | | | Pass full flash to template, and style according to flash name/type.
* Implemet editing users.Harald Eilertsen2018-07-314-4/+119
|
* Implement deleting users.Harald Eilertsen2018-07-313-1/+26
|
* Drop unused trait for struct NewUserHarald Eilertsen2018-07-311-1/+1
|
* Validate password confirmation on create user.Harald Eilertsen2018-07-312-9/+39
|
* Fix users templateHarald Eilertsen2018-07-311-9/+9
|
* Add view to list all usersHarald Eilertsen2018-07-313-11/+41
|
* Move methods to get display values into user model.Harald Eilertsen2018-07-312-11/+29
|
* Typo in layout markupHarald Eilertsen2018-07-311-1/+1
|
* Move routing details into controllers.Harald Eilertsen2018-07-315-25/+39
|
* Updated dependencies, rocket, diesel and friends to latest.Harald Eilertsen2018-07-311-6/+6
|
* Add simple unfinished login controller.Harald Eilertsen2018-01-205-1/+66
| | | | | 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-204-1/+10
|
* Remove obsolete post_teaser partial template.Harald Eilertsen2018-01-201-9/+0
|
* Refactor index template.Harald Eilertsen2018-01-203-5/+8
| | | | | Use a vector of show post templates instead of manually decoding posts in the index view.
* A bit more styling and some markup fixes in forms.Harald Eilertsen2018-01-192-9/+42
|
* Implement new/create user logic.Harald Eilertsen2018-01-194-1/+78
|
* 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-183-0/+25
|
* Fix rustflags to set incremental cache.Harald Eilertsen2018-01-181-1/+1
|
* Upgrade to Diesel 1.1 and r2d2 0.8.2.Harald Eilertsen2018-01-184-12/+10
| | | | Also drop the now obsolete diesel_codegen crate.
* Be explicit about the schema instead of infering it.Harald Eilertsen2018-01-181-1/+8
| | | | | We don't want to depend on having a correctly set up database just to be able to build the program.
* Add flash messages when adding/editing/deleting posts.Harald Eilertsen2018-01-144-8/+14
|
* Set incremental build cache in vagrant env.Harald Eilertsen2018-01-141-0/+3
| | | | | Must be on a filesystem that supports hard links, to avoid warning during compilation.
* Install latest nightly in vagrant environment.Harald Eilertsen2018-01-141-1/+1
| | | | | Since we upgraded to Rocket 3.6 we no longer need the specific nightly to compile anymore.
* Add page header and simple stylesheet.Harald Eilertsen2018-01-142-0/+9
|
* 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
|
* Update rocket and dotenv.Harald Eilertsen2018-01-141-4/+4
|
* Split out layout from templates.Harald Eilertsen2018-01-148-97/+98
|
* Move post actions to partial.Harald Eilertsen2018-01-123-10/+11
|
* Implement deleting posts.Harald Eilertsen2018-01-124-2/+18
|
* 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
| | | | | | 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.
* Update readme with Vagrant setupHarald Eilertsen2018-01-111-2/+28
|
* Vagrantfile: Need to start postgres before creating db user.Harald Eilertsen2018-01-111-5/+5
|
* Add vagrantfile to move setup away from local machine.Harald Eilertsen2018-01-112-0/+80
|
* Implement actually updating database.Harald Eilertsen2018-01-101-10/+14
|