Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest 5.8 #5

Merged
merged 775 commits into from
Jul 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
775 commits
Select commit Hold shift + click to select a range
1f03c2b
Fix MailFake raw method DocBlock return type
antonkomarev Jun 4, 2019
c78796c
fix redis cluster connection parsing
taylorotwell Jun 5, 2019
9293fec
Fix return type of Session Store save method
antonkomarev Jun 5, 2019
5ed0b0a
Merge pull request #28739 from cybercog/fix/session-contract-return-type
taylorotwell Jun 5, 2019
80881af
Merge pull request #28738 from cybercog/fix/mail-fake-raw-method-docb…
taylorotwell Jun 5, 2019
ae72325
Merge pull request #28737 from cybercog/fix/postgres-grammar-docblock…
taylorotwell Jun 5, 2019
6ceb65b
Merge pull request #28736 from cybercog/fix/mysql-grammar-parameters-…
taylorotwell Jun 5, 2019
74ea6f4
Merge pull request #28735 from cybercog/fix/exception-type-in-databas…
taylorotwell Jun 5, 2019
2290bed
Merge pull request #28734 from cybercog/fix/query-builder-parameters-…
taylorotwell Jun 5, 2019
eb8c7e4
Merge pull request #28733 from cybercog/add/string-type-to-as-pivot-n…
taylorotwell Jun 5, 2019
ca374a6
Merge pull request #28731 from cybercog/remove/method-from-soft-delet…
taylorotwell Jun 5, 2019
ccd5129
Merge pull request #28730 from cybercog/remove/unused-argument-from-d…
taylorotwell Jun 5, 2019
bca599b
Merge pull request #28720 from cybercog/fix/illuminate-database-docbl…
taylorotwell Jun 5, 2019
26a22a2
Merge pull request #28670 from mxss/relation-touch-ignores-timestamps
taylorotwell Jun 5, 2019
cc334d9
Check presence of force flag in command signature
nie7321 Jun 5, 2019
55b7f40
[5.8] update changelog
TBlindaruk Jun 5, 2019
f8e0662
create dropAllForeignKeys method for SQL Server
Jun 5, 2019
53081e9
Fix database rules with WHERE clauses
staudenmeir Jun 5, 2019
63a6559
change dropAllTables to compileDropAlltables
Jun 6, 2019
f76d0e2
Merge pull request #28748 from staudenmeir/database-rule
taylorotwell Jun 6, 2019
5714b21
Merge pull request #28742 from nie7321/confirmable-force
taylorotwell Jun 6, 2019
9555383
Added related to Pluralizer
JamesFreeman Jun 6, 2019
d85b3e1
Added recommended to Pluralizer
JamesFreeman Jun 6, 2019
e01f548
fix StyleCI issue
Jun 6, 2019
4216286
Fixed failing tests
JamesFreeman Jun 6, 2019
0eddd96
Merge pull request #28749 from iamthefreeman/bugfix/added_related_to_…
taylorotwell Jun 7, 2019
e16eada
Suggest resolution when no relationship value is returned
imliam Jun 8, 2019
31eee29
Merge pull request #28762 from imliam/relationship-return-exception
taylorotwell Jun 8, 2019
efcbd96
Cleanup constructor signature
pns2050 Jun 8, 2019
6563c2e
error handling at `artisan down`
match Jun 8, 2019
6082be0
error handling at `artisan up`
match Jun 8, 2019
fca6291
Update SqlServerBuilder.php
taylorotwell Jun 8, 2019
fa6faa6
Merge pull request #28750 from walliby/sql-server-drop-table-issue
taylorotwell Jun 8, 2019
cd97b05
remove import
pns2050 Jun 8, 2019
5bcee99
Merge branch 'improved-morphed-eager-loads' of https://github.com/bre…
taylorotwell Jun 8, 2019
d72e3cd
formatting
taylorotwell Jun 8, 2019
7b7eaf9
Merge pull request #28766 from pns2050/cleanup-cookietest
taylorotwell Jun 8, 2019
f849544
Merge branch 'error-handling-for-maintenance-mode' of https://github.…
taylorotwell Jun 8, 2019
9e20849
formatting
taylorotwell Jun 8, 2019
0a73384
Update generatedAs() signature
jhaoda Jun 8, 2019
50c3540
Fix StyleCI issue
jhaoda Jun 8, 2019
cc79533
Merge pull request #28769 from jhaoda/patch-1
taylorotwell Jun 8, 2019
0058571
Simplify #28750
staudenmeir Jun 8, 2019
42657be
[5.8] update changelog
TBlindaruk Jun 9, 2019
4ccfd7a
Merge pull request #28770 from staudenmeir/28750
taylorotwell Jun 10, 2019
8663082
add `@componentFirst` directive
browner12 Jun 10, 2019
01b49d9
combine the `include` tests into 1 file
browner12 Jun 10, 2019
8a66b47
Create BladeComponentsTest.php
browner12 Jun 10, 2019
098352b
Merge pull request #28785 from browner12/component-tests
taylorotwell Jun 10, 2019
127b9e3
Merge pull request #28784 from browner12/blade-include-tests-refactor
taylorotwell Jun 10, 2019
44bec6c
Add message value assertion
ahinkle Jun 10, 2019
ae47893
Add boolean methods to Schema facade
antonkomarev Jun 10, 2019
7ac9663
Merge pull request #28788 from cybercog/add/schema-facade-boolean-met…
taylorotwell Jun 11, 2019
c73b5b8
Merge pull request #28787 from ahinkle/assertJsonValidationError
taylorotwell Jun 11, 2019
9b7520a
Merge pull request #28783 from browner12/component-first
taylorotwell Jun 11, 2019
4d2ca20
Add hints for App Facade methods
antonkomarev Jun 11, 2019
00d1aeb
Add hints for Artisan Facade methods
antonkomarev Jun 11, 2019
7f8db2a
Add type-hints to Artisan Facade methods props
antonkomarev Jun 11, 2019
801cbdb
Add Crypt Facade methods hints
antonkomarev Jun 11, 2019
ad18538
Fix type-hits & return types of Encrypter
antonkomarev Jun 11, 2019
6798a1d
Add Event Facade methods hints
antonkomarev Jun 11, 2019
340f9f8
Add File Facade methods hints
antonkomarev Jun 11, 2019
3b35c36
Add Gate Facade methods hints
antonkomarev Jun 11, 2019
e19637e
Set connection name on cursor() results
staudenmeir Jun 11, 2019
7b8e354
adds Str::containsAll() method
chrisbbreuer Jun 11, 2019
4fb409c
[5.8] update changelog
TBlindaruk Jun 11, 2019
5a5d68b
Add Input Facade methods hints
antonkomarev Jun 11, 2019
dde7c95
added test for TrimString middleware class
Jun 11, 2019
d328708
Merge pull request #28802 from cybercog/add/gate-facade-methods-hints
taylorotwell Jun 11, 2019
1ca32c0
Merge pull request #28804 from staudenmeir/cursor
taylorotwell Jun 11, 2019
d42ca82
Merge pull request #28810 from cybercog/add/input-facade-methods-hints
taylorotwell Jun 11, 2019
8c78b47
Merge pull request #28801 from cybercog/add/file-facade-methods-hints
taylorotwell Jun 11, 2019
fad3d2f
Merge pull request #28800 from cybercog/add/event-facade-methods-hints
taylorotwell Jun 11, 2019
0989b2c
Merge pull request #28797 from cybercog/add/blade-facade-methods-hints
taylorotwell Jun 11, 2019
b4beb62
Merge pull request #28799 from cybercog/add/crypt-facade-methods-hints
taylorotwell Jun 11, 2019
8830623
Merge pull request #28796 from cybercog/add/artisan-facade-methods-hints
taylorotwell Jun 11, 2019
3b3d747
Merge pull request #28795 from cybercog/add/app-facade-methods-hints
taylorotwell Jun 11, 2019
a7332cc
Merge pull request #28811 from Sergo96/5.8
taylorotwell Jun 11, 2019
5db5288
Apply fixes from StyleCI (#28812)
taylorotwell Jun 11, 2019
91d5cfd
Update Str.php
taylorotwell Jun 12, 2019
a986126
Merge pull request #28806 from Chris1904/feature/add-str-contains-all
taylorotwell Jun 12, 2019
f964336
remove failing assertions
chrisbbreuer Jun 12, 2019
c9f957a
add index => viewAny to resourceAbilityMap
jcqtc Jun 12, 2019
21da43f
Merge pull request #28820 from clement-jacquet/abilityMap
taylorotwell Jun 12, 2019
0c492b1
Merge pull request #28816 from Chris1904/fix/str-contains-all-tests
taylorotwell Jun 12, 2019
f47d1a0
version
taylorotwell Jun 12, 2019
87eb9a0
[5.8] update changelog
TBlindaruk Jun 12, 2019
2970dab
improve support for arrays on assertJsonValidationErrors
taylorotwell Jun 12, 2019
f0448d4
Apply fixes from StyleCI (#28824)
taylorotwell Jun 12, 2019
1d262a9
Fix typehint for EloquentCollection::find, as it may return null.
Jun 13, 2019
74b4267
Fix strict comparison in redis configuration Parsing.
mathieutu Jun 13, 2019
cd4fba8
Merge pull request #28830 from mathieutu/patch-6
taylorotwell Jun 13, 2019
ac228c0
Merge pull request #28828 from MaartenStaa/eloquent-collection-find-t…
taylorotwell Jun 13, 2019
27017a5
version
taylorotwell Jun 13, 2019
02d2422
Merge branch '5.8' of github.com:laravel/framework into 5.8
taylorotwell Jun 13, 2019
730488e
Assert that the session contains a given piece of data using a closure
sebdesign Jun 13, 2019
8063eb4
SERVER_PORT env in ServeCommand
anthonybudd Jun 14, 2019
1fb67cc
Merge pull request #28837 from sebdesign/5.8
taylorotwell Jun 14, 2019
b0939f5
Add assert method for unauthorized response. (#1)
ramytamer Jun 15, 2019
9039f24
Remove extra spaces.
ramytamer Jun 15, 2019
67ad2c3
Merge pull request #28851 from ramytamer/5.8
taylorotwell Jun 15, 2019
a48ced2
[5.8] update changelog
TBlindaruk Jun 15, 2019
a1c039c
Merge pull request #28849 from anthonybudd/5.8
taylorotwell Jun 15, 2019
6a18e73
tweaks to server command. respect explicit port.
taylorotwell Jun 15, 2019
85c0801
allow a when callback to dictate retries
taylorotwell Jun 15, 2019
5aa0c3a
Fix Builder::dump() and dd() with global scopes
staudenmeir Jun 16, 2019
cf90774
Merge pull request #28858 from staudenmeir/eloquent-dump
taylorotwell Jun 17, 2019
4d05d38
Handle SuspiciousOperationException
mpskovvang Jun 17, 2019
787bedb
Revert "[5.8] Add 'index' => 'viewAny' to resourceAbilityMap"
laurencei Jun 17, 2019
58d9543
Handle SuspiciousOperationException in exception handler
mpskovvang Jun 17, 2019
5ac042a
Revert "Handle SuspiciousOperationException"
mpskovvang Jun 17, 2019
ac0c9b2
Allow console environment argument to be separated with a space
ThibaudDauce Jun 17, 2019
0ab884f
Merge pull request #28865 from laravel/revert-28820-abilityMap
taylorotwell Jun 17, 2019
85137e0
Merge pull request #28869 from ThibaudDauce/console-environment-separ…
taylorotwell Jun 17, 2019
c9c5513
Create tests for assertNotFound
omarkdev Jun 18, 2019
d206574
Do not propagate exception message
mpskovvang Jun 18, 2019
2e98322
Merge pull request #28877 from omarkdev/5.8-test-assertNotFound
taylorotwell Jun 18, 2019
21cb37d
Merge pull request #28866 from katoni/5.8
taylorotwell Jun 18, 2019
ef7198c
Arr::get also accepts int for $key
mfn Jun 18, 2019
7ff698d
compile `@endcomponentFirst`
browner12 Jun 18, 2019
db220f5
Fixes method description in docblock for first method in Collection c…
kevindh89 Jun 19, 2019
0e360b6
Merge pull request #28887 from kevindh89/fixDocblockCollectionFirst
taylorotwell Jun 19, 2019
44ee747
Merge pull request #28883 from mfn/patch-4
taylorotwell Jun 19, 2019
024783a
Merge pull request #28884 from browner12/endComponentFirst
taylorotwell Jun 19, 2019
9c15e78
allow view assertions to see all data
browner12 Jun 19, 2019
2d14798
Add option to output route:list as JSON
jasonmccreary Jun 19, 2019
bb2a0af
wip
taylorotwell Jun 19, 2019
3bbdd39
[5.8] update changelog
TBlindaruk Jun 19, 2019
806291e
[5.8] update changelog
TBlindaruk Jun 20, 2019
f1f144e
Update RouteListCommand.php
taylorotwell Jun 20, 2019
8452136
Merge pull request #28894 from jasonmccreary/route-list-as-json
taylorotwell Jun 20, 2019
f1bb3fe
Merge pull request #28893 from browner12/assert-view
taylorotwell Jun 20, 2019
3c2a8fa
let mix helper use assets url
themsaid Jun 20, 2019
34099ec
fix tests
themsaid Jun 20, 2019
03e82c9
Merge pull request #28905 from themsaid/mixasseturl
taylorotwell Jun 20, 2019
ac3c74e
Prevent event cache from firing multiple times the same event(s)
jf-m Jun 20, 2019
29339ed
Merge pull request #28904 from jf-m/fix/28872
taylorotwell Jun 21, 2019
f0f1fb0
Merge pull request #28595 from shadoWalker89/no_json_errors_on_empty_…
taylorotwell Jun 21, 2019
6eb0a67
dont check for 204 status code
SjorsO Jun 21, 2019
1e4e640
wip
SjorsO Jun 21, 2019
8692b3b
Add whereHasMorph()
staudenmeir Jun 21, 2019
7debb8d
Add null type for all methods which accepts connection name
antonkomarev Jun 22, 2019
d99727d
Add missing null typehint to Schema facade connection method
antonkomarev Jun 22, 2019
689b9e1
Add missing null type to $connection in Database Migration class
antonkomarev Jun 22, 2019
c743641
Merge pull request #28917 from cybercog/fix/database-migration-connec…
taylorotwell Jun 22, 2019
f351969
Merge pull request #28916 from cybercog/fix/schema-facade-connection-…
taylorotwell Jun 22, 2019
d1b422b
Merge pull request #28915 from cybercog/fix/eloquent-model-connection…
taylorotwell Jun 22, 2019
7593d65
Merge pull request #28913 from SjorsO/5.8
taylorotwell Jun 22, 2019
a9f880d
[5.8] update changelog
TBlindaruk Jun 23, 2019
3276dc3
add test to check model scopes are accessible
timacdonald Jun 23, 2019
02acf9e
Merge pull request #2 from timacdonald/access_scope_test
staudenmeir Jun 23, 2019
8fe3f1f
Refactoring
staudenmeir Jun 23, 2019
43bd1d7
Use sortKeysDesc() in testSortKeysDesc() test
allcode Jun 23, 2019
d947d1d
Fix DocBlocks
driesvints Jun 24, 2019
94403f6
Fix columns parameter on paginate method
driesvints Jun 24, 2019
0d1bfae
Merge pull request #28929 from allcode/bugfix/fix-sort-keys-desc-test
taylorotwell Jun 24, 2019
d4c37c3
Use assertSame() for array test
staudenmeir Jun 24, 2019
f1455eb
Merge pull request #28940 from staudenmeir/assert-same
taylorotwell Jun 24, 2019
6f6f6ff
Remove unnecessary space
driesvints Jun 24, 2019
7ac7818
Merge pull request #28937 from driesvints/fix-columns-param-on-pagina…
taylorotwell Jun 24, 2019
2337d01
explicitly require classes instead of morph map keys
timacdonald Jun 24, 2019
0b88202
Merge pull request #5 from timacdonald/classes_required
staudenmeir Jun 25, 2019
c676fc0
Support wildcard and morph map
staudenmeir Jun 25, 2019
58da159
Create tests for some asserts methods
omarkdev Jun 25, 2019
eb0ed50
Test for Percent In Filename
barryvdh Jun 25, 2019
5ac66a8
Convert percentage sign in fallback filename
barryvdh Jun 25, 2019
c9303ae
CS
barryvdh Jun 25, 2019
e80ff25
CS
barryvdh Jun 25, 2019
95292af
Merge pull request #28947 from barryvdh/patch-12
taylorotwell Jun 25, 2019
c7bdf66
Merge pull request #28945 from omarkdev/5.8-tests-asserts
taylorotwell Jun 25, 2019
7c5f0f5
version
taylorotwell Jun 25, 2019
2184bfc
Revert "[5.8] Let mix helper use assets url"
GrahamCampbell Jun 25, 2019
f397233
Merge pull request #28950 from laravel/revert-28905-mixasseturl
themsaid Jun 25, 2019
1d8ec9a
version
taylorotwell Jun 25, 2019
3c4ca9c
MIX_ASSET_URL env variable
themsaid Jun 25, 2019
1a64cd9
use config
themsaid Jun 25, 2019
8d549fa
fix style
themsaid Jun 25, 2019
d9b850f
use mix_url
themsaid Jun 25, 2019
e557611
Prevent TestResponse::dump and ::dumpHeaders from stopping script exe…
Jun 26, 2019
6d4d15f
Merge pull request #28960 from d3jn/fix-test-response-dump
taylorotwell Jun 26, 2019
7b2ba16
Merge pull request #28952 from themsaid/pr/4237
taylorotwell Jun 26, 2019
8de4eb9
Pass down the serverVersion database connection option to Doctrine DB…
tonysm Jun 26, 2019
83693fd
[5.8] update changelog
TBlindaruk Jun 25, 2019
2f0b8ca
Allow TestResponse dump method chaining
Jun 26, 2019
ee4bf0d
Notification fake accepts custom channels
dwightwatson Jun 27, 2019
563e7d4
Replace contents of service manifest atomically
wmouwen Jun 27, 2019
8dcd047
Merge pull request #28973 from wmouwen/atomic_replace_service_manifest
taylorotwell Jun 27, 2019
effec60
Merge pull request #28967 from derekmd/test-response-dump-method-chai…
taylorotwell Jun 27, 2019
e163072
Merge branch 'fix-migration-and-serverVersion' of https://github.com/…
taylorotwell Jun 27, 2019
1b55b28
formatting
taylorotwell Jun 27, 2019
896906b
Merge pull request #28969 from dwightwatson/notification-fake
taylorotwell Jun 27, 2019
8e37255
Merge branch 'where-has-morph' of https://github.com/staudenmeir/fram…
taylorotwell Jun 27, 2019
7a734cf
formatting
taylorotwell Jun 27, 2019
db7b93b
Merge branch '5.8' of github.com:laravel/framework into 5.8
taylorotwell Jun 27, 2019
54fc65f
Replace self:: with static::
staudenmeir Jun 27, 2019
38e1ee1
Make sure changing a database field to binary does not include collation
Jun 27, 2019
0e7f0cf
Merge pull request #28974 from staudenmeir/static
taylorotwell Jun 27, 2019
5e57e5b
Use in_array instead of || operator
Jun 28, 2019
70cc971
Merge pull request #28975 from JSRM99/5.8
taylorotwell Jun 28, 2019
69609be
Fixes PHPDocs in MiddlewareNameResolver::resolve
nunomaduro Jun 28, 2019
256e133
Add setDriver()
stancl Jun 28, 2019
32325d9
Remove unnecessary whitespace
stancl Jun 28, 2019
dacad2a
Merge pull request #28983 from nunomaduro/patch-1
taylorotwell Jun 28, 2019
743e68f
Merge pull request #28985 from stancl/patch-3
taylorotwell Jun 28, 2019
8743e12
wording
taylorotwell Jun 28, 2019
a7fbb20
Store the Mailgun message ID in the header X-Mailgun-Message-ID after…
CyrilMazur Jun 29, 2019
9773ebc
Fix for ascii equivalent for greek letter theta
nikosv Jun 30, 2019
1b3f26d
Set a message for SuspiciousOperationException
GrahamCampbell Jun 30, 2019
7d8b9b3
Updated tests
GrahamCampbell Jun 30, 2019
52b2b19
Fixes Issue #28984
mikestratton Jun 30, 2019
f7e96b6
[5.8] update changelog
TBlindaruk Jun 30, 2019
1f3cbcf
Merge pull request #29001 from mikestratton/5.8
taylorotwell Jun 30, 2019
10a2cbd
Update Handler.php
taylorotwell Jun 30, 2019
b68ba23
Merge pull request #29000 from laravel/ex-message
taylorotwell Jun 30, 2019
d1512ee
Merge pull request #28999 from nikosv/patch-1
taylorotwell Jun 30, 2019
2dbe435
Fixed test
GrahamCampbell Jun 30, 2019
c7f7c1a
Merge pull request #28994 from CyrilMazur/5.8-mailgun-message-id
taylorotwell Jul 1, 2019
0596050
Only test on Redis 4.3.0 for now
driesvints Jul 2, 2019
f1dccff
version
taylorotwell Jul 2, 2019
314b535
make TestResponse tappable
SjorsO Jul 2, 2019
c126390
fail job immediately after it timeouts if it wont be ret…
themsaid Jul 2, 2019
05e8d14
Fixed cache setMultiple with an iterator
GrahamCampbell Jul 2, 2019
c400d8a
[5.8] update changelog
TBlindaruk Jul 2, 2019
0587d5a
Let users fil out if they use ATTR_EMULATE_PREPARES=true
mfn Jul 3, 2019
300a9c7
Use const HTTP_TOO_MANY_REQUESTS for readability
mercuryseries Jul 3, 2019
54bff8b
Merge pull request #29050 from mercuryseries/patch-1
taylorotwell Jul 3, 2019
ce651a8
Merge pull request #29048 from mfn/patch-4
taylorotwell Jul 3, 2019
b038bdc
Merge pull request #29039 from laravel/5.8-cache-set-multiple
taylorotwell Jul 3, 2019
446b009
Merge pull request #29024 from themsaid/failJobImmediately
taylorotwell Jul 3, 2019
48ab29c
Merge pull request #29033 from SjorsO/5.8
taylorotwell Jul 3, 2019
a15d0a7
Revert "Let users fill out if they use ATTR_EMULATE_PREPARES=true"
driesvints Jul 4, 2019
67fad0d
Fixed cache repository getMultiple implementation
GrahamCampbell Jul 2, 2019
28ba780
Merge pull request #29070 from laravel/revert-29048-patch-4
taylorotwell Jul 4, 2019
c4be803
Merge pull request #29047 from laravel/5.8-cache-get-multiple-fix
taylorotwell Jul 5, 2019
9add84a
Add mergeRecursive() method on collections
iamgergo Jul 5, 2019
bbb840e
add nested arrays to tests
iamgergo Jul 5, 2019
5dafefb
Merge pull request #29084 from iamgergo/5.8
taylorotwell Jul 5, 2019
ee678d1
Add replace() and replaceRecursive() methods on Collection
iamgergo Jul 5, 2019
f5dac6f
format test
iamgergo Jul 5, 2019
7eb7537
Merge pull request #29088 from iamgergo/5.8
taylorotwell Jul 6, 2019
0f36cd1
[5.8] update changelog
TBlindaruk Jul 7, 2019
c681ef4
Add only method to session
Jul 8, 2019
0fe3467
Update Store.php
taylorotwell Jul 8, 2019
ec4178b
Merge pull request #29107 from nicoeg/session-only-method
taylorotwell Jul 8, 2019
7341538
Revert "[5.8] Fixes Issue #28984, defer in app.js script prevents jqu…
driesvints Jul 8, 2019
8777464
Merge pull request #29109 from laravel/revert-29001-5.8
driesvints Jul 8, 2019
1b01c44
Elaborate entry not found exception
Ekman Jul 9, 2019
2cd6c80
Merge pull request #29114 from Ekman/5.8
taylorotwell Jul 9, 2019
341fb54
version
taylorotwell Jul 9, 2019
d3d2116
[5.8] update changelog
TBlindaruk Jul 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
phpunit.xml.dist export-ignore
CHANGELOG-* export-ignore
CODE_OF_CONDUCT.md export-ignore
CONTRIBUTING.md export-ignore
phpunit.xml.dist export-ignore
10 changes: 10 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Support

This repository is only for reporting bugs or issues. If you need support, please use the forums:

- https://laracasts.com/discuss
- https://laravel.io/forum

Alternatively, you may use [Slack](https://larachat.co/), [Discord](https://discordapp.com/invite/mPZNm7A), or [Stack Overflow](http://stackoverflow.com/questions/tagged/laravel).

Thanks!
7 changes: 7 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
php:
preset: laravel
js:
finder:
not-name:
- webpack.mix.js
css: true
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
before_install:
- phpenv config-rm xdebug.ini || true
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- printf "\n" | pecl install -f redis
- printf "\n" | pecl install -f redis-4.3.0
- travis_retry composer self-update
- mysql -e 'CREATE DATABASE forge;'

Expand Down
341 changes: 340 additions & 1 deletion CHANGELOG-5.8.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Laravel is a web application framework with expressive, elegant syntax. We belie
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked.

## Learning Laravel

Expand All @@ -38,7 +38,7 @@ In order to ensure that the Laravel community is welcoming to all, please review

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
Please review [our security policy](https://github.com/laravel/framework/security/policy) on how to report security vulnerabilities.

## License

Expand Down
26 changes: 19 additions & 7 deletions ...UE_TEMPLATE/5_Security_vulnerabilities.md → SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
---
name: "🔒 Security Vulnerabilities"
about: 'For reporting security-related issues, see: https://github.com/laravel/laravel#security-vulnerabilities'
# Security Policy

---
**PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, [SEE BELOW](#reporting-a-vulnerability).**

PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, SEE BELOW.
## Supported Versions

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.
Version | Security Fixes Until
--- | ---
5.8 | February 26th, 2020
5.7 | September 4th, 2019
5.6 | February 7th, 2019
5.5 (LTS) | August 30th, 2020
5.4 | January 24th, 2018
5.3 | August 23rd, 2017
5.2 | December 21st, 2016
5.1 (LTS) | June 9th, 2018
5.0 | February 4th, 2016

Public PGP Key:
## Reporting a Vulnerability

If you discover a security vulnerability within Laravel, please send an email to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.

### Public PGP Key

```
-----BEGIN PGP PUBLIC KEY BLOCK-----
Expand Down
18 changes: 11 additions & 7 deletions src/Illuminate/Auth/Access/Gate.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,11 @@ public function define($ability, $callback)
public function resource($name, $class, array $abilities = null)
{
$abilities = $abilities ?: [
'view' => 'view',
'create' => 'create',
'update' => 'update',
'delete' => 'delete',
'viewAny' => 'viewAny',
'view' => 'view',
'create' => 'create',
'update' => 'update',
'delete' => 'delete',
];

foreach ($abilities as $ability => $method) {
Expand Down Expand Up @@ -417,6 +418,8 @@ protected function methodAllowsGuests($class, $method)
*
* @param callable $callback
* @return bool
*
* @throws \ReflectionException
*/
protected function callbackAllowsGuests($callback)
{
Expand Down Expand Up @@ -527,7 +530,6 @@ protected function resolveAuthCallback($user, $ability, array $arguments)
}

return function () {
return null;
};
}

Expand Down Expand Up @@ -599,6 +601,8 @@ public function guessPolicyNamesUsing(callable $callback)
*
* @param object|string $class
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function resolvePolicy($class)
{
Expand Down Expand Up @@ -653,7 +657,7 @@ protected function resolvePolicyCallback($user, $ability, array $arguments, $pol
protected function callPolicyBefore($policy, $user, $ability, $arguments)
{
if (! method_exists($policy, 'before')) {
return null;
return;
}

if ($this->canBeCalledWithUser($user, $policy, 'before')) {
Expand All @@ -680,7 +684,7 @@ protected function callPolicyMethod($policy, $method, $user, array $arguments)
}

if (! is_callable([$policy, $method])) {
return null;
return;
}

if ($this->canBeCalledWithUser($user, $policy, $method)) {
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/AuthManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function __construct($app)
/**
* Attempt to get the guard from the local cache.
*
* @param string $name
* @param string|null $name
* @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard
*/
public function guard($name = null)
Expand Down
24 changes: 20 additions & 4 deletions src/Illuminate/Auth/AuthServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ class AuthServiceProvider extends ServiceProvider
public function register()
{
$this->registerAuthenticator();

$this->registerUserResolver();

$this->registerAccessGate();

$this->registerRequestRebindHandler();
$this->registerEventRebindHandler();
}

/**
Expand Down Expand Up @@ -75,7 +73,7 @@ protected function registerAccessGate()
}

/**
* Register a resolver for the authenticated user.
* Handle the re-binding of the request binding.
*
* @return void
*/
Expand All @@ -87,4 +85,22 @@ protected function registerRequestRebindHandler()
});
});
}

/**
* Handle the re-binding of the event dispatcher binding.
*
* @return void
*/
protected function registerEventRebindHandler()
{
$this->app->rebinding('events', function ($app, $dispatcher) {
if (! $app->resolved('auth')) {
return;
}

if (method_exists($guard = $app['auth']->guard(), 'setDispatcher')) {
$guard->setDispatcher($dispatcher);
}
});
}
}
19 changes: 16 additions & 3 deletions src/Illuminate/Auth/Console/AuthMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ public function handle()
*/
protected function createDirectories()
{
if (! is_dir($directory = resource_path('views/layouts'))) {
if (! is_dir($directory = $this->getViewPath('layouts'))) {
mkdir($directory, 0755, true);
}

if (! is_dir($directory = resource_path('views/auth/passwords'))) {
if (! is_dir($directory = $this->getViewPath('auth/passwords'))) {
mkdir($directory, 0755, true);
}
}
Expand All @@ -91,7 +91,7 @@ protected function createDirectories()
protected function exportViews()
{
foreach ($this->views as $key => $value) {
if (file_exists($view = resource_path('views/'.$value)) && ! $this->option('force')) {
if (file_exists($view = $this->getViewPath($value)) && ! $this->option('force')) {
if (! $this->confirm("The [{$value}] view already exists. Do you want to replace it?")) {
continue;
}
Expand All @@ -117,4 +117,17 @@ protected function compileControllerStub()
file_get_contents(__DIR__.'/stubs/make/controllers/HomeController.stub')
);
}

/**
* Get full view path relative to the app's configured view path.
*
* @param string $path
* @return string
*/
protected function getViewPath($path)
{
return implode(DIRECTORY_SEPARATOR, [
config('view.paths')[0] ?? resource_path('views'), $path,
]);
}
}
16 changes: 8 additions & 8 deletions src/Illuminate/Auth/Console/stubs/make/views/auth/login.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>

@if ($errors->has('email'))
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
<strong>{{ $message }}</strong>
</span>
@endif
@enderror
</div>
</div>

<div class="form-group row">
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>

<div class="col-md-6">
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required>
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">

@if ($errors->has('password'))
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
<strong>{{ $message }}</strong>
</span>
@endif
@enderror
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required>
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>

@if ($errors->has('email'))
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
<strong>{{ $message }}</strong>
</span>
@endif
@enderror
</div>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@
<label for="email" class="col-md-4 col-form-label text-md-right">{{ __('E-Mail Address') }}</label>

<div class="col-md-6">
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" required autofocus>
<input id="email" type="email" class="form-control @error('email') is-invalid @enderror" name="email" value="{{ $email ?? old('email') }}" required autocomplete="email" autofocus>

@if ($errors->has('email'))
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('email') }}</strong>
<strong>{{ $message }}</strong>
</span>
@endif
@enderror
</div>
</div>

<div class="form-group row">
<label for="password" class="col-md-4 col-form-label text-md-right">{{ __('Password') }}</label>

<div class="col-md-6">
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required>
<input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">

@if ($errors->has('password'))
@error('password')
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('password') }}</strong>
<strong>{{ $message }}</strong>
</span>
@endif
@enderror
</div>
</div>

<div class="form-group row">
<label for="password-confirm" class="col-md-4 col-form-label text-md-right">{{ __('Confirm Password') }}</label>

<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
</div>
</div>

Expand Down
Loading