summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Switch from quickcheck to proptest.Owen Jacobson2020-06-26
| | | | | | | | | | | | | The argument is as given in the proptest docs at <https://altsysrq.github.io/proptest-book/proptest/vs-quickcheck.html>. I've found that the resulting tests are somewhat clearer, and that the tools for working with test case generation are more useful. The other killer feature is recalling test failure examples from run to run. This change includes at least one bug found while testing the port! Finally, if <https://github.com/AltSysrq/proptest/issues/179> is to be believed, proptest is considerably closer to supporting async tests.
* Disregard test strings that can be converted to numbers when testing ↵Owen Jacobson2020-06-17
| | | | | | | | non-numeric strings. This is a straight oversight in the property. We asserted the proposition "the string contains no NULs implies the string will be rejected," but the test suite found a counterexample: `"0"` contains no NULs and is not rejected. This is correct behaviour - the string "0" should be converted to the port number 0! So, now the proposition is more complex: "the string contains no NULs and cannot be converted to a number implies the string will be rejected." This closely mirrors the implementation, which isn't fantastic, but I can't see a more succinct and accurate way to frame the property.
* Apply (and enforce) cargo fmt.Owen Jacobson2020-06-16
|
* Fix broken doctests.Owen Jacobson2020-06-16
| | | | Rust nightly un-broke doctests!
* Remove spurious import (thanks, clippy!)Owen Jacobson2020-06-15
|
* An ops suggestion (hat tip @illegalhex!)Owen Jacobson2020-06-08
|
* Some more troubleshooting suggestions from personal experienceOwen Jacobson2020-06-05
|
* Add CApocalypse-related itemsOwen Jacobson2020-06-05
|
* Reduce spurious copies.Owen Jacobson2020-06-04
|
* Slack integration.Owen Jacobson2020-06-04
|
* Remove some visual clutter in template rendering.Owen Jacobson2020-06-04
|
* fmtOwen Jacobson2020-06-04
|
* Complete the partialization changes.Owen Jacobson2020-06-04
| | | | This pulls the top-level framework for HTML out into its own partial.
* Split the template out into partials.Owen Jacobson2020-06-04
| | | | | This is a style experiment; the utility of using partials in an app with one view is limited, to say the least.
* Fix a line wrapping gaffeOwen Jacobson2020-06-04
|
* Remove stray debugging code.Owen Jacobson2020-06-04
|
* Fix mislabelled content type in t-t-c.ymlOwen Jacobson2020-06-04
|
* Renamed primary binary to `web`.Owen Jacobson2020-06-04
| | | | This closely matches Procfile entries, making the structure of the project a little easier to follow.
* Be more explicit about cachingOwen Jacobson2020-06-04
|
* Markdown support.Owen Jacobson2020-06-04
| | | | | | | | This accomplishes two things: 1. The og cards and page title no longer contain half-baked markup. Instead, they show the markdown equivalent, which is generally pretty friendly. In other words, the page title is "Have you checked `resolv.conf`?" and not "Have you checked <code>resolve.conf</code>?" 2. Phrases can now start with terms other than "Have you checked".
* Port things-to-check to Rust as a learning exercise.Owen Jacobson2020-06-03
This is somewhat overengineered in places, but does the job and exposes broadly the same interfaces as the Python version. Builds with emk/rust.