canvas-lms/gems/bookmarked_collection
Matt Sessions 9623516a0f Refs MBL-9054 - Make todo items api paginate
Todo items uses 3 different scopes, so using
BookmarkedCollections we can paginate it.

Test Plan:
 - As a teacher, with at least 10 assignments
   that need grading
 - Hit the todo items api with a per_page less than 10
 - It should return pagination headers and using the
   next link should give you the rest of your todo items
 - As a student have more than 10 assignments that you need
   to submit in the next week
 - Hit the todo items api with a per_page less than 10
 - It should return pagination headers and using the next
   link should give you the rest of your todo items
 - Have ungraded quizzes that you need to take as a student
 - Hit the todo items api with a per_page less than 10 and
   include[]=ungraded_quizzes
 - It should return pagination headers and using the next
   link should give you the rest of your todo items

Change-Id: I725c2489d42e46f6b4165a3ac93ddc8fbb8b5faa
Reviewed-on: https://gerrit.instructure.com/134699
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Matthew Sessions <msessions@instructure.com>
2017-12-11 18:03:12 +00:00
..
lib Refs MBL-9054 - Make todo items api paginate 2017-12-11 18:03:12 +00:00
spec Refs MBL-9054 - Make todo items api paginate 2017-12-11 18:03:12 +00:00
Gemfile drop rails 4.2 2017-06-27 15:29:51 +00:00
Rakefile extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
bookmarked_collection.gemspec prep for Rails 5.1 2017-06-16 02:54:20 +00:00
test.sh simplify gem test harnesses 2016-01-19 17:52:58 +00:00