1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00
Commit Graph

56 Commits

Author SHA1 Message Date
Sandro Gehri
e1aeb0b2ce detect preferred site with introducing a new variable 2020-11-23 23:38:40 +01:00
Sandro Gehri
63dce63a29 prefer site name over domain name when detecting the site path 2020-11-23 21:39:29 +01:00
Matt Stauffer
f4bf0ebd9f Merge pull request #952 from drbyte/case-sensitive
Allow serving mixed case folders on case sensitive file systems
2020-11-18 08:29:39 -05:00
Irfaq Syed
a98474f255 Revise method signature 2020-05-26 22:31:20 +05:30
Irfaq Syed
0256a4e685 Make tunnel services configurable
Improvement and support for any services to match.
2020-05-26 22:28:28 +05:30
Chris Brown
22443d1e71 Allow serving mixed case folders on case sensitive file systems
Fixes #622
2020-05-22 12:41:00 -04:00
Chris Brown
51adf31d9f Adds a directory-listing setting for dev convenience
After running `valet directory-listing on` if a URI points to a directory that exists, but the requested file cannot be found in that directory, a directory listing will be displayed.

A 404 will still happen if the project directory cannot be found.

Running `valet directory-listing off` makes a 404 display (without a listing) if the requested file cannot be found.

Supercedes and closes #349 and closes #587
2020-01-02 19:44:32 -05:00
Jamie Burchell
e2f48b0385 Fix incorrectly decoding plus symbol to space in paths
Fixes https://github.com/laravel/valet/issues/829
2019-10-09 22:27:13 +01:00
Chris Brown
120385b81d Fire the .valet-env environment var detection earlier
To support smarter detection of static-file detection and allow Valet to mutate the URI for externally-hosted assets (save bandwidth and local storage etc), detecting any custom-inserted environment variables needs to happen slightly sooner in the execution cycle.

Discovered this issue when troubleshooting #729 and #247. While they have other workarounds, this PR simplifies things, and potentially makes custom drivers slightly easier too ... when the use-case applies.
2019-09-07 17:27:01 -04:00
Martin Peverelli
8971bf8d6a #473 Add feature to load server environment variables from special file 2019-01-02 17:27:02 -05:00
Sergio Bruder
2c190c67f8 fixes :port accesses 2018-09-14 04:17:15 -03:00
Matt Stauffer
7eb1aec410 Merge pull request #449 from eberkund/master
Move ~/.valet to ~/.config/valet
2018-08-30 08:33:28 -04:00
Chris Brown
e5f9a6163a Merge branch 'master' into tld-alias-for-domain-command 2018-06-22 14:03:56 -04: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
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
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
Adam Wathan
fab898ef9b Merge pull request #372 from Gounlaf/feature/wildcarddns
Support another "wildcard dns provider": nip.io
2017-10-17 12:12:29 -04:00
Adam Wathan
1e7b020fd8 Don't bother with strict check #yolo 2017-10-17 12:12:12 -04:00
Adam Wathan
f757e8515b Use modern array syntax 2017-10-17 12:11:46 -04:00
Erik Berkun-Drevnig
0fd37b0fed Change paths from ~/.valet to ~/.config/valet 2017-09-28 14:44:14 -04:00
James Furey
8331f05d8c Added "fallback" and "unfallback" commands to cli (if valid "fallback" path set, Valet's server script uses it for uncaught urls). 2017-09-21 21:06:18 +10: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
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
Adam Wathan
d1b62bed34 Fix issue where linked sites break parked sites 2017-02-22 08:37:43 -05:00
Josh Manders
f51959f7ec add wildcard san certs 2017-02-17 18:10:41 -06:00
Adam Wathan
6727e43288 Use UUID for static asset path instead of "static" 2016-12-12 15:46:09 -05:00
Taylor Otwell
6f61b840f1 resolve real path 2016-12-08 08:32:54 -05: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
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
Levis Florian
841bc7f54b Support xip.io feature
* Add support for IPv4 (xip.io only support IPv4)
2016-08-26 18:42:19 +02:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00
Taylor Otwell
9777f48cb9 fix conflicts 2016-05-09 14:26:11 -05:00
Kennedy Tedesco
1a5900beaf Dry's up things 2016-05-07 14:54:19 -03:00
Taylor Otwell
f62d1d72df simplify user check 2016-05-07 00:55:47 -05:00
Taylor Otwell
3a87c590e9 a few php fpm fixes 2016-05-06 23:18:35 -05:00
Pantelis Peslis
bf5fc07cec Remove '/Users/' prefix 2016-05-06 23:20:54 +03:00
Taylor Otwell
00c44a74d2 some cleaning 2016-05-06 13:03:46 -05:00
Taylor Otwell
623d241386 change into front controller path when executing 2016-05-06 12:24:25 -05:00
Taylor Otwell
c651f2cbc4 allow updating domain dynamically 2016-05-06 10:03:57 -05:00
Taylor Otwell
9c96db1c45 fix wordpress permalinks 2016-05-06 09:29:02 -05:00
Taylor Otwell
fdf126990b fixing statamic installer 2016-05-06 09:17:22 -05:00
Taylor Otwell
63af94db5c added which command for debugging 2016-05-05 20:07:45 -05:00
Taylor Otwell
1b905afa19 craft support 2016-05-05 16:35:32 -05:00
Taylor Otwell
4b38184293 wordpress driver 2016-05-05 15:42:50 -05:00
Taylor Otwell
e0da86d2eb tweaks to drivers. add jigsaw 2016-05-05 14:47:34 -05:00
Jerguš Lejko
0ed49b4ea1 Add StaticValetDriver for static pages 2016-05-05 19:41:08 +02:00
Taylor Otwell
4b1e9856dd de-escalate sooner 2016-05-05 10:06:30 -05:00