Page MenuHomeDevCentral

Upgrade to Laravel 5.2
ClosedPublic

Authored by dereckson on Jun 26 2016, 16:35.
Tags
None
Referenced Files
F3748399: D412.diff
Sat, Nov 16, 08:36
Unknown Object (File)
Tue, Nov 12, 02:15
Unknown Object (File)
Sun, Nov 10, 01:32
Unknown Object (File)
Tue, Nov 5, 09:08
Unknown Object (File)
Tue, Nov 5, 06:27
Unknown Object (File)
Thu, Oct 31, 05:07
Unknown Object (File)
Sat, Oct 26, 15:40
Unknown Object (File)
Sat, Oct 26, 03:06
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.