docbrown/app/views/shared/authentication
Julianna Tetreault e1e18aa0aa
[15-Minute Fix] Ensure "Locked Screen" Checkbox Conditionally Renders (#14161)
* Uses Settings::UserExperience.public to conditionally render btn

* Updates landing page-related specs to account for private forem

* Uses Settings::UserExperience in place of ForemInstance in admin_creates_new_page_spec.rb

* Reverts Settings::UserExperience.public? changes throughout codebase
  - Removes any changes to ForemInstance.private?
  - Adds a new helper method, self.invitation_only?
  - Updates self.private? logic

* Updates landing page specs and reverts unnecessary changes
  - Reverts any changes that removed the check for
ForemInstance.private?
  - Updates landingPage.spec.js to use findByRole rather
than findByText

* Reverts a change to admin_manages_pages_spec.rb

* Updates landingPage.spec.js per PR review comment

* Updates #private_forem_or_no_enabled_auth_options and spec

* Uses .invite_only? in _providers_registration_form.html.erb

* Adjusts authenticationSection.spec.js to test that FB is enabled

* Updates necessary specs to check .invitation_only?

* Consistently uses invite_only_mode_or_no_enabled_auth_options
  - Updates all necessary places within the codebase to use
reverted method name, invite_only_mode_or_no_enabled_auth_providers
  - Updates #self.enabled to check ForemInstance.invitation_only?
rather than ForemInstance.private?
  - Reverts change to Facebook assertion within authenticationSection
e2e test

* Removes superfluous .to from authenticationSection.spec.js
2021-07-12 14:14:43 -06:00
..
_email_login_form.html.erb E2E Test: Initial Adminisitrator Login Flow (#11840) 2020-12-11 13:44:18 -05:00
_email_registration_form.html.erb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
_forem_creator_signup.html.erb Forem creator feature flag + onboarding signup form (#11031) 2020-10-23 10:52:21 -04:00
_initial_account_wizard.html.erb RFC 50: fix some more hardcoded paths (#13473) 2021-04-26 17:49:54 +02:00
_providers_registration_form.html.erb [15-Minute Fix] Ensure "Locked Screen" Checkbox Conditionally Renders (#14161) 2021-07-12 14:14:43 -06:00