Skip to content

Remove Moonrope#2889

Merged
adamcooke merged 1 commit intomainfrom
remove-moonrope
Mar 19, 2024
Merged

Remove Moonrope#2889
adamcooke merged 1 commit intomainfrom
remove-moonrope

Conversation

@adamcooke
Copy link
Contributor

This removes the dependency on Moonrope for the API. This API is going to be deprecated shortly in favour of the new API which will be powered by Apia and before doing that removing some of this old debt is worthwhile.

This reproduces the same behaviour of the API using standard Rails controllers. I anticipate on keeping these endpoints live until at least Postal v5.

@adamcooke adamcooke force-pushed the remove-moonrope branch 2 times, most recently from 21f4849 to 5bae898 Compare March 19, 2024 07:44
class BaseController < ActionController::Base

skip_before_action :set_browser_id
skip_before_action :verify_authenticity_token

Check failure

Code scanning / CodeQL

CSRF protection weakened or disabled

Potential CSRF vulnerability due to forgery protection being disabled or weakened.
@adamcooke adamcooke force-pushed the remove-moonrope branch 4 times, most recently from 3f319ee to a62e163 Compare March 19, 2024 17:56
@adamcooke adamcooke merged commit 4d9654d into main Mar 19, 2024
@adamcooke adamcooke deleted the remove-moonrope branch March 19, 2024 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant