Andrew Welch
2eb4ef84b0
Remove vendor-specific .gitignore
...
Signed-off-by: Andrew Welch <andrew@nystudio107.com >
2018-02-09 09:44:43 -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
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
Korvin Szanto
d675984062
Set files path as a static path for concrete5 driver
...
Previously testing a concrete5 site that had tons of 404s and required file based sessions would force each request to load sequentially causing the site to load pretty slowly. This change makes it so that the driver is aware of the files directory and markes anything within as a static file.
2018-01-29 15:29:50 -08: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