docbrown/app/views/admin
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
..
articles Pin posts to feed (#13807) 2021-06-04 10:54:53 +02:00
badge_achievements Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
badges Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
broadcasts RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
chat_channels RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
comments Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
consumer_apps Make Consumer Apps dictate aasa results (#14015) 2021-06-24 08:36:11 -06:00
data_update_scripts Admin DataUpdateScripts: fix Re-run button label (#13825) 2021-05-21 17:35:09 +02:00
display_ads RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
email_messages Upgrade to Ahoy 2.0.x (#13085) 2021-04-06 10:12:32 -05:00
events Add loading=lazy to image tags (#10888) 2021-05-27 19:01:21 +02:00
feedback_messages Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
html_variants Titles & subtitles cleanup (#10508) 2020-10-02 12:37:39 +02:00
invitations Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
listing_categories RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
listings [15-min-fix] Add org id to admin listings form (#14162) 2021-07-08 09:23:10 -04:00
moderator_actions Override specified line break behaviour on the ID column (#12076) 2021-01-04 16:17:38 -05:00
mods Override specified line break behaviour on the ID column (#12076) 2021-01-04 16:17:38 -05:00
navigation_links Remove superfluous app_url from nav links index (#13302) 2021-04-07 11:50:10 -06:00
organizations Override specified line break behaviour on the ID column (#12076) 2021-01-04 16:17:38 -05:00
overview Replace admin guide links (#13967) 2021-06-23 15:01:01 -04:00
pages [15-minute fix] Disable 'Locked Screen' prompt for public Forems (#14029) 2021-06-30 10:09:38 +07:00
permissions Override specified line break behaviour on the ID column (#12076) 2021-01-04 16:17:38 -05:00
podcasts RFC 50: fix some more hardcoded paths (#13473) 2021-04-26 17:49:54 +02:00
privileged_reactions Override specified line break behaviour on the ID column (#12076) 2021-01-04 16:17:38 -05:00
profile_fields improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
response_templates RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
secrets RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
settings [15-Minute Fix] Ensure "Locked Screen" Checkbox Conditionally Renders (#14161) 2021-07-12 14:14:43 -06:00
shared Fix layout shift on active crayons-tabs change. (#13300) 2021-05-12 11:45:36 -04:00
sponsorships RFC#50-P5 Prepares the admin restructure to be tested (#13114) 2021-04-15 14:53:46 +02:00
tags Adds local: true to admin/tags/edit.html.erb remove mod button (#14057) 2021-06-23 12:34:53 -06:00
tools [deploy] Add a simple image uploader partial (#10884) 2020-10-21 16:41:50 +02:00
users Removing Settings::General.email_addresses (#13958) 2021-06-11 12:34:34 +03:00
webhook_endpoints [deploy] Adding Crayons to Admin (#10015) 2020-08-31 10:29:06 -04:00
welcome Titles & subtitles cleanup (#10508) 2020-10-02 12:37:39 +02:00