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

62 Commits

Author SHA1 Message Date
Matt Stauffer
23e2eee8a1 Merge pull request #241 from drbyte/tld-alias-for-domain-command
Rename `valet domain` command to `valet tld`
2018-08-23 11:52:52 -04:00
Chris Brown
e5f9a6163a Merge branch 'master' into tld-alias-for-domain-command 2018-06-22 14:03:56 -04:00
Colin DeCarlo
20afe84f36 Move the helper functions into the Valet namespace 2018-06-20 16:01:37 -04:00
Jesus Urrutia
b52ae454a2 Maintain compatibility with the old name of the PHP version 2018-04-09 11:20:19 -03:00
Jesus Urrutia
ab8705425c Fix testing for Brew class 2018-04-07 16:48:35 -03:00
Taylor Otwell
567d38eafe update tests 2018-03-02 08:26:37 -06:00
Matt Stauffer
081fcf7199 Merge pull request #502 from laravel/add-trust-option
Add 'trust' command
2018-02-08 15:52:18 -05:00
Matt Stauffer
a7777690ee Add a test that https is parsed correctly for non .dev domains in valet links 2018-01-05 13:16:39 -05:00
Matt Stauffer
6587fb53a5 Add 'trust' command 2018-01-04 16:36:16 -05:00
Gabriel Caruso
3d9f34bff5 Use assertContains 2017-12-08 20:28:54 -02: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
9560909d34 Fix tests 2017-10-17 12:34:13 -04:00
Lasse Rafn
ce735cc66f Update NginxTest.php 2017-10-01 00:11:30 +02:00
Lasse Rafn
9a0c6929f0 Update DnsMasqTest.php 2017-10-01 00:11:11 +02:00
Lasse Rafn
20c21aa069 Update DnsMasqTest.php 2017-09-18 14:29:47 +02:00
Lasse Rafn
18a6a519f1 Update NginxTest.php
.localhost default domain test NginxTest
2017-09-18 14:27:17 +02:00
Lasse Rafn
d5b4ee3e8f Update DnsMasqTest.php
.localhost default domain test
2017-09-18 14:26:34 +02:00
Adam Wathan
84ade711b6 Refactor to collections 2017-06-22 07:34:51 -04:00
Antonio Carlos Ribeiro
6f8c14271a Show install, start, stop and restart log info 2017-02-21 12:04:45 -03:00
Adam Wathan
a249072310 Merge pull request #277 from drbyte/fix-413-request-entity-too-large-and-uploads
Fix large-upload problems by setting PHP limits and Nginx max size
2017-02-20 09:25:12 -05:00
Adam Wathan
e832fc73cc Fix test 2017-01-21 13:51:57 -05:00
Chris Brown
e208ca2340 Update minimum PHP requirement to 5.6
... because it's not actually compatible with 5.5 anymore - Ref: https://github.com/laravel/valet/issues/279
2016-12-27 15:58:16 -05:00
Chris Brown
bb59e1da2d Fix large-upload problems by setting PHP limits and Nginx max size
- Sets `client_max_body_size 128M` in `http` section of `nginx.conf`  so it covers all configs
- Adds `php-memory-limits.conf` to `php-fpm` conf folder, to set `memory_limit`, `upload_max_filesize`, `post_max_size` all to 128M

(Updates #253 by moving config location to cover all, since #253 didn't cover secure configs, etc)
2016-12-24 15:43:11 -05:00
Daniel Polito
5a25224e11 Upgrading PHP to 7.1 (#227) 2016-12-14 14:14:33 -06:00
Adam Wathan
fecfa84c4e Fix test to run under Linux CI 2016-12-08 08:45:12 -05:00
Adam Wathan
4e8d22e616 Use assertContains instead of assertTrue + strpos 2016-12-08 08:39:49 -05:00
Taylor Otwell
752f214ebb fix another test 2016-12-08 08:32:55 -05:00
Taylor Otwell
eb1a6b75f9 fix another test 2016-12-08 08:32:55 -05:00
Taylor Otwell
572227ae6c fix another test 2016-12-08 08:32:55 -05:00
Taylor Otwell
aa8ea8ecb5 workin gon tests 2016-12-08 08:32:55 -05:00
Taylor Otwell
a35b668aee working on tests 2016-12-08 08:32:55 -05:00
Adam Wathan
2ac1711eef Listen on port instead of socket 2016-12-08 08:32:54 -05:00
Adam Wathan
0da0fb3b1b Grueing around 2016-12-08 08:32:54 -05:00
Adam Lavin
b2878a6d1a Update brew list to use runAsUser instead of directly sudoing 2016-11-23 21:52:56 +00:00
Adam Lavin
6aa1f4b7bf Run brew list as user
As brew no longer allows running itself as root, we need to run it at the current user. This resolves #221.
2016-11-23 16:29:27 +00:00
Adam Wathan
733747900e Revert to using port instead of socket to see if it helps stale page issue 2016-10-22 11:35:07 -04:00
Michael Gruschwitz
15accc5175 Update tests 2016-09-28 11:44:05 +02: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
8831cfe7ce Explicitly set PHP FPM port on install 2016-09-23 10:15:11 -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
Taylor Otwell
a058c1251e remove logs method 2016-09-21 09:52:12 -05:00
Adam Wathan
bf12178d93 Update some brittle mocks 😩🔫 2016-09-20 11:23:23 -04:00
Adam Wathan
6800e3cb70 Fix broken tests
Not really stoked on these fixes but will revisit.
2016-08-18 18:55:20 -04:00
Adam Wathan
12d418389d Merge pull request #92 from kapersoft/server-log
Adds the option to view Caddy access- and error-log
2016-08-14 09:36:20 -04:00
Chris Brown
77cd98f4cc Add basic changes to alllow php71 2016-07-28 12:36:15 -04:00
Jan Willem Kaper
bd024deebc onfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() functions (second attempt) 2016-06-18 23:10:35 +02:00
Jan Willem Kaper
1d60c03214 Revert "ConfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() function"
This reverts commit 215eec574e.
2016-06-18 23:09:19 +02:00
Jan Willem Kaper
215eec574e ConfigurationTest updated with test_log_directory_is_created_with_log_files_if_it_doesnt_exist() function 2016-06-18 23:06:49 +02:00
Lucas Michot
05b870b484 Use assertFileExists and assertFileNotExists (#75) 2016-05-27 10:36:40 -05:00