61 Commits
Author SHA1 Message Date
bmw 90c7a73146 Merge pull request #2078 from letsencrypt/non-interactive
Implement non-interactive mode for the client.
2016-01-25 18:51:56 -08:00
Peter Eckersley 9a1199ed24 Wrangle a lot of **_kwargs 2016-01-21 15:50:45 -08:00
Peter Eckersley 8c9757a062 Correct docstring 2016-01-20 17:55:45 -08:00
Peter Eckersley 410bd22793 As previously implemented, iDisplay.menu() returns an index, not a tag 2016-01-20 17:21:40 -08:00
Peter Eckersley 22dccf0adb Use sphinx backticks more consistently 2016-01-20 17:16:32 -08:00
Peter Eckersley e112e2ce61 Remove pylint disable 2016-01-20 17:16:19 -08:00
Peter Eckersley 45f32f9cdc Do not say we've renewed a cert if it was reinstalled 2016-01-20 16:04:06 -08:00
Peter Eckersley 74f09fb7bd Never auto-select plugins in non-interactive mode
* We really want the user to pick one, so that the later addition of a
    second option doesn't cause -n mode to fail.
2016-01-09 15:43:58 -08:00
Peter Eckersley 96f704f577 Test cases for various error cases (and associtated bugfixes) 2016-01-01 15:29:34 -08:00
Peter Eckersley b5828d92ad Test cases for NoninteractiveDisplay
(and one of the associated bugfixes :)
2015-12-30 16:07:25 -08:00
Peter Eckersley d358c8d1c0 Correct docstrings & associated typing confusion 2015-12-30 15:52:51 -08:00
Peter Eckersley 548ba6b655 lint 2015-12-29 20:26:55 -08:00
Peter Eckersley 7daf773c73 Handle noninteractiv calls to iDisplay.checklist() 2015-12-29 20:23:23 -08:00
Peter Eckersley 5ed9ac5ae6 Handle non-interactivity of iDisplay.input() 2015-12-29 20:02:33 -08:00
Peter Eckersley 7626975248 Make iDisplay.menu() calls non-interactive where possible
- And provide helpful errors where they're not
2015-12-29 14:21:05 -08:00
Peter Eckersley 6daaa7a763 Add defaults / cli_flags for yesno() input 2015-12-29 00:03:57 -08:00
Peter Eckersley d471169b6b Add default-handling to the iDisplay interface
(and the other iDisplay implementations)
2015-12-28 23:47:32 -08:00
Peter Eckersley 4f33a4dbb5 Noninteractive iDisplay basic implementation
(no tests or hooks, yet)
2015-12-27 15:24:52 -08:00
Peter Eckersley c3c4c6c632 Begin work on a noninteractive iDisplay 2015-12-27 14:35:13 -08:00
Joona Hoikkala 1ee9435db7 PEP8 2015-12-09 15:18:04 +02:00
Joona Hoikkala 1d3cb57aef Display meaningful error messages in manual domain entry, and give user an option to retry 2015-12-09 10:36:22 +02:00
Peter Eckersley da609a2577 Merge pull request #1814 from joohoi/domaincheck
Check domain list from plugin get_all_names() and remove wildcard, punycode etc. [needs tweak]
2015-12-08 12:52:55 -08:00
Joona Hoikkala 3c1c3c3e8d Import and non-classmethod fix 2015-12-08 09:31:47 +02:00
Joona Hoikkala 51a5d7ceb0 Move validation code to main client 2015-12-08 09:05:11 +02:00
j a4396b89a7 Remove ! at end of url (fixes open url in gnome-terminal)
The ! at the end of the url is parsed as part of
the url if one uses "Open Link" in gnome-terminal.
2015-12-04 00:47:58 +01:00
Peter Eckersley 7901c59cd0 Merge pull request #1524 from letsencrypt/email
Better UI when asking for email
2015-11-20 19:16:02 -08:00
Peter Eckersley c3e2c58272 Fix comment nits 2015-11-20 19:02:50 -08:00
Peter Eckersley 1a4d7c1445 Lintmonster 2015-11-20 19:02:50 -08:00
Peter Eckersley ec267cf215 "Compute" the minimum height needed to reasonably display input 2015-11-20 19:02:50 -08:00
Brad Warren 350a07086f Remove confirmation in text display 2015-11-19 22:35:28 -08:00
Brad Warren 489e79d777 spacing 2015-11-19 22:13:04 -08:00
Brad Warren 2bdc60dfef Scoping rules are frustrating 2015-11-19 21:21:42 -08:00
Brad Warren 279c0d9ddf Comma 2015-11-19 21:16:44 -08:00
Brad Warren 2e06939fec Disable selection of misconfigured plugins 2015-11-19 21:15:54 -08:00
Peter Eckersley 77f2a29bfe Show the message about unsafe registration only conditionally
- If the user enters a blank email, or one that doesn't check out
2015-11-16 16:57:48 -08:00
Miquel RuizandPeter Eckersley 99f9f1b106 Rename option and fix displayed info 2015-11-16 16:57:48 -08:00
Miquel RuizandPeter Eckersley 36842b7bbb Ask for email unless --allow-unsafe-registration
Add new option that explicitly allows to not provide an email.
Fixes #414
2015-11-16 16:57:48 -08:00
Peter Eckersley 4083cd42ad Explain email recovery better 2015-10-14 15:09:55 -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
Jakub Warmuz 315b357781 Hide null installer (fixes #789). 2015-09-28 19:08:57 +00:00
James Kasten c1a959de45 Remove Revocation display 2015-09-25 22:44:33 -07:00
Seth Schoen 791825151a Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal 2015-09-11 00:42:35 -07:00
Jakub Warmuz 33c2aed021 Merge remote-tracking branch 'github/letsencrypt/master' into lint 2015-09-11 07:15:10 +00:00
Seth Schoen 2006c3a067 Merge branch 'master' of ssh://github.com/letsencrypt/lets-encrypt-preview into treat_duplicate_as_renewal 2015-09-08 21:02:06 -07:00
Seth Schoen 7aa9fe845a Basic fix for #411 2015-09-08 01:33:03 -07:00
Jakub Warmuz 83185e5553 pep8 letsencrypt 2015-09-06 09:20:11 +00:00
Harlan Lieberman-Berg dc4cc23377 Fix minor spelling errors in the code. 2015-09-05 22:35:34 -04:00
James Kasten f71119681c Address most of first round of comments 2015-07-30 23:14:58 -07:00
James Kasten e64e3ceab0 Proper misconfiguration message 2015-07-30 01:19:02 -07:00
James Kasten 1570873312 Fix single candidate plugin misconfiguration bug 2015-07-30 00:29:23 -07:00