canvas-lms/lib
Joel Hough a9626310f8 make [quiz|assignment].locked_for? vdd aware
fixes #CNVS-517
fixes #CNVS-761

test plan
- start with a course with students in different sections
- create a quiz with a lock date that locks the quiz currently
- create a lock date override that unlocks the quiz for one section
- ensure that a student from a section that the override does not apply to
  does see a lock icon on the course's quizzes list for the quiz
- ensure that a student from the section that the override does apply to
  does not see a lock icon on the course's quizzes list for the quiz

Change-Id: Ic1f553818ff106e1d29a8f1b66d8445b99aecffc
Reviewed-on: https://gerrit.instructure.com/16228
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Marc LeGendre <marc@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
2012-12-21 10:38:06 -07:00
..
api/v1 translate user content in activity stream discussion topics 2012-12-19 13:18:38 -07:00
basic_lti fix lti passback for assignments with no points_possible. 2012-10-11 17:09:38 -06:00
canvas fix wrapping of hash enumeration block params 2012-12-14 10:43:21 -07:00
cc whitelist for xsd files for the cc module 2012-12-04 11:54:16 -07:00
data_fixup improve stream item migration 2012-12-17 15:46:35 -07:00
ext fix usage of instance_methods for 1.9 compat 2012-10-30 14:18:58 -06:00
handlebars pull in css files needed by handlebars templates 2012-07-18 09:48:10 -06:00
i18n_extraction AMD Conversion 2012-02-06 16:41:40 -07:00
kaltura Revert HTML5 video playback and subtitles 2012-11-16 11:30:53 -07:00
reporting change tracking of active teachers/students/users 2012-10-29 12:20:36 -06:00
sis course role support in sis import/export 2012-12-10 08:41:20 -07:00
stubs include enrollments from all shards closes #6900 2012-11-01 11:47:07 -06:00
tasks Ruby 1.9: fix running rake on production nodes 2012-12-19 11:53:53 -07:00
api.rb minor refactor and clean up api_find 2012-10-25 08:54:29 -06:00
api_route_set.rb collections models and api 2012-05-10 13:38:58 -06:00
api_routes.rb support marking API methods as internal 2012-11-02 15:25:24 -06:00
asset_signature.rb Better signatures for message redirects 2012-12-13 12:12:58 -07:00
assignment_override_applicator.rb make [quiz|assignment].locked_for? vdd aware 2012-12-21 10:38:06 -07:00
authentication_methods.rb store and query hashed access tokens 2012-10-18 13:03:53 -06:00
auto_handle.rb use ActiveSupport::SecureRandom when generating random tokens 2011-07-18 14:44:59 -06:00
basic_lti.rb added user_image to basic_lti closes #CNVS-1310 2012-12-20 15:53:56 -07:00
canvas.rb redis config fix automation 2012-12-18 11:13:02 -07:00
cc.rb add calendar events to export/import 2011-04-26 12:28:31 -06:00
color.rb Initial commit. 2011-01-31 18:57:29 -07:00
content_zipper.rb sanitize ContentZipper temporary zip names fixes #11842 2012-11-14 16:19:03 -07:00
copy_authorized_links.rb Initial commit. 2011-01-31 18:57:29 -07:00
custom_validations.rb API for adding files by URL 2012-08-15 16:38:50 -06:00
cuty_capt.rb image support for collection items 2012-05-17 12:56:24 -06:00
dates_overridable.rb make [quiz|assignment].locked_for? vdd aware 2012-12-21 10:38:06 -07:00
delicious_diigo.rb fix cert verification in delicious calls 2011-11-18 09:12:03 -07:00
enrollments_from_user_list.rb remove "auto-accept" feature closes #7160 2012-02-10 15:13:11 -07:00
eportfolio_page.rb 1.9 - fix eportfolios 2012-05-17 23:10:51 -06:00
external_feed_aggregator.rb a few more things to skip for deleted root accounts refs #6891 2012-08-21 13:49:23 -06:00
external_statuses.rb Initial commit. 2011-01-31 18:57:29 -07:00
facebook.rb fix link on facebook page 2012-10-15 14:43:53 -06:00
file_in_context.rb preserve module file items when overwriting files via zip 2012-09-14 13:54:38 -06:00
file_splitter.rb Initial commit. 2011-01-31 18:57:29 -07:00
google_doc_entry.rb [#5773] multiple ruby 1.9 spec fixes 2012-10-23 10:14:24 -06:00
google_docs.rb block google docs while masquerading; fixes #9348 2012-07-13 16:46:55 -06:00
grade_calculator.rb revert several grade calculation changes 2012-09-18 09:20:51 -06:00
gradebook_csv_parser.rb csv lib compat in ruby 1.9.x 2011-10-12 09:36:18 -06:00
gradebook_importer.rb do gradebook upload diffing server side 2012-03-05 13:32:46 -07:00
has_content_tags.rb run "update_associated_content_tags" synchronously to prevent race condition 2012-11-02 10:02:41 -06:00
host_url.rb spec: fix specs with a plugin that overrides HostUrl.file_host_with_shard 2012-11-12 15:50:46 -07:00
i18n_time_zone.rb localize Profile 2011-06-24 09:32:53 -06:00
imported_html_converter.rb don't try to convert html value attributes as urls 2012-11-06 19:17:28 -07:00
incoming_message_processor.rb fix sending bounce emails 2012-11-01 15:31:57 -06:00
learning_outcome_context.rb Nested outcomes UI, closes #9158 2012-10-25 11:03:21 -06:00
linked_in.rb don't cache twitter and linked_in settings process-wide 2012-05-25 10:13:03 -06:00
locale_selection.rb infer locale for groups based on group context; fixes #7069 2012-04-09 10:48:19 -06:00
message_dispatcher.rb don't dispatch cancelled messages, fixes #7397 2012-02-24 12:21:21 -07:00
model_cache.rb fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
multipart.rb file upload api, refs #7775 2012-03-27 15:33:27 -06:00
mutable.rb cross shard dashboards 2012-11-29 17:36:24 -07:00
nil_store.rb Initial commit. 2011-01-31 18:57:29 -07:00
paginated_collection.rb total_pages for PaginatedCollection::Collection 2012-11-20 16:53:36 -07:00
permissions.rb allow registering new permissions in plugins 2012-03-02 09:38:06 -07:00
quiz_question_data_fixer.rb migration to fix bad assessment question data 2012-01-06 12:30:09 -07:00
quiz_question_link_migrator.rb don't die if a file or question is missing 2011-11-22 17:36:40 -07:00
request_context_generator.rb set a header with the session id (for logging purposes) 2012-07-13 16:12:33 -06:00
scribd_api.rb preliminary i18n setup, closes #4124 2011-06-06 14:19:03 -06:00
send_to_inbox.rb fix inbox_item creation with too-long of subjects 2012-09-20 13:03:26 -06:00
send_to_stream.rb cross shard dashboards 2012-11-29 17:36:24 -07:00
simple_tags.rb filter conversations by user or group, fixes #7175 2012-02-17 15:56:56 -07:00
sis.rb new generic-format importer classes 2011-09-26 11:24:58 -06:00
skip_callback.rb refactor sticky sis fields 2011-09-27 16:34:37 -06:00
sorts_assignments.rb add presenters folder 2012-11-29 16:08:47 -07:00
ssl_common.rb support funky characters in username/passwords for http url parsing 2011-09-08 14:21:50 -06:00
stats.rb updated stats and related specs for situations in which there is very little data and we want quartiles. 2012-02-17 22:03:20 -07:00
sticky_sis_fields.rb [#5773] Ruby 1.9.3 spec fixes 2012-10-25 09:34:28 -06:00
submission_list.rb change system-graded assignment text on grade history page. 2012-09-07 08:12:24 -06:00
summary_message_consolidator.rb batch up delayed message sending jobs 2012-09-28 10:41:37 -06:00
syslog_wrapper.rb log context when using local rails buffered logger 2011-07-25 13:25:18 -06:00
text_helper.rb self enrollment refactor to facilitate CN integration 2012-12-19 12:29:47 -07:00
tinychat.rb don't cache tinychat settings on the Tinychat class 2012-03-14 23:08:21 -06:00
tmail_parser.rb Initial commit. 2011-01-31 18:57:29 -07:00
turnitin.rb sending last name to turnitin 2012-10-22 10:27:23 -06:00
twitter.rb Better signatures for message redirects 2012-12-13 12:12:58 -07:00
twitter_messenger.rb Better signatures for message redirects 2012-12-13 12:12:58 -07:00
unzip_attachment.rb Prevent malicious zip uploads 2012-11-30 08:35:02 -07:00
user_content.rb improve link handling in exports 2012-09-26 09:32:33 -06:00
user_list.rb Capture a users initial_enrollment_type when invited to a course. Fixes #10893 2012-10-04 14:26:15 -06:00
uuid_singleton.rb Initial commit. 2011-01-31 18:57:29 -07:00
workflow.rb fix licensing on workflow library 2011-05-03 12:25:21 -06:00
xmlcanonicalizer.rb Initial commit. 2011-01-31 18:57:29 -07:00
zip_extractor.rb Initial commit. 2011-01-31 18:57:29 -07:00