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

1025 Commits

Author SHA1 Message Date
Ahmed Ammar
0f3ab1fec8 Ignore invalid paths (#1478) 2024-05-07 15:22:40 +02:00
driesvints
013eb14178 Fix code styling 2024-01-18 13:55:18 +00:00
Dries Vints
9f03cdc17d version 2024-01-01 10:13:28 +01:00
Chris Brown
e3e5bea388 Allow renew() to be called without parameters (#1465)
A reasonable default is set here, consistent with the default set in other places.

Fixes #1464
Updates #1461
2024-01-01 10:12:56 +01:00
Dries Vints
b076ad6a49 Update app.php 2023-12-27 15:47:29 +01:00
Matt Stauffer
59b19a20aa Clean up syntax from #1461 2023-12-20 22:46:05 -05:00
Matt Stauffer
3ecfb36331 Merge branch 'master' of github.com:laravel/valet 2023-12-20 22:45:41 -05:00
mattstauffer
9d3d2ee785 Fix code styling 2023-12-21 03:45:03 +00:00
Matt Stauffer
81a2b3bd52 Merge pull request #1461 from adrum/feature/renew-certs
added the ability to renew certs and view their expiration dates
2023-12-20 22:44:43 -05:00
Matt Stauffer
b1b84fe163 Minor formatting tweaks to #1460 2023-12-20 22:40:28 -05:00
mattstauffer
34b4f03092 Fix code styling 2023-12-21 03:39:28 +00:00
Matt Stauffer
9c922e5a2f Merge pull request #1460 from rana01645/master
Update "fetch-share-url" to pull correct URL for HTTPS tunnels, not just HTTP
2023-12-20 22:39:06 -05:00
mattstauffer
3f2b62954c Fix code styling 2023-12-21 03:29:15 +00:00
Matt Stauffer
47847d51e9 Merge pull request #1451 from OpJePl44tsm4n/master
handle deprecated http2_push_preload conf for nginx >= 1.25.1
2023-12-20 22:28:48 -05:00
mattstauffer
e75f238b22 Fix code styling 2023-12-21 03:25:35 +00:00
Matt Stauffer
4e672ba05b Merge pull request #1452 from drbyte/502-segfault-krb5-bandage
Bandage for 502 errors using Gettext/PostgreSQL/MongoDB
2023-12-20 22:25:10 -05:00
Austin Drummond
39ee79dfad added renew to to install command 2023-12-20 00:39:21 -05:00
Austin Drummond
a3a483e45c remove date logic on renewal 2023-12-20 00:39:12 -05:00
Austin Drummond
cd198cb0c9 moved renew command to site 2023-12-20 00:38:47 -05:00
Austin Drummond
dc24a8ddc0 remove unnessary unsecure 2023-12-20 00:18:16 -05:00
Austin Drummond
7dfc739502 update secured command test 2023-12-20 00:17:58 -05:00
Austin Drummond
86c40dd40c restored original secured command 2023-12-20 00:07:57 -05:00
Austin Drummond
eec8d5f0fc added the ability to renew certs and view their expiration dates 2023-12-19 23:23:02 -05:00
Afjalur Rahman Rana
cd099f650f if http and https both exist, priotize http 2023-12-05 11:41:25 +00:00
Afjalur Rahman Rana
ec7046f3a7 test case updated 2023-12-05 11:23:24 +00:00
Afjalur Rahman Rana
e829a1cf31 give https tunnel support for valet fetch-share-url 2023-12-05 10:31:09 +00:00
Pim
2db0770f2c Update Site.php
version to string
2023-10-13 13:16:21 +02:00
Dries Vints
060c8d5bb2 version 2023-10-10 17:42:20 +02:00
Pim
b2ce8ad875 use str_replace 2023-10-10 10:38:18 +02:00
Chris Brown
6b07e425be Bandage for 502 errors using Gettext/PostgreSQL/MongoDB
Many have reported that these changes "do" help the problem.
And yet many others have reported that they make no difference.

Closes #1433

This PR is merely a bandage for a broader problem that exists in the PHP build for MacOS. See the issue referenced above for discussion and links to Homebrew and PHP repository discussions. The problem is not in Homebrew, but in the PHP build published by the PHP core.
Chime in on the PHP discussion if you want to stir up more active participation for a proper fix, telling them that you're a Mac user encountering the fork segfaults (they won't care whether you're using Valet, but they will recognize if you mention Homebrew).
2023-10-09 13:58:03 -04:00
PimPlaatsman
bd3fe5bfcc load legacy config if nginx > 1.25.1 2023-10-09 14:11:03 +02:00
PimPlaatsman
c66dfee102 add legacy files 2023-10-09 14:03:38 +02:00
Pim
984d7f33b1 fix http2 2023-10-06 16:05:25 +02:00
Pim
80d8890995 added http2 directive 2023-10-06 15:36:51 +02:00
Pim
6441882a14 fix secure.valet.conf format for nginx >= 1.25.1 2023-10-06 15:27:25 +02:00
Matt Stauffer
f9a9f7d466 Merge pull request #1437 from RobertBoes/feat/proxy-multiple-domains
Add support for proxying multiple domains at once
2023-10-03 15:20:02 -04:00
Dries Vints
15e444afc2 version 2023-10-03 16:51:46 +02:00
Robert Boes
a3ea286550 Merge remote-tracking branch 'upstream/master' into feat/proxy-multiple-domains 2023-10-02 15:49:35 +02:00
driesvints
0fef72b64b Fix code styling 2023-09-28 14:24:39 +00:00
Mischa Braam
108bbf75b0 Fix magento2 driver (#1420)
+ simplify, let mode determine by Magento env config
2023-09-28 16:24:05 +02:00
Dries Vints
15185fcabb version 2023-09-26 18:38:05 +02:00
Matt Stauffer
eb0bc01d9f Merge pull request #1428 from mcaskill/improve-link-subcommands
Fix link command's `--isolate` argument with custom name
2023-09-25 12:55:01 -04:00
Matt Stauffer
228834819e Merge pull request #1440 from jasonvarga/statamic
Support static caching in Statamic
2023-09-24 21:02:40 -04:00
Matt Stauffer
e91d70f36f Merge pull request #1439 from drbyte/laravel-driver-public-php-files
Allow LaravelValetDriver to serve other /public/*.php files
2023-09-24 21:00:45 -04:00
driesvints
03bb9cc131 Fix code styling 2023-09-21 19:31:00 +00:00
Dries Vints
55078675f4 PHP 8.3 (#1448)
* PHP 8.3

* PHP 8.3 (#1449)

---------

Co-authored-by: Chris Brown <code@drbyte.dev>
2023-09-21 21:30:35 +02:00
Chauncey McAskill
a268179535 Ensure link command checks current directory for PHP version
This matches the isolate command's usage of `Site::phpRcVersion()`.
2023-09-08 15:41:14 -04:00
Chauncey McAskill
f378dc75de Improve link command's secure and isolate sub-commands
Passing a custom hostname to the `link` command with the `--isolate` argument will result in either a mismatched site being isolated or the site not being found ("The [example] site could not be found in Valet's site list.").

The reason for this is because the `isolate` command defaults to using the current directory's _name_ which won't match the custom hostname.

This issue does not affect the `secure` command because it resolves the hostname from the current directory's _full path_.

This commit passes the hostname (either custom or the current directory's name) to both sub-commands to ensure consistency of operations.

Note: A bug introduced in mnapoli/silly v1.8.1 breaks all arguments in `runCommand()` method. See mnapoli/silly#69 for details and mnapoli/silly#70 for pull request.
2023-09-08 15:41:12 -04:00
driesvints
f37a474700 Fix code styling 2023-09-05 15:50:18 +00:00
Dries Vints
92c135e2dd Update app.php 2023-09-05 17:49:55 +02:00