Commit Graph

9 Commits

Author SHA1 Message Date
James Williams 579ea9305f master courses: sync workflow states consistentishly
test plan:
* have a blueprint course
* have some objects
 (assignment, discussion, page, quiz, file, module, module item)
* sync them to a child course
* unpublish/publish them in the blueprint
* make sure that their publish/unpublish states sync over

* in the child course, publish/unpublish the objects
* syncs should no longer be carried over

closes #ADMIN-343

Change-Id: Ide1a58fed6eb52b34b31be6352613dfb57fc7696
Reviewed-on: https://gerrit.instructure.com/131920
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2017-11-15 17:41:53 +00:00
James Williams f2b4dea8a5 master courses: allow default restrictions to be set by type
closes #MC-186

Change-Id: I71ef6c255319f63ce20b47b98dee1b08e33acbb8
Reviewed-on: https://gerrit.instructure.com/110988
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2017-05-11 12:33:20 +00:00
Landon Wilkins ba2daaf158 da licença part 13
add consistent license headers to all source files
(ruby, coffeescript, javascript)

except for vendor files

Change-Id: I120ddb74d7f2a34153334b01d3ce2fb77000a631
Reviewed-on: https://gerrit.instructure.com/110034
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2017-04-27 21:51:17 +00:00
Jeremy Stanley fe535f92c0 allow more fine-grained locking for blueprint assignments
extract :points, :due_dates, and :availability_dates
from :settings

also allow {:all => true} shorthand in restrictions

test plan: specs (fine-grained locking is not supported in the
user-interface yet)

closes MC-99

Change-Id: I885192e6828b6628e73fcf4a532dda19143dd20a
Reviewed-on: https://gerrit.instructure.com/104163
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
2017-03-07 21:48:36 +00:00
James Williams 0dae91f7b0 master courses: add lock/unlocked icons on wiki page index
closes #MC-59

Change-Id: Id9e244ad70baffc0073c5fcb569258e3d28b0081
Reviewed-on: https://gerrit.instructure.com/99644
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2017-01-17 14:36:13 +00:00
James Williams f14490cfb3 master courses: restriction model validation proof-of-concept
provides a module we can include in models to specify
columns that are locked by master courses

closes #MC-17

Change-Id: Id012d26c87d4a5c73f3722c94af0859a981c0b77
Reviewed-on: https://gerrit.instructure.com/97008
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-12-08 16:44:00 +00:00
James Williams 90068faf7b master courses: selective master migrations
new content in a course after an initial full export
should be brought over in successive selective exports
to courses that are up to date

todo: invalidate the master content tags when changing
 master course content

closes #MC-13

Change-Id: I4168fd5bd302ab67855b6736730a551568c7124f
Reviewed-on: https://gerrit.instructure.com/95931
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-11-22 20:46:43 +00:00
James Williams f22e8b3f47 master courses: create master content tags
gives a place for us to keep track of changed items for now
(and soon the restrictions for content after copy)

closes #MC-7

Change-Id: I7bbd6e371528a06ea93181b0f4d91f451ae99d52
Reviewed-on: https://gerrit.instructure.com/95502
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-11-18 15:38:57 +00:00
James Williams adfedf14e2 master courses: create master template
even though this is 1-1 on courses right now
i think this should hold all of the rest of the
master course data just in case we decide to extend things
in the future

closes #MC-6

Change-Id: I821b8350984554c20f1306e84cb2d300e21d72b5
Reviewed-on: https://gerrit.instructure.com/95428
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-11-17 16:15:19 +00:00