Commit Graph

19 Commits

Author SHA1 Message Date
Paul van Tilburg d6dd43c7f2
Fix clippy issues; change imports 2022-10-17 19:34:24 +02:00
Paul van Tilburg da5179d05a
Port to Rocket 0.5.0-rc2 2022-10-17 19:18:35 +02:00
Paul van Tilburg c3ae8ca62a
Port to Rocket 0.5.0-rc1
The rocket-contrib crate has been dropped by upstream.
The serde and serde_json crates are only necessary for the tests.
2021-06-13 21:59:44 +02:00
Paul van Tilburg 0c78996f66
Port to the 2018 edition 2020-02-03 21:38:20 +01:00
Paul van Tilburg 6d25920dfb Run rustfmt 2018-12-18 15:48:45 +01:00
Paul van Tilburg 3017d53256 Take path relative to the Cargo manifest dir 2018-12-18 15:48:36 +01:00
Paul van Tilburg bc18307da9 Upgrade to Rocket 0.4.0 2018-12-18 15:47:34 +01:00
Paul van Tilburg 95094a7d50 Replace the hardcoded title in the template by the one in the config 2018-03-09 22:28:15 +01:00
Paul van Tilburg 225e9c4cde More renaming of list to note (in test, docs, etc.) 2018-03-09 22:23:27 +01:00
Paul van Tilburg 270cffa00e Run rustfmt on all source files 2018-02-15 20:49:42 +01:00
Paul van Tilburg 67d55cadc4 Rename list to note throughout the application 2018-01-26 21:18:04 +01:00
Paul van Tilburg 2c46179f4f Rename the application from wishlists to pinboard 2018-01-26 20:50:26 +01:00
Paul van Tilburg ee0d056d18 Add the app version to the home index template context 2018-01-02 12:48:58 +01:00
Paul van Tilburg 4f622923fd Fix the list related tests to change the updatable list back
Otherwise every odd number of test runs, there will be a change
in test/lists/updatable.list for Git.
2018-01-01 22:17:56 +01:00
Paul van Tilburg 3251d098bd Add tests for the static file handler 2018-01-01 21:16:55 +01:00
Paul van Tilburg 8863b87c4e Add tests for the home handler 2018-01-01 21:16:47 +01:00
Paul van Tilburg e98324e3fe Move the tests for the list handlers to the right module
Also improve and expand the tests abit.  Use serde_json to parse the
results an interpret them instead on depending on response body string
matching (which fails for changing mtimes of the test files).
2018-01-01 21:15:30 +01:00
Paul van Tilburg f65fde7378 Move the List struct to a modules submodule
Move the state type ListStore back to main.rs, it is used for
a global state object (like a DB connection, etc.)
2017-12-30 22:23:16 +01:00
Paul van Tilburg 38801c5625 Split the handlers off into a handler submodules
Also move the list handlers to a separate mount point.
2017-12-30 22:06:48 +01:00