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

712 Commits

Author SHA1 Message Date
Taylor Otwell
15c961e41e wip 2018-04-03 09:06:45 -05:00
James Doyle
7f61475feb fix changes where brew php paths now include @ and semver-style versions in paths (#545) 2018-04-03 07:06:10 -07:00
Ed Preston
be8fb05110 Update Brew.php - Homebrew\Core Package Names (#549)
Update supportedPhpVersions to include the new names used by homebrew now that the php packages have migrated to 'core'.   php71 has become php@7.1 etc

The new names are put at the front of the list to optimise the loops that use these collections.

Anyone who installs or updates 'homebrew php' from will start using the new packages names which breaks parts of valet.
2018-04-03 07:05:22 -07:00
Martin Leveille
49173c0c40 Check if index.php exists in the localized folder 2018-03-25 12:02:16 -04:00
Taylor Otwell
884753b75e fixes 2018-03-02 08:25:57 -06:00
Taylor Otwell
466d66eb9f version 2018-03-02 08:24:07 -06:00
Adam Wathan
740d716cdd Accommodate formula name change in latest homebrew 2018-03-02 07:30:26 -05:00
Taylor Otwell
5b7ac6672e version 2018-02-09 10:43:04 -06:00
Matt Stauffer
7e27852722 Merge pull request #516 from nystudio107/craft-driver-web-or-public
Craft driver web or public
2018-02-09 10:17:11 -05:00
Matt Stauffer
081fcf7199 Merge pull request #502 from laravel/add-trust-option
Add 'trust' command
2018-02-08 15:52:18 -05:00
Indra Gunawan
8d42411fa2 Add support to Symfony Flex directory structure (#475) 2018-02-08 14:46:17 -06:00
kroko / Reinis Adovičs
79b539840d in unsecure() always try to clean keychain 2018-02-08 20:38:19 +02:00
kroko / Reinis Adovičs
3af02dfba8 unsecure also by trying to match cert email 2018-02-08 20:26:53 +02:00
kroko / Reinis Adovičs
08d681f27b get rid of affix 2018-02-08 00:10:42 +02:00
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
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
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
6587fb53a5 Add 'trust' command 2018-01-04 16:36:16 -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
Taylor Otwell
eba78ee4e7 update version 2017-12-08 08:06:16 -06: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
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
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
Adam Wathan
01bbbea4ec Merge pull request #436 from LasseRafn/master
Dev => Localhost
2017-10-17 07:35:33 -04:00
Stefan
68fa164eb9 Drupal 8 autocomplete 2017-10-09 17:49:36 +02:00
Erik Berkun-Drevnig
6ba61dcc77 Resecure sites 2017-10-03 15:07:42 -04:00
Jason Varga
78d37c375c Add en to locales 2017-10-02 17:02:05 -04:00