Skip to content

Use Laravel routing instead of public-facing PHP files#1340

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:deprecate-old-routes
Apr 4, 2023
Merged

Use Laravel routing instead of public-facing PHP files#1340
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:deprecate-old-routes

Conversation

@williamjallen
Copy link
Copy Markdown
Collaborator

Most AngularJS-based pages and their corresponding API endpoints are individual publicly-accessible PHP files. As our migration to Laravel progresses, it will be useful to have all of our routing done through Laravel. This PR moves several AngularJS-based pages and their corresponding endpoints to a Laravel controller, with Laravel routing. These changes serve as the first step towards a total migration to Laravel routing. I plan to make a sequence of similar PRs to migrate these pages in small batches.

All of the previous routes have been kept and no new routes have been added. In the future, it would be good to overhaul our routing scheme, but that may have to wait until the next major version of CDash.

@williamjallen williamjallen force-pushed the deprecate-old-routes branch 3 times, most recently from 07d6982 to 62c1628 Compare April 3, 2023 17:55
@williamjallen williamjallen force-pushed the deprecate-old-routes branch from 62c1628 to 2e5ef27 Compare April 3, 2023 20:51
@williamjallen williamjallen marked this pull request as ready for review April 3, 2023 21:42
Copy link
Copy Markdown
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I can't find functionality differences or broken links on the local instance.

@josephsnyder josephsnyder merged commit d87b3e0 into Kitware:master Apr 4, 2023
@williamjallen williamjallen deleted the deprecate-old-routes branch April 4, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants