Commit graph

10309 commits

Author SHA1 Message Date
Erica Portnoy
9e56d6bf79 Improve wording of try again message 2021-05-19 16:40:08 -07:00
Erica Portnoy
f104d1f9bf Add changelog entry 2021-05-18 14:22:17 -07:00
Erica Portnoy
3eb928519f Merge branch 'local-8318' into all-ux-changes 2021-05-18 14:20:14 -07:00
Erica Portnoy
2adcfe10d7 Pass tests in any timezone by using utcfromtimestamp 2021-05-18 14:04:32 -07:00
Alex Zorin
c4668f3500 revert accidental changes to dependencies 2021-05-18 17:44:59 +10:00
Alex Zorin
e897e2be4b Merge branch 'reduce-default-logging' into ux 2021-05-18 15:27:48 +10:00
Alex Zorin
dc815452d0 Merge branch 'cli-exit-advice' into ux 2021-05-18 15:17:22 +10:00
Alex Zorin
4d9de9de55 Merge branch 'renew-no-dryrun-restarts' into ux 2021-05-18 15:17:11 +10:00
Alex Zorin
dd3348b1e2 Merge branch 'cli-failed-to-install-reporting' into ux 2021-05-18 15:16:59 +10:00
Alex Zorin
f50e60036b Merge branch 'cli-donation-prompt-ireporter' into ux 2021-05-18 15:16:30 +10:00
Alex Zorin
1446a666f2 Merge branch 'cli_authz_failure_reporting' into ux 2021-05-18 14:57:10 +10:00
Alex Zorin
812b34c1e8 Merge branch 'cli_new_cert_reporting' into ux 2021-05-18 14:56:58 +10:00
Alex Zorin
06773ae3d5 Merge remote-tracking branch 'upstream/master' into reduce-default-logging 2021-05-18 14:20:04 +10:00
Alex Zorin
15cdf75455 Merge remote-tracking branch 'upstream/master' into cli-exit-advice 2021-05-18 14:13:38 +10:00
Alex Zorin
d2254e1eba ignore type error 2021-05-18 14:12:12 +10:00
Alex Zorin
46c18fc52e Merge remote-tracking branch 'upstream/master' into renew-no-dryrun-restarts 2021-05-18 14:02:37 +10:00
Alex Zorin
0132fab334 Merge remote-tracking branch 'upstream/master' into cli-failed-to-install-reporting 2021-05-18 14:01:39 +10:00
Alex Zorin
b272eea172 Merge remote-tracking branch 'upstream/master' into cli-donation-prompt-ireporter 2021-05-18 13:54:19 +10:00
Alex Zorin
26097eff79 Merge remote-tracking branch 'upstream/master' into cli_authz_failure_reporting 2021-05-18 13:42:52 +10:00
Alex Zorin
d45a2b5dff Merge remote-tracking branch 'upstream/master' into ux_http_plugin_cli_output 2021-05-18 13:35:07 +10:00
Alex Zorin
26fcfa4555 Merge remote-tracking branch 'upstream/master' into cli_new_cert_reporting 2021-05-18 12:38:29 +10:00
Alex Zorin
a7e879bed8 cli: remove trailing newline on new cert reporting 2021-05-18 11:31:00 +10:00
alexzorin
2df279bc5b
cli: dont double-print choosing plugins error (#8850) 2021-05-17 16:39:04 -07:00
osirisinferi
9e6b406218
Move 5040495 CHANGELOG.md entry to correct version (#8851)
The merge of #8789 left the CHANGELOG.md entry at a previous certbot release. This PR puts the entry at the correct certbot version.
2021-05-17 11:04:05 -07:00
Adrien Ferrand
352ee258b7
[Windows] Cleanup Certbot pkg dir before installing to avoid dependencies conflicts (#8836)
Fixes #8824

This PR makes the installer first delete (if exist) the previous `pkg` directory in the Certbot installation in order to avoid dependencies conflicts when a new version of Certbot (with new versions of dependencies) is intaller other an existing one.

I took the simplest approach here, which is to delete specifically the directories known to create conflicts, instead of more complex approaches that involve to factor in some way the complete uninstaller logic. This is because the complexity added without a clear improvement does not worth it in my opinion. More specifically:
* factorizing in some way the uninstaller section in the NSIS template make the installer use any potential new logic of a new installation of Certbot instead of the one applying for the current installation, and may create unexpected errors during installation or at runtime
* calling the existing `uninstaller.exe` would be better, but I could not find a proper way to let NSIS wait for the actual end of the uninstall logic, and again may create unexpected errors during installation or at runtime

* Cleanup Certbot pkg dir before installing to avoid dependencies conflicts

* Add a changelog

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2021-05-17 10:22:47 -07:00
osirisinferi
5040495741
Use UTF-8 for renewal configuration file encoding (#8789) 2021-05-16 15:17:41 +02:00
Thomas G
bc23e07ee5
Fix incompatibility with lexicon >= v3.6.0 (#8819) 2021-05-16 15:03:53 +02:00
Mads Jensen
466e437a20
Use new GitHub templates. Add funding link (#8845) 2021-05-14 11:43:58 -07:00
Brad Warren
ee3b3656ea
Remove old apache tests (#8843)
Apache test farm tests started failing last night due to a change in pyenv. See https://dev.azure.com/certbot/certbot/_build/results?buildId=3948&view=logs&j=f67c2a39-2c4f-5190-915f-6f32a7a4306f&t=96f0f394-f513-5158-f5e7-a26e55aeadbf&l=26943.

I managed to fix that in d94f20f8b7, however, the OSes the tests were failing on were Debian 9 and Ubuntu 16.04. [Debian 9 reached its end-of-life in July 2020](https://wiki.debian.org/DebianReleases) and [Ubuntu 16.04 reached its end of standard support in April 2021](https://wiki.ubuntu.com/Releases). As shown at the same links, Debian 9 still has support from the LTS team and Ubuntu 16.04 has ESM support. Do we still want to support either of these OSes?

If so, we can use the commit I linked in the first sentence of the last paragraph, but I think supporting the OSes through their standard support is good enough. The Certbot team has enough on their plate and especially when the OSes are so old that we can't even use their packaged version of Python anymore which complicates our tests, I think we can just drop support and move on.

I don't have a strong opinion here though so if someone else does, let me know what you'd like to see or make the PR yourself based on the changes in my linked commit and I'll merge it.

You can see the tests passing with this change at https://dev.azure.com/certbot/certbot/_build/results?buildId=3955&view=results.

* Remove apache tests on old OSes

* remove unused pyenv code
2021-05-14 11:27:47 -07:00
Erica Portnoy
c75beb0116 Don't double write to log file; fix main test 2021-05-13 15:44:24 -07:00
miigotu
db40974788
Add 3rd party certbot-dns-godaddy to the docs (#8844)
* Add 3rd party certbot-dns-godaddy to the docs

* fix up rst syntax for godaddy link

Co-authored-by: alexzorin <alex@zor.io>
2021-05-13 09:22:31 +10:00
Brad Warren
89396cefa2
Remove unnecessary release script output (#8820) 2021-05-11 15:42:52 -07:00
Erica Portnoy
803a4b0988 also write to logger so it goes in the log file 2021-05-11 15:34:15 -07:00
Erica Portnoy
17fa7f3d37 Display cert not yet due for renewal message when renewing and no other action will be taken, and change cert to certificate 2021-05-11 15:14:05 -07:00
Erica Portnoy
442dd25cb3 Decrease logging level to info for idempotent operation where enhancement is already set 2021-05-11 15:11:17 -07:00
Erica Portnoy
73dfffeb33 Merge branch 'master' into reduce-default-logging 2021-05-11 15:08:53 -07:00
Alex Zorin
dd7811c492 print logfile rather than logdir in exit handler 2021-05-12 07:59:17 +10:00
Alex Zorin
9153c894fb Merge remote-tracking branch 'upstream/master' into cli-exit-advice 2021-05-12 07:29:44 +10:00
alexzorin
c48adc5753
docker: delete CARGO_HOME (#8839) 2021-05-11 01:03:35 +02:00
Brad Warren
c788820f5d
Fix sphinx followup (#8841)
I think we should use our `pip_install*` scripts wherever we can and I'm not quite sure yet if I'd call `repoze.sphinx.autointerface` unmaintained.

* use pip_install_editable

* update sphinx comment
2021-05-10 14:32:37 -07:00
Adrien Ferrand
b0552e1939
Fix Sphinx builds (#8838)
Since Saturday the CI pipeline is failing due to several Sphinx errors. See https://dev.azure.com/certbot/certbot/_build/results?buildId=3928&view=logs&j=d74e04fe-9740-597d-e9fa-1d0400037dfd&t=dde413a4-f24c-59a0-9684-e33d79f9aa02

First, the build of certbot-dns-google is failing because of a particular configuration. It seems that this configuration has been written here to activate the support of the RST instruction `.. code-block:: json` in documentation. However, it does not seem to be necessary for a similar situation in certbot-dns-route53 documentation. So let's try to remove it and fix the Sphinx builds.

Second, Sphinx builds were not pinning dependencies, so Sphinx 4.x (that has been released yesterday) started to be used in the pipeline. Sadly this new version is not compatible with the plugin `repoze.sphinx.autointerface`, used to extract documentation from `zope.interface`. So I fixed the pinning and also explicitly pin Sphinx to 3.5.x for now.

Technically speaking the second action is sufficient to fix the first error, but I keep the dedicated solution because it improves the documentation in my opinion.

This situation could be fixed by not requiring `repoze.sphinx.autointerface`, but this is possible only if we remove `zope.interface` from Certbot. Luckily I started the work few days ago ;).

* Remove explicit lexer call in certbot-dns-google doc builds.

* Write a valid JSON file in the documentation

* Apply constraints to sphinx build environments

* Pin Sphinx to 3.5.4

* Update dependencies

* Pin traitlets
2021-05-10 12:11:31 -07:00
Brad Warren
7eae058af5
Remove OS instructions (#8833)
Fixes https://github.com/certbot/certbot/issues/8832.

[These instructions are creating confusion among users](https://github.com/certbot/certbot/issues/8832) and [frustration among packagers](https://pagure.io/fesco/issue/2570) for whom the warning at the top of the OS packaging section doesn't apply. Because of this, I think we should remove them in favor of our instruction generator and snap/docker/pip instructions.

I also told Fedora packagers that we could probably do this in response to them continuing to improve their Certbot packages which they've done through things like the renewal timer that is now enabled by default.
2021-05-07 13:10:02 -07:00
Alex Zorin
2e16ef3955 shrink renewal and installation success messages 2021-05-06 20:42:18 +10:00
Alex Zorin
64e3b31577 get rid of leading newline on "Deploying [...]" 2021-05-06 17:34:32 +10:00
Brad Warren
934de48d44
fix typo (#8828) 2021-05-05 15:49:06 -07:00
Brad Warren
e39c7b5233
Merge pull request #8827 from certbot/candidate-1.15.0
Update files from 1.15.0 release
2021-05-05 15:48:43 -07:00
Brad Warren
56c781aec4 Bump version to 1.16.0 2021-05-04 11:50:12 -07:00
Brad Warren
484309ed95 Add contents to certbot/CHANGELOG.md for next version 2021-05-04 11:50:12 -07:00
Brad Warren
67e3c54744
Release 1.15.0 2021-05-04 11:50:10 -07:00
Brad Warren
bb6a076fda Update changelog for 1.15.0 release 2021-05-04 11:48:09 -07:00