1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-21 19:01:07 +03:00
Commit Graph

141 Commits

Author SHA1 Message Date
Peter Eckersley
dcf8ea4e97 Logic for setting configurators assumed they were really being set
(They might not be)
2015-10-16 17:38:17 -07:00
Peter Eckersley
3d6ecc114b lintmonster 2015-10-16 10:41:05 -07:00
Peter Eckersley
9bde3b7084 Support for --apache and --nginx now working.
- Along with much better error messages for misconfigured plugins
2015-10-16 10:34:29 -07:00
Peter Eckersley
78be30d457 Basic support for --apache and --nginx
- Also begin to clean up the code that integrates --configurator,
   --installer, and --authenticator inputs.
2015-10-13 14:38:31 -07:00
Jakub Warmuz
73ee63779c Remove --no-simple-http-tls 2015-10-07 06:23:28 +00:00
Liam Marshall
d5ebc38b33 Fix pep8 warnings (down to only one now!) 2015-10-04 20:39:19 -05: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
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
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
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
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
Brad Warren
243c9e9021 Made cover and lint happy 2015-09-28 15:52:09 -07:00
Brad Warren
4da0e17255 Added message and changed reporter interface 2015-09-28 15:45:31 -07:00
Brad Warren
3279aefefb Made PEP8 happy 2015-09-28 15:15:44 -07:00
Jakub Warmuz
315b357781 Hide null installer (fixes #789). 2015-09-28 19:08:57 +00:00
Peter Eckersley
ddc04c755b work in progress 2015-09-27 07:56:38 +00:00
Peter Eckersley
a29afcc3bd Merge remote-tracking branch 'origin/master' into subargs 2015-09-27 07:54:30 +00:00
Peter Eckersley
f3c2a096b5 Move the verb/subcommand to the end of the argparse line 2015-09-27 02:48:44 +00:00
Peter Eckersley
001d37f965 "-h" is also a ver. 2015-09-27 02:41:55 +00:00
James Kasten
523dba0b99 Merge pull request #777 from letsencrypt/fix_771
Make 'auth' and 'run' use the same code (fixes #771)
2015-09-26 22:12:46 -04:00
Peter Eckersley
405bc99235 --help is effectively a verb for CLI purposes 2015-09-26 18:19:56 -07:00
Peter Eckersley
63e1c652e1 Undo damage from PEP8ification 2015-09-26 18:05:34 -07:00
James Kasten
8dc345a3a0 address naming conventions 2015-09-26 16:04:44 -07:00
James Kasten
655c3c2a0e Address comments 2015-09-26 15:44:57 -07:00
James Kasten
98d49ae8bf Remove excessive error handling 2015-09-26 01:34:09 -07:00
James Kasten
395da0d7d5 Merge branch 'master' into fix_771
Conflicts:
	letsencrypt/cli.py
2015-09-25 20:11:15 -07:00
James Kasten
add23360a5 Take away confirmation screen for testing 2015-09-25 20:04:34 -07:00
Brad Warren
fe810020c4 Made error logging entries red in the terminal 2015-09-25 13:26:45 -07:00
James Kasten
cf08fe799a fix #799 2015-09-21 16:57:28 -07:00
Peter Eckersley
6c4d9e9324 Satisfy the lintmonster 2015-09-17 13:00:03 -07:00
Peter Eckersley
7c67df1076 traceback actually provides that \n 2015-09-17 12:48:07 -07:00
Peter Eckersley
0e3eae153e Hide tracebacks, but not the ultimate error itself 2015-09-17 12:29:42 -07:00
Peter Eckersley
630c715350 lintmonster 2015-09-16 17:03:09 -07:00
James Kasten
e8611d299a Cleanup formatting issues 2015-09-16 13:23:46 -07:00
Peter Eckersley
9315161ef2 Better documentation 2015-09-16 13:20:31 -07:00
Peter Eckersley
1a2c983a9c Strict permission checking only upon request
Use --strict-permissions if you're running as a privileged user on a system
  where non-privileged users might have write permissions to parts of the lets
  encrypt config or logging heirarchy.  That should not normally be the case.

  Working toward a fix for #552
2015-09-16 13:13:24 -07:00
James Kasten
8b9a66d7dd Make sure configs directory exists 2015-09-16 12:33:56 -07:00
James Kasten
a0d67aeed7 correct success message for 'run' 2015-09-16 01:25:08 -07:00
James Kasten
23edd48d5a minor fixes 2015-09-15 23:34:00 -07:00
James Kasten
2bc87893c4 Merge branch 'master' into fix_771 2015-09-15 22:49:16 -07:00
James Kasten
c025c17b5d auth use renewal 2015-09-15 22:48:36 -07:00
Peter Eckersley
5709eacec4 Merge remote-tracking branch 'origin/master' into kuba_chain 2015-09-15 18:33:16 -07:00
James Kasten
d9cf160aca Merge pull request #758 from letsencrypt/treat_duplicate_as_renewal
Treat duplicative certificate requests as renewals by default
2015-09-15 21:30:22 -04:00
Peter Eckersley
67bf3d41cb Merge remote-tracking branch 'origin/master' into kuba_chain 2015-09-15 18:26:39 -07:00