Page MenuHomeDevCentral

Upgrade to Laravel 5.2
ClosedPublic

Authored by dereckson on Jun 26 2016, 16:35.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 18, 07:21
Unknown Object (File)
Tue, Dec 17, 12:17
Unknown Object (File)
Fri, Dec 13, 11:46
Unknown Object (File)
Thu, Dec 12, 22:57
Unknown Object (File)
Mon, Dec 9, 11:45
Unknown Object (File)
Sat, Dec 7, 15:20
Unknown Object (File)
Sat, Dec 7, 15:20
Unknown Object (File)
Sat, Dec 7, 15:20
Subscribers
None

Details

Summary

Laravel 5.2 has refactored authentication. As the Auth Grove
implements some aspects of the authentication mechanism, this
commit sync'ed our code with upstream changes.

Major changes:

  • Configuration has been upgraded
  • Routes and HTTP controllers have been reimplemented
  • We can now use the AuthenticatesAndRegistersUsers default trait

Minor changes:

  • ::class attribute is used instead of a string for types
  • /auth route now redirects to /login
  • a new auth l10n file handles auth messages in addition to login

Fixes T840.

Test Plan
  • unit tests pass
  • manual tests for login, logout, register, reset, recover auth routes

Diff Detail

Repository
rGROVE Auth Grove
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Upgrade to Laravel 5.2.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson added a task: Restricted Maniphest Task.
dereckson updated this object.
dereckson removed a task: Restricted Maniphest Task.
dereckson edited edge metadata.

Okay, but CLI is to be tested too, and a minor change in config is required.

config/compile.php
18–19

AuthServiceProvioder is missing

dereckson marked an inline comment as done.
dereckson edited edge metadata.

Updated compile.php

dereckson edited edge metadata.

CLI tools still work fine.

This revision is now accepted and ready to land.Jun 26 2016, 18:21
This revision was automatically updated to reflect the committed changes.