Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project overview
  • Repository
  • Issues 397
  • Merge Requests 63
  • CI / CD
  • Security & Compliance
  • Packages
  • Analytics
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Merge Requests
  • !761

Closed
Opened 2 days ago by Emiliano Balbuena@edgebal
Report abuse

WIP: Fix email confirmation on SSR

  • Overview 2
  • Commits 4
  • Pipelines 4
  • Changes 6
0/2 threads resolved

Summary

Fix email confirmation not being triggered on SSR site

  • Closes #2535 (closed)

Steps to test

  • Go to review site
  • Register a new user with a valid email address
  • Go to your inbox and click the confirmation link/button
  • Ensure the "Confirm your email" blue banner does not show
  • Reload, and ensure the blue banner is still not showing
  • Go to Menu > Settings > Email Confirmation
  • Change your email to a valid email address
  • Go to newsfeed. Ensure the blue banner appears again
  • Go to your inbox and click the confirmation link/button
  • Ensure the blue banner doesn't show
  • Reload, and confirm the blue banner is still not showing

Estimated Regression Scope

  • SSR server engine and bootstrap
  • Email confirmation
Request to merge fix/ssr-email-confirmation into master
Pipeline #115002530 passed with warnings for cd149973 on fix/ssr-email-confirmation
              Requires 3 more approvals from Devs, Deployers, and QA.
              Marcelo Rivera Brian Hatchet Rami Albatal Xander Miller Olivia Madrid

              Closed by Mark Harding 17 minutes ago

              The changes were not merged into master

              Did not close #2535 (closed)

              Deletes source branch

              • Emiliano Balbuena @edgebal added Squad::Yellow scoped label 2 days ago

                added scoped label

              • Emiliano Balbuena @edgebal added 1 commit 2 days ago

                added 1 commit

                • 5f026303 - (wip): Get request URL

                Compare with previous version

              • Emiliano Balbuena @edgebal added 1 commit 2 days ago

                added 1 commit

                • 4aa92b4c - (wip): Use value at instantiation time; fix test

                Compare with previous version

              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 2 days ago
                server.ts
                76 76 provideModuleMap,
                77 77 } = require('@nguniversal/module-map-ngfactory-loader');
                78 78
                79 app.engine(
                80 'html',
                81 ngExpressEngine({
                79 app.engine('html', (_, options, callback) => {
                80 const engine = ngExpressEngine({
                82 81 bootstrap: AppServerModuleNgFactory,
                83 providers: [provideModuleMap(LAZY_MODULE_MAP)],
                84 })
                85 );
                82 providers: [
                83 {
                • Mark Harding
                  Mark Harding @markeharding · 2 days ago
                  Owner

                  Why are we doing this here vs on L150?

                • Please register or sign in to reply
              • Mark Harding
                Mark Harding @markeharding started a thread on the diff 2 days ago
                server.ts
                76 76 provideModuleMap,
                77 77 } = require('@nguniversal/module-map-ngfactory-loader');
                78 78
                79 app.engine(
                80 'html',
                81 ngExpressEngine({
                79 app.engine('html', (_, options, callback) => {
                80 const engine = ngExpressEngine({
                82 81 bootstrap: AppServerModuleNgFactory,
                83 providers: [provideModuleMap(LAZY_MODULE_MAP)],
                84 })
                85 );
                82 providers: [
                83 {
                • Mark Harding
                  Mark Harding @markeharding · 2 days ago
                  Owner

                  Also, it's not just SSR that requires it, it's the browser too.

                • Please register or sign in to reply
              • Emiliano Balbuena @edgebal added 1 commit 2 days ago

                added 1 commit

                • cd149973 - (wip): Get query string

                Compare with previous version

              • Mark Harding @markeharding closed 17 minutes ago

                closed

              Please register or sign in to reply
              Assignee
              Emiliano Balbuena's avatar
              Emiliano Balbuena @edgebal
              None
              Milestone
              None
              Time tracking
              No estimate or time spent
              1
              Labels
              Squad::Yellow
              Lock merge request
              Unlocked
              10
              10 participants
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              user avatar
              Reference: minds/front!761