Commit Graph

53 Commits (543c13a500e3ef27ddf89245c32d9414ae3030a2)

Author SHA1 Message Date
Edward Shen 543c13a500
Add tests, use tarpaulin 2020-11-23 17:52:22 -05:00
Edward Shen 72ab5f29d8
Fix hot reloading with buffer swap editors
This required a fix with hotwatch to implement accepting an FnMut.
2020-11-22 14:49:51 -05:00
Edward Shen 0df0c60013
add route min/max arg restrictions 2020-09-27 21:33:32 -04:00
Edward Shen 630f7f803a
updated dependency versions 2020-09-27 15:31:08 -04:00
Edward Shen 50dce3a80b
Implement config size checks 2020-07-05 12:17:29 -04:00
Edward Shen 7995babb64
less unwrapping 2020-07-05 01:51:24 -04:00
Edward Shen 39a1037b33
remove uncessary arc 2020-07-05 01:37:45 -04:00
Edward Shen 9df8ea3558
fixed tests 2020-07-05 00:16:59 -04:00
Edward Shen 4226b75f18
update clap to ^3.0.0, return exit code 1 on error 2020-07-05 00:16:59 -04:00
Edward Shen 7a5910ce26
add deny(missing_docs) 2020-07-05 00:16:58 -04:00
Edward Shen 7faf15889a
implement intelligent config location selection. 2020-07-05 00:16:58 -04:00
Edward Shen 73f25b9ae8
add link to source, put footer at bottom of page 2020-04-17 13:43:53 -04:00
Edward Shen 9cf01f5991
explicitly set content-type to text/html; charset=utf-8 2020-04-17 13:23:00 -04:00
Edward Shen 8cdd216b39
remove extraneous uses 2020-04-14 20:39:36 -04:00
Edward Shen f109734a32
add version number to botton of pages 2020-04-14 20:34:04 -04:00
Edward Shen 4e1db78ed9
documented manual tests 2020-01-01 00:13:29 -05:00
Edward Shen 961cbd721b
move route serialization to config.rs 2019-12-31 23:07:01 -05:00
Edward Shen 1d7d547475
reorder routes 2019-12-31 23:00:54 -05:00
Edward Shen b8be3d8d53
typo fixes 2019-12-31 22:44:16 -05:00
Edward Shen 1385045013
use enum for routes 2019-12-31 17:36:21 -05:00
Edward Shen a4543c48ec
move config management to own file 2019-12-29 00:48:02 -05:00
Edward Shen 5a122371da
forbid unsafe code 2019-12-29 00:09:18 -05:00
Edward Shen 97f5fa1455
Added tests 2019-12-29 00:08:13 -05:00
Edward Shen 03918ea53e
remove libc and daemonize option 2019-12-27 00:02:12 -05:00
Edward Shen b835e5b2e9
move error to own file 2019-12-26 17:01:45 -05:00
Edward Shen 062c8f5a2e
move handlebar data out of state struct 2019-12-26 16:17:05 -05:00
Edward Shen b59cb4f9e3
move watch into own function 2019-12-26 15:49:42 -05:00
Edward Shen 0a19214f36
update acitx to 2.0 2019-12-26 15:06:00 -05:00
Edward Shen e1d70e2c4f
update config file format 2019-12-24 00:05:56 -05:00
Edward Shen 9f4577f0ed
actually name yaml file correctly 2019-12-23 22:59:12 -05:00
Edward Shen f70154e819
use const over static 2019-12-23 22:21:42 -05:00
Edward Shen b09f1b96ea
better log level parsing 2019-12-23 22:13:38 -05:00
Edward Shen 5218c8a92d
smarter log matching 2019-12-23 19:42:30 -05:00
Edward Shen c11056f1fb
Added clap, use options 2019-12-23 19:33:09 -05:00
Edward Shen 926658529e
add logging to bunbun 2019-12-23 14:09:49 -05:00
Edward Shen 66acf64421
split routes into own file 2019-12-23 10:02:21 -05:00
Edward Shen 5ea3b8da5b
use structs instead of hashmaps for templates 2019-12-23 00:08:16 -05:00
Edward Shen f67d461512
use hashmap, read from mem instead of a reader 2019-12-22 23:45:28 -05:00
Edward Shen 165875b31c
proper url decoding, better hop resolution 2019-12-22 22:10:21 -05:00
Edward Shen ffe2457380
remove unused error trait 2019-12-22 20:05:01 -05:00
Edward Shen 93703674ff
rename bunbunsearch.xml to macro style name 2019-12-22 12:10:10 -05:00
Edward Shen 996924582a
use macros 2019-12-21 23:34:03 -05:00
Edward Shen 320e41c6f2
graceful bad-config handling 2019-12-21 15:56:59 -05:00
Edward Shen e11e514c12
use custom error 2019-12-21 15:43:04 -05:00
Edward Shen be505480c5
rustfmt 2019-12-21 14:21:20 -05:00
Edward Shen 64aec75659
refactor config reading 2019-12-21 14:16:47 -05:00
Edward Shen c195efd1b4
clippy 2019-12-21 14:08:04 -05:00
Edward Shen 606620ae6a
implement config file watching 2019-12-21 14:04:13 -05:00
Edward Shen 755e057fd6
updated templates 2019-12-15 18:26:29 -05:00
Edward Shen 748417ff66
0.1.0 release 2019-12-15 14:57:42 -05:00