canvas-lms/app
Simon Williams 3274664b12 change User model to use dates_hash_visible_to
it was the only external user of all_dates_visible_to, so making this change
allows all_dates_visible_to to be module private.  additionally,
dates_hash_visible_to will ignore the default due date if all sections are
overridden, which is a more standard behavior.

closes CNVS-10538

test plan:
- basic regression test of the 'upcoming assignments' list on the user and
  course dashboards for assignments with multiple due dates (check different
  combinations of overriding all/some sections, and having dates in
  and outside of the 'upcoming' window)

Change-Id: I13ca8a61d8813204edb88f1812ec51783d6a24ce
Reviewed-on: https://gerrit.instructure.com/28658
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cameron Sutter <csutter@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2014-01-24 22:20:48 +00:00
..
coffeescripts add outcome gradebook sidebar toggle 2014-01-24 21:42:12 +00:00
controllers Conversations: allow messages to groups in unpublished courses 2014-01-24 18:08:42 +00:00
helpers remove unused code 2014-01-24 17:54:08 +00:00
messages move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
middleware change encrypted cookie store to fix session timeout plugin 2013-12-05 21:08:50 +00:00
models change User model to use dates_hash_visible_to 2014-01-24 22:20:48 +00:00
observers don't include submissions in recent_stream_items 2013-01-03 15:42:39 -07:00
presenters move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
serializers move quiz into quizzes namespace as a precursor to enginifying 2014-01-24 00:08:46 +00:00
services Quiz Submission Questions API - Update 2014-01-23 17:49:36 +00:00
stylesheets add outcome gradebook sidebar toggle 2014-01-24 21:42:12 +00:00
views add outcome gradebook sidebar toggle 2014-01-24 21:42:12 +00:00