Jakub Warmuz
b0fe02f732
merge github/letsencrypt/master
2015-04-22 09:16:13 +00:00
Jakub Warmuz
f26549dc58
Revert "Add cmd line arg for the authenticator"
...
This reverts commit 5d2abc30f0 .
2015-04-22 09:02:41 +00:00
Jakub Warmuz
b76e8b6c41
Revert "Update unit tests for determine_authenticator"
...
This reverts commit 79f5ebe734 .
2015-04-22 09:02:39 +00:00
Jakub Warmuz
cfe95323f6
Revert "Unit tests for setting authenticator via cmd line"
...
This reverts commit 0d7f32fa98 .
2015-04-22 09:02:38 +00:00
Jakub Warmuz
4f0d0936af
IPluginFactory
2015-04-22 08:49:08 +00:00
Jakub Warmuz
88dc56186e
Move apache constants/args/IConfig to its subdirectory
2015-04-22 08:49:08 +00:00
Jakub Warmuz
bad3a959d4
random cli cleanup
2015-04-22 07:23:26 +00:00
Jakub Warmuz
0e3504cecc
stub cli_test
2015-04-22 07:20:45 +00:00
Jakub Warmuz
048876a1df
default_config_files
2015-04-22 07:19:31 +00:00
Jakub Warmuz
1001b027cb
ConfArgParse -> ConfigArgParse
...
ConfArgParse + subparsers = config scoped only to subcommand
ConfArgParse doesn't seem to respect formatter_class (no defaults)
ConfigArgParse works with ENV variables
https://github.com/bw2/ConfigArgParse#design-notes
2015-04-22 07:19:30 +00:00
Jakub Warmuz
975fe1c65b
Move scripts/main to client/cli.py
2015-04-22 06:23:25 +00:00
James Kasten
ea88fc6401
Merge pull request #348 from kuba/bootstrap
...
Bootstrap script improvements
2015-04-20 14:26:48 -07:00
James Kasten
ba8052250a
Merge pull request #351 from diracdeltas/feature/nginx
...
Start Nginx configurator
2015-04-20 14:22:03 -07:00
yan
6a0dc2b960
Improve comments based on PR #351 review
2015-04-20 11:04:58 -07:00
yan
18582e8ca0
Fix tuple comparison, add ssl check in nginx get_version
2015-04-20 10:58:02 -07:00
James Kasten
98ecc5d25a
Merge pull request #354 from kuba/to_partial_json
...
to_json -> to_partial_json, fully_serialize -> to_json
2015-04-19 20:08:14 -07:00
James Kasten
408f0141fa
Merge pull request #353 from kuba/test_from_json_hashable
...
test_from_json_hashable
2015-04-18 22:27:03 -07:00
yan
4bcc18d9d3
Address @kuba's review comments
2015-04-18 10:22:36 -07:00
Jakub Warmuz
f8843c64e1
to_json -> to_partial_json, fully_serialize -> to_json
2015-04-18 08:11:28 +00:00
yan
636f5aa313
Remove commented-out code in nginx dvsni.py
2015-04-17 23:21:55 -07:00
Jakub Warmuz
33ba8b9dac
Remove explicit Registration.key.encoder
2015-04-18 06:19:54 +00:00
Jakub Warmuz
aca82c1771
lint, style, test registration hashable
2015-04-18 06:01:21 +00:00
James Kasten and Jakub Warmuz
82dded9128
Add Registration encoding/fix hashable JWKRSA
2015-04-18 05:48:55 +00:00
Jakub Warmuz
5b0efa2e64
Add test_from_json_hashable
2015-04-18 05:48:32 +00:00
yan
c67f1c11b4
Update LICENSE.txt for nginxparser attribution
2015-04-17 22:24:19 -07:00
yan
f3126e77a7
Fix duplicate code lint errors
2015-04-17 22:24:19 -07:00
yan
995b5622f8
Fix most pylint errors
2015-04-17 22:24:19 -07:00
yan
1505f5e7bc
Empty format field not allowed in python 2.6
2015-04-17 22:24:19 -07:00
yan
03e5f3c6c6
Add default nginx config files from Ubuntu
2015-04-17 22:24:19 -07:00
yan
78458b1348
Add nginx obj.py test
2015-04-17 22:24:19 -07:00
yan
f05771b704
Add placeholder dvsni tests to bump coverage %
2015-04-17 22:24:19 -07:00
yan
f83a77d8ad
Add regex servername test, correct conf syntax
...
Running the configtest (nginx -c -t /path/to/nginx.conf) should now say "The
configuration file /path/to/nginx.conf syntax is ok"
2015-04-17 22:24:19 -07:00
yan
f050fcfa58
Add unit test for deploying cert
2015-04-17 22:24:19 -07:00
yan
eeb81cbf1f
Remove vhosts instance variable
...
For now, rebuild vhosts from parser.parsed on every invocation to ensure that
vhosts is up-to-date with parser.parsed.
2015-04-17 22:24:19 -07:00
yan
154db5a757
Start adding tests for nginx configurator
2015-04-17 22:24:19 -07:00
yan
d2588de4fd
Add get_all_certs_keys method to parser
2015-04-17 22:24:19 -07:00
yan
fe1ba9dad6
Add test for nginx name matching
2015-04-17 22:24:18 -07:00
yan
d9c8c13f9a
Fix and add test for get_vhosts
2015-04-17 22:24:18 -07:00
yan
e5a027ce30
Make nginx deploy_cert
2015-04-17 22:24:18 -07:00
yan
2a9c707dbd
Update method to make server SSL ready
2015-04-17 22:24:18 -07:00
yan
7b72262811
Fix nginx choose_vhost to use nginx host-choosing rules
2015-04-17 22:24:18 -07:00
yan
3c806b120a
Update configurator.save and configurator.get_all_names
2015-04-17 22:24:18 -07:00
yan
2a86936410
Delete unused methods or replace with placeholders
2015-04-17 22:22:06 -07:00
yan
0ba12c9f46
Fix typo: _get_vhosts -> get_vhosts
2015-04-17 22:21:14 -07:00
yan
efe1f2b2ff
Fill out get_vhosts
2015-04-17 22:18:57 -07:00
yan
4f53c7a3c0
Define addr object for nginx
2015-04-17 22:18:56 -07:00
yan
d8ac31acae
Add method and test for dumping nginx configs
2015-04-17 22:18:56 -07:00
yan
4f3bf3d720
Add test for recursive file parsing
2015-04-17 22:18:56 -07:00
yan
eaef4065e3
Rename NginxParser to RawNginxParser
2015-04-17 22:18:56 -07:00
yan
b245394355
Add test server.conf file
2015-04-17 22:18:56 -07:00