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

1007 Commits

Author SHA1 Message Date
Miguel Piedrafita
ecbc87b9b1 wip 2020-11-03 15:25:20 +00:00
Chris Brown
38e0072d3e Convert to GitHub Actions 2020-11-03 11:02:18 +00:00
Miguel Piedrafita
fe00ae3dd8 Ignore PHP platform reqs for now 2020-10-30 12:41:54 +00:00
Miguel Piedrafita
42c9b109e8 Retry PHP8 build 2020-10-28 21:35:41 +00:00
Miguel Piedrafita
0218e04dcb Can we test on PHP8 on Travis? 2020-10-28 15:22:45 +00:00
Miguel Piedrafita
b888dc4e31 cs 2020-10-28 15:18:07 +00:00
Miguel Piedrafita
9f237f7477 Fix deprecation warning
Fix PHP Deprecated:  Required parameter $all follows optional parameter $domain in /cli/valet.php on line 168
2020-10-28 15:17:12 +00:00
Miguel Piedrafita
778a877fdf Support php@8.0 and php@8.1 2020-10-28 15:16:18 +00:00
Matt Stauffer
2801e03998 Bump version v2.12.0 2020-10-26 10:43:21 -04:00
Matt Stauffer
7b68ea8a27 Merge pull request #979 from drbyte/patch-3
Support Illuminate 8.0
2020-09-08 18:59:05 -04:00
Chris Brown
32d1cb0fb3 Support Illuminate 8.0 2020-09-08 17:14:48 -04:00
Matt Stauffer
7fe0e0666b Bump version v2.11.0 2020-06-12 23:25:23 -04:00
Matt Stauffer
6d1e9c3a06 Merge pull request #740 from pedroborges/master
Add support to setup Kirby above webroot
2020-06-12 23:24:00 -04:00
Matt Stauffer
2a9f16a5d5 Version bump v2.10.3 2020-06-02 17:14:08 -04:00
Matt Stauffer
fa47120395 Merge pull request #957 from drbyte/patch-1
Add 'unpark' alias to 'forget' command
2020-06-02 17:13:06 -04:00
Matt Stauffer
bae6423cd5 Merge pull request #958 from drbyte/patch-2
Protect against un-parking Valet's core Sites folder
2020-06-02 17:12:28 -04:00
Chris Brown
8d9dcd0360 Protect against un-parking Valet's core Sites folder
Fixes #956
2020-06-02 17:09:13 -04:00
Chris Brown
77729058a5 Add 'unpark' alias to 'forget' command
Sometimes I find myself wondering how to un-park a folder, and it takes me awhile to find `forget` in the list.
Adding `unpark` as an alias may be helpful.
2020-06-02 17:07:37 -04:00
Matt Stauffer
0d5d81c257 Merge pull request #950 from simensen/alias-master
Alias dev-master to 2.x-dev
2020-05-23 00:40:24 -04:00
Beau Simensen
46cdf1a155 Alias dev-master to 2.x-dev 2020-05-07 08:04:57 -05:00
Matt Stauffer
ea45fcc80a Drop unused directory from git export-ignore v2.10.2 2020-05-07 00:08:45 -04:00
Matt Stauffer
7c357c59e2 Bump version 2020-05-07 00:08:03 -04:00
Matt Stauffer
c650aedfa8 Merge pull request #949 from simensen/proxies-no-block-favicon-and-robots
Stops interfering with favicon and robots for proxies
2020-05-07 00:07:00 -04:00
Beau Simensen
1959e95c50 Stops interfering with favicon and robots for proxies 2020-05-06 15:56:59 -05:00
Matt Stauffer
aa09445d3a Add issue template 2020-05-04 16:25:00 -04:00
Matt Stauffer
fa090b0ab9 Bump version v2.10.1 2020-05-01 12:15:05 -04:00
Matt Stauffer
570a7d9059 Merge pull request #942 from aryehraber/feat/diagnose-update
Filter Launch* commands output in "diagnose" command
2020-05-01 12:14:27 -04:00
Matt Stauffer
1dd6f301d5 Bump version v2.10.0 2020-04-30 11:45:42 -04:00
Matt Stauffer
73b16c08b0 Merge pull request #913 from drbyte/valet-proxy
Add proxy site-handling commands
2020-04-30 11:44:44 -04:00
Aryeh Raber
3be38193b5 Filter Launch* commands using "| grep homebrew" 2020-04-29 11:12:04 +02:00
Chris Brown
4043fd67c5 Merge pull request #2 from simensen/fix-valet-proxy-tests
Add mocks to get tld
2020-04-28 19:31:54 -04:00
Beau Simensen
9848bc71b8 Forgot no proxies 2020-04-28 18:29:24 -05:00
Beau Simensen
02749e9e21 Add mocks to get tld 2020-04-28 18:25:02 -05:00
Chris Brown
2ea3e58808 Merge pull request #1 from simensen/valet-proxy-tests
Test the Proxies features
2020-04-28 18:04:51 -04:00
Beau Simensen
1cd3d23804 Update cli/Valet/Site.php
Co-Authored-By: Matt Stauffer <mattstauffer@users.noreply.github.com>
2020-04-28 16:35:19 -05:00
Beau Simensen
9f607ba998 Test the new Proxies features
Updated the `proxies` method to return the URL + .tld
as the rendered output wasn't exactly what one would
expect. While not critical, it was not consistent.

Refactored some of the Site class to aid in testing using
a fake instead of relying on a ton of mocking.

The Site fake has support for both using `tests/output`
as well as named fixtures (`tests/fixtures/Proxies`).

Testing for certificate I/O is pretty whack, but this is
the best I could come up with that would still ensure
the certificate stuff was getting called without
actually requiring `sudo` to run phpunit.

Replaced instances referring directly to `VALET_HOME_PATH`
with calls to the new `valetHomePath()`. This method
is taken over in the fake Site implementation so
that everything runs the same using the fake
Site without having to change other
assumptions.

Updated several "path" methods (and many of their usages)
to take the "thing" you are looking for so you can
either get the path to the type of "thing" you
are looking for or the direct path to the
specific "thing" you are looking for.

Examples:

```
// ~/.config/valet/Nginx
$site->nginxPath();

// ~/.config/valet/Nginx/some-site.com.test
$site->nginxPath('some-site.com.test');
```

Made some other tests related to the existence of `Sites`
directory that resulted in updating the mocks for
many of the other tests.

All in all, it should make other aspects of the Site class
handle things more gracefully if `Sites` doesn't exist.
2020-04-28 11:47:25 -05:00
Matt Stauffer
c9f3b14fe2 Merge pull request #938 from aryehraber/feat/diagnose
Add "diagnose" command
2020-04-28 12:18:54 -04:00
Chris Brown
f056663159 Add proxy site-handling commands
valet proxy domain host
valet unproxy domain
valet proxies (to list all recognized proxy site configs)
2020-04-27 23:01:59 -04:00
Aryeh Raber
1535605b0d Update commands list 2020-04-27 00:21:17 +02:00
Aryeh Raber
4794d7a080 Add small warning that run may take a while 2020-04-26 22:54:21 +02:00
Aryeh Raber
cafba7f4c5 Add additional commands 2020-04-26 22:53:38 +02:00
Aryeh Raber
9965f7614c Ignore output for commands using "> /dev/null 2>&1" 2020-04-26 22:53:30 +02:00
Aryeh Raber
dedaddeff0 Ensure commands starting with "sudo" are run normally 2020-04-26 13:41:12 +02:00
Aryeh Raber
86fa649362 Format output using <details> + <summary> and add plain text flag to opt out 2020-04-25 16:29:53 +02:00
Aryeh Raber
5baccdbb54 Add sudo back to ensure commands work correctly 2020-04-25 16:26:54 +02:00
Aryeh Raber
415eedc4c0 Add progress bar when not printing output to console 2020-04-25 15:34:31 +02:00
Aryeh Raber
e59fa533f1 Add --print flag to print output while diagnostics are running 2020-04-25 14:33:24 +02:00
Aryeh Raber
ead9568aca Add "diagnose" command 2020-04-25 14:27:18 +02:00
Matt Stauffer
605af93982 Bump version 2020-04-20 16:48:58 -04:00
Matt Stauffer
fa71147e32 Merge pull request #929 from nathane/patch-1
chore: allow support for tightenco/collect:^7.0
v2.9.1
2020-04-20 16:47:04 -04:00