Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Give admins the ability to disable AppStore redirects #1466

Merged
merged 1 commit into from
Dec 28, 2020

Conversation

sethvargo
Copy link
Member

Fixes #1463

Release Note

Give admins the ability to disable AppStore redirects for apps

/assign @whaught

/cc @mikehelmick

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Dec 28, 2020
@@ -1900,3 +1911,13 @@ func (db *Database) MigrateTo(ctx context.Context, target string, rollback bool)
}
return m.Migrate()
}

// multiExec is a helper that executes the given sql clauses against the tx.
func multiExec(tx *gorm.DB, sqls ...string) error {
Copy link
Member Author

Choose a reason for hiding this comment

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

@whaught unrelated, but I got annoyed writing migrations...

Copy link
Contributor

Choose a reason for hiding this comment

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

nice - we do this a lot

@sethvargo sethvargo mentioned this pull request Dec 28, 2020
@sethvargo sethvargo force-pushed the sethvargo/disable_redirect branch from abdbfe9 to ada0c40 Compare December 28, 2020 21:17
Copy link
Contributor

@whaught whaught left a comment

Choose a reason for hiding this comment

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

/lgtm
/hold one question about css. feel free to unhold

@@ -2,41 +2,75 @@

{{$app := .app}}

<style>
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be in application.css?

Copy link
Member Author

Choose a reason for hiding this comment

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

Meh, if we end up using it across multiple files we can move it over.

@@ -1900,3 +1911,13 @@ func (db *Database) MigrateTo(ctx context.Context, target string, rollback bool)
}
return m.Migrate()
}

// multiExec is a helper that executes the given sql clauses against the tx.
func multiExec(tx *gorm.DB, sqls ...string) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice - we do this a lot

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sethvargo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit a0d30f8 into main Dec 28, 2020
@google-oss-robot google-oss-robot deleted the sethvargo/disable_redirect branch December 28, 2020 21:55
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

iOS / ENX redirect
4 participants