Chris Brown
d269621e98
Turn off logging of hits to robots.txt and favicon.ico
...
A long-requested adjustment to Valet is to bypass the logging of robots.txt and favicon.ico hits. Particularly when keeping an Ngrok session alive.
This update is consistent with default logging settings in Forge.
2019-09-09 17:29:48 -04:00
Matt Stauffer
52a168eb96
Bump version to 2.4.0
2019-09-09 15:58:01 -04:00
Matt Stauffer
9422e70798
Merge pull request #573 from corneliusio/master
...
Allow http2 server push for secured domains [BREAKING]
2019-09-09 13:54:38 -04:00
Matt Stauffer
cdefc2e3c0
Merge pull request #738 from marflow/master
...
Update StatamicValetDriver.php with locale 'zh'
2019-09-09 08:30:15 -04:00
Chris Brown
fcd73d73bc
Improve security by listening on 127.0.0.1 only
...
Fixes #772
I've been using this config change since Aug 17, 2019, without any negative side-effects.
All Valet services continue to work properly, and Valet Share still works just as expected.
If someone were to have a challenge with it, there's an easy downgrade: just remove the `127.0.0.1:` from these files, and run `valet tld test` to rebuild the individual site configs. Or just manually edit the `~/.config/valet/Nginx` site file manually.
2019-09-07 17:44:19 -04:00
Matt Stauffer
b14ce74087
Merge pull request #793 from nick-f/add-upgrade-instructions
...
Add link to upgrade instructions in outdated version error message
2019-08-19 14:39:46 -04:00
Matt Allan
76a0c3222e
Fix incorrect comments
2019-08-07 11:11:51 -04:00
Nick Freeland
e7df243d0f
Add link to upgrade instructions in outdated error
...
Previously when checking if the Valet version in use was the latest,
you'd have to go to Valet repo on GitHub, find out that all the docs
were on laravel.com, go there, find the upgrade instructions, and then
upgrade.
This can be simplified by giving the user the option to view the link.
2019-07-09 18:43:04 +10:00
Pete Cooper
79661fa2b8
Fix example log command
2019-06-05 14:55:23 +01:00
Matt Stauffer
a694efc4c5
Pre-emptive version bump
2019-05-14 17:47:29 -04:00
Matt Stauffer
32cf547b47
Replace sortKeys with native ksort to avoid bumping Collect dependency
2019-05-14 17:42:43 -04:00
Matt Stauffer
64c79ab902
Pre-emptive version bump to avoid the shame
2019-05-14 17:29:51 -04:00
Matt Stauffer
c5b9c1926e
Version bump of shame
2019-05-14 17:28:34 -04:00
Chris Brown
fee6fec141
Fix "sudo: sorry, you are not allowed to preserve the environment" messages
...
If you've previously run `valet trust` to allow valet to run without specifying `sudo` repeatedly or entering your password with various valet commands, recent updates to MacOS may give you a `sudo: sorry, you are not allowed to preserve the environment` response when trying to run those `valet` commands.
The fix is in updating the sudoers entry that `valet trust` creates.
This PR tells valet how to update the sudoers entry so that this message doesn't continue.
YOU WILL NEED TO RE-RUN `valet trust` IF YOU HAD PREVIOUSLY RUN IT, after installing this update, in order for this code change to have any effect.
(Technical explanation: the sudoers protections have become stricter, so we have to be more explicit that we do indeed want environment variables to flow through to the sudo user's environment when using valet via sudoers entries.)
2019-05-14 16:55:27 -04:00
Matt Stauffer
f22cb36c2b
Merge pull request #705 from samgranger/patch-1
...
Add JSON:API support for Drupal
2019-05-10 08:54:15 -04:00
Matt Stauffer
a6971e0788
Merge pull request #757 from furey/pull-548-refinements
...
#548 Refinements ("valet logs" Command)
2019-04-17 09:12:52 -04:00
Matt Stauffer
1c19eb8f0a
Version bump
2019-04-17 09:12:29 -04:00
James Furey
138df82aa2
Removed "php" and "mysql" log key/path values.
2019-04-13 12:32:57 +10:00
James Furey
12ca66ade1
Changed "logs" command name to "log".
2019-04-13 12:31:36 +10:00
Matt Stauffer
6f70c9a027
Merge pull request #767 from furey/feature/home-autoloader
...
HOME Autoloader
2019-04-12 16:47:32 -04:00
James Furey
2e4b165a3b
Added HOME Composer autoload path to head of Valet CLI file.
2019-04-12 13:55:24 +10:00
James Furey
cb1136e7a6
Resolutions to the following change requests:
...
- https://github.com/laravel/valet/pull/757#discussion_r274547618
- https://github.com/laravel/valet/pull/757#discussion_r274549378
- https://github.com/laravel/valet/pull/757#discussion_r274549637
- https://github.com/laravel/valet/pull/757#discussion_r274549735
- https://github.com/laravel/valet/pull/757#discussion_r274550184
- https://github.com/laravel/valet/pull/757#discussion_r274550266
- https://github.com/laravel/valet/pull/757#discussion_r274550513
- https://github.com/laravel/valet/pull/757#discussion_r274550683
- https://github.com/laravel/valet/pull/757#discussion_r274550831
- https://github.com/laravel/valet/pull/757#discussion_r274550915
- https://github.com/laravel/valet/pull/757#discussion_r274551027
2019-04-12 13:11:47 +10:00
Matt Stauffer
dc0e14a3ea
Re-write Process version comment
2019-04-11 15:46:16 -04:00
Matt Stauffer
9705801971
Merge pull request #766 from Padrio/master
...
Fixed warning on newer symfony/process versions
2019-04-11 15:43:00 -04:00
Pascal Krason
6182e0c8b5
Fixed warning on newer symfony/process versions
2019-04-11 21:38:35 +02:00
Pascal Krason
18cddd336a
Fixed warning on newer symfony/process versions
2019-04-11 20:20:23 +02:00
Matt Stauffer
911031fc82
Version bump
2019-04-11 13:54:00 -04:00
Matt Stauffer
6c8d0fcf6d
Merge pull request #591 from morrislaptop/deep-custom-driver-search
...
Recursively search for custom valet drivers
2019-04-11 13:52:44 -04:00
Matt Stauffer
51c62c63f2
Version bump
2019-04-11 13:16:47 -04:00
Matt Stauffer
9570e12ec7
Revert new fromShellCommandLine call
2019-04-11 08:22:17 -04:00
Matt Stauffer
dc7809907d
Version bump
2019-04-09 13:50:11 -04:00
James Furey
b7633422b1
Added default logs array. Sorting merged default/config logs array. Added key/files table and guided info when no key is passed. Added warnings when accessing non-existent key/files.
2019-04-09 15:45:16 +10:00
Matt Stauffer
001bb1f13a
Merge pull request #760 from ikari7789/refactor-create-certificate
...
Fix issue with CA serial params
2019-04-08 11:54:24 -04:00
Pascal Krason
737be28bf5
Fixes deprecated Process argument passed as string
...
Passing a command as string is deprecated since Symfony 4.2.
2019-04-08 16:19:39 +02:00
Andrew Miller
e336ebc12f
Fix issue with CA serial params
...
Should always provide CAserial, but should only provide CAcreateserial if file does not exist. Should probably fix permissions issue mentioned in the comments when attempting to create certificate.
2019-04-08 17:30:40 +09:00
James Furey
7244468445
Added "logs" command (with optional "follow" and "lines" flags), defaulting to Valet's "/log/nginx-error.log" file if no "logs.[file]" configuration value is found in Valet's "config.json" file.
2019-04-04 14:45:11 +11:00
Matt Stauffer
f39e4fc2de
Merge pull request #721 from timciep/patch-1
...
Fix SSL Certificate creation
2019-04-03 16:16:04 -04:00
Tim Cieplowski
f50b7dbe11
handle SSL .crt creation "Permission denied" failure
2019-03-20 11:35:31 -04:00
marflow
4235103ac1
Update StatamicValetDriver.php
2019-03-01 20:42:33 +01:00
Matt Stauffer
fdca6cb530
Version bump of shame
2019-02-03 16:06:55 -05:00
Zachary King
9b83e9d015
Remove outdated option in brew install options
...
Resolves #725
2019-02-03 15:50:38 -05:00
Tim Cieplowski
62edb056b4
fix ssl certificate creation
2019-01-30 11:09:23 -05:00
James Barnard
e5e7c74f1d
use formula to restart php instead of version
2019-01-29 12:29:28 -05:00
James Barnard
290c22a1f7
added suggested 7.2 and fix doesn't typo
2019-01-28 20:26:13 -05:00
James Barnard
0bf3078220
update to unlink not the current version but the currently linked formula path (handles bug with latest version under php path)
2019-01-28 20:26:13 -05:00
James Barnard
ece3a1ff2f
clean up to remove search, refactor to better handle versions using regex
2019-01-28 20:26:13 -05:00
James Barnard
6a5c06e934
add tests for use version and return the found version to output
2019-01-28 20:26:13 -05:00
James Barnard
6158e5129b
add more tests for new methods and bits of clean up
2019-01-28 20:26:13 -05:00
James Barnard
25c4fab2b4
stop running php and search brew for php to verify can install it before trying the wrong formula, todos for tests
2019-01-28 20:26:13 -05:00
James Barnard
28748baa80
working on php version and tests
2019-01-28 20:26:13 -05:00