1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00
Commit Graph

851 Commits

Author SHA1 Message Date
Matt Stauffer
4b3ccda838 Merge pull request #825 from jrbarnard/bugfix/823
Check for tld on end of certificate path to support multi segment tld's
2019-10-03 13:26:56 -04:00
Matt Stauffer
b7867e97ce Bump version 2019-10-03 13:22:03 -04:00
Matt Stauffer
b43ed25b7d Merge pull request #826 from jrbarnard/feature/stop-php-running-version
Fix #708. Use stopRunning instead of stop to only stop running php
2019-10-03 13:21:12 -04:00
James Barnard
b3ef3b1367 Fix stripe -> strip typo 2019-10-02 15:10:46 +01:00
James Barnard
c89f64f3e6 Fix incorrect new test name 2019-10-02 13:58:47 +01:00
James Barnard
e5dceb2bc5 Check for tld on end of certificate file name to support multi segment tld's 2019-10-02 13:56:51 +01:00
James Barnard
185695b396 Fix #708. Use stopRunning instead of stop to only stop running php services 2019-09-27 10:21:11 +01:00
Matt Stauffer
eb0f03869c Version bump v2.4.2 2019-09-10 20:33:44 -04:00
Matt Stauffer
7deb886b58 Revert "Increase nginx buffer sizes in dev"
This reverts commit 536e59990b.
2019-09-10 20:32:30 -04:00
Matt Stauffer
6170995abb Merge pull request #819 from drbyte/forge-matchup2-logs
Turn off logging of hits to robots.txt and favicon.ico
v2.4.1
2019-09-10 16:20:56 -04:00
Matt Stauffer
0072cc2f2e Preemptive version bump 2019-09-10 16:20:26 -04:00
Matt Stauffer
e419cbdf5b Merge pull request #818 from drbyte/forge-matchup1
Allow for longer domain names
2019-09-10 16:19:56 -04:00
Matt Stauffer
1ebb212413 Merge pull request #813 from drbyte/larger-buffers
Increase nginx buffer sizes in dev
2019-09-10 16:19:08 -04:00
Chris Brown
536e59990b Increase nginx buffer sizes in dev
These larger buffer sizes accommodate larger requests that are often complained about in Valet support issues.
These updates are inspired by common configs in Homestead.

I've been using these in my local Valet config for 4+ months, without any negative side-effects.

Edit: commented-out several, and made consistent with Forge defaults
2019-09-09 17:42:00 -04:00
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
Chris Brown
68e1ee6491 Add corresponding setting, also from Forge.
Ref: http://nginx.org/en/docs/hash.html
2019-09-09 17:24:17 -04:00
Chris Brown
0563408bc7 Allow for longer domain names
Increases domain name length support in Valet per #543 and #808
This is the same setting used in Forge
2019-09-09 17:18:37 -04:00
Matt Stauffer
52a168eb96 Bump version to 2.4.0 v2.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
c3748499c7 Merge pull request #811 from drbyte/fire-valetenv-earlier
Fire the .valet-env environment var detection earlier
2019-09-09 08:30:58 -04:00
Matt Stauffer
5a6ec7018d Merge pull request #812 from drbyte/ngrok-2334
Upgrade ngrok binary from 2.2.8 to 2.3.34
2019-09-09 08:30:32 -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
Matt Stauffer
a0adfbc2cd Merge pull request #814 from drbyte/Restrict-to-127.0.0.1
Improve security by listening on 127.0.0.1 only
2019-09-09 08:28:20 -04:00
Matt Stauffer
08321af135 Merge pull request #816 from drbyte/6-dot-0
Add compatibility with global illuminate 6.0 pkgs
2019-09-09 08:26:06 -04:00
Matt Stauffer
8a1ed0ba39 Merge pull request #817 from drbyte/74tests
Compatibility PHP 7.4
2019-09-09 08:25:15 -04:00
Chris Brown
9f80751a59 Testing 7.4 2019-09-08 10:07:01 -04:00
Chris Brown
e814cfc49a Add compatibility with illuminate 6.0 pkgs 2019-09-08 09:22:10 -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
Chris Brown
c4c9aa4abb Upgrade ngrok binary from 2.2.8 to 2.3.34 2019-09-07 17:30:13 -04:00
Chris Brown
120385b81d Fire the .valet-env environment var detection earlier
To support smarter detection of static-file detection and allow Valet to mutate the URI for externally-hosted assets (save bandwidth and local storage etc), detecting any custom-inserted environment variables needs to happen slightly sooner in the execution cycle.

Discovered this issue when troubleshooting #729 and #247. While they have other workarounds, this PR simplifies things, and potentially makes custom drivers slightly easier too ... when the use-case applies.
2019-09-07 17:27:01 -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 Stauffer
291bc2dca5 Merge pull request #806 from matt-allan/cleanup-comments
Fix incorrect comments
2019-08-07 11:18:54 -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
Matt Stauffer
8fc0ec6077 Merge pull request #785 from petecoop/patch-1
Fix example log command
2019-06-05 09:56:55 -04: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
caf52d66e8 Merge pull request #781 from laravel/replace-sort-keys-with-native-php
Replace sortKeys with native ksort to avoid bumping Collect dependency
v2.3.3
2019-05-14 17:44:35 -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 v2.3.2 2019-05-14 17:28:34 -04:00
Matt Stauffer
2bb66b5d96 Merge pull request #780 from drbyte/fix-sudo
Fix "sudo: sorry, you are not allowed to preserve the environment" msg
v2.3.1
2019-05-14 17:25:20 -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
364e29ab20 Merge pull request #770 from drbyte/fix-var-root
Preserve user Home and env when calling sudo commands
2019-04-17 23:07:11 -04:00
Chris Brown
df7e46ebea Preserve User (and env) when calling sudo commands
Fixes #321
Creds to @Patistar
2019-04-17 20:40:45 -04:00
Matt Stauffer
a6971e0788 Merge pull request #757 from furey/pull-548-refinements
#548 Refinements ("valet logs" Command)
v2.3.0
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