Commit Graph

123 Commits (feature/yaml-config)

Author SHA1 Message Date
Edward Shen 3a855a7e4a
add debug for client config 2021-07-09 19:51:48 -04:00
Edward Shen 5300afa205
Clean up ClientSecret usage 2021-07-09 19:48:25 -04:00
Edward Shen c5383639f5
ignore default config value 2021-07-09 19:18:09 -04:00
Edward Shen 88561f7c2c
Fix short arg conflict 2021-07-09 19:17:56 -04:00
Edward Shen ce03ce0baf
add support for yaml files 2021-07-09 19:14:53 -04:00
Edward Shen e78315025d
Use build script 2021-07-09 17:32:00 -04:00
Edward Shen a8e5d09ff0
clippy lints 2021-07-09 17:20:15 -04:00
Edward Shen b4f27c5f8c
migrate config to Config struct 2021-07-09 17:18:43 -04:00
Edward Shen 5b67431778
initial work 2021-07-09 14:36:04 -04:00
Edward Shen e33c0c73e1
Update dependencies 2021-07-07 14:59:58 -04:00
Edward Shen fe967a2272
clippy 2021-06-24 10:41:42 -04:00
Edward Shen 98ab7ab9e8
Blackhole non-token routes 2021-06-24 10:39:12 -04:00
Edward Shen 51173fa1a3
update index.html 2021-06-06 20:36:51 -04:00
Edward Shen 2501bb8da0
Upstream client to always use HTTP/2 and HTTPS 2021-06-06 18:51:05 -04:00
Edward Shen 97ea5eb448
Use short SHA in start message 2021-06-06 18:17:42 -04:00
Edward Shen 75752eb13e
remove unnecessary negation 2021-06-06 18:03:47 -04:00
Edward Shen 1839b64807
cargo update 2021-06-06 17:49:07 -04:00
Edward Shen 85c644ffed
Add git commit version 2021-06-06 17:48:48 -04:00
Edward Shen 9e9c955f5a
Update client spec version 2021-05-28 15:30:25 -04:00
Edward Shen 1c8f3da8d0
More logging 2021-05-27 19:24:54 -04:00
Edward Shen 5536f9638a
Add index page 2021-05-27 17:05:50 -04:00
Edward Shen 00739ec645
More logging 2021-05-27 16:47:35 -04:00
Edward Shen 491d0c9fda
Fix reading from encrypted files 2021-05-27 16:22:32 -04:00
Edward Shen f038452263
Fix logging messages 2021-05-27 16:22:15 -04:00
Edward Shen c32e534300
Revamp reading potentially encrypted files
Previously, we'd assume that if the header was successfully parsed, then
we'd have a valid encrypted header. This isn't the case, and now instead
we try to read metadata, first unencrypted, then encrypted, to make sure
we're reading with the correct abstraction.
2021-05-27 16:19:26 -04:00
Edward Shen 34c716bfce
Update dependencies 2021-05-27 16:18:50 -04:00
Edward Shen a732019f60
use split_at for token parsing 2021-05-24 15:21:45 -04:00
Edward Shen b8c12b463f
Use macro for metrics generation 2021-05-23 19:05:57 -04:00
Edward Shen 579d316945
clippy 2021-05-22 23:10:34 -04:00
Edward Shen 5fd8e86d97
Add support for offline mode 2021-05-22 23:06:05 -04:00
Edward Shen 79f73ed68e
Add prometheus endpoint 2021-05-22 22:10:03 -04:00
Edward Shen 96a6b76baa
better combinator 2021-05-22 20:19:17 -04:00
Edward Shen 7acc126de2
optimize file opening 2021-05-20 14:23:16 -04:00
Edward Shen ea8e031a3d
Remove extraneous conversion 2021-05-20 13:49:37 -04:00
Edward Shen 7f16e697e6
Fix lints 2021-05-20 13:42:08 -04:00
Edward Shen a3f3b5e3ab
Gracefully handle secretstream errors 2021-05-20 13:35:57 -04:00
Edward Shen a70f4bfdc3
Support loading disk size from db 2021-05-20 00:38:28 -04:00
Edward Shen 6daadefaf1
Resolve clippy lints 2021-05-19 23:52:15 -04:00
Edward Shen 0fcde518c5
Use qualified instead of absolute 2021-05-19 23:29:18 -04:00
Edward Shen c488eccc8d
Clean up traits 2021-05-19 23:27:56 -04:00
Edward Shen 4f55380d23
Remove layer of indirection 2021-05-19 22:42:44 -04:00
Edward Shen b66cccc832
implement at-rest encryption 2021-05-19 21:42:55 -04:00
Edward Shen 8772df2231
Add additional handling for ping errors 2021-05-19 20:33:39 -04:00
Edward Shen fe28f19f07
initial work into encryption at rest 2021-05-11 21:01:01 -04:00
Edward Shen eb605b9c27
merge memory cache types 2021-05-11 18:56:00 -04:00
Edward Shen 739137c4be
Fixed erronous log statement 2021-05-11 16:56:28 -04:00
Edward Shen 6da2cba78a
Use unstable options 2021-04-25 12:55:31 -04:00
Edward Shen 316e69851e
Fix typo in readme 2021-04-25 00:02:06 -04:00
Edward Shen d4c0859115
Update build instructions 2021-04-25 00:01:20 -04:00
Edward Shen 0857ffadc7
Add LFU cache 2021-04-24 23:56:56 -04:00