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

253 Commits

Author SHA1 Message Date
Matt Stauffer
edbc4fc0d3 Bump version 2019-12-23 10:09:19 -05:00
Matt Stauffer
9b1c58591d Bump version 2019-12-10 23:34:16 -05:00
Matt Stauffer
a05d26f8a4 Bump version 2019-12-10 23:13:48 -05:00
Ahmed Ashraf
d4d8fc3d4a Allow start/restart/stop with a specific service 2019-12-09 10:46:51 +01:00
Matt Stauffer
3b302b7593 Bump version. 2019-12-06 09:43:08 -05:00
Chris Brown
6e01bfb5f4 Allow Valet to uninstall itself
`valet uninstall` only displays information about how to manually uninstall and clean up after Valet.

This PR adds a `--force` parameter, which will forcefully remove Valet and the Homebrew services it installs, as well as clean up the config files and log files.
But for a few post-uninstall composer dependencies, cleanup is very thorough.

This brings idempotency to both `valet install` and `valet uninstall --force`

(There may still be edge cases where other Homebrew or composer packages might create interference with install/uninstall, but this makes things much easier to self-troubleshoot.)
2019-12-05 22:19:55 -05:00
Chris Brown
710fa27651 Fix auto-detection amongst multiple ngrok processes
Ngrok Pro plans allow multiple processes, which means you could be serving several sites simultaneously. This PR allows Valet to correctly identify amongst the active ngrok process URLs.

Fixes #145
2019-12-03 18:34:08 -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
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
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
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
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
7785fc870e Bump version 2019-11-30 14:19:48 -05:00
Matt Stauffer
879c22f894 Version bump 2019-11-21 16:38:23 -05:00
Matt Stauffer
12f75fc2a8 Bump version 2019-10-29 08:31:35 -04:00
Matt Stauffer
7011629b41 Bump version 2019-10-10 20:49:47 -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
b7867e97ce Bump version 2019-10-03 13:22:03 -04:00
James Barnard
9d4126856d Add 'parked' command to show all sites which have been parked using valet park 'path' 2019-10-02 13:31:06 +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 2019-09-10 20:33:44 -04:00
Matt Stauffer
0072cc2f2e Preemptive version bump 2019-09-10 16:20:26 -04:00
Matt Stauffer
52a168eb96 Bump version to 2.4.0 2019-09-09 15:58: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 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
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
911031fc82 Version bump 2019-04-11 13:54:00 -04:00
Matt Stauffer
51c62c63f2 Version bump 2019-04-11 13:16:47 -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
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
fdca6cb530 Version bump of shame 2019-02-03 16:06:55 -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