Miguel Piedrafita
5f2838d781
The safer, the better
...
Any link that can be HTTPS, should be HTTPS 🔒
2017-07-18 20:43:47 +02: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
Lynn
5e667b9afb
Remove outdated comment
...
Always needs sudo since commit: fd595b5c71
2017-07-06 16:29:02 +08:00
Adam Wathan
995f2d8457
Merge pull request #396 from MrRio/bugfix/open-in-default-browser
...
Fix bug where the "valet open" command ignores your default browser choice
2017-07-05 19:30:27 -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
65618fe399
Run against nightly on Travis
2017-06-22 07:35:36 -04: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
Adam Wathan
4e4c32dd6a
Merge pull request #393 from moccalotto/master
...
Fix 128mb max client body size for secured sites.
2017-06-22 07:26:24 -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
Vic D'Elfant
dbcbf1edc7
Improved HTTP_HOST rewriting
2017-06-09 09:46:53 -04:00
Steffen Brand
4f383f2d77
Added missing $_SERVER variables for CakePHP 3
2017-06-06 16:30:51 -04:00
Florian Schwaiger
311051fc75
Merge branch 'master' into master
2017-05-23 17:13:13 +02:00
PheRum
5bf945b7fb
Added missing $_SERVER variables for Basic Driver
2017-05-15 21:05:25 +03:00
Levis Florian
360bdabd8e
Support another "wildcard dns provider": nip.io
...
* Rename method to more generic name
* Support nip.io provider
2017-05-06 22:41:56 +02:00
Antonio Carlos Ribeiro
b899a10d7a
Unlink renamed links
2017-05-05 18:05:53 -03:00
Mario Young
4d49e666a7
Add new Symfony directory structure in driver
...
This fix #370
2017-05-05 11:44:27 -04:00
Andrej Mihaliak
99c2f64c14
secure option for link
2017-05-05 10:50:24 -04:00
Michael Gruschwitz
f4c0c98542
Fix contao driver never gets loaded
...
The symfony valet driver should not override the contao valet driver.
2017-05-05 10:49:10 -04:00
Joe Constant
bbf7a45f5f
Add support for versions path in URLs added in Magento 2.1.3
2017-05-05 10:47:47 -04:00
Joe Constant
953d828afd
Add Magento2 driver
2017-05-05 10:47:47 -04:00
Adam Wathan
4743c118d6
Obliterate filthy typehints
2017-04-04 09:12:28 -04:00
Josh Larson
79d916d499
Filter out .conf files when creating secure URL list
2017-03-25 08:59:53 -04:00
Antonio Carlos Ribeiro
3aac3e2477
Forbid access to most commands if Valet is not installed
2017-03-23 17:35:48 -04:00
Antonio Carlos Ribeiro
fac1dd659a
Forbid access to most commands if Valet is not installed
2017-03-23 17:35:48 -04:00
Adam Wathan
ba0a3ba4e7
Merge pull request #263 from antonioribeiro/showStartStopInfo
...
Show start & stop process info in terminal
2017-03-23 10:45:26 -04:00
Adam Wathan
1f4dd70740
Capitalize PHP
2017-03-23 09:01:10 -04:00
Adam Wathan
9cae383c0d
Use curly braces in string interpolation
2017-03-23 09:00:34 -04:00
Adam Wathan
02f0299fcb
Formatting
2017-03-11 10:05:33 -05:00
Adam Wathan
7e1d239c18
Merge pull request #268 from antonioribeiro/lintNginxConf
...
Check nginx.conf for errors before restarting nginx
2017-03-11 10:05:08 -05:00
Adam Wathan
06289c2294
Merge pull request #310 from scottwakefield/master
...
Add support for Craft 3 Beta
2017-03-11 09:59:02 -05:00
Adam Wathan
ff1fe34b8d
Bump version
v2.0.4
2017-03-09 11:23:37 -05:00
Adam Wathan
bfa3791253
Merge pull request #334 from leonjza/master
...
Remove sudoers entries
2017-03-07 10:36:28 -05:00
Adam Wathan
767d29d359
Fix issue when conf.d folder doesn't exist
2017-03-06 12:28:40 -05:00
Leon Jacobs
85c439b8c0
Remove sudoers entries
2017-03-04 16:53:49 +02:00
Adam Wathan
a80a24a459
Formatting
2017-02-27 10:03:20 -05:00
Adam Wathan
af65d232fc
Merge pull request #325 from aniftyco/feature/pretty-print-links
...
[FEATURE] Pretty print sites
2017-02-27 10:02:39 -05:00
Antonio Carlos Ribeiro
2ed85e3e0a
Check nginx.conf for errors before restarting nginx
2017-02-22 11:43:37 -03:00
Adam Wathan
d1b62bed34
Fix issue where linked sites break parked sites
2017-02-22 08:37:43 -05:00
Antonio Carlos Ribeiro
6f8c14271a
Show install, start, stop and restart log info
2017-02-21 12:04:45 -03:00