1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 08:30:07 +01:00
Commit Graph

428 Commits

Author SHA1 Message Date
Adam Wathan
41eacbb983 Merge pull request #195 from dbpolito/patch-1
Adding function_exists to retry
2016-10-22 09:59:53 -05:00
Daniel Polito
e157d47bc7 Adding function_exists to retry 2016-10-21 11:39:00 -02:00
Adam Wathan
76c1fdb8c6 Fix issues with parse_url sometimes failing
Since parse_url fails on URIs that contain IP addresses, drop it
completely and instead just strip the query string manually, since
as far as I can tell that's all we actually give a shit about.
2016-10-09 20:13:49 -04:00
Adam Wathan
f9674b3c47 Update version string 2016-09-30 11:13:51 -04:00
Adam Wathan
ce35aeb84e Merge pull request #177 from laravel/static-through-caddy
Serve static files through Caddy instead of through PHP
2016-09-28 17:22:14 -04:00
Adam Wathan
1ed2e067c9 Reference Caddy issue re: internal directive in stubs 2016-09-28 17:17:04 -04:00
Adam Wathan
648ec077dc Remove mimes file 2016-09-28 17:14:54 -04:00
Adam Wathan
802cfb0525 Remove dead code 2016-09-28 17:10:49 -04:00
Adam Wathan
b4af363a29 Update to Caddy 0.9.3 2016-09-28 16:58:13 -04:00
Adam Wathan
41a3d6c18a Explain this disgusting grue 2016-09-28 16:58:13 -04:00
Adam Wathan
22528cebaa Don't even set the INI setting because it doesn't work in 5.6, do this dumb hack instead. 2016-09-28 16:58:13 -04:00
Adam Wathan
3facbef790 Disable default_mimetype with ini_set instead of via config file 2016-09-28 16:58:13 -04:00
Adam Wathan
1c29674d7b Use a separate .ini file instead of editing the main php.ini file 2016-09-28 16:58:13 -04:00
Adam Wathan
60a8f78346 Use custom Caddy build until new version is tagged 2016-09-28 16:58:13 -04:00
Adam Wathan
a78921afc0 Add test coverage for php.ini changes on install 2016-09-28 16:58:13 -04:00
Adam Wathan
73a205aa81 Serve static files through Caddy instead of PHP 2016-09-28 16:58:13 -04:00
Adam Wathan
7176c54c31 Merge pull request #126 from Gounlaf/xip.io
Support xip.io feature
2016-09-28 15:49:45 -04:00
Adam Wathan
fd51a0fbe7 Merge pull request #174 from grusch-it/fix-bad-gateway-after-reboot
Fix 502 bad gateway after reboot
2016-09-28 07:47:52 -04:00
Michael Gruschwitz
15accc5175 Update tests 2016-09-28 11:44:05 +02:00
Michael Gruschwitz
898ed571bc Fix php-fpm socket location in caddy stubs 2016-09-28 11:43:52 +02:00
Michael Gruschwitz
b3ff443567 Update caddy stubs 2016-09-28 10:56:30 +02:00
Michael Gruschwitz
5da6c5a095 Move php-fpm socket
Subdirectories in /var/run are deleted on reboot. That causes php-fpm to fail after reboot, because the socket in /var/run/valet can't be created, since the subdirecotry does not exist. The php-fpm socket should be moved directly to /var/run.
2016-09-28 10:56:21 +02:00
Adam Wathan
e30dec5d5b Visibility keywords!! Gross. 2016-09-24 18:41:47 -04:00
Adam Wathan
353f24cea8 Set SERVER_NAME variable for WordPress driver
Closes #138
2016-09-24 15:39:32 -04:00
Levis Florian
11b2a7205f Fix changes according to @adamwathan request
* Remove `ends_with` method to avoid possible conflict defined methods
* Hardcode `ends_with` behavior in `support_xip_io` method

* Rename `support_xip_io`to `valet_support_xip_io`
2016-09-24 20:34:56 +02:00
Levis Florian
273cc89502 Fix changes according to @adamwathan request
@adamwathan says: We need the HTTP_HOST to stay as the full URL including xip.io otherwise redirects generated by your application will break, because they need to include xip.io in the redirect, but they won't if the HTTP_HOST has been overridden.
2016-09-24 20:02:56 +02:00
Adam Wathan
a35c259200 Merge pull request #133 from vinkla/patch-2
Update Taylors email
2016-09-24 10:53:14 -04:00
Adam Wathan
01dce7cc24 Merge pull request #160 from KorvinSzanto/feature/travis_cache
Add composer cache to travis config
2016-09-24 10:47:03 -04:00
Adam Wathan
56ccaa7bc0 Merge pull request #172 from laravel/static-through-php
Get branches sorted out
2016-09-24 10:41:03 -04:00
Adam Wathan
028d2d5208 Fix conflicts 2016-09-24 10:35:22 -04:00
Adam Wathan
5e365f4bfb Add test coverage for setting FPM socket 2016-09-24 10:25:42 -04:00
Adam Wathan
2bc9ea90b1 Use Caddy 0.9.1 2016-09-24 10:25:32 -04:00
Adam Wathan
3aaacbd64e Revert to serving static files through PHP until Caddy bug resolved 2016-09-24 10:21:35 -04:00
Adam Wathan
55a7b9a2a0 Merge pull request #171 from frozzare/bedrock-force-trailing-slash
Bedrock: Redirect wp/wp-admin to wp/wp-admin/
2016-09-24 10:15:38 -04:00
Adam Wathan
f6a1959322 Merge pull request #170 from akoury/patch-1
Added Share Command to the List of Commands
2016-09-24 10:14:08 -04:00
Fredrik Forsmo
5fd2b6a446 Redirect wp/wp-admin to wp/wp-admin/ 2016-09-24 16:06:15 +02:00
akoury
1ddccf1ca9 Added Share Command to the List of Commands
Thanks to @adamwathan for the help
2016-09-24 10:00:44 -04:00
Adam Wathan
c477880cc4 Update version v1.1.22 2016-09-23 10:17:32 -04:00
Adam Wathan
8831cfe7ce Explicitly set PHP FPM port on install 2016-09-23 10:15:11 -04:00
Adam Wathan
5e7a27e951 Update version v1.1.21 2016-09-23 09:56:17 -04:00
Adam Wathan
403e75d580 Rewrite TLS Caddy files on install
Porting this from master branch for now, makes it a lot easier for
people to go from master to 1.1.* since the master branch has a
different Caddyfile structure.

Since Caddy 0.9.* still has the X-Accel-Redirect issue re:
Content-Type, we can't tag on master yet, so this will help people get
back to a tagged release without having to manually fix a bunch of
Caddyfiles.
2016-09-23 09:50:09 -04:00
Adam Wathan
5919e93c6c Update version string v1.1.20 2016-09-22 21:38:14 -04:00
Adam Wathan
99b28daf18 Merge pull request #167 from laravel/sierra
Changes for Sierra compatibility
2016-09-22 21:37:39 -04:00
Adam Wathan
d7730a11b8 Revert to Caddy 0.9.1 2016-09-22 10:13:03 -04:00
Adam Wathan
9371ca4609 Update Caddy to 0.9.2 2016-09-21 20:47:28 -04:00
Taylor Otwell
a058c1251e remove logs method 2016-09-21 09:52:12 -05:00
Taylor Otwell
b52f463ecb remove superstition 2016-09-21 09:17:36 -05:00
Taylor Otwell
372775a4fa remove superstition 2016-09-21 09:16:07 -05:00
Taylor Otwell
04d7816bd2 spacing 2016-09-21 09:12:23 -05:00
Taylor Otwell
1fbff12915 fix spacing 2016-09-21 09:12:09 -05:00