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
Erik Berkun-Drevnig
cca8260279
Fix old path
2017-09-30 20:19:44 -04:00
Erik Berkun-Drevnig
1e5b857c6b
Move old directory on install
2017-09-30 20:16:58 -04:00
Lasse Rafn
97d69cadc4
Update Configuration.php
2017-10-01 00:12:00 +02:00
Lasse Rafn
cf6602f2ea
Update DnsMasq.php
2017-10-01 00:11:46 +02:00
Adam Wathan
4bd79ecdd2
Merge pull request #380 from PheRum/master
...
Added missing $_SERVER variables for Basic Driver
2017-09-30 15:04:06 -04:00
Adam Wathan
698c6532dc
Merge pull request #426 from christian-thomas/patch-1
...
Set SERVER_NAME variable for WordPress (Bedrock) driver
2017-09-30 15:03:05 -04:00
Erik Berkun-Drevnig
0fd37b0fed
Change paths from ~/.valet to ~/.config/valet
2017-09-28 14:44:14 -04:00
Adam Wathan
7cedd61289
Merge pull request #401 from jasonvarga/master
...
Statamic caching and localization support
2017-09-19 16:58:02 -04:00
Chris Brown
70fd176838
Update DnsMasq.php
2017-09-18 12:00:36 -04:00
Lasse Rafn
18f05bca49
Update Configuration.php
...
.localhost default domain
2017-09-18 14:24:35 +02:00
Lasse Rafn
670f68c5b5
Update DnsMasq.php
...
.localhost default domain
2017-09-18 14:23:53 +02:00
Martin Leveille
2227945543
Fix hard coded front controller directory for Craft
2017-09-17 09:20:48 -04:00
Christian Thomas
27b7ecebf5
Set SERVER_NAME variable for WordPress (Bedrock) driver
...
Fix for Wordpress (Bedrock) as in #138
2017-08-29 11:24:16 +01:00
Jason Varga
d12eb0e140
Only serve recognized locales if the file exists.
2017-08-24 14:44:20 -04:00
Adam Wathan
b8fb49ff51
Merge pull request #278 from fschwaiger/master
...
Add Typo3 and Neos drivers
2017-08-18 09:38:54 -04:00
Andrew Miller
7b2deaf8a4
Generate SHA-256 certificates
...
Generate SHA-256 certificates as SHA-1 certificates, the current default, are deprecated and support for them will quickly be dropped by major browsers as documented here: https://blog.qualys.com/ssllabs/2014/09/09/sha1-deprecation-what-you-need-to-know
2017-08-18 02:26:59 +09:00
Adam Wathan
ca4f78d5f8
Merge pull request #402 from gms8994/patch-1
...
Checks to see if file_exists *and* it's an actual file.
2017-08-09 08:49:02 -04:00
Jason Varga
db5f5d80e9
Handle localized sites within a public directory
2017-08-08 15:10:00 -04:00
Erik Weber
c8c1a52c3b
Add $_SERVER['DOCUMENT_ROOT'] to CraftValetDriver
2017-08-07 09:52:50 +02:00
Marty Lamoureux
10ad812f38
Fixed typo: two much dots in ellipsis
2017-08-01 15:27:46 +02:00
Adam Wathan
23b0da6591
Bump to 2.0.5
2017-07-28 09:33:22 -04:00
Glendon Solsberry
9f70e8163f
Checks to see if file_exists *and* it's an actual file.
...
The current check short-circuits too early, allowing the existence of a folder at $uri
to trigger a false positive. This verifies that the file at $uri is actually a file before
returning.
2017-07-18 09:57:41 -04:00
Jason Varga
e91b844a8f
Use isActualFile
2017-07-17 17:14:08 -04:00
Jason Varga
933922bfe7
Support Statamic 2.6 caching, and localized subdirectories.
2017-07-17 17:10:33 -04:00
MrRio
0fc82681e7
Remove comment as code is self documenting now
2017-07-05 23:17:46 +01:00
MrRio
0cf47cefdd
Use simpler CommandLine::runAsUser to open the site in the right browser
2017-07-05 23:16:39 +01:00
MrRio
26ae3f10b2
Fix issue where the open command runs as root
...
Here we take the currently logged in user, and run the open command as that user instead of root. This ensures that your default browser choice works.
2017-07-03 12:08:07 +01:00
Adam Wathan
84ade711b6
Refactor to collections
2017-06-22 07:34:51 -04:00
Adam Wathan
ba746e37fb
Merge pull request #392 from KorvinSzanto/patch-1
...
Add support for the PHP72 package
2017-06-22 07:27:10 -04:00
Kim Ravn Hansen
b8bfe077b4
Ensure 128mb max client body size.
...
client_max_body_size does not propagate down from the http context into
the server context.
See this stack overflow for further details on the issue:
https://stackoverflow.com/questions/2056124/nginx-client-max-body-size-has-no-effect
This fix ensures that the max client body size is always the default
128mb as specified in nginx.conf.
2017-06-22 05:55:58 +02:00
Adam Wathan
fda0d3440d
Fix issue with favicon 404s
2017-06-21 09:12:46 -04:00
Korvin Szanto
0ed3eeaba9
Merge pull request #1 from KorvinSzanto/patch-2
...
Update PhpFpm.php
2017-06-19 14:33:43 -07:00
Korvin Szanto
b6d40c5f8c
Update PhpFpm.php
2017-06-19 14:32:45 -07:00
Korvin Szanto
ba7017a56b
Add PHP72 to detectable PHP versions
...
Should we do this with a preg_match instead? `preg_match('~php(56|7[0-9])~', $matches)`
2017-06-19 14:28:56 -07:00
Vic D'Elfant
a0dbae74bf
Shortened isset()
2017-06-09 09:46:53 -04:00
Vic D'Elfant
745005dcae
Simplified HTTP_HOST rewriting
2017-06-09 09:46:53 -04:00