Stephen Shelton
|
dfcf8fb62e
|
Update RouterHive to reflect config changes
|
2020-04-07 17:50:50 -06:00 |
|
Stephen Shelton
|
de8e44ba21
|
Re-apply clang-format rules after rebasing
|
2020-04-07 14:41:11 -06:00 |
|
Stephen Shelton
|
a66f502ed6
|
Remove [netdb] conf and place it under data-dir
This does three things:
1) Remove the [netdb] conf section,
2) Rename the subdir 'netdb' -> 'nodedb'
3) Place 'nodedb' under 'data-dir'
|
2020-04-07 14:28:23 -06:00 |
|
Stephen Shelton
|
be014175e9
|
Consolidate logging initialization logic
|
2020-04-07 14:27:31 -06:00 |
|
Stephen Shelton
|
6909e20588
|
Fix logging initialization and flush at program exit
|
2020-04-07 14:27:30 -06:00 |
|
Stephen Shelton
|
d3bcc05aa6
|
Organize some constants and default values
|
2020-04-07 14:26:32 -06:00 |
|
Stephen Shelton
|
da6bda15a1
|
Where did rc.signed come from?!
|
2020-04-07 14:26:31 -06:00 |
|
Stephen Shelton
|
7ea8d62640
|
Use fs::path over std::string for files
|
2020-04-07 14:26:30 -06:00 |
|
Stephen Shelton
|
7ce256d846
|
Prefer fs::path over std::string @ KeyManager
|
2020-04-07 14:25:51 -06:00 |
|
Stephen Shelton
|
0a9515a94a
|
Proper support for multiple values @ ConfigDefinition
|
2020-04-07 14:25:20 -06:00 |
|
Stephen Shelton
|
28c1ca9c7a
|
Handle missing IP address in conf properly
|
2020-04-07 14:25:19 -06:00 |
|
Stephen Shelton
|
0697d57190
|
Important TODO
|
2020-04-07 14:25:19 -06:00 |
|
Stephen Shelton
|
0e5e9a1222
|
Silently ignore config file if it exists already
|
2020-04-07 14:25:19 -06:00 |
|
Stephen Shelton
|
1fc7c61d1f
|
Share common conf comments for client and relay
|
2020-04-07 14:24:50 -06:00 |
|
Stephen Shelton
|
3739fc1d70
|
Reinstate multi-valued option
|
2020-04-07 14:24:50 -06:00 |
|
Stephen Shelton
|
a6787657be
|
Refactor config comments to take list of strings
|
2020-04-07 14:24:49 -06:00 |
|
Stephen Shelton
|
a8671cf9c7
|
Rename config classes for clarity
ConfigDefinition -> OptionDefiniton
Configuration -> ConfigDefinition
|
2020-04-07 14:24:49 -06:00 |
|
Stephen Shelton
|
f250b7adcb
|
Remove pidfile support
|
2020-04-07 14:24:48 -06:00 |
|
Stephen Shelton
|
4f77080f75
|
Remove optional<> from block-bogons
|
2020-04-07 14:23:53 -06:00 |
|
Stephen Shelton
|
4d053231d3
|
Define config defaults as constexpr
|
2020-04-07 14:23:32 -06:00 |
|
Stephen Shelton
|
adfcbd1d0b
|
Slight cleanup of k:v option maps
|
2020-04-07 14:23:11 -06:00 |
|
Stephen Shelton
|
e06c2e4502
|
Check that [router]min-connections <= [router]max
|
2020-04-07 14:22:53 -06:00 |
|
Stephen Shelton
|
6fd270ba09
|
Rip out link type spec and factory
We only support IWP now, so this is all effectively dead code.
|
2020-04-07 14:22:53 -06:00 |
|
Stephen Shelton
|
9e850705b4
|
Add 'AssignmentAcceptor' convenience for simple config acceptors
|
2020-04-07 14:20:59 -06:00 |
|
Stephen Shelton
|
f2a8dd10ce
|
Modernize Snapp config
|
2020-04-07 14:20:59 -06:00 |
|
Stephen Shelton
|
733efbab40
|
Reflect removal of accessors on config structs
|
2020-04-07 14:20:31 -06:00 |
|
Stephen Shelton
|
c8c940b0f5
|
Replace individual file locations with dataDir
|
2020-04-07 14:19:21 -06:00 |
|
Stephen Shelton
|
5d0b53e1be
|
Remove environment variable support in config
|
2020-04-07 14:19:21 -06:00 |
|
Stephen Shelton
|
05257126fe
|
Make distinction between config dir and data dir
|
2020-04-07 14:18:14 -06:00 |
|
Stephen Shelton
|
923e73f693
|
Plumb isRelay CLI arg through to config
|
2020-04-07 14:17:13 -06:00 |
|
Stephen Shelton
|
028e55e997
|
Remove pre-refactor config test
|
2020-04-07 14:14:33 -06:00 |
|
Stephen Shelton
|
6301fefd43
|
Add router-specific config comments
|
2020-04-07 14:14:01 -06:00 |
|
Stephen Shelton
|
5b520a4dff
|
Simplify connection limit constants
|
2020-04-07 14:13:27 -06:00 |
|
Stephen Shelton
|
14e7789847
|
Add padding to config file generated output
|
2020-04-07 14:12:31 -06:00 |
|
Stephen Shelton
|
1273f11ce8
|
First pass at updating comments to lokinet config
|
2020-04-07 14:12:31 -06:00 |
|
Stephen Shelton
|
18ee23c2a3
|
Support for comments in config definition
|
2020-04-07 14:11:58 -06:00 |
|
Stephen Shelton
|
1653b73ee5
|
Clean up the logic around generating default confs
|
2020-04-07 14:11:57 -06:00 |
|
Stephen Shelton
|
c5ff672c79
|
Use 'undeclared handler' for multi-valued 'add-node' config option
|
2020-04-07 14:10:11 -06:00 |
|
Stephen Shelton
|
feacde7864
|
Hook up 'undeclared handlers' to mop up loosely-structured INI values
|
2020-04-07 14:10:11 -06:00 |
|
Stephen Shelton
|
9a1b7b20de
|
Add "undeclared value" handler to Configuration
|
2020-04-07 14:09:14 -06:00 |
|
Stephen Shelton
|
ffc58fcedb
|
Remove dead code (serverOptions)
|
2020-04-07 14:09:13 -06:00 |
|
Stephen Shelton
|
2e47262350
|
Demystify LinksConfig
|
2020-04-07 14:08:45 -06:00 |
|
Stephen Shelton
|
cd1e7713de
|
Clean up / consolidate config logging logic
|
2020-04-07 14:07:40 -06:00 |
|
Stephen Shelton
|
4c00c6238e
|
Join config definition and config parser
|
2020-04-07 14:06:10 -06:00 |
|
Stephen Shelton
|
653a650cf9
|
Fix typo
|
2020-04-07 14:05:11 -06:00 |
|
Stephen Shelton
|
9f0ae43149
|
Remove dead code
|
2020-04-07 14:05:11 -06:00 |
|
Stephen Shelton
|
d82f5e6b93
|
First pass at replacing config value logic
|
2020-04-07 14:04:36 -06:00 |
|
Stephen Shelton
|
69331f1571
|
Remove multiValued as an argument to ConfigDefinition
|
2020-04-07 14:01:45 -06:00 |
|
Stephen Shelton
|
f6d000838f
|
Clarity and convenience for defining config options
|
2020-04-07 14:01:45 -06:00 |
|
Stephen Shelton
|
02e31f3867
|
Introduce acceptor function in ConfigDefinition
|
2020-04-07 14:01:44 -06:00 |
|