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

757 Commits

Author SHA1 Message Date
kroko / Reinis Adovičs
b32080b678 trying to delete nonexistent settings will fail 2018-02-08 00:04:22 +02:00
kroko / Reinis Adovičs
3f11288920 store CA in separate directory 2018-02-07 23:16:51 +02:00
kroko / Reinis Adovičs
a2d446b871 change spaces for CA srl param 2018-02-07 22:10:51 +02:00
kroko / Reinis Adovičs
9b543f4aa0 explicit CA serial for macOS 10.13.3 2018-02-07 22:03:36 +02:00
Andrew Welch
61514e5f52 Add ssi on; to the default config
Defaulting to having `ssi on;` in the `http` block will allow those of us doing Nginx Server Side Includes to use Valet in local development.

A longer explanation of SSI, why we want it, and the impact is here: https://github.com/laravel/valet/issues/513

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
2018-02-01 13:19:23 -05:00
Andrew Welch
cc0e4922f6 Smarter frontControllerDirectory method
The previous method simply returned `web` if there was a file named `craft` in the $sitePath (which means we’re running Craft 3).

The problem is that many sites, especially upgraded ones, will be serving out of `public`. This is also in line with the default Forge/ServerPilot default dirs.

So we test to see if either `/web` or `/public` exist, and return them if so. Otherwise default to the current method.

Signed-off-by: Andrew Welch <andrew@nystudio107.com>
2018-02-01 13:12:03 -05:00
Andrew Welch
e5f9914f05 Ignore PhpStorm .idea editor settings
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
2018-02-01 13:06:57 -05:00
kroko
192456d369 change security delete-certificate command order 2018-01-31 09:36:10 +02:00
kroko / Reinis Adovičs
4500e6e0d2 Keep random affix only for CN 2018-01-31 09:24:17 +02:00
kroko / Reinis Adovičs
694bd5d571 empty C, ST, L fields in root certificate 2018-01-31 05:18:15 +02:00
kroko / Reinis Adovičs
91b0b69dd7 when unsecuring try deleting also old wildcard 2018-01-31 04:45:06 +02:00
kroko
312d9e33cb adding CA to the created certificates 2018-01-30 14:13:49 +02:00
Adam Wathan
4c243d7d71 Merge pull request #439 from furey/feature/fallback-site-path
Fallback Site Path
2018-01-29 14:15:49 -05:00
James Furey
5f2c2fb36b Kept logic around checking if a "default" site path is set and serving that if needed, but removed the actual CLI commands to set it (recommending people add/change their "default" path in their ~/.valet/config.json file manually). 2018-01-29 12:09:09 +11:00
Adam Wathan
f3b395b14c Merge pull request #505 from laravel/fix-valet-links-non-dev
Fix valet links non dev
2018-01-18 12:55:33 -05:00
Adam Wathan
ecfcaf4ff0 Merge pull request #495 from jasper-ter-veen/master
Update valet links command to parse out https for non-.dev domains
2018-01-18 12:48:16 -05:00
Adam Wathan
83eae5a01e Merge pull request #461 from simensen/modern-sculpin-support
Enable support for modern Sculpin projects.
2018-01-09 09:08:08 -05:00
Beau Simensen
fb276d6177 Compare similar types. 2018-01-08 20:55:31 -06:00
Beau Simensen
ec42860fee Also check if sculpin/sculpin is required by composer.json 2018-01-08 20:53:46 -06:00
Matt Stauffer
a7777690ee Add a test that https is parsed correctly for non .dev domains in valet links 2018-01-05 13:16:39 -05:00
Matt Stauffer
8fa22c5823 Merge branch 'master' of git://github.com/jasper-ter-veen/valet into jasper-ter-veen-master 2018-01-05 13:15:26 -05:00
Matt Stauffer
6587fb53a5 Add 'trust' command 2018-01-04 16:36:16 -05:00
Adam Wathan
5df7ed7a1a Merge pull request #498 from drbyte/symfony4-compat
Add compatibility with symfony/process v4
2017-12-23 07:30:16 -05:00
Chris Brown
9402fd25ab Add compatibility with symfony/process v4 2017-12-23 00:08:12 -05:00
jasper-ter-veen
117a937638 Update Site.php 2017-12-20 16:54:35 +01:00
jasper-ter-veen
06fc109d43 Fix issue #445
Can't `valet links` other domain show https except `.dev`
2017-12-20 16:27:44 +01:00
Pavinthan
9cb575808b Valet secure, unsecure PhpFpm restart remove
Valet secure, unsecure PhpFpm restart remove
2017-12-20 13:29:10 +05:30
Adam Wathan
a8b6f66c42 Merge pull request #482 from carusogabriel/refactoring-tests
Use assertContains
2017-12-18 07:53:44 -05:00
Adam Wathan
fb837beb70 Merge pull request #481 from devinfd/patch-1
change .dev to .test
2017-12-09 08:52:15 -05:00
Gabriel Caruso
3d9f34bff5 Use assertContains 2017-12-08 20:28:54 -02:00
Taylor Otwell
eba78ee4e7 update version v2.0.6 2017-12-08 08:06:16 -06:00
Devin
7d7ca5512b change .dev to .test 2017-12-08 06:02:05 -08:00
Adam Wathan
9a78f947d0 Merge pull request #476 from carusogabriel/patch-1
Test against PHP 7.2
2017-12-01 07:29:16 -05:00
Adam Wathan
61b3ab26f1 Merge pull request #468 from simensen/magento2-document-root
Support for Magento Commerce (Cloud) applications that rely on DOCUMENT_ROOT
2017-12-01 07:28:11 -05:00
Gabriel Caruso
4afc32b8e7 Test against PHP 7.2 2017-11-30 18:40:21 -02:00
Erik Berkun-Drevnig
f33bff81e9 Make sure Sites dir is linked 2017-11-27 01:39:27 -05:00
Beau Simensen
c556f26f46 Support for Magento Commerce (Cloud) applications that rely on DOCUMENT_ROOT 2017-11-12 22:05:10 -06:00
Erik Berkun-Drevnig
19fe60880c Fix DnsMasq path, remove incorrect use of rewrite secure 2017-10-22 16:39:50 -04:00
Beau Simensen
8c5c2282cd Enable support for modern Sculpin projects. 2017-10-21 02:21:22 -07:00
Chris Brown
2c56a080e1 Fix xip.io / nip.io instructions (don't need to create a link to use it) 2017-10-17 21:55:12 -04:00
Chris Brown
3f1c5fae60 Fix bug with certificate search for TLDs of other than 3 chars
The `substr` of `-8` was based on `.dev.crt`, but since the TLD has always been configurable, this should have always been dynamic.

Running `valet links` will not show `https` or the `TLS` columns correctly if the substring matching is of the wrong length.
2017-10-17 20:33:39 -04:00
Chris Brown
58e4645fe2 Change valet domain command to valet tld
Fixes #144
".test" or ".dev" is really a TLD, not a "domain" in the conventional sense.
Changing the command to `valet tld` more accurately reflects the purpose of the command (to set or get the configured TLD served by Valet)

The use of `valet domain` is currently preserved as an alias for `valet tld`, but will be removed at a later date.
2017-10-17 15:47:39 -04:00
Chris Brown
9394811a09 Make valet install handle the addition of tld to config.json 2017-10-17 13:18:11 -04:00
Chris Brown
bd5c998019 Change valet domain command to valet tld
Fixes #144
".dev" is really a TLD, not a "domain" in the conventional sense.
Changing the command to `valet tld` more accurately reflects the purpose of the command (to set or get the configured TLD served by Valet)
2017-10-17 13:18:11 -04:00
Adam Wathan
9560909d34 Fix tests 2017-10-17 12:34:13 -04:00
Adam Wathan
fab898ef9b Merge pull request #372 from Gounlaf/feature/wildcarddns
Support another "wildcard dns provider": nip.io
2017-10-17 12:12:29 -04:00
Adam Wathan
1e7b020fd8 Don't bother with strict check #yolo 2017-10-17 12:12:12 -04:00
Adam Wathan
f757e8515b Use modern array syntax 2017-10-17 12:11:46 -04:00
Adam Wathan
ac06650483 Set default listen-address in dnsmasq config
I was having issues where dnsmasq was trying to listen on some weird
IPv6 address by default; setting this explicitly solves that.
2017-10-17 12:04:35 -04:00
Adam Wathan
7d2b4303cb Use configured domain for dnsmasq setup on install
This was always using Valet's default, even if the person already had
Valet installed. This makes sure if they've changed their TLD, that TLD
is used.
2017-10-17 12:03:46 -04:00