Adrien Ferrand
791667216c
Last fixes
2022-01-19 23:20:37 +01:00
Adrien Ferrand
7eb6bbae82
Fix remaining types
2022-01-19 23:02:08 +01:00
Adrien Ferrand
d27a3a3216
Use protocol
2022-01-19 22:39:21 +01:00
Adrien Ferrand
f2b39f093d
Upgrade pinning and fix some typing errors
2022-01-19 22:17:11 +01:00
Adrien Ferrand
72fdf3cba3
Better TypeVar names
2022-01-19 21:36:28 +01:00
Adrien Ferrand
8f05a06088
Update acme/acme/messages.py
...
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2022-01-19 21:30:50 +01:00
Adrien Ferrand
758150bc7c
Update acme/acme/messages.py
...
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2022-01-19 21:30:45 +01:00
Adrien Ferrand
bb9e7c92d9
Merge branch 'master' into typed-jose-fields
2022-01-19 21:29:46 +01:00
kevgrig
afc5be5abe
Add wildcard example ( #9164 )
...
* Add wildcard example
* Update wildcard example
2022-01-18 23:20:25 +01:00
Adrien Ferrand
16aad35d31
Fully type certbot-nginx module ( #9124 )
...
* Work in progress
* Fix type
* Work in progress
* Work in progress
* Work in progress
* Work in progress
* Work in progress
* Oups.
* Fix typing in UnspacedList
* Fix logic
* Finish typing
* List certbot-nginx as fully typed in tox
* Fix lint
* Fix checks
* Organize imports
* Fix typing for Python 3.6
* Fix checks
* Fix lint
* Update certbot-nginx/certbot_nginx/_internal/configurator.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot-nginx/certbot_nginx/_internal/configurator.py
Co-authored-by: alexzorin <alex@zor.io>
* Fix signature of deploy_cert regarding the installer interface
* Update certbot-nginx/certbot_nginx/_internal/obj.py
Co-authored-by: alexzorin <alex@zor.io>
* Fix types
* Update certbot-nginx/certbot_nginx/_internal/parser.py
Co-authored-by: alexzorin <alex@zor.io>
* Precise type
* Precise _coerce possible inputs/outputs
* Fix type
* Update certbot-nginx/certbot_nginx/_internal/http_01.py
Co-authored-by: ohemorange <ebportnoy@gmail.com>
* Fix type
* Remove an undesirable implementation.
* Fix type
Co-authored-by: alexzorin <alex@zor.io>
Co-authored-by: ohemorange <ebportnoy@gmail.com>
2022-01-12 16:36:51 -08:00
Mads Jensen
30b066f082
Remove outdated pylint comments ( #9167 )
...
* Remove outdated pylint: disable=unused-import annotations.
* remove # pylint: disable=ungrouped-imports annotations.
* Remove single pylint: disable = unused-argument in DeleteIfAppropriateTest.test_opt_in_deletion.
2022-01-09 22:51:06 +01:00
Mads Jensen
7e5e51aeff
Use super().__init__ instead of explicitly calling named super-class. ( #9166 )
...
* Use super().__init__ instead of explicitly calling named super-class.
* Fix unittest (typo fix).
2022-01-09 22:50:44 +01:00
Mads Jensen
ed7964b424
Improve assertions in nginx and DNS plugin tests. ( #9157 )
...
* Improve assertions in nginx and DNS plugin tests.
* Use assertIs for asserting is True/False.
2022-01-04 23:59:58 +01:00
Adrien Ferrand
97a09dee19
Revert "Remove win2016 from Azure devops pipelines. ( #9145 )" ( #9158 )
...
This reverts commit dc66c87928 .
2022-01-04 20:24:24 +11:00
Adrien Ferrand
72ec7e8319
Finish complete typing
2022-01-04 01:07:07 +01:00
Adrien Ferrand
661a06025c
Fix more types
2022-01-03 23:03:45 +01:00
Adrien Ferrand
309531f8f7
Fix some types
2022-01-03 22:47:06 +01:00
Mads Jensen
a0dbe1e850
Improve assertions in certbot-apache tests. ( #9131 )
...
* Improve assertions in certbot-apache tests.
Replacements inspired by flake8-assertive.
* Fix test failures
* assertEqual is not for None :D
* Pass all tests :)
2022-01-03 22:05:21 +01:00
Adrien Ferrand
ee19b67cc9
Fix lint
2022-01-02 00:41:29 +01:00
Adrien Ferrand
1706828f13
Merge remote-tracking branch 'upstream/master' into typed-jose-fields
2022-01-02 00:34:08 +01:00
Mads Jensen
eeca208c8f
Various clean-ups in certbot-apache. Use f-strings. ( #9132 )
...
* Various clean-ups in certbot-apache. Use f-strings.
* Smaller tweaks
2022-01-02 00:27:47 +01:00
alexzorin
00f98fa911
letstest: bump ubuntu groovy to impish ( #9155 )
2022-01-02 00:23:24 +01:00
Mads Jensen
dc66c87928
Remove win2016 from Azure devops pipelines. ( #9145 )
...
From March 2022, support will be removed.
https://github.com/actions/virtual-environments/issues/4312
2022-01-02 00:22:52 +01:00
osirisinferi
93c2852fdb
Add show_account subcommand to retrieve account info from ACME server ( #9127 )
...
* Fetch and print account contacts from ACME server
* Add tests
* Add changelog entryAdd changelog entry
* Add account URI and thumbprint output
Only show these items when verbosity > 0
* Add test case for account URI and thumbprint
* Move changelog entry to new placeholder
* Add test for `cb_client.acme` (coverage)
* Address comments
* Update changelog
* Few small word changes
* Add server to error messages
* Remove phone contact parts
2021-12-27 19:12:52 +11:00
osirisinferi
a391a34631
Add appending behaviour of max-log-backups = 0 ( #9146 )
2021-12-22 08:20:01 +11:00
Brad Warren
1577cd8663
write docs on how to test release script ( #9142 )
...
Alexis (rightfully) wasn't sure how to test this when working on https://github.com/certbot/certbot/pull/9076 . This PR documents it in the script based on what I wrote at https://github.com/certbot/certbot/pull/8351#issue-715227127 which I reverified.
2021-12-21 09:28:31 -07:00
Adrien Ferrand
89ccbccff0
Fully type all DNS plugins ( #9125 )
...
* Add types in all DNS plugins
* Order imports
* Fix type
* Update certbot-dns-route53/certbot_dns_route53/_internal/dns_route53.py
Co-authored-by: alexzorin <alex@zor.io>
* Clean up imports
Co-authored-by: alexzorin <alex@zor.io>
2021-12-14 12:38:14 +11:00
Adrien Ferrand
cb3e1403cd
Fully type certbot-compatibility-test ( #9133 )
...
* Finish typing the module
* Use cast
* Precise type
2021-12-14 12:14:11 +11:00
alexzorin
3353c0df43
tests: remove Boulder v1 endpoint from certbot-ci and azure ( #9140 )
2021-12-13 10:42:15 -08:00
Adrien Ferrand
97d9e2c97d
Fully type lock_test.py ( #9126 )
...
* Type lock_test.py
* Reconfigure tox
* Fix imports
2021-12-13 14:01:31 +11:00
Adrien Ferrand
89cefc177a
Fix --help output ( #9130 )
2021-12-11 12:58:33 +11:00
Brad Warren
8799b108c2
fix macos coverage ( #9137 )
2021-12-11 12:43:17 +11:00
Brad Warren
dab7864809
Add macOS instructions ( #9136 )
...
* add macOS instructions
* add integration test warning
2021-12-11 12:28:18 +11:00
Adrien Ferrand
d57727ff83
Update dependencies
2021-12-10 21:05:01 +01:00
Adrien Ferrand
0a707096ea
Merge branch 'master' into typed-jose-fields
2021-12-09 23:03:48 +01:00
Brad Warren
693c674a7e
Merge pull request #9128 from certbot/candidate-1.22.0
...
Release 1.22.0
2021-12-08 09:42:08 -07:00
Erica Portnoy
c02ead0f11
Bump version to 1.23.0
2021-12-07 14:03:51 -08:00
Erica Portnoy
d5ea9072af
Add contents to certbot/CHANGELOG.md for next version
2021-12-07 14:03:51 -08:00
Erica Portnoy
6463a2e22d
Release 1.22.0
2021-12-07 14:03:50 -08:00
Erica Portnoy
d6adc4a2d0
Update changelog for 1.22.0 release
2021-12-07 14:02:45 -08:00
Mads Jensen
402f18e039
Apache augeas clean up ( #9114 )
...
The `# self.comment = comment` caught my eye while working on #9071 as well as the intermediate variables, which aren't really needed. As a result, I reformatted the code slightly in those places.
* Remove comment in AugeasCommentNode.__init__
* Replace some intermediate varibles with return-statements in apache augeas parser.
* more clean-up
2021-12-02 08:45:16 -07:00
Adrien Ferrand
aeb7beb1b1
Fully type certbot-ci module ( #9120 )
...
* Fully type certbot-ci module
* Fix lint, focus lint
* Add trailing comma
* Remove unused private function
* Type properly for future usages
* Update certbot-ci/certbot_integration_tests/utils/acme_server.py
Co-authored-by: alexzorin <alex@zor.io>
* Cleanup files
* Fix import
* Fix mypy and lint
Co-authored-by: alexzorin <alex@zor.io>
2021-11-30 08:24:39 +11:00
moratori
0d10a44f4b
Added --issuance-timeout command line option ( #9056 )
...
* Added --issuance-timeout command line option
* clarification of command line option name,docstring and add tests
* fix test case for python36
* improved the command line options
2021-11-30 08:17:06 +11:00
Adrien Ferrand
86406ab63a
Add type annotations to the certbot package (part 4) ( #9087 )
...
* Extract from #9084
* Cast/ignore types during the transition
* Remove useless casts and type ignore directives
* Fix lint
* Fix a cast
* Mandatory typing for certbot packages
* Update certbot/certbot/_internal/plugins/disco.py
Co-authored-by: alexzorin <alex@zor.io>
* Remove unused type import
* Fix iterator type
* Fix type
* Fix types in selection
Co-authored-by: alexzorin <alex@zor.io>
2021-11-26 09:00:03 +11:00
Aaron Gable
7d3a344d43
Update py cryptography to >=2.5.0 ( #9110 )
...
* Update py cryptography to >=2.5.0
* Review feedback
2021-11-24 14:46:11 -08:00
Adrien Ferrand
250d7b1542
Add type annotations to the certbot package (part 3) ( #9086 )
...
* Extract from #9084
* Cast/ignore types during the transition
* Fix after review
* Fix lint
* Update certbot/certbot/_internal/storage.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/storage.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/main.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/main.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/client.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/client.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/auth_handler.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/auth_handler.py
Co-authored-by: alexzorin <alex@zor.io>
* Update certbot/certbot/_internal/auth_handler.py
Co-authored-by: alexzorin <alex@zor.io>
* Remove a cast usage
* Fix import
* Remove now useless cast
* Update certbot/certbot/_internal/client.py
Co-authored-by: alexzorin <alex@zor.io>
Co-authored-by: alexzorin <alex@zor.io>
2021-11-25 07:47:36 +11:00
Adrien Ferrand
19147e1b8c
Add type annotations to the certbot package (part 2) ( #9085 )
...
* Extract from #9084
* Cast/ignore types during the transition
* Clean up
* Fix assertion
* Update certbot/certbot/display/ops.py
Co-authored-by: alexzorin <alex@zor.io>
* Use sequence
* Improve documentation of "default" in display
* Fix contract
* Fix types
* Fix type
* Fix type
* Update certbot/certbot/display/ops.py
Co-authored-by: alexzorin <alex@zor.io>
Co-authored-by: alexzorin <alex@zor.io>
2021-11-24 18:33:09 +11:00
Adrien Ferrand
fe344f3c3b
Reapply from master
2021-11-23 22:12:32 +01:00
Adrien Ferrand
a56176e079
Fix lint
2021-11-23 22:10:46 +01:00
Adrien Ferrand
0db6d15976
Merge branch 'master' into typed-jose-fields
2021-11-23 22:00:02 +01:00