Commit graph

39 commits

Author SHA1 Message Date
dependabot[bot]
46879f31dd
Bump hyper from 0.11.27 to 0.14.12
Bumps [hyper](https://github.com/hyperium/hyper) from 0.11.27 to 0.14.12.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.11.27...v0.14.12)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 01:11:28 +00:00
Magnus Hovland Hoff
0521f0ce5a Upgrade quote 2022-04-03 22:16:45 +02:00
Magnus Hovland Hoff
bf34e2923b Addressed many cargo clippy complaints 2022-04-03 22:09:36 +02:00
Magnus Hovland Hoff
e0f52cd031 Upgrade diesel dependencies.
When switching to edition=2021, the build fails with a linking error to -lsqlite3.
Upgrading libsqlite3-sys unfortunately does not fix this.
2022-04-03 14:01:45 +02:00
Magnus Hovland Hoff
203a701517 Upgrade lazy_static to get rid of compile warning 2022-04-03 13:49:15 +02:00
Magnus Hovland Hoff
26fe2b64da Update edition, cargo fix and cargo fix --edition 2022-04-03 13:45:50 +02:00
Magnus Hovland Hoff
09c68c5993 Select random theme for new articles server side.
This supports user agents with disabled javascript (noscript)
2018-10-05 11:56:53 +02:00
Magnus Hovland Hoff
828490df3b Update serde_urlencoded dependency for bugfix 2018-09-23 21:39:09 +02:00
Magnus Hovland Hoff
d4e8277f2a Dependency for previous commit 2018-09-18 19:21:36 +02:00
Magnus Hoff
963d70ff7a Add dynamic-assets feature to facilitate rapid feedback when working on the assets 2018-07-09 21:27:34 +02:00
Magnus Hoff
38c70f7b25 Select persistent theme per page based on title 2018-06-17 21:25:35 +02:00
Magnus Hoff
7e6fe36ea0 Serve articles with a random theme 2018-06-16 11:24:34 +02:00
Magnus Hoff
b7c281e6f6 Misc upgrade of dependencies 2018-06-13 22:16:44 +02:00
Magnus Hoff
604bea0c25 Upgrade diesel dependencies 2018-06-13 21:55:06 +02:00
Magnus Hoff
c52ac1c2f1 Upgrade to Diesel 1.0.0 2018-01-06 09:29:15 +01:00
kyegupov
8b838ac8c9 Fix tests after diff bump; drive-by prettify diff tests (#56) 2017-12-17 17:14:39 +01:00
Magnus Hoff
6e3f1dab07 Upgrade to Diesel 1.0.0-beta1 2017-12-15 16:43:10 +01:00
Magnus Hoff
b7a7ae53ab Update to Diesel 0.99
This fixes #49
2017-12-15 16:29:24 +01:00
Magnus Hoff
7dd5c046b7 Merge branch 'proper_html_handling' 2017-11-29 22:52:42 +01:00
Magnus Hoff
88b3df21c2 Refactor build information and add more information #44 2017-11-20 10:12:10 +01:00
Magnus Hoff
2665fb3b8a Add a test for State 2017-11-15 16:27:28 +01:00
Magnus Hoff
249e428107 Rename proc macro helper crate 2017-11-14 11:35:13 +01:00
Magnus Hoff
29a7d58b41 Use maplit for static hash map literal 2017-11-02 15:19:23 +01:00
Magnus Hoff
548555c45e Populate clap with information from Cargo.toml 2017-11-01 11:44:49 +01:00
Magnus Hoff
59b9e77d47 Rudimentary support for comparing revisions of articles
For issue #21
2017-10-30 16:35:21 +01:00
Magnus Hoff
c86f24a665 Use branch of pulldown-cmark to achieve proper html handling 2017-10-28 14:26:01 +02:00
Magnus Hoff
ce1bbee22c Sort some lists of things lexicographically 2017-10-01 23:26:57 +02:00
Magnus Hoff
7562961093 Percent decode path segments of URL 2017-10-01 23:24:16 +02:00
Magnus Hoff
804bfa074c Compile release with panic=abort.
Unwinding is never utilized, so no reason to compile it in.

This saves 3% on the binary size, and should also generate slightly faster code
2017-10-01 22:50:44 +02:00
Magnus Hoff
daef9786e3 Offer Sausagewiki under GPL3 2017-09-22 16:16:40 +02:00
Magnus Hoff
9d0ca63aa9 When inventing a title from a slug, add some capitalization 2017-09-21 11:42:09 +02:00
Magnus Hoff
debf44623c Automatically generate slugs for articles based on title 2017-09-20 23:31:25 +02:00
Magnus Hoff
12be38dfdc Upgrade dependencies 2017-09-17 11:40:16 +02:00
Magnus Hoff
53c4ff1b5c Extract CSS and JS from templates and serve as static assets 2017-09-15 14:54:47 +02:00
Magnus Hoff
6fb1062376 Execute State functions in thread pool 2017-09-08 16:21:24 +02:00
Magnus Hoff
3ce6e255f2 Use the bundled/statically linked variant of libsqlite3, to make a more self-contained binary 2017-09-06 16:14:43 +02:00
Magnus Hoff
1a5b39b3a1 Implement editing 2017-09-05 17:07:57 +02:00
Magnus Hoff
60a87d1898 Introduce db connection pool. Derive Clone for State 2017-09-05 15:19:37 +02:00
Magnus Hoff
3abc3cd68a Skeleton with clap and sqlite database 2017-08-19 22:48:51 +02:00