Commit graph

7942 commits

Author SHA1 Message Date
Brad Warren
36d44e8425 Rename test_dirs to temp_paths for clarity. 2017-07-25 17:38:06 -07:00
Brad Warren
31cef6f54c Test venv symlink in leauto_upgrades 2017-07-25 17:37:08 -07:00
Brad Warren
9962005861 Split test into test_phase2_upgrade. 2017-07-25 17:19:25 -07:00
Brad Warren
afc16afa1e Ignore cleanup errors.
This is caused by subdirectories being owned by root.
2017-07-25 17:03:18 -07:00
Brad Warren
f0962035d5 Deduplicate code with test_dirs() 2017-07-25 16:45:48 -07:00
Brad Warren
c9895741b5 Separate venv_dir and le_auto_path 2017-07-25 16:08:22 -07:00
Brad Warren
7dfc58bb14 Preserve PIP_FIND_LINKS 2017-07-25 16:04:18 -07:00
Brad Warren
fb91481100 Consolidate approach to preserving env vars. 2017-07-25 15:40:36 -07:00
Brad Warren
5f28f0c494 fix typo 2017-07-25 15:27:07 -07:00
Brad Warren
e83923554a Preserve select environment variables with sudo. 2017-07-25 14:21:08 -07:00
Brad Warren
a5cce1565f Handle env vars set to the empty string in fetch 2017-07-25 14:12:41 -07:00
Brad Warren
4a3ef4120e Preserve select environment variables with su. 2017-07-24 17:20:32 -07:00
Brad Warren
87846631ec Add list of environment variables to preserve. 2017-07-24 17:09:03 -07:00
Brad Warren
6335841e19 Delete old venv path when it exists.
Also, quote expansion of paths.
2017-07-21 13:00:21 -07:00
Brad Warren
5db9bf62b0 Create symlinks from old default venvs 2017-07-21 12:43:33 -07:00
Brad Warren
90de7b4612 default venv path = /opt/eff.org/certbot/venv 2017-07-21 11:47:05 -07:00
Brad Warren
5ce89e9281 remove $SUDO usage from bootstrappers 2017-07-21 10:41:10 -07:00
Brad Warren
25d1ed104f remove other $SUDO uses from template 2017-07-21 10:38:51 -07:00
Brad Warren
6716210ca5 run all of certbot-auto as root 2017-07-21 10:35:25 -07:00
Brad Warren
930d69c361 Update comment about root usage. 2017-07-21 10:01:08 -07:00
Brad Warren
5845f186ed Merge pull request #4948 from certbot/challenge_docs
Challenge docs
2017-07-20 17:33:25 -07:00
Noah Swartz
447d3d867d fix a few nits 2017-07-20 11:16:48 -07:00
Peter Conrad
df8b374916 Adding 'What Is a Certificate' section
- adding what.rst to index.rst

- Bigger link to instruction generator in intro.rst, some edits to what.rst in response to comments on What is a Certificate? section first draft #4370

- Responding to St_Ranger's comment on 4370

- Edits to using.rst related to --expand

- Initial edit pass through challenges.rst

- Edits to what.rst and challenges.rst to resolve #3664 and #4153

- Incorpoprating feedback from #4370

- Finally going after those last few comments before the restructuring of the plugin stuff (coming soon)

- Fixing --expand example in using.rst and adding to Apache/NGINX bullet in challenges.rst
2017-07-20 11:14:08 -07:00
Noah Swartz
7d5ccd006b Merge pull request #4904 from certbot/improve-apache-error-message2
Update Apache error message and comment
2017-07-20 11:02:08 -07:00
Noah Swartz
bb6a22b985 Merge pull request #4943 from certbot/issue_4520
add deprecation warning
2017-07-19 15:51:51 -07:00
Noah Swartz
7f19ac5e3d Merge pull request #4941 from certbot/issue_4866
add disable pip version check flag
2017-07-19 15:36:29 -07:00
Noah Swartz
9878f15966 leave macos unchanged 2017-07-19 11:55:53 -07:00
Noah Swartz
1cf8c5a586 add changes to template 2017-07-18 16:37:03 -07:00
Noah Swartz
56ce87db27 Merge branch 'master' into issue_4866 2017-07-18 16:34:35 -07:00
Noah Swartz
fa74a32245 updated letsencrypt-auto.template 2017-07-18 16:27:33 -07:00
Jacob Hoffman-Andrews
b3004fe6cf Handle critical SAN extension. (#4931)
* Handle critical SAN extension.

* Add testdata/critical-san.pem.
2017-07-18 15:57:00 -07:00
Noah Swartz
278194fe6d add log rotation info (#4942) 2017-07-18 15:50:23 -07:00
Jacob Hoffman-Andrews
d327c1c28f Tweak non-root error message. (#4944)
For most people, the right answer will be "run as root," so we should emphasize
that over the "how to run as non-root" instructions.
2017-07-18 12:47:10 -07:00
yomna
7d0e4d7bad Merge pull request #4915 from Baeumla/master
Check keys if revoke certificate by private key
2017-07-17 15:54:47 -07:00
Noah Swartz
d962b2605a add deprecation warning 2017-07-17 15:27:48 -07:00
Brad Warren
c779be8b88 Merge pull request #4863 from certbot/bmw-nginx-compatibility-tests
Nginx compatibility test
2017-07-17 14:32:39 -07:00
Noah Swartz
f5580598cd add disable pip version check flag 2017-07-17 13:08:52 -07:00
Noah Swartz
7ad41dc3ef Merge pull request #4939 from cj-dev/4893
Enhancement #4893. More copypastable output, including private key location on disk
2017-07-17 10:58:11 -07:00
Chris J
a8b5dfc76c Enhancement #4893. More copypastable output, including private key location on disk 2017-07-16 22:38:21 -04:00
Baime
0f30f9e96f Added test to check revoke cert by key mismatch 2017-07-15 15:17:25 +02:00
Noah Swartz
6090fe9651 Merge pull request #4899 from jonasbn/master
Added missing rst files as described in issue #4736
2017-07-14 18:47:31 -07:00
Noah Swartz
de1f9c4fe3 Merge pull request #4876 from tchollingsworth/combining-plugins-docs
docs: explain how to combine plugins
2017-07-14 18:42:06 -07:00
jonasbn
7ed2e91cc7 Removed null.rst as by request 2017-07-14 12:52:25 +02:00
r5d
331d12ed50 certbot: Update storage.get_link_target (#4750) (#4923)
* certbot: Update storage.get_link_target (#4750)

* The `get_link_target` function raises `errors.CertStorageError` when
  link does not exists.

* certbot: Fix typo in storage.get_link_target.
2017-07-13 10:13:59 -07:00
Brad Warren
29d80f334f Merge pull request #4907 from certbot/backup-count
Make Certbot's log rotation configurable
2017-07-13 08:56:24 -05:00
Noah Swartz
6ede309c6a Merge pull request #4865 from certbot/irc-notifications
Turn on IRC notifications for Travis failures in master
2017-07-12 13:03:37 -07:00
Noah Swartz
7efa213b22 Merge pull request #4814 from certbot/improve-apache-error-message
Correct message about vhost ambiguity
2017-07-12 07:53:36 -07:00
Brad Warren
a7a8e060e3 Finish adding configurable log rotation
* Update log backupCount name and description.

* Add additional error handling to --log-backups

* test --log-backups flag

* Pass log_backups value to RotatingFileHandler

* Test that log_backups is properly used

* add _test_success_common

* Add test_success_with_rollover

* Add test_success_without_rollover

* mock stderr in cli tests

* Set log_backups in PostArgParseSetupTest

* Rename "log backups" to "max log backups"
2017-07-11 21:14:18 -05:00
yomna
bc3765d6d0 No longer mask failed challenge errors with encoding errors (#4867)
*     no longer masker failed challenge errors with encoding errors

* simplifying through type-checking

* bytes
2017-07-10 21:05:52 -05:00
John Harlan
fad1a4b576 Add flags to configure log rotation
* Add & enable --disable-log-rotation

* Add --max-log-count

* Correct max-log-count: remove action=store_true add type=int

* Add logging to cli argument groups.

* Add logging group to HELP_TOPICS in __init__

* Adjust line length

* test simplifying to one argument
2017-07-10 19:43:28 -05:00