Matt Stauffer
400be90585
Resolve merge
2022-12-18 15:15:24 -06:00
Matt Stauffer
c1a7bbe8f3
Merge branch 'version-4' of github.com:laravel/valet into version-4
2022-12-18 15:12:33 -06:00
StyleCI Bot
a73be25a76
Apply fixes from StyleCI
2022-12-18 21:08:41 +00:00
Matt Stauffer
efa7937038
Update drivers location and loading
...
- Extract much of server.php into a `Server` class
- Move all but the Laravel and Basic drivers into a subfolder
- Load all but the Laravel and Basic drivers via glob
- Add `beforeLoading` hook to simplify the `frontControllerPath` method for some drivers
2022-12-18 15:08:17 -06:00
Matt Stauffer
29b94a48a6
Move server helpers to their own file; add type hints
2022-12-15 21:34:48 -06:00
Matt Stauffer
a2712e6d8f
Merge pull request #1311 from laravel/mes/version-4
...
Re-work how BasicValetDriver serves files in projects with and without `public/` directory
2022-12-15 17:29:30 -05:00
Matt Stauffer
e67086d7e1
Bump version
2022-12-08 13:01:47 -05:00
Matt Stauffer
1684068382
Refactor where legacy drivers are pulled in
2022-12-08 12:45:26 -05:00
Mark Jaquith
8589a6dc4f
Fix capitalization in WordPress driver extension
2022-12-08 12:23:14 -05:00
Matt Stauffer
cd05ded9b5
Add legacy drivers for the remainder of v3
2022-12-07 16:10:48 -05:00
Matt Stauffer
fb870548e8
Bump version
2022-12-06 16:29:28 -05:00
Dries Vints
2a8eefe767
version
2022-12-06 17:31:28 +01:00
StyleCI Bot
0c27c62cec
Apply fixes from StyleCI
2022-12-03 23:11:03 +00:00
Matt Stauffer
59967c3068
Extract basic driver with public/ from basic driver, and simplify both
2022-12-03 18:10:54 -05:00
StyleCI Bot
1ac4843825
Apply fixes from StyleCI
2022-12-03 03:32:26 +00:00
Matt Stauffer
e247533a09
Handle old custom Valet drivers
2022-12-02 22:32:13 -05:00
Matt Stauffer
884c39d70b
Test, and fix, ValetDriver
2022-12-02 22:10:04 -05:00
Matt Stauffer
6237763a46
Merge branch 'master' into mes/test-drivers
2022-12-02 21:16:30 -05:00
StyleCI Bot
e952fa59cb
Apply fixes from StyleCI
2022-12-03 02:15:35 +00:00
Matt Stauffer
711e3dd2ba
Move all drivers to PSR autoload, and write tests
2022-12-02 21:15:15 -05:00
StyleCI Bot
40d54b301c
Apply fixes from StyleCI
2022-12-02 18:02:23 +00:00
Matt Stauffer
04b14cf9d1
Call writer() in lifecycle hook
...
Thanks to @dragoonis, we were able to simplify the calls to writer() down to a single lifecycle hook.
Co-Authored-By: Jacob Baker-Kretzmar <bakerkretzmar@users.noreply.github.com >
Co-Authored-By: Andy Newhouse <hi@andymnewhouse.me >
Co-Authored-By: Tony Messias <tonyzrp@gmail.com >
2022-12-02 13:02:14 -05:00
Dries Vints
a0e1e02a47
Test Valet commands ( #1256 )
...
* First attempt at testing CLI commands
* Apply fixes from StyleCI
* Protect from running locally
* Fix test
* wip
* wip
* wip
* wip
* wip
* Update app.php
* Create config folder and files for CLI tests
* Apply fixes from StyleCI
* Fix some formatting
* Fix imports
* Update all output() calls to use the writer passed in by the command
Ugly capture of all $outputs from commands, by passing them into `writer()` to be bound into the container, where they can then be pulled out from calls to `output()` and its buddies `info()`, `table()`, and `warning()`.
* Apply fixes from StyleCI
* Flesh out park command test
* Apply fixes from StyleCI
* Drop php 7.0 and 7.1
Co-authored-by: StyleCI Bot <bot@styleci.io >
Co-authored-by: Matt Stauffer <matt@tighten.co >
2022-12-02 09:32:28 +01:00
Matt Stauffer
9216b9a87b
Merge pull request #1079 from mattkingshott/patch-1
...
Prevent 502 errors when using AJAX
2022-12-01 20:37:48 -05:00
StyleCI Bot
e02b5f3025
Apply fixes from StyleCI
2022-12-02 01:32:31 +00:00
Matt Stauffer
b7d6bd4611
Merge branch 'master' of github.com:laravel/valet
2022-12-01 20:32:13 -05:00
Matt Stauffer
5b3433e806
Merge branch 'patch-1' of https://github.com/JoshuaBehrens/valet into JoshuaBehrens-patch-1
2022-12-01 20:28:51 -05:00
Matt Stauffer
8246ee6319
Merge pull request #1238 from jjpmann/feature/custom-site-stubs
...
use getStub to allow custom stub files
2022-12-01 20:25:41 -05:00
StyleCI Bot
12c70c033d
Apply fixes from StyleCI
2022-12-01 15:55:41 +00:00
Matt Stauffer
3ccbd0cfcc
Merge pull request #514 from KorvinSzanto/patch-3
...
Set files path as a static path for concrete5 driver
2022-12-01 10:55:25 -05:00
Matt Stauffer
8fb9b8e738
Merge pull request #1305 from ashleyshenton/fix/retain-secure-proxies
...
fix: retain secure proxies
2022-11-30 22:08:02 -05:00
Matt Stauffer
11cb9ce61d
Merge pull request #1297 from ErikDohmen/bugfix/1295-fix-tld-removal-only-if-at-end
...
When formatting provided site name, only remove .tld if it's at the end
2022-11-30 22:04:46 -05:00
Ashley Shenton
566729b603
fix: check for the secure proxy stub when resecuring with a fresh config
2022-11-29 13:27:58 +00:00
Dries Vints
f03a3a158b
Update valet.php
2022-11-15 18:23:04 +01:00
Erik | Sobit
3dbecab9dd
added missing )
2022-11-11 09:42:06 +01:00
Erik Dohmen
753f2db745
Update cli/Valet/Site.php
...
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com >
2022-11-11 09:37:38 +01:00
Matt Stauffer
3f91526427
Merge pull request #1289 from EHLOVader/fix-bedrockvaletdriver
...
Fix bedrockvaletdriver
2022-11-10 13:34:22 -05:00
Erik | Sobit
2d429c353d
solution for only remove the tld if it is at the end of the site name
...
o check if tld is at the end of the site name and if so remove it
o added corresponding test
2022-11-02 11:53:04 +01:00
Dries Vints
a937836d81
Update valet.php
2022-10-25 18:40:07 +02:00
Evan Goss
b8483172e1
Add description to secured command ( #1288 )
2022-10-24 14:42:07 +02:00
NasirNobin
305736bd76
Valet fetch-share-url issue fix ( #1285 )
...
* valet fetch-share-url issue fix
* StyleCI patch
2022-10-24 14:41:39 +02:00
ehlovader
979f70bd0b
👕 Fix linter checks on formatting
2022-10-23 00:37:39 -04:00
Joseph Richardson
d54ac3206b
port over additional header information from other drivers
2022-10-23 00:14:30 -04:00
ehlovader
7f0bdb737b
🔀 resolve merge conflicts fromrebase
2022-10-23 00:13:00 -04:00
Dries Vints
6f1e4d421b
Update valet.php
2022-09-08 13:42:09 +02:00
Dries Vints
d0d42acff7
PHP 8.2 support ( #1279 )
...
* PHP 8.2 support
* wip
* Apply fixes from StyleCI
* wip
* wip
* wip
* Update tests.yml
Co-authored-by: StyleCI Bot <bot@styleci.io >
2022-09-08 13:37:17 +02:00
Dries Vints
bc56e30185
Update valet.php
2022-07-18 17:23:52 +02:00
Jerry Price
e668e77f3d
Merge branch 'master' into feature/custom-site-stubs
2022-07-08 09:21:51 -04:00
Dries Vints
cdd742bb9b
Update valet.php
2022-05-26 14:19:18 +02:00
Dries Vints
0208251cee
Revert ngrok arm binary ( #1258 )
2022-05-26 14:18:06 +02:00