canvas-lms/app/helpers
Jeremy Stanley 966463926b [SOC-2] use terms_of_use_url and privacy_policy_url helpers
remove the account model methods, since these don't have
access to the request IP address, which is needed for
international terms of service.

test plan:
 0. enable self-enrollment in account settings
 1. enable self-enrollment in a course in the account
 2. register a new user using the course's self-enrollment URL
 3. terms of use and privacy policy links that appear on the
    "require acceptance of terms" dialog should function
    (and should not take the user to another "require
    acceptance of terms" dialog)
 4. create a new user via the Accounts page, then click the
    link in the email sent to the user to complete the registration.
    the terms of use/privacy policy links that appear in the dialog
    should work (as in 3). (note that you can go to
    /users/<id>/messages as an admin to see this email even if
    outbound email is not configured in your portal.)

closes CNVS-18025

Change-Id: Ibf19d2892c587f9e251917f70448212aac0709ad
Reviewed-on: https://gerrit.instructure.com/47607
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2015-01-23 22:30:27 +00:00
..
account_notification_helper.rb Notification icons will now look pretty for admins 2014-08-11 20:38:18 +00:00
accounts_helper.rb Show term info when you show course name, fixes #6837 2012-05-01 13:04:49 -06:00
application_helper.rb [SOC-2] use terms_of_use_url and privacy_policy_url helpers 2015-01-23 22:30:27 +00:00
assignments_helper.rb various i18n fixes 2014-10-28 19:05:56 +00:00
attachment_helper.rb remove scribd 2014-09-11 18:42:15 +00:00
avatar_helper.rb profile: display profile pic rounded, as elsewhere 2014-04-29 20:29:45 +00:00
calendar_events_helper.rb Re-enable a "show" page for Calendar Events. Fixes #CNVS-1229 2013-01-14 10:28:47 -07:00
calendars_helper.rb extract color gem 2014-02-27 17:38:32 +00:00
communication_channels_helper.rb make CommunicationChannelsController#confirm sharding-aware 2012-11-12 10:34:09 -07:00
content_imports_helper.rb make new migration UI the default 2013-07-08 17:19:06 +00:00
context_modules_helper.rb DA - load modules page in public courses 2015-01-07 21:24:32 +00:00
conversations_helper.rb add multiple students to an observer in the UI, closes #7768 2012-07-16 15:48:27 -06:00
courses_helper.rb remove unused code 2014-01-24 17:54:08 +00:00
dashboard_helper.rb Enchance a11y on dashboard activity feed 2014-09-24 16:23:15 +00:00
discussion_topics_helper.rb Update title for discussions and announcements 2014-05-12 15:45:12 +00:00
eportfolios_helper.rb escape translations when manually building html, fixes CNVS-10769 2014-01-27 23:25:52 +00:00
gradebooks_helper.rb various i18n fixes 2014-10-28 19:05:56 +00:00
groups_helper.rb group profile page 2012-06-07 02:00:06 -06:00
hmac_helper.rb get instead of post to create crocodoc_sessions 2014-06-17 20:23:21 +00:00
kaltura_helper.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
legal_information_helper.rb terms of use/privacy policy endpoints and extension point 2015-01-16 22:09:37 +00:00
pseudonym_sessions_helper.rb Allow accounts to specify session timeout time 2012-11-16 09:35:48 -07:00
quizzes_helper.rb Prevents unsanitized MFITB variables from showing to student 2015-01-08 19:43:28 +00:00
search_helper.rb search helper performance improvements 2014-12-12 16:51:27 +00:00
self_enrollments_helper.rb self-enrollment API, fixes CNVS-10419 2014-01-15 21:17:04 +00:00
stream_items_helper.rb i18nliner(.rb) 2014-10-29 21:59:39 +00:00
user_notes_helper.rb i18n user_notes 2011-06-22 09:42:41 -06:00
wiki_pages_helper.rb Initial commit. 2011-01-31 18:57:29 -07:00