Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pretty up the main layout a bit. | Harald Eilertsen | 2018-08-01 | 1 | -1/+5 |
| | |||||
* | Fix display of flash messages. | Harald Eilertsen | 2018-08-01 | 6 | -8/+21 |
| | | | | | Pass full flash to template, and style according to flash name/type. | ||||
* | Implemet editing users. | Harald Eilertsen | 2018-07-31 | 4 | -4/+119 |
| | |||||
* | Implement deleting users. | Harald Eilertsen | 2018-07-31 | 3 | -1/+26 |
| | |||||
* | Drop unused trait for struct NewUser | Harald Eilertsen | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | Validate password confirmation on create user. | Harald Eilertsen | 2018-07-31 | 2 | -9/+39 |
| | |||||
* | Fix users template | Harald Eilertsen | 2018-07-31 | 1 | -9/+9 |
| | |||||
* | Add view to list all users | Harald Eilertsen | 2018-07-31 | 3 | -11/+41 |
| | |||||
* | Move methods to get display values into user model. | Harald Eilertsen | 2018-07-31 | 2 | -11/+29 |
| | |||||
* | Typo in layout markup | Harald Eilertsen | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | Move routing details into controllers. | Harald Eilertsen | 2018-07-31 | 5 | -25/+39 |
| | |||||
* | Updated dependencies, rocket, diesel and friends to latest. | Harald Eilertsen | 2018-07-31 | 1 | -6/+6 |
| | |||||
* | Add simple unfinished login controller. | Harald Eilertsen | 2018-01-20 | 5 | -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 Eilertsen | 2018-01-20 | 4 | -1/+10 |
| | |||||
* | Remove obsolete post_teaser partial template. | Harald Eilertsen | 2018-01-20 | 1 | -9/+0 |
| | |||||
* | Refactor index template. | Harald Eilertsen | 2018-01-20 | 3 | -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 Eilertsen | 2018-01-19 | 2 | -9/+42 |
| | |||||
* | Implement new/create user logic. | Harald Eilertsen | 2018-01-19 | 4 | -1/+78 |
| | |||||
* | Fix user model, and include in build. | Harald Eilertsen | 2018-01-19 | 2 | -4/+10 |
| | |||||
* | Begin implementing user model. | Harald Eilertsen | 2018-01-18 | 1 | -0/+36 |
| | |||||
* | Add users table to schema. | Harald Eilertsen | 2018-01-18 | 3 | -0/+25 |
| | |||||
* | Fix rustflags to set incremental cache. | Harald Eilertsen | 2018-01-18 | 1 | -1/+1 |
| | |||||
* | Upgrade to Diesel 1.1 and r2d2 0.8.2. | Harald Eilertsen | 2018-01-18 | 4 | -12/+10 |
| | | | | Also drop the now obsolete diesel_codegen crate. | ||||
* | Be explicit about the schema instead of infering it. | Harald Eilertsen | 2018-01-18 | 1 | -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 Eilertsen | 2018-01-14 | 4 | -8/+14 |
| | |||||
* | Set incremental build cache in vagrant env. | Harald Eilertsen | 2018-01-14 | 1 | -0/+3 |
| | | | | | Must be on a filesystem that supports hard links, to avoid warning during compilation. | ||||
* | Install latest nightly in vagrant environment. | Harald Eilertsen | 2018-01-14 | 1 | -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 Eilertsen | 2018-01-14 | 2 | -0/+9 |
| | |||||
* | Serve static files from public directory if no other route match. | Harald Eilertsen | 2018-01-14 | 2 | -1/+12 |
| | |||||
* | Improve error message with missing database url. | Harald Eilertsen | 2018-01-14 | 1 | -22/+20 |
| | |||||
* | Update rocket and dotenv. | Harald Eilertsen | 2018-01-14 | 1 | -4/+4 |
| | |||||
* | Split out layout from templates. | Harald Eilertsen | 2018-01-14 | 8 | -97/+98 |
| | |||||
* | Move post actions to partial. | Harald Eilertsen | 2018-01-12 | 3 | -10/+11 |
| | |||||
* | Implement deleting posts. | Harald Eilertsen | 2018-01-12 | 4 | -2/+18 |
| | |||||
* | Read .env file in main. | Harald Eilertsen | 2018-01-11 | 2 | -9/+9 |
| | |||||
* | Move homepage processing to separate controller. | Harald Eilertsen | 2018-01-11 | 3 | -22/+27 |
| | |||||
* | Move controller code to own module. | Harald Eilertsen | 2018-01-11 | 3 | -2/+10 |
| | |||||
* | Drop the lib. | Harald Eilertsen | 2018-01-11 | 4 | -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 setup | Harald Eilertsen | 2018-01-11 | 1 | -2/+28 |
| | |||||
* | Vagrantfile: Need to start postgres before creating db user. | Harald Eilertsen | 2018-01-11 | 1 | -5/+5 |
| | |||||
* | Add vagrantfile to move setup away from local machine. | Harald Eilertsen | 2018-01-11 | 2 | -0/+80 |
| | |||||
* | Implement actually updating database. | Harald Eilertsen | 2018-01-10 | 1 | -10/+14 |
| | |||||
* | Make proper module of models | Harald Eilertsen | 2018-01-10 | 2 | -4/+7 |
| | |||||
* | Adding edit/update logic. | Harald Eilertsen | 2018-01-10 | 5 | -6/+63 |
| | | | | The model is not done yet, though. No net on the train. | ||||
* | Order and cosmetics on extern crate declarations. | Harald Eilertsen | 2017-12-30 | 2 | -12/+10 |
| | |||||
* | Move creating post in db to Post model impl. | Harald Eilertsen | 2017-12-23 | 3 | -16/+19 |
| | |||||
* | Implement posts/show handler. | Harald Eilertsen | 2017-12-23 | 4 | -1/+40 |
| | |||||
* | Don't import modules in macro. | Harald Eilertsen | 2017-12-23 | 1 | -10/+5 |
| | | | | | Didn't work well when macro was invoked more than once for each source file. Use full references to all symbols instead. | ||||
* | Move get_post into impl and rename. | Harald Eilertsen | 2017-12-23 | 2 | -8/+10 |
| | |||||
* | Move get_posts function to models. | Harald Eilertsen | 2017-12-23 | 2 | -11/+11 |
| |