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

iOS app powered by Turbo Native #496

Merged
merged 48 commits into from Jun 15, 2022
Merged

iOS app powered by Turbo Native #496

merged 48 commits into from Jun 15, 2022

Conversation

joemasilotti
Copy link
Owner

@joemasilotti joemasilotti commented Jun 15, 2022

This PR adds support for an iOS app powered by Turbo Native!

It covers a lot of different things, most notably:

  • New endpoints for native authentication
  • Push notification registration and sending when a new message is sent
  • Turbo Native variants and UI changes to hide top-level headers in app
  • Always redirects to sign in (not registration) on auth failure
  • Hides registration links in Turbo Native apps (for now)
  • Revamps Open Graph tags to show shorter ones on Turbo Native apps

Pull request checklist

  • My code contains tests covering the code I modified
  • I linted and tested the project with bin/check
  • I added significant changes and product updates to the changelog

@@ -0,0 +1,24 @@
module API
class ApplicationController < ApplicationController
skip_before_action :verify_authenticity_token

Check failure

Code scanning / CodeQL

CSRF protection weakened or disabled High

Potential CSRF vulnerability due to forgery protection being disabled or weakened.
@joemasilotti joemasilotti marked this pull request as ready for review June 15, 2022 04:31
@joemasilotti joemasilotti merged commit f0037ca into main Jun 15, 2022
4 checks passed
@joemasilotti joemasilotti deleted the ios-app branch June 15, 2022 04:32
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.

None yet

1 participant