docbrown/app/views/admin/settings/forms
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
..
authentication Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_api_tokens.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_authentication.html.erb [15-Minute Fix] Ensure "Locked Screen" Checkbox Conditionally Renders (#14161) 2021-07-12 14:14:43 -06:00
_campaign.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_community.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_credits.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_email_digest_frequency.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_emails.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_google_analytics.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_images.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_mandatory.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_mascot.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_meta_keywords.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_monetization.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_newsletter.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_onboarding.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_rate_limit.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_smtp.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_sponsors.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_tags.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00
_user_experience.html.erb Refactor admin settings view into partials (#13950) 2021-06-15 10:30:24 +07:00