mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-26 05:42:13 +00:00
Remove feature-flag bootstrap-5-subscription
(#23114)
GitOrigin-RevId: 4a8dadb7e5ae65c2651b1eeb317bb43daca881c8
This commit is contained in:
parent
ccb2791a0d
commit
5d42e51d3e
9 changed files with 0 additions and 39 deletions
|
@ -53,14 +53,6 @@ async function userSubscriptionPage(req, res) {
|
|||
|
||||
await SplitTestHandler.promises.getAssignment(req, res, 'pause-subscription')
|
||||
|
||||
// Populates splitTestVariants with a value for the split test name and allows
|
||||
// Pug to read it
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'bootstrap-5-subscription'
|
||||
)
|
||||
|
||||
const { variant: flexibleLicensingVariant } =
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
|
@ -206,12 +198,6 @@ async function successfulSubscription(req, res) {
|
|||
if (!personalSubscription) {
|
||||
res.redirect('/user/subscription/plans')
|
||||
} else {
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'bootstrap-5-subscription'
|
||||
)
|
||||
|
||||
res.render('subscriptions/successful-subscription-react', {
|
||||
title: 'thank_you',
|
||||
personalSubscription,
|
||||
|
@ -305,11 +291,6 @@ function cancelSubscription(req, res, next) {
|
|||
* @returns {Promise<void>}
|
||||
*/
|
||||
async function canceledSubscription(req, res, next) {
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'bootstrap-5-subscription'
|
||||
)
|
||||
return res.render('subscriptions/canceled-subscription-react', {
|
||||
title: 'subscription_canceled',
|
||||
user: SessionManager.getSessionUser(req.session),
|
||||
|
|
|
@ -14,7 +14,6 @@ import EmailHandler from '../Email/EmailHandler.js'
|
|||
import { RateLimiter } from '../../infrastructure/RateLimiter.js'
|
||||
import Modules from '../../infrastructure/Modules.js'
|
||||
import UserAuditLogHandler from '../User/UserAuditLogHandler.js'
|
||||
import SplitTestHandler from '../SplitTests/SplitTestHandler.js'
|
||||
|
||||
const rateLimiters = {
|
||||
resendGroupInvite: new RateLimiter('resend-group-invite', {
|
||||
|
@ -70,12 +69,6 @@ async function viewInvite(req, res, next) {
|
|||
const { invite, subscription } =
|
||||
await TeamInvitesHandler.promises.getInvite(token)
|
||||
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'bootstrap-5-subscription'
|
||||
)
|
||||
|
||||
if (!invite) {
|
||||
return ErrorController.notFound(req, res)
|
||||
}
|
||||
|
@ -192,12 +185,6 @@ async function viewInvites(req, res, next) {
|
|||
groupSubscription.teamInvites.find(invite => invite.email === user.email)
|
||||
)
|
||||
|
||||
await SplitTestHandler.promises.getAssignment(
|
||||
req,
|
||||
res,
|
||||
'bootstrap-5-subscription'
|
||||
)
|
||||
|
||||
return res.render('subscriptions/team/group-invites', {
|
||||
teamInvites,
|
||||
user,
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/canceled-subscription'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/dashboard'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/successful-subscription'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/group-invites'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/invite-managed'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block entrypointVar
|
||||
- entrypoint = 'pages/user/subscription/invite'
|
||||
|
|
|
@ -2,7 +2,6 @@ extends ../../layout-react
|
|||
|
||||
block vars
|
||||
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
||||
- bootstrap5PageSplitTest = 'bootstrap-5-subscription'
|
||||
|
||||
block append meta
|
||||
meta(name="ol-user" data-type="json" content=user)
|
||||
|
|
Loading…
Add table
Reference in a new issue