Commit Graph

13585 Commits

Author SHA1 Message Date
Cameron Sutter f2e2e76d5b Grading Period Grade join table - MGP
fixes CNVS-16454

test plan:
 * test in the console
 - `GradingPeriodGrade.all` should return `[]` (no error)
 - `Enrollment.find(1).grading_period_grades` should return `[]` (no error)
 - make a GradingPeriod:
   `g = GradingPeriod.create(weight: 100, start_date: Time.now, end_date: 1.month.from_now)`
   `g.save!`
 - `g.grading_period_grades` should return `[]` (no error)

Change-Id: I7183d715dbfac3fcd89ab7e453237ad4ce6c650d
Reviewed-on: https://gerrit.instructure.com/45312
Product-Review: Cameron Sutter <csutter@instructure.com>
Reviewed-by: Nick Cloward <ncloward@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
2014-12-11 17:28:33 +00:00
Colleen Palmer ffb111603c Color contrast - User avatars
fixes CNVS-16010

This changes the icon on the modal so that it meets accessibility
standards.

Test Plan:

- As a student go to your profile and click to change your icon
- The 'x' that appears on the modal now passes

- Go to styleguide and click on Modal Dialog > Show Dialog to see
the change in the global modal as well

Note for UI:
These modals are legacy and although still used throughout canvas
it felt best to replace the image with an svg than a png instead
of figuring out how to put in an <i> tag within the modal html.

Change-Id: Ia893ecc7d2f891dc92e8902060504292f67e10f9
Reviewed-on: https://gerrit.instructure.com/45353
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Chris Hart <chart@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Chris Hart <chart@instructure.com>
2014-12-11 17:26:17 +00:00
Paul Hinze 5e6783d969 use https for amara integration
Currently you get a warning when you click the "Go to subtitle creation
tool" button because you are posting a form to an HTTP URL from an HTTPS
one (Canvas). This should fix that warning.

Test plan:

 - On an uploaded video, click the subtitle tool and choose "Upload
   subtitles"
 - On the popup, click "Go to subtitle creation tool"
 - There should be no warning message shown

Change-Id: I1743399d8a2ceb07740b8ca5948ea2741aa99594
Reviewed-on: https://gerrit.instructure.com/45077
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Paul Hinze <paulh@instructure.com>
2014-12-11 16:42:24 +00:00
Michael Nomitch 3c03c5d52e allow non-admin teachers to get user profiles
fixes CNVS-8913

test plan:
  - as a non-admin teacher
      - request student profile from api (users/:id/profile)
        - see that it works for your students
        - not for others though
  - as an admin
      - request student profile from api (users/:id/profile)
      - see that it works
  - as a student
    - go to profile page, see that it works
    - go to another students profile, see that it doesnt
    - request profile from api (users/:id/profile) see that
      it works the same

Change-Id: Ic4b32bfa3beecf23ac95c75c948880306ef55d60
Reviewed-on: https://gerrit.instructure.com/45230
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Adam Stone <astone@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
2014-12-11 16:02:46 +00:00
Transifreq e048d95bd5 Updated zh_Hant translation
Change-Id: I6f30d7c88727977e6cf221aafe21447f7d6c319f
2014-12-11 05:26:00 -07:00
Transifreq c6904b8386 Updated tr translation
Change-Id: I761b135ddc3bf167ad2fc3cd151deda2428af1f9
2014-12-11 05:23:12 -07:00
Transifreq adbd8f983a Updated ko translation
Change-Id: I104b9601526d24e72dbc924fc6481a64281b415a
2014-12-11 05:14:11 -07:00
James Williams f14da8a53c fix course settings "hide totals" setting
test plan:
* should be able to set the "Hide totals in
student grades summary" in course settings
and save properly

(side bonus: it should stay disabled while reloading)

closes #CNVS-17329

Change-Id: I3150654bf0b17a143c1ca8af004af9823aad731d
Reviewed-on: https://gerrit.instructure.com/45487
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2014-12-11 04:11:22 +00:00
Cameron Matheson d9262af160 turnitin: increase check status attempts
closes CNVS-16212

Change-Id: I33a12b1e13b47fa981f12fd80fb516da8d69c918
Reviewed-on: https://gerrit.instructure.com/45554
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Josh Simpson <jsimpson@instructure.com>
Product-Review: Josh Simpson <jsimpson@instructure.com>
2014-12-10 23:06:52 +00:00
Cameron Sutter df0a596cfb MGP - filter submissions
fixes CNVS-17104

test plan:
 * turn on MGP feature flag
 * using the submissions api
   /api/v1/courses/1/students/submissions
 * with the same parameters as gb uses
   - grouped=1
   - list of student ids (student_ids[]=<id>&student_ids[]=<id>)
 - add the grading_period_id parameter with the appropriate id
   - &grading_period_id=<id>
 > the response should only include submissions
   from assignments in that grading period

Change-Id: Ic1ff47564bf16cd1d158ee6a3307ed76a96915c9
Reviewed-on: https://gerrit.instructure.com/45404
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Josh Simpson <jsimpson@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Cameron Sutter <csutter@instructure.com>
2014-12-10 22:46:35 +00:00
Clay Diffrient 4c31d1ef85 Adds Usage Rights to Files preview and search results
closes CNVS-15868

Test Plan:
	- Enable Usage Rights
	- Go to New Files
	- Search for something
	- You should see usage rights reflected in the list of results
	- Preview an item
	- Open the info panel
	- Usage rights should be shown in the info panel

Change-Id: Ie7388597e9f9819cf5853584dc79c1b71945ea1d
Reviewed-on: https://gerrit.instructure.com/44432
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2014-12-10 22:35:31 +00:00
Dan Minkevitch 80ec21ab17 Adds an iterator to duplicate file names
When a file is uploaded via the WikiSidebar,
it can be uploaded multiple times with the same
name.  This commit adds an iterator to uploaded
files so that if the file has already been uploaded
or a file with the same name already exists,
an iterator is added to the newly uploaded file
to prevent duplicates (e.g. file.jpg, file-1.jpg, file-2.jpg).

fixes CNVS-17361

Test Plan:
* Enable "Better File Browsing" feature flag
* Go to any course's Pages section (as admin/teacher)
* Create a new page or edit an existing one
* On the create/edit page, select the "Files"
  tab from the WikiSidebar on the right
* Click "+ Upload a new file"
* Select some file, then upload it
* Upload the same file again, multiple times
* Go to that course's Files page
* In the course files (or wherever you chose to
  upload the file), the file you uploaded should be
  there, along with additional files with the same name
  followed by an iterator (e.g. yourfile.png, yourfile-1.png,
  yourfile-2.png, etc)

Change-Id: Iaa1307305659bf3b1b38991f0981ac6e48423209
Reviewed-on: https://gerrit.instructure.com/45550
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2014-12-10 22:26:31 +00:00
Jeremy Stanley a3ec6e0f4b fix 'undefined' folders in wiki sidebar upload tool
test plan:
 - have a course with multiple levels of folders in the
   file hierarchy
 - click "upload a new file" in the wiki sidebar
 - the "Folder" select box should
   (a) contain all the folders in the course, and
   (b) should show names for each (no "undefined")

fixes CNVS-13889

Change-Id: I0017ce3238046225545bba7d76d9b880d95eb093
Reviewed-on: https://gerrit.instructure.com/45515
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2014-12-10 21:15:58 +00:00
Colleen Palmer 002eac1c3c Color contrast - Individual rubric view
fixes CNVS-15649

This replaces the icons we had with color corrected ones so we
meet our contrast ratios for accessibility.

Test Plan:

- If you don't have any, navigate to your Rubrics page and add one
- Attach a Module outcome to a rubric and then view your Rubric
page
- There should now be a little flag that appears on it which should
meet our ratio

Reference screen: http://cl.ly/image/1j1E2l001O3A

Change-Id: Ie18ecd335fd350c4be6eda6845ebb17be7da71cb
Reviewed-on: https://gerrit.instructure.com/45365
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Chris Hart <chart@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
2014-12-10 20:53:48 +00:00
Chris Hart a6cad4eb4e Color contrast - Assignment Create/Edit page
Fixes: CNVS-15578

Couple of small tweaks to increase foreground-
background contrast in the Assignments create
UI. Added new variable for Canvas secondary-action
links that contain only an icon glyph (mostly
Close links in Canvas).

IMPORTANT: This ticket is only for the high-
contrast UI. To enable the high-contrast UI, go
to Settings then scroll down and make sure
"Use High Contrast Styles" is set to ON.
Test plan:

- Enable high contrast UI in Canvas (see above)
- Go through each issue Nathan entered into the
  JIRA and compare with the updated UI to make
  sure it's fixed.
- The webAIM color contrast tester can be found
  here: http://webaim.org/resources/contrastchecker/

Change-Id: I5655801f7b8f2060c763701a2857118ed7718e1d
Reviewed-on: https://gerrit.instructure.com/45428
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Colleen Palmer <colleen@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
2014-12-10 20:50:54 +00:00
Bracken Mosbacker 196e72462f add is_public to accounts api listing courses
Test Plan:
 * use the account api's courses endpoing
 * the is_public property should be there

closes PLAT-797

Change-Id: Icf6f26bbff6ca0da0533700bb0cfd264fd833c12
Reviewed-on: https://gerrit.instructure.com/45483
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
2014-12-10 19:49:43 +00:00
Michael Nomitch c599baa781 DA - allow feature in prod
fixes CNVS-16920

Change-Id: Ibca09a92a7d77782f33d0d766f6a2f7f3923c179
Reviewed-on: https://gerrit.instructure.com/45419
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
2014-12-10 19:30:01 +00:00
Simon Williams e26c780889 fix fragile course spec
my theory is that all the students had the same name, so the order they
were being returned in the csv was not deterministic.

fixes CNVS-16278

test plan:
- the spec should not fail intermittently

Change-Id: I99a1f1c223b7f308ccb08d2439e4175b20228c50
Reviewed-on: https://gerrit.instructure.com/45549
Reviewed-by: Cameron Sutter <csutter@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2014-12-10 19:29:46 +00:00
James Williams 2c69f3966b remove non-draft-state everything
test plan:
* basic regression test on assignments, discussion topics
 gradebook, and modules (mostly make sure the basic
 index/show/edit views aren't broken)

closes #CNVS-15563

Change-Id: I3411bfb7645b3c4bf8a4663e3e052b4402f899ba
Reviewed-on: https://gerrit.instructure.com/43609
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2014-12-10 17:57:18 +00:00
Bracken Mosbacker d378436b59 add lti variable subs for section ids
Now an LTI launch can list the section ids that a user has
enrollments in with: $Canvas.course.sectionIds and
$Canvas.course.sectionSisSourceIds

Test Plan:
 * Create a user with enrollments in a section and multiple sections
 * Configure an LTI tool to have the 2 new section variable subs
 * The ids/sis ids of the section that the user has a direct
   enrollment in should be substituted
 * If a teacher is only enrolled in the main section all the other ones
   will _not_ be listed.

closes PLAT-784

Change-Id: I0af6b674a710767f4f38693f86fac8b988a21f06
Reviewed-on: https://gerrit.instructure.com/45462
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
2014-12-10 17:34:04 +00:00
Jeremy Stanley 07bc07524a fix reset-course-content on canvas_net courses without profiles
default course profiles are invalid in canvas_net accounts
due to additional fields with presence validators, so they
can't be assigned via `Course#profile=`

test plan:
 - "reset course content" button in course settings should function
   on a course in a canvas_net account that does not have a profile

fixes CNVS-17153

Change-Id: Id20289aed76d5ec3effbad96110c974682376589
Reviewed-on: https://gerrit.instructure.com/45234
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2014-12-10 17:28:58 +00:00
Aaron Cannon 7ebd05b18f a11y: Conversations hidden filter labels now contain the value selected
Fixes CNVS-17030

Test Plan:
- Using a screen reader visit conversations.
- Navigate to the type and course filters
- Verify that screen readers read the selected item and the filter label,
  without you having to open the drop-down.
- Change the selected value and close the dropdown.
- Verify the label is updated with the new selection.

Change-Id: I27611cc5114a51bdf351ec76306337e0cb606825
Reviewed-on: https://gerrit.instructure.com/45051
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Matthew Wheeler <mwheeler@instructure.com>
Product-Review: Aaron Cannon <acannon@instructure.com>
2014-12-10 16:34:54 +00:00
James Williams d2d69d60b0 fix discussion topic submission creation for locked assignments
test plan:
* create a non-graded discussion topic
* reply to the topic as a student
* edit the discussion to make it a graded assignment
 that is locked (i.e. available until a past date)
* submissions for the student's entries should be
 visible in speedgrader

closes #CNVS-8768

Change-Id: I1e93cb4d34138b4b37ac43681ba6d08eea89ec9b
Reviewed-on: https://gerrit.instructure.com/45461
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2014-12-10 13:53:08 +00:00
Transifreq 2105a88952 Updated zh_Hant translation
Change-Id: I02d613dbccfd8f9f644b9b142401d61910cb6c24
2014-12-10 05:27:10 -07:00
Transifreq 136717405f Updated zh translation
Change-Id: I493850be4682084ef0b3b33a0695213710b123d9
2014-12-10 05:25:47 -07:00
Transifreq b25d64cd0e Updated tr translation
Change-Id: I822278543f9628e5a688a860163ec03069a5b188
2014-12-10 05:24:22 -07:00
Transifreq 5e1438c5ba Updated ru translation
Change-Id: If96598e3c1eb639455ed10b516a803aaebb83dbf
2014-12-10 05:23:04 -07:00
Transifreq 6c63a3fe9c Updated pt-BR translation
Change-Id: Icd474a80350f8261823801d75adc3b3d7c6bd4df
2014-12-10 05:21:41 -07:00
Transifreq 2f7c5f1d28 Updated pt translation
Change-Id: Ie089b21a2911e280595c6baa0a8b2e5c76472bef
2014-12-10 05:20:17 -07:00
Transifreq de4f0f7cf0 Updated pl translation
Change-Id: I812cf9de1e0e7d7b48b0f7b9010044fb3721196d
2014-12-10 05:18:57 -07:00
Transifreq d85205d477 Updated nl translation
Change-Id: I1d8c491873cd3052fd679fe5544f318ea01cb18e
2014-12-10 05:17:38 -07:00
Transifreq ef76352cc2 Updated nb translation
Change-Id: I2988b7e33f4dc58ebcf6735241124ca5277cc308
2014-12-10 05:16:18 -07:00
Transifreq f35f4a5c91 Updated ko translation
Change-Id: Ifa274cc4106c394a7d9c02c49fb229756e06379b
2014-12-10 05:14:56 -07:00
Transifreq 008edcfeb5 Updated ja translation
Change-Id: I4d4ca181402c850f7a77b79d9380ba2c7a3f8481
2014-12-10 05:13:39 -07:00
Transifreq 3fa2922639 Updated fr translation
Change-Id: I93e9b77226f11bff19b7cd5b780c375417c75cf7
2014-12-10 05:12:14 -07:00
Transifreq ecfda69d7d Updated fa-IR translation
Change-Id: I5ae0a4fef001f7bd63ca527b484cd5ce09632d0d
2014-12-10 05:10:54 -07:00
Transifreq 03fd22744a Updated es translation
Change-Id: Icbd387436af4774e620507ff67f0fdbe0104fbce
2014-12-10 05:09:35 -07:00
Transifreq 03813ae0e2 Updated en-GB translation
Change-Id: I02558f0365a9a19b81604740bcb2f30b96ac0073
2014-12-10 05:08:15 -07:00
Transifreq 3d05b6157e Updated en-AU translation
Change-Id: I85c039527282d00fcc2a15b9350e8edc5ea3ebcd
2014-12-10 05:06:54 -07:00
Transifreq c7a1df1e41 Updated de translation
Change-Id: I98b2dce15208bfb2493be584a36ecabe28efe19d
2014-12-10 05:05:31 -07:00
Transifreq 917f962fa2 Updated ar translation
Change-Id: I0f6b0d25fe43f6c877c5e75b7879c9028583ff10
2014-12-10 05:04:10 -07:00
Jeremy Stanley 040c02bbf6 unbreak legacy JSON files endpoint with new files enabled
test plan:
 - enable new files in a course
 - create a wiki page in the course
 - click "upload a new file" in the wiki sidebar
 - there should not be an ajax error, and the select box
   to choose the folder to uplod to should populate

fixes CNVS-17359

Change-Id: I1a996eecd10e101d27c391da5f1b7be65296bb5d
Reviewed-on: https://gerrit.instructure.com/45485
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2014-12-10 00:41:40 +00:00
Clay Diffrient c45f93f819 Fixes usage rights dialog styles
This commit also adds a way to specify a class to add to a tooltip.
All you need to do is "data-tooltip-class" and that class will be
applied to the tooltip when it opens.

fixes CNVS-17270

Test Plan:
	- Enable Usage Rights
	- Go to New Files
	- Select a mix of files with different usage rights and folders
          (You need at least 4 or 5 folders with different length names)
	- The warning icon should be spaced away from the warning text.
	- The tooltip text should be left aligned.

Change-Id: Ia5b9686dd870c50eca6c3ed778da8b2ba4305042
Reviewed-on: https://gerrit.instructure.com/45438
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2014-12-09 22:46:01 +00:00
Nathan Mills d217c07599 move ims controllers to their own namespace
fixes PLAT-798

test-plan
*specs pass

Change-Id: I65b3bb5f049407e57d222ed1a78f83a65e4b588f
Reviewed-on: https://gerrit.instructure.com/45484
Reviewed-by: Brad Humphrey <brad@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2014-12-09 21:25:05 +00:00
Jeremy Stanley 37477ae3da sync context_external_tool_placements more efficiently
test plan:
 - Use "Edit external tool" API and consult canvas logs
   to verify that 15 nearly identical DELETE queries
   are not sent to the database

fixes CNVS-17302

Change-Id: If6babf31e3c890c17be311ab39020414e53d006c
Reviewed-on: https://gerrit.instructure.com/45431
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2014-12-09 21:20:34 +00:00
Jacob Fugal 59d28b09bd dup the account chain before mucking with it
fixes CNVS-17308

some callers will want to add stuff to the account chain or otherwise
modify it. some do it in place, which is sad when we return a cached
Array. cache it, but return a copy of the cache, not the cache itself,
to prevent errors from this. Account#account_chain already did this.

particularly, in this ticket, code in RoleOverride.permission_for pushed
siteadmin into the return value from Course#account_chain. this meant
that site admin was already in course.account_chain on the second time
through this code, but the code didn't handle the sharding implications
of that (and shouldn't need to)

test-plan:
  - have multiple shards
  - create a course in an account on a shard that's *not* the same as
    site admin's shard
  - create an AccountMembership role in site admin with permission to
    manage courses
  - create a site admin user with just that role and log in as that user
  - should be able to manage the course in the other shard

Change-Id: Iaf3a19dc2a2c0c7372c82d2af197d9f936792625
Reviewed-on: https://gerrit.instructure.com/45463
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jacob Fugal <jacob@instructure.com>
2014-12-09 20:42:22 +00:00
Dan Minkevitch 50d0184879 Add UsageRightsSelectBox to WikiSidebar
For schools that have usage_rights_required,
this commit adds the UsageRightsSelectBox to
the WikiSidebar for when files are uploaded
from the files tab.

closes CNVS-17124

Test Plan:
* Enable "Usage Rights Required" feature flag
* Go to any course as a teacher or admin
* Go to the Pages section for that course
* Select a page to edit or create a new one
* On the WikiSidebar on the right, select
  the "files" tab
* Click "Upload a new file"
* A form should appear that contains a
  "Usage Right" select box that says
  "Choose usage rights...", along with a
  yellow warning below that says "If you do not
  select usage rights now, this file will be
  unpublished after it's uploaded."
* Choose a file from your computer to upload,
  then click the "Upload" button
* The file should be uploaded but unpublished
* Choose another file to upload using the same steps above,
  but this time select a usage right in the select box
  and a copyright message
* The yellow warning should disappear when a usage
  right is selected
* Upload the file; it should be published now

Change-Id: I5db6e9de794f8298082f79b955073c8307ed979b
Reviewed-on: https://gerrit.instructure.com/45331
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Anna Koalenz <akoalenz@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2014-12-09 20:28:52 +00:00
Mark Severson 1a245e6bdd remove non-draft state wiki pages
test plan:
* regression test wiki pages

closes CNVS-16203

Change-Id: Ic37c69c8696151dc99f1df6f3cc9b013835b12a4
Reviewed-on: https://gerrit.instructure.com/42552
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2014-12-09 20:12:24 +00:00
Steven Burnett 8d79af994a Fixed scroller bar with google chrome.
Fixed the scroll bar on the outcomes screen for google chrome
users running yosemite.

fixes CNVS-16903

test plan:
- Create a course and go to the outcomes screen.
- Create an outcome and scroll within the outcome.
- Edit an outcome and try to scroll within the outcome.
- Create and outcome with long description and scroll
  within the outcome pane.
- Do this for all browsers.

Change-Id: Icd4ce4d038bbd14ea18f675bcb02e039fd032390
Reviewed-on: https://gerrit.instructure.com/44747
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Matt Berns <mberns@instructure.com>
QA-Review: Trevor deHaan <tdehaan@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2014-12-09 17:49:10 +00:00
James Williams 1525dfba58 import true/false questions consistently
test plan:
* import the package referenced in the ticket
* for the imported quiz, true/false questions
 should have their answers in the same order
 as ones created within the canvas ui
* therefore editing an imported true/false question
 should not rewrite the answer texts (causing it
 to be wrong)

closes #CNVS-16258

Change-Id: I18ac3d661502c17750108fc372fff2a59714dd42
Reviewed-on: https://gerrit.instructure.com/45395
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2014-12-09 16:21:19 +00:00