Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-19Merge pull request #5118 from erikrose/certbot-auto-timeoutBrad Warren
Certbot auto timeout
2017-09-18Merge pull request #5096 from certbot/0.18.1-release-notesNoah Swartz
Add 0.18.1 release notes
2017-09-18Simplify and stop repeating knowledge by hard-coding timeout into ↵Erik Rose
HttpsGetter.get(). Also, switch timeout to 30 so it has every opportunity to actually work, even in bad network weather. (I posit that people are used to 30-second timeouts.) Stop catching URLError explicitly, since it's a subclass of the already-caught IOError.
2017-09-18Add timeout to certbot-auto HTTPS fetches. Fix #4473.Chris J
2017-09-16#4435. CLI Argument Default Organization (#5037)Chris Julian
* Enhancement #4435. Organizing defaults in prepare_and_parse_args() * Playing fast and loose with tox. Discovered screwy case involving flag_default returning empty list (domains) * Setting defaults for more low-hanging fruit. Some caveats remain. * key_path default to None * Applying PR feedback: explicit defaults even where redundant * Obsessive quote consistency * Set testing config path arguments to a 'certonly' default * Copy the default domains list rather than get reference * Build a testing Config from CLI_DEFAULTS * Update some email tests for use with defaults in config. config.email and config.noninteractive_mode in these tests used to be magic-mock'd, so were True-ish. The default email is now None and default noninteractive_mode is False, so update in tests accordingly. * Lint... * Copy anything retrieved using flag_defaults. Apply this to test_cli_ini_domains too. * Put those quotes back. Backslashes are just the worst. * Remove vestigial line * A test to ensure no regressions around modifying CLI_DEFAULTS
2017-09-16fix #5111 AttributeError occured with >=pyOpenSSL-17.2.0 (#5112)Seong-ho Cho
2017-09-16certbot: Let plugins_cmd be run as un-priviliged user. (#5103)r5d
* certbot: Let plugins_cmd be run as un-priviliged user. * certbot/main.py (main): Update function. Addresses issue #4350. * * Add test certbot.tests.main_testMainTest.test_plugins_no_args_unpriviliged
2017-09-16add domain name when having issues in the warn output (#5105)Noah Swartz
2017-09-16fix NAME to CERTNAME (#5114)Noah Swartz
2017-09-15Add --no-self-upgrade to test farm test. (#5095)Brad Warren
2017-09-15Release 0.18.1 (#5093)Brad Warren
* Release 0.18.1 (cherry picked from commit 8010822a0bd8e826dcbdb7a2b9729b4a27b3fcc6) * Bump version to 0.19.0
2017-09-14Merge pull request #5108 from certbot/issue_5107Noah Swartz
add a help output for cert-name
2017-09-13add renew to existing docNoah Swartz
2017-09-12add a help output for cert-nameNoah Swartz
2017-09-08Add 0.18.1 release notesBrad Warren
2017-09-08Test farm improvements (#5088)Brad Warren
* prevent regressions of #5082 * Fix test_leauto_upgrades.sh test_leauto_upgrades.sh has been incorrectly been succeeding because while peep doesn't work with newer versions of pip and letsencrypt-auto would crash, the output included the version number so we reported the test as passing. This updates letsencrypt-auto to the oldest version that still works for the purpose of the test and sets pipefail so errors are properly reported. * Test symlink creation in test_leauto_upgrades.sh * Pin dependencies in test_sdists.sh. * Fix permissions errors in test_tests.sh
2017-09-08Fix permissions error when upgrading certbot-auto. (#5086)Brad Warren
Now we always check if we have root access if --cb-auto-has-root is not given on the command line. This allows certbot-auto to properly acquire root when upgrading from an older version. People upgrading from 0.18.0 to 0.18.1 may check for root access twice, however, if root's user ID is 0, this check is essentially a noop. If root's user ID is not 0, we'll request root access a 2nd time during this upgrade.
2017-09-08Update changelog to reflect 0.18.0 (#5081)Brad Warren
2017-09-07Merge pull request #5080 from certbot/candidate-0.18.0Brad Warren
Release 0.18.0
2017-09-07Also check new path when determining cli_command (#5082)Brad Warren
2017-09-06Merge pull request #5075 from certbot/specify-min-six-versionyomna
Specify the minimum six version in ACME
2017-09-06Bump version to 0.19.0Brad Warren
2017-09-06Release 0.18.0v0.18.0Brad Warren
2017-09-05Specify the minimum six version in acmespecify-min-six-versionBrad Warren
2017-09-01Use ffdhe2048 Nginx DH params to fix Weak-DH bug (#4973)ohemorange
* Rename plugins.common.install_ssl_options_conf to plugins.common.install_version_controlled_file * Install ssl_dhparams file * Add installation test * Add ssl_dhparam option when making a server block ssl * add install_ssl_dhparams to Installer common plugin class * Remove redundant code and tests * update MANIFEST.in
2017-09-01mention that revoke doesn't effect rate limit (#5070)Noah Swartz
fixes #2720
2017-09-01Link to changelog from readme (#5069)Noah Swartz
fixes #3420
2017-09-01Fix documentation build failures (#5068)Brad Warren
* sphinxify error_handler docs
2017-08-31certbot: Update `renew` command output in quiet mode. (#5062)r5d
* certbot: Update `renew` command output in quiet mode. * certbot/renewal.py (_renew_describe_results): Update function. * certbot/tests/main_test.py (_test_renewal_common): Update method. Add optional arg `stdout`; Modify `mock_get_utilitiy`, `stdout`. (test_quiet_renew): Update method.
2017-08-31Merge pull request #5064 from certbot/letsencrypt-travisNoah Swartz
Don't send IRC notifications from forks
2017-08-30encrypt channelletsencrypt-travisBrad Warren
2017-08-30#4071 Mixin to prevent setting return_value after initializing certain Mock ↵Chris Julian
objects (#4963) * Addressing #4071 Wrote an ImmutableReturnMixin to prevent developers overriding return_value in certain Mock objects * Language * Loosening the assumption that underlying _mock objects need to be Immutable-like simplifies implementation * Addressing #4071 * Ensure side_effects and return_values are pushed down to the underlying _mock in FreezableMocks. And IDisplay mocks are no longer frozen in _create_get_utility_mock() * Edit a handful of tests to not override the mock_get_utility return_value * Brief explainer of FreezableMock.__setattr__ * Incorporating PR feedback and some compatibility * FreezableMock __getattr__ needs a shortcut in case of return_value or side_effect * Changing return_value only forbidden if set before freezing * Remove unnecessary else block * Expanded doc strings * Bring a couple new tests in line with patch_get_utility() norms
2017-08-29Make common Installer base class (#5055)Brad Warren
* Add installer class * Add wrapped reverter methods to common.Installer. * Use Installer class in Apache plugin * Use Installer class in Nginx plugin * Don't create reverter in Apache and Nginx plugins
2017-08-29Merge pull request #5029 from certbot/issue_4792Noah Swartz
expand nginx no name error
2017-08-28Update install.rst (#5057)Ted Marynicz
Minor typo fix in VE para
2017-08-28switch from triple quotes to single quotesissue_4792Noah Swartz
2017-08-25Add the word `instead` to renew error (#5053)test-testsJosh Soref
Closes #4118
2017-08-25Stop using print in `certbot.cli` module. (#5028)r5d
* Update cerbot.tests.util.patch_get_utility (#3720) * Add new arg `stdout_notification` to `cerbot.tests.util.patch_get_utility` function. If `stdout_notification` is True, then the mock interfaces.IDisplay.notification function will print out to stdout. * Add new arg `stdout_notification` to _create_get_utility_mock function. * Add new function `_stdout_notification`. * Stop using print in certbot.cli (#3720) * certbot/cli.py (HelpfulArgumentParser._usage_string) (HelpfulArgumentParser.__init__): Update methods. * certbot/tests/cli_test.py (test_cli_ini_domains, test_no_args) (test_install_abspath, test_help, test_help_no_dashes) (test_parse_domains, test_preferred_challenges, test_server_flag) (test_must_staple_flag, test_no_gui, test_staging_flag) (test_dry_run_flag, test_option_was_set) (test_encode_revocation_reason, test_force_interactive) (test_deploy_hook_conflict, test_deploy_hook_matches_renew_hook) (test_deploy_hook_sets_renew_hook, test_renew_hook_conflict) (test_renew_hook_matches_deploy_hook) (test_renew_hook_does_not_set_renew_hook, test_max_log_backups_error) (test_max_log_backups_success, test_webroot_map) (test_report_config_interaction_str) (test_report_config_interaction_iterable): Update tests. * certbot/tests/main_test.py (test_certificates) (test_certonly_abspath, test_certonly_bad_args) (test_agree_dev_preview_config): Update tests. * certbot: Refactor cli_test.ParseTest. * certbot/tests/cli_test.py (ParseTest._unmocked_parse): Rename parse to _unmocked_parse. (parse): New method. (ParseTest._help_output, ParseTest.test_cli_ini_domains) (ParseTest.test_no_args, ParseTest.test_install_abspath) (ParseTest.test_help, ParseTest.test_help_no_dashes) (ParseTest.test_parse_domains, ParseTest.test_preferred_challenges) (ParseTest.test_server_flag, ParseTest.test_must_staple_flag) (ParseTest.test_no_gui, ParseTest.test_staging_flag) (ParseTest.test_dry_run_flag, ParseTest.test_option_was_set) (ParseTest.test_encode_revocation_reason) (ParseTest.test_force_interactive) (ParseTest.test_deploy_hook_conflict) (ParseTest.test_deploy_hook_matches_renew_hook) (ParseTest.test_deploy_hook_sets_renew_hook) (ParseTest.test_renew_hook_conflict) (ParseTest.test_renew_hook_matches_deploy_hook) (ParseTest.test_renew_hook_does_not_set_renew_hook) (ParseTest.test_max_log_backups_error) (ParseTest.test_max_log_backups_success): Update methods. * certbot: Refactor cli_test.SetByCliTest * certbot/tests/cli_test.py (SetByCliTest.test_webroot_map) (SetByCliTest.test_report_config_interaction_str) (SetByCliTest.test_report_config_interaction_iteratable) (_call_set_by_cli): Update methods. * certbot: cli: Fix style. * certbot/cli.py (HelpfulArgumentParser.__init__): Update method. * certbot: Revert changes to tests.util.patch_get_utility * certbot/tests/util.py (patch_get_utility): Remove `stdout_notification` arg. (_creat_get_utility_mock): Remove `stdout_notification` arg. (_stdout_notification): Remove function. * certbot: Revert changes to MainTest. * certbot/tests/main_test.py (MainTest.test_certificates, MainTest.test_certonly_abspath) (MainTest.test_certonly_bad_args): Update methods. * certbot: cli_test.py: Remove 'pylint: disable' lines. * certbot/tests/cli_test.py (ParseTest.parse): Update method. (_call_set_by_cli): Update function.
2017-08-23certbot-auto OS dependency update system (#4971)Brad Warren
* Add version number to bootstrap scripts. * Always determine Bootstrap function and version. * Write bootstrap version into venv. * Add PrevBootstrapVersion function. * Add OS bootstrapping check to phase 2. * Differentiate -n and renew when rebootstrapping. * Quote all environment variables. * Correct test condition * Add loud warning about hardcoded version list. * s/VENV_BOOTSTRAP_VERSION/BOOTSTRAP_VERSION_PATH * Properly handle noop bootstrap functions.
2017-08-23Organize + document `certbot/tests/testdata` directory (#4983)Winston Smith
* wp organize keys documentation start * oganized testdata directory + readme * clean up doc * del acme change
2017-08-21add warnings and clarity to config documentation (#4991)Noah Swartz
2017-08-21Change certbot-auto's installation path to /opt (#4970)Brad Warren
* Update comment about root usage. * run all of certbot-auto as root * remove other $SUDO uses from template * remove $SUDO usage from bootstrappers * default venv path = /opt/eff.org/certbot/venv * Create symlinks from old default venvs * Delete old venv path when it exists. Also, quote expansion of paths. * fix typo * Separate venv_dir and le_auto_path * Deduplicate code with test_dirs() * Ignore cleanup errors. This is caused by subdirectories being owned by root. * Split test into test_phase2_upgrade. * Rename test_dirs to temp_paths for clarity. * Check both venvs before bootstrapping again. * Use OLD_VENV_PATH/bin * Preserve environment with sudo. * Remove "esp. under sudo" comment. * Export *VENV_PATH. * Change check for OLD_VENV installation. This approach better handles manually set VENV_PATH values. * Remove SUDO_ENV. * Print message before requesting root privileges. * Make a function for selecting root auth method. * Address @erikrose's feedback.
2017-08-21Redirect to zenhack/simp_le (#5025)Nicolas Duchon
Kuba's simp_le has been unmaintained for more than a year and is starting to break. zenhack's fork is actively maintained and available through PyPI.
2017-08-16link to nginx documentationNoah Swartz
2017-08-16expand nginx no name errorNoah Swartz
2017-08-11Include plugin selection at the info logging level (#5010)Winston Smith
* Plugin selection on INFO * Fixed lint errors * Fixed lint errors * record_chosen_plugin log plugin
2017-08-10Merge pull request #4896 from certbot/order-matters2Noah Swartz
Explain --domains and --cert-name usage
2017-08-09#4434 Test Config Base Class (#4974)cj-dev
* Addressing #4434 by implementing ConfigTestCase which mocks out a NamespaceConfig for consistent config use across tests * Refactor account_test.py for use with ConfigTestCase * Remove superfluous setup/teardown * Pylint oops. * Fix redundant inheritance class definitions * Separate ConfigTestCase's mocked directories * Module import style consistency * Refactor log_test.py for use with ConfigTestCase * Refactor eff_test.py for use with ConfigTestCase. Also tweak for import style consistency * Refactor reverter_test.py for use with ConfigTestCase * Refactor renewal_test.py for use with ConfigTestCase * Refactor main_test.py for use with ConfigTestCase * Refactor storage_test.py for use with ConfigTestCase * Refactor cert_manager_test.py for use with ConfigTestCase * Refactor client_test.py for use with ConfigTestCase * Refactor configuration_test.py for use with ConfigTestCase * Pylint! * Incorporating PR feedback * Remove comment
2017-08-09[#4966] - Fedora 26 doesn't have development tools handy (#4997)Bob Strecansky
2017-08-09Pin dependencies in compatibility tests. (#5004)Brad Warren
We now use tools/pip_install_editable.sh which installs our packages using the pinned versions from certbot-auto. We also use letsencrypt-auto-source/letsencrypt-auto instead of certbot-auto in the root to: 1. Make sure OS bootstrappers are up to date with master. 2. Copy letsencrypt-auto-source into our tree so it can be used by tools/pip_install_editable.sh later.