1. 30 7月, 2021 2 次提交
    • A
      Reimplement Certbot zope.interfaces into abstract base classes (#8950) · 979e21dc
      Adrien Ferrand 提交于
      * Implement certbot services
      
      * Various fixes
      
      * Local oldest requirements
      
      * Clean imports
      
      * Add unit tests for certbot.services
      
      * Clean code
      
      * Protect against nullity of global services
      
      * Fix CLI
      
      * Fix tests
      
      * Consistent test behavior
      
      * Define new ABC classes
      
      * Reimplement services with new ABC classes
      
      * Adapt plugins discovery and selection
      
      * Remove zope interfaces from plugins
      
      * Re-enable delegation for simplicity
      
      * Fix interfaces declaration
      
      * Remove interface implementer
      
      * Interfaces ordering
      
      * Extract zope logic from discovery
      
      * Cleanup imports
      
      * Fixing tests
      
      * Fix main_test
      
      * Finish certbot unit tests
      
      * Fix lint
      
      * Various fixes thanks to mypy
      
      * Fix lint
      
      * Order imports
      
      * Various fixes
      
      * Clean code
      
      * Remove reporter service, migrate display service in certbot.display.util.
      
      * Fix test
      
      * Fix apache compatibility test
      
      * Fix oldest test
      
      * Setup certbot.display.service module
      
      * Reintegrate in util
      
      * Fix imports
      
      * Fix tests and documentation
      
      * Refactor
      
      * Cleanup
      
      * Cleanup
      
      * Clean imports
      
      * Add unit tests
      
      * Borrow sphinx build fix from #8863
      
      * Align zope interfaces on ABC
      
      * Various fixes
      
      * Fix type
      
      * Fix type
      
      * Some cleanup
      
      * Fix lint
      
      * Update certbot/certbot/_internal/configuration.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/_internal/configuration.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Fix imports
      
      * Fix Config contract (accounts_dir property)
      
      * Remove unnecessary interface
      
      * Set NamespaceConfig public, remove Config interface
      
      * Remove Display ABC and implementation of IDisplay
      
      * Clean lint
      
      * Cleanup old decorators
      
      * Contract on plugin constructor only
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/configuration.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/interfaces.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Some corrections
      
      * Add changelog
      
      * Fix --authenticators and --installers flags on plugins subcommand
      
      * Fix multiheritance on the interface Plugin
      
      * Update certbot/certbot/_internal/plugins/manual.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/_internal/plugins/disco.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Add warnings in logger also
      
      * Add deprecation warnings also when plugins are verified.
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      979e21dc
    • A
      Fix python-augeas failure on Windows (v2) (#8951) · 8133d3e7
      Adrien Ferrand 提交于
      This PR is a new approach for fixing #8732 based on the discussions occurred in the first PR #8877.
      
      This PR upgrades python-augeas to the latest version, and avoids tests failure of Windows because of this upgrade. To do so it leverages the [tox multi-platform feature](https://tox.readthedocs.io/en/latest/example/platform.html) and modifications to `tools/venv.py` in order to not install and not test `certbot-apache` on Windows.
      
      * Unpin python-augeas and upgrade current pinnings
      
      * Do not install certbot-apache in Windows dev environments
      
      * Introduce tox specific win packages + remove certbot compatibility on windows
      
      * Add libaugeas to sphinx build
      
      * Redefine lint and mypy targets
      
      * Keep the lint and mypy environments
      8133d3e7
  2. 23 7月, 2021 1 次提交
    • B
      Finish pinning system rewrite (#8934) · 08839758
      Brad Warren 提交于
      * add oldest pyproject.toml file that works
      
      * make single oldest_constraints.txt file
      
      * remove unused merge_requirements.py
      
      * remove unused import
      
      * make conditional right
      
      * simplify pip_install.py
      
      * fix typo
      
      * bump min dns-lexicon dependency
      
      * fix zope import warning
      
      * pin back wheel
      
      * refactor pinning script
      
      * Add oldest script.
      
      * add pip comment
      
      * add pipstrap extra
      
      * simplify pinning scripts
      
      * remove pipstrap extra
      
      * update contributing
      
      * Add design doc
      
      * Update tools/pinning/DESIGN.md
      Co-authored-by: Nohemorange <erica@eff.org>
      
      * Update tools/pinning/DESIGN.md
      Co-authored-by: Nohemorange <erica@eff.org>
      
      * Update tools/pinning/DESIGN.md
      Co-authored-by: Nohemorange <erica@eff.org>
      
      * Update tools/pinning/DESIGN.md
      Co-authored-by: Nohemorange <erica@eff.org>
      
      * rename normal to current
      
      * no dummies
      
      * script improvements
      
      * mention need to update setup.py
      
      * try and clarify poetry behavior
      
      * tweak section title
      Co-authored-by: Nohemorange <erica@eff.org>
      08839758
  3. 20 7月, 2021 1 次提交
    • A
      Deprecate zope.component in favor of an direct calls to functions from... · 10eecf9c
      Adrien Ferrand 提交于
      Deprecate zope.component in favor of an direct calls to functions from `certbot.display.util` module (#8835)
      
      * Implement certbot services
      
      * Various fixes
      
      * Local oldest requirements
      
      * Clean imports
      
      * Add unit tests for certbot.services
      
      * Clean code
      
      * Protect against nullity of global services
      
      * Fix CLI
      
      * Fix tests
      
      * Consistent test behavior
      
      * Various fixes
      
      * Clean code
      
      * Remove reporter service, migrate display service in certbot.display.util.
      
      * Fix test
      
      * Fix apache compatibility test
      
      * Fix oldest test
      
      * Setup certbot.display.service module
      
      * Reintegrate in util
      
      * Fix imports
      
      * Fix tests and documentation
      
      * Refactor
      
      * Cleanup
      
      * Cleanup
      
      * Clean imports
      
      * Add unit tests
      
      * Borrow sphinx build fix from #8863
      
      * Fix type
      
      * Add comment
      
      * Do not reuse existing display service, which never exist at that time
      
      * Make get_display() private
      
      * Fix lint
      
      * Make display internal
      
      * Fix circular dependencies
      
      * Fixing circular dependencies
      
      * Rename patch methods and update docstring
      
      * Update deprecation messages
      
      * Update certbot/certbot/_internal/display/obj.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      
      * Add links
      
      * Avoid relying on internal certbot packages from certbot-apache
      
      * Keep same behavior for patch_get_utility*
      
      * Better diff
      
      * Add changelog
      
      * Update certbot/certbot/tests/util.py
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      10eecf9c
  4. 16 7月, 2021 3 次提交
  5. 15 7月, 2021 2 次提交
  6. 07 7月, 2021 1 次提交
  7. 06 7月, 2021 4 次提交
  8. 29 6月, 2021 1 次提交
    • A
      docs: explain the situation with --manual renewal (#8911) · 667750f3
      alexzorin 提交于
      * docs: explain the situation with --manual renewal
      
      * note that the non-hook command can't be cronned
      
      * add xref to #renewing-certificates
      
      * update manual description in the plugins table
      
      * redirect manual users towards other plugins
      
      * refer to authentication hook scripts in table
      667750f3
  9. 26 6月, 2021 1 次提交
  10. 22 6月, 2021 3 次提交
  11. 21 6月, 2021 1 次提交
    • A
      apache: configure nameless vhosts during auth (#8898) · 1e114b4e
      alexzorin 提交于
      In the apache2 package on Debian-based distros, the default
      000-default.conf virtual host does not include a ServerName.
      
      Depending on the FQDN hostname of the machine and DNS setup, Apache
      assigns a name to this unnamed vhost at runtime. As a result, the
      Apache config end up with vhosts that have duplicative names.
      
      Previously, Certbot did not identify that the nameless vhost could be
      a match for the requested identifier, which would, depending on
      configuration load order, cause the authenticator to fail.
      
      This change causes Certbot to include all unnamed vhosts on top of
      matched vhosts, during authentication. If no vhosts matched, the
      existing behavior remains the same.
      
      * apache: configure nameless vhosts during auth
      
      * vhost is only unnamed if ServerName is not set
      
      * also fix test to only match ServerName
      Co-authored-by: NBrad Warren <bmw@users.noreply.github.com>
      1e114b4e
  12. 18 6月, 2021 1 次提交
  13. 15 6月, 2021 2 次提交
  14. 12 6月, 2021 2 次提交
  15. 11 6月, 2021 3 次提交
    • O
      Add --verbose-level flag and fix logging level calculations (#8900) · c8255dde
      ohemorange 提交于
      Also, update `dev-cli.ini` example to use new flag.
      
      Although https://github.com/bw2/ConfigArgParse/pull/216 allowed setting a `count` action value in a config file, our default detection system won't let us use that functionality. While we should eventually fix that, for now, let developers have a cli.ini with a higher logging level by adding this flag.
      
      Note that this flag is intended to work the same way adding `-vvv`s does; that is, as a modifier to the pre-set level, rather than setting the absolute level. The number it is set to is equivalent to the number of `v`s that would otherwise have been passed, with "2" as the current maximum effective number of levels (warning --> info --> debug).
      
      * Add --verbose-level flag for devs to set in cli.ini
      
      * Update dev-cli.ini to use new flag
      c8255dde
    • O
      Allow nginx parser to handle empty file (#8895) · b48e3365
      ohemorange 提交于
      * Allow parsing empty files
      
      * add unit test
      
      * lint
      
      * update parser_test
      
      * Update configurator_test
      
      * update changelog
      b48e3365
    • A
      cli: improve error messages for enhance errors (#8884) · 0c637860
      alexzorin 提交于
      * cli: improve error messages for enhance errors
      
      * remove status message after enhance config revert
      0c637860
  16. 10 6月, 2021 2 次提交
  17. 06 6月, 2021 1 次提交
  18. 04 6月, 2021 1 次提交
  19. 02 6月, 2021 6 次提交
  20. 31 5月, 2021 2 次提交