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

[7787] Always use /request/ prefix #8142

Conversation

alexander-griffen
Copy link
Contributor

@alexander-griffen alexander-griffen commented Mar 1, 2024

Relevant issue(s)

Fixes #7787

What does this do?

This PR removes the Alaveteli Pro request path - /alaveteli_pro/info_requests/:url_title and ensures that the standard request path - /request/:url_title is followed instead.

Why was this needed?

Simplification of admin procedures.

@alexander-griffen alexander-griffen self-assigned this Mar 1, 2024
@alexander-griffen alexander-griffen force-pushed the 7787-always-use-request-prefix branch 2 times, most recently from 6ab78cf to afc78ed Compare March 15, 2024 10:30
@gbp gbp changed the base branch from develop to 7786-remove-locale-prefix-urls March 15, 2024 11:33
@gbp gbp changed the title WIP [7787] Always use /request/ prefix [7787] Always use /request/ prefix Mar 26, 2024
@gbp gbp force-pushed the 7787-always-use-request-prefix branch from ab5645b to 66d97c0 Compare March 26, 2024 13:48
@gbp gbp marked this pull request as ready for review March 26, 2024 14:31
@gbp gbp force-pushed the 7786-remove-locale-prefix-urls branch from 0ee6a01 to 11cbe40 Compare March 27, 2024 11:57
This commit does the following:
- Removes a redirect in the request controller to redirect embargoed
  requests for pro specific URL
- Replaces Alaveteli Pro request URLs and routes with the standard
  route
- Disables spec examples testing pro context redirection as these tests
  will need to be rewritten once the old routing is updated
This commit removes the Alaveteli Pro info request route
and also sets up a redirect from this route to the standard
request route.
This commit removes the redirect for public requests from the pro
context as it no longer can be ran
We're not redirecting to the pro specific request route any more,
instead update these tests to check when the pro livery is used or not.
@gbp gbp force-pushed the 7787-always-use-request-prefix branch from 66d97c0 to 74ed261 Compare March 27, 2024 11:57
@gbp
Copy link
Member

gbp commented Mar 27, 2024

Merged in 923a21e

@gbp gbp closed this Mar 27, 2024
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.

Always use /request/ prefix when displaying private requests
2 participants