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

896 Commits

Author SHA1 Message Date
David Connolly
5cf4aea612 Cater for filepaths with spaces
Fixes issue where certificates fail to be generated due to a space in the filepath
2019-12-03 22:47:12 +00:00
Matt Stauffer
3d877ef803 Merge pull request #855 from drbyte/patch-5
Set robots nofollow for all valet share traffic
2019-12-01 22:06:57 -05:00
Matt Stauffer
30b0684736 Merge pull request #853 from drbyte/dnsmasq-restart
Include dnsmasq in valet start/restart command
2019-12-01 22:06:27 -05:00
Matt Stauffer
35a5f95abf Convert comma to semicolon 2019-12-01 22:05:54 -05:00
Matt Stauffer
f0a8fb9bb6 Merge pull request #852 from drbyte/patch-4
Display nginx config errors on start
2019-12-01 22:05:21 -05:00
Matt Stauffer
9372003cd6 Merge pull request #850 from drbyte/patch-2
Drop unnecessary symfony/process 2.x support
2019-12-01 22:04:59 -05:00
Matt Stauffer
0380987fdf Capitalize c in Composer 2019-12-01 22:04:25 -05:00
Matt Stauffer
454ed43f00 Merge pull request #849 from drbyte/patch-1
Add comment to consider running composer global update after switching php version
2019-12-01 22:03:42 -05:00
Matt Stauffer
0681437219 Merge pull request #854 from drbyte/valet-unsecure-all
Add --all parameter to valet unsecure command
2019-12-01 14:55:43 -05:00
Matt Stauffer
93d1632b37 Merge pull request #851 from drbyte/patch-3
Add detailed valet uninstall instructions
2019-12-01 13:08:18 -05:00
Matt Stauffer
8eea03f6a2 Merge pull request #835 from jrbarnard/bugfix/parked-merge-overwrite
Do not show sites in parked if they would not be served
2019-12-01 12:57:12 -05:00
Matt Stauffer
30d168b2b8 Merge pull request #859 from drbyte/patch-7
Fix misnamed test
2019-12-01 08:41:09 -05:00
Chris Brown
65b0c6aae6 Add detailed uninstall instructions
Previously `valet uninstall` would just shutdown the `nginx` service.

This PR also stops `PHP` and gives a number of instructions on how to do a (nearly) clean uninstall of most Valet dependencies.
And also some troubleshooting tips.
2019-12-01 02:05:08 -05:00
Chris Brown
949e5d58e3 Update NginxTest.php
Fix misnamed test
2019-12-01 01:27:37 -05:00
Chris Brown
36de050d32 Set robots nofollow for all valet share traffic
Replaces and closes #575 ... for reasons described there.
2019-11-30 16:55:48 -05:00
Chris Brown
d6f06045fc Add --all parameter to valet unsecure command
This PR allows passing `--all` to `valet unsecure` to have it remove all certificates from all Valet configs AND from the MacOS Keychain.
This effectively cleans up certificate fragments or broken configs, and can help with troubleshooting.
2019-11-30 16:38:48 -05:00
Chris Brown
cfa8c216fa Include dnsmasq in valet start/restart command
While it's rare that the dnsmasq won't be started, it feels incomplete to not include the service when starting/restarting valet, since valet depends on it.
2019-11-30 16:34:08 -05:00
Chris Brown
e046fff6f6 Display nginx config errors on start
While since #268 valet has been checking nginx configs for errors when starting/restarting, the captured errors are never displayed if there is a failure because it's being run using `quietly()`. 
This PR causes the errors to pass through to the console so we can more readily understand why nginx may not be starting or not serving properly.
2019-11-30 16:31:18 -05:00
Chris Brown
b8cd17ed98 Drop unnecessary symfony/process 2.x support
Since we require PHP > 5.6 there's no need to support symfony/process 2.x 

However, symfony/process 4.x requires minimum PHP 7.1 so have to retain 3.x for now if we wish to support PHP 7.0 or older without complications.
2019-11-30 16:10:22 -05:00
Chris Brown
e71906616c Add comment to consider running composer global update
When switching to older PHP versions there may be a composer package dependency conflict. This PR adds a note to consider running `composer global update` to update those dependencies. It's only a comment since not all changes in PHP version will require running the update.

Fixes #822
2019-11-30 16:07:38 -05:00
Matt Stauffer
fb562977f0 Fix 7.7 typo in brew test v2.5.4 2019-11-30 14:21:31 -05:00
Matt Stauffer
7785fc870e Bump version 2019-11-30 14:19:48 -05:00
Matt Stauffer
fa8c8ae6e2 Merge pull request #845 from drbyte/patch-2
Allow support for symfony/process 5.0
2019-11-30 13:53:31 -05:00
Matt Stauffer
0c0d26c920 Merge pull request #847 from ravenberg/master
PHP 7.4 support
2019-11-30 13:46:03 -05:00
lee
b0fa39c21b removed 7.4 from 'allowed failures' list in travis.yml 2019-11-29 23:34:45 +01:00
lee
b2faf6cc5a added assertions to fix test 2019-11-29 23:29:25 +01:00
lee
bfd2f3ea5d Updated SUPPORTED_PHP_VERSIONS and LATEST_PHP_VERSION constants to 7.4 2019-11-29 23:06:20 +01:00
Chris Brown
d80d599ba5 Allow support for symfony/process 5.0 2019-11-28 14:30:24 -05:00
Matt Stauffer
879c22f894 Version bump v2.5.3 2019-11-21 16:38:23 -05:00
Matt Stauffer
1ac8ccad9a Merge pull request #843 from drbyte/patch-1
Symfony/Process 4.4.0 compatibility
2019-11-21 16:35:45 -05:00
Chris Brown
e8d49c42bf Symfony/Process 4.4.0 compatibility
Process `4.4.0` changed command-line parsing by being more aggressive with substitutions, causing our intended literal `"$NF"` to throw an exception.

https://github.com/symfony/process/compare/v4.3.8...v4.4.0#diff-9a01fc0e340da4c3f1e4a16029a63977R1644-R1653
2019-11-21 12:04:13 -05:00
Matt Stauffer
12f75fc2a8 Bump version v2.5.2 2019-10-29 08:31:35 -04:00
Matt Stauffer
705bcd3d9c Merge pull request #834 from jrbarnard/bugfix/parked-showing-files
Ignore parked paths that are not directories when getting sites
2019-10-29 08:30:52 -04:00
Matt Stauffer
fdd67d2a3f Merge pull request #832 from 0xb4lint/master
fastcgi_split_path_info location regex fix
2019-10-29 08:14:25 -04:00
James Barnard
afedf5be57 Do not show sites in parked if they would not be served (parked after a site with the same name, or an existing linked site) 2019-10-21 23:18:38 +01:00
James Barnard
cb8d971097 Ignore parked paths that are not directory when getting parked sites 2019-10-21 22:56:10 +01:00
Bálint Szekeres
9d7214842b fastcgi_split_path_info with location regex fix 2019-10-17 16:12:21 +02:00
Matt Stauffer
7011629b41 Bump version v2.5.1 2019-10-10 20:49:47 -04:00
Matt Stauffer
904ba51bb9 Merge pull request #830 from jamieburchell/patch-1
Fix incorrectly decoding plus symbol to space in paths
2019-10-10 20:48:23 -04:00
Jamie Burchell
e2f48b0385 Fix incorrectly decoding plus symbol to space in paths
Fixes https://github.com/laravel/valet/issues/829
2019-10-09 22:27:13 +01:00
Matt Stauffer
21fb0a33c7 Merge pull request #824 from jrbarnard/feature/links-with-parked
Add 'parked' command to show all sites which have been parked
v2.5.0
2019-10-04 16:09:34 -04:00
James Barnard
b16559a450 Merge branch 'master' into feature/links-with-parked 2019-10-04 07:30:35 +01:00
Matt Stauffer
beda122db0 Bump again 2019-10-03 13:37:43 -04:00
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
921776ff11 Deprecate getLinks 2019-10-02 15:53:15 +01: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