Commit Graph
3074 Commits
Author SHA1 Message Date
Jakub Warmuz 827c66c667 Integration tests: standalone dvsni and simpleHttp. 2015-10-04 19:19:36 +00:00
Jakub Warmuz 509af11a92 --standalone-supported-chalenges 2015-10-04 19:15:45 +00:00
Jakub Warmuz ea45fc6504 TestSimpleServer: don't rely on symlinks 2015-10-04 19:15:05 +00:00
Jakub Warmuz 774dc7db9a 100% coverage for Standalone 2.0 2015-10-04 19:15:05 +00:00
Jakub Warmuz 1a0f8889ad ServerManager.running returns dict 2015-10-04 19:15:04 +00:00
Jakub Warmuz df04938f6a Standalone 2.0: add detection for unsupported SimpleHTTP TLS platform. 2015-10-04 19:14:58 +00:00
Jakub Warmuz 517a74f432 standalone 2.0: lint, docs, cleanup. 2015-10-04 17:21:35 +00:00
Jakub Warmuz bba0560c0e Almost full coverage for plugins.standalone (perform2 left). 2015-10-04 13:24:30 +00:00
Jakub Warmuz 7687ecd6e3 100% coverage for standalone.ServerManager 2015-10-04 12:14:10 +00:00
Jakub Warmuz 22b1514f51 server_forever2/shutdown2 2015-10-04 12:14:10 +00:00
Jakub Warmuz d1fcc422e0 Use ACME(TLS)Server in plugins.standalone 2015-10-04 11:31:52 +00:00
Jakub Warmuz b0efc61f97 Add ServerManagerTest stub. 2015-10-04 10:58:31 +00:00
Jakub Warmuz b660650a90 Add StandaloneBindErrorTest 2015-10-04 10:37:47 +00:00
Jakub Warmuz b4b7b020a2 Add NamespaceConfigTest.test_simple_http_port 2015-10-04 10:32:29 +00:00
Jakub Warmuz 560d12a40c Merge remote-tracking branch 'github/letsencrypt/master' into standalone2 2015-10-04 10:24:47 +00:00
Peter Eckersley 74b2e3bc51 Merge pull request #868 from letsencrypt/sysexit_error
ErrorHandler should ignore sys.exit
2015-10-02 00:59:24 -07:00
Brad Warren 8e45ecd975 Merge branch 'master' into sysexit_error 2015-10-01 15:40:08 -07:00
Brad Warren d7a16ecfcb Added tests and documentation 2015-10-01 15:39:55 -07:00
bmw ec09bd4be5 Merge pull request #874 from letsencrypt/nginx_readme
Updated README to reflect state of Nginx plugin
2015-10-01 15:28:15 -07:00
bmw 09d6e7e13c Merge pull request #876 from letsencrypt/fix_indentation
Fixed indentation in storage.py
2015-10-01 15:28:05 -07:00
James Kasten 1808b6fb94 Merge pull request #870 from letsencrypt/apache_no_install
Report Apache correctly when uninstalled
2015-10-01 16:41:03 -04:00
Peter Eckersley 7b63f99749 Merge pull request #871 from letsencrypt/license
Make sure the LICENSE file is accurate for first pre-relase
2015-10-01 13:04:59 -07:00
Brad Warren 6bde83c983 Fixed indentation in storage.py 2015-10-01 11:53:11 -07:00
Brad Warren 268368b3e9 Updated README to reflect state of Nginx plugin 2015-10-01 10:12:38 -07:00
Peter Eckersley 8041b35f99 Make sure the LICENSE file is accurate for first pre-relase
- In general copyrights remain with their respective authors or authors'
   organizations, but with license granted by clause 5 of the Apache License.
 - Presently the plurality of the copyright in the client is held by EFF as a result of
   work-for-hire by jdkasten, bmw, schoen, pde, rolandshoemaker and jsha;
   or by Jakub Warmuz or his employer, Google.
2015-09-30 19:23:17 -07:00
Brad Warren 9cf2ea8a57 Report Apache correctly when uninstalled 2015-09-30 17:16:27 -07:00
Peter Eckersley 393f4b4997 Merge pull request #863 from letsencrypt/subargs
Improve CLI flag and help processing
2015-09-30 17:05:06 -07:00
bmw 078b8c01f6 Merge pull request #869 from letsencrypt/broken-nginx
Mark Nginx as non-working.
2015-09-30 17:00:49 -07:00
Peter Eckersley 43cb36807a Also test top level help 2015-09-30 17:00:09 -07:00
Peter Eckersley 11ca1108c2 Test cases for command line help 2015-09-30 16:53:08 -07:00
Jacob Hoffman-Andrews 95c4b55da0 Mark Nginx as non-working. 2015-09-30 16:49:03 -07:00
Peter Eckersley 2406fc0486 Go back to VERBS as a list
The dictionary was destroying the ordering, which was important.
2015-09-30 16:07:16 -07:00
Peter Eckersley 5ca1a27200 Keep the acme/ subtree compatible with strict pylinting 2015-09-30 15:31:32 -07:00
Peter Eckersley d85f42d71f Plugins don't need to be in HELP_TOPICS
They're already added as topics automatically, though they do need to be in
the hand-written top level help.
2015-09-30 15:29:29 -07:00
Brad Warren bb167743f3 Don't call_registered() on SystemExit 2015-09-30 13:00:10 -07:00
Peter Eckersley 2d578468bd Use a verb -> function table instead of eval()
- plugins_cmd() not plugins() broke the more minimalist eval() approach
 - more wrangling was required to mock out calls via the VERBS table
2015-09-30 12:32:44 -07:00
Peter Eckersley 2a3a111d62 Disable pylint invalid-name
It's clearly making our code harder to read and write
2015-09-30 12:10:16 -07:00
Peter Eckersley 1e3c92c714 Cleanup the verb -> subparser mapping 2015-09-30 11:49:46 -07:00
Peter Eckersley 627fca37b4 We didn't actually need to define --help as a verb 2015-09-29 18:55:59 -07:00
Peter Eckersley 18dacc528d Preserve all argparse parameters
Try to restore all variants that applied to the different subcomannds
2015-09-29 18:55:59 -07:00
Peter Eckersley 6b6bc03882 --cert-path was required for install and revoke
Oops
2015-09-29 17:14:40 -07:00
Peter Eckersley 2297349b95 lintian 2015-09-29 16:56:36 -07:00
Peter Eckersley 4437ec5586 Merge remote-tracking branch 'origin/master' into subargs 2015-09-29 14:49:32 -07:00
Peter Eckersley 05d439a339 Update cli tests
We don't expect to error out if called with no args
2015-09-29 14:48:40 -07:00
Peter Eckersley a0af023b14 --key-path is mandatory for install, optional for revoke 2015-09-29 14:48:26 -07:00
Peter Eckersley 2e0fd36c28 Improve flag and help processing
* letsencrypt --help $SUBCOMMAND now works.
   Fixes #787 #819
 * subcommand arguments are now actually argument groups, so that all flags
   can be placed before or after subcommand verbs as the user wishes
   Fixes: #820

A limitation:

 * args like --cert-path were previously present for multiple verbs
   (auth/install/revoke) with separate docs; they are now in the "paths"
   topic.  That's fine, though it would be good to *also* list them when the
   user types letsencrypt --help install.
2015-09-29 21:01:02 +00:00
bmw ce520ca532 Merge pull request #859 from letsencrypt/report_success
Report cert issuance to the user
2015-09-29 13:02:00 -07:00
Brad Warren 312057b1b8 changes += kuba_feedback 2015-09-29 12:54:52 -07:00
bmw 23e766a4d3 Merge pull request #861 from letsencrypt/nginx_alpha
Mark Nginx as Alpha
2015-09-29 11:12:19 -07:00
Brad Warren dcd274ed93 Marked Nginx as Alpha 2015-09-29 11:06:02 -07:00