Commit Graph

30820 Commits

Author SHA1 Message Date
Jeremy Neander e2b2fe97d5 spec: set html dir attribute in base config
test plan:
 * Verify Jenkins passes

Change-Id: I4a1cf9a2cb1e7941f4986a28c39ea816ca4b3626
Reviewed-on: https://gerrit.instructure.com/153237
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Jeremy Neander <jneander@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
2018-06-11 14:07:37 +00:00
Transifreq acac0c025b update sv translation
Change-Id: Ia118c7aec6ed12cd57585631bac88acd268b919f
2018-06-11 05:54:37 -06:00
Transifreq d82e8dbf2d update nb translation
Change-Id: I1399c14280a741276f1b39d6c7623d01054ce74f
2018-06-11 05:53:40 -06:00
Transifreq bad99824a3 update da translation
Change-Id: Ifb42f2db67935297fbd1d96c51c3f1c42edb21f3
2018-06-11 05:52:41 -06:00
Transifreq b2207b96c0 update sv translation
Change-Id: Ie1f09e8d85d76230716fd9f6540fb2a72315025e
2018-06-11 05:27:00 -06:00
Transifreq a52f168d24 update nb translation
Change-Id: I3b8b09e11e06697bb98cda36458dfe7a14c98fdd
2018-06-11 05:21:41 -06:00
Transifreq e8c3e67dfa update da translation
Change-Id: I4c1a9afeb1cd9181d26bd5658f77942688e9f8e7
2018-06-11 05:09:30 -06:00
Jeremy Neander 46baf56c97 spec: change locale used in translation example
test plan:
 * Verify Jenkins passes

Change-Id: I0ad8ceda5c35183a4ad503b616e922cb735731f2
Reviewed-on: https://gerrit.instructure.com/153234
Reviewed-by: Nicholas Pitrak <npitrak@instructure.com>
Tested-by: Jenkins
Product-Review: Jeremy Neander <jneander@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
2018-06-10 14:41:28 +00:00
Transifreq 9fbd019278 update sv translation
Change-Id: Ib5081cc25781323470bf1acf5a7d96c6efb25dfb
2018-06-10 05:55:46 -06:00
Transifreq 7e66508b5e update nb translation
Change-Id: I4b8fc044497ad25a282a5793a68aa250a2f5c014
2018-06-10 05:54:50 -06:00
Transifreq 79c413d3da update da translation
Change-Id: I5457df974b9f41beb38e1adb4c535c3e91939c0b
2018-06-10 05:53:54 -06:00
Transifreq 1d79e2227e update sv translation
Change-Id: I5a6d86b787fb3dc4852f8848df878c9efae3ff82
2018-06-10 05:28:25 -06:00
Transifreq 55dd8a07f0 update nb translation
Change-Id: I185757c742e7980e5dad57da64373aa083e1aaea
2018-06-10 05:23:17 -06:00
Transifreq 2ac22a6225 update da translation
Change-Id: I15b59aa1215a6654ef68524facc97c578865438d
2018-06-10 05:11:15 -06:00
Transifreq 44554c0db8 update sv translation
Change-Id: I4148a3580f73899ef36623ad6d2cbd5051b667fa
2018-06-09 06:05:21 -06:00
Transifreq 22a9114f0c update nb translation
Change-Id: I4394e8465580858075ca84de8f57ed6aa7d20fa9
2018-06-09 06:04:23 -06:00
Transifreq 6c54b28254 update da translation
Change-Id: I65867e59516243eaa56f596a839d9ebeba77ada4
2018-06-09 06:03:26 -06:00
Transifreq 87d1c587d3 update es translation
Change-Id: I02af5fb15fd22df083661ad6e315f38d70040117
2018-06-09 05:19:08 -06:00
Aaron Kc Hsu 659799c0b7 Make the new permissions role header show up correctly
This is for adding new roles to permissions

fixes COMMS-1165

Test Plan
* Make sure new permissions in on
* Use the add role button to add a new role
* Notice that the role now appears in the header
* Notice the edit tray pops up allow us to edit the role

Change-Id: I2c9e30dc9e9c6a7e42e9be288d5e457b3f6c56e3
Reviewed-on: https://gerrit.instructure.com/153130
Tested-by: Jenkins
QA-Review: Venk Natarajan <vnatarajan@instructure.com>
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2018-06-09 01:27:23 +00:00
Matthew Berns 8e1f3905e7 fix styling in FF when rubric is displayed
fixes OUT-2286

note: there is another issue for Safari concerning the
styling of the description box in some cases. That is being
handled in another PS. It can be treated as expected behavior
in regards to this test plan

test plan:
test the following in all browsers:
- open a rubric for assessing in speedgrader
- the styling should appear correctly (boxes right size, no weird
  padding or white space, etc)
- open a rubric for assessing on the submission show page
- the styling should appear correctly

Change-Id: I6fd5b8fcbc3fceebb129f7f71e664bf05d5da347
Reviewed-on: https://gerrit.instructure.com/152938
Tested-by: Jenkins
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Augusto Callejas <acallejas@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-08 21:57:42 +00:00
Jeremy Putnam ae3b74ccd0 spec: new user search POM
Change-Id: I06af06d7d6faa569ed4c4d2348a7aa1601a4e3b0
Reviewed-on: https://gerrit.instructure.com/147216
Tested-by: Jenkins
Reviewed-by: Robert Lamb <rlamb@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
2018-06-08 21:53:41 +00:00
Frank Murphy 831f21b507 Don't show invalid value error on blank points
References OUT-2249

Test Plan:
- Open a points rubric for assessing.
- Verify that an error is shown when points are set to "bad".
- Verify that when numerical points are entered, no error is shown.
- Verify that when points are blank, no error is shown.

Change-Id: I54751db996ff2ba3a2c346b185721e53288eca61
Reviewed-on: https://gerrit.instructure.com/152574
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
Tested-by: Jenkins
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-08 21:44:00 +00:00
Rohan Cheeniyil a46b7a7589 spec: account notification and report spec
Added account notification and report spec

Change-Id: I22228ab0f4f47713cf9ad759bd41bcf6f9cea704
Reviewed-on: https://gerrit.instructure.com/153102
Tested-by: Jenkins
Reviewed-by: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Reviewed-by: Anju Reddy <areddy@instructure.com>
Product-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
2018-06-08 20:30:41 +00:00
Cody Cutrer b9490fbbe3 invert reliability of CAS SLO
set a flag on SLO, and only logout if that flag is set (instead of
removing a flag on SLO, and logging out if the flag isn't set)

fixes CORE-1407

test plan:
 * have redis configured
 * configure CAS, and log in
 * clear your redis
 * you should stay logged in (and not get sent back to the CAS server
   on your next request)
 * do a CAS SLO (your CAS server must support SLO, be able to contact
   your canvas server, and then log out directly at your CAS server)
 * refresh Canvas - it should send you to your CAS server to log in
   again

Change-Id: I3f95ba3208f8c3f29a6c610872d3fa94aa9cb67d
Reviewed-on: https://gerrit.instructure.com/151386
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2018-06-08 20:27:45 +00:00
James Williams b9121aeb0b don't show overridden assignments for inactive enrollments
test plan:
* have a course with multiple sections
* create an assignment assigned to only one section
* add a student to the course in the assigned section
* deactivate the user from the course people page
* the student should not see the assignment anymore

closes #COMMS-484

Change-Id: I2a604c091ad319e8bfa08b6156b02ef211e4d938
Reviewed-on: https://gerrit.instructure.com/151171
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: KC Naegle <knaegle@instructure.com>
2018-06-08 20:25:31 +00:00
Augusto Callejas 1d4263b6e4 Don't allow deleting the last rating
refs OUT-2240

test plan:
  - enable non-scoring rubrics feature flag
  - load the account rubrics page
  - select the "Learning Mastery" tab
  - attempt to delete all the ratings
  - confirm that the delete button is disabled when
    down to a single rating

Change-Id: I8311ea0d68dedb839b2848a26c7a0dd657f91e2b
Reviewed-on: https://gerrit.instructure.com/152783
Tested-by: Jenkins
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Reviewed-by: Matt Berns <mberns@instructure.com>
QA-Review: Frank Murphy <fmurphy@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-08 20:11:42 +00:00
Cody Cutrer f519d0b6dd namespacing is important
Change-Id: I6bd7b10e114aca69a4d96ac43ecb0721961f5258
Reviewed-on: https://gerrit.instructure.com/153146
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2018-06-08 19:47:41 +00:00
Ryan Shaw 53467da087 canvas-rce: fix “unhandled promise rejection” in tests
Test plan:
* run yarn test or look at the console output of linters and js build
* you should not see any:
| (node:6453) UnhandledPromiseRejectionWarning: Error: only absolute
urls are supported
 at node_modules/node-fetch/index.js:54:10
 at new Promise (<anonymous>)
 at new Fetch packages/canvas-rce/(/node-fetch/index.js:49:9)
 at Fetch packages/canvas-rce/(node-fetch/index.js:37:10)
 at module.exports (isomorphic-fetch/fetch-npm-node.js:8:19)
 at RceApiSource.apiFetch (canvas-rce/src/sidebar/sources/api.js:236:12)
 …

* the cavas-rce tests should pass

Change-Id: Id2ab92752f316dacc34290994645e47018fd0742
Reviewed-on: https://gerrit.instructure.com/153120
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-08 19:18:32 +00:00
Ryan Shaw 62aff4cf6e fix yarn.lock dependencies so canvas-quizzes tests work
test plan:
* run `yarn && yarn test`
* the canvas-quizzes tests should pass

Change-Id: I0786e86a8f10fbbef68fca287cc178fa5129a12d
Reviewed-on: https://gerrit.instructure.com/153119
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-08 19:18:16 +00:00
Venk Natarajan 749127bb0f Hook up Delete role button to api
CLoses COMMS-1110

Test Plan:
* Have a custom role.
* Open up its tray.
* Delete it, and confirm.
* The tray should close, and the column should vanish from the table.
* A nice deletion message should appear.
* Do the above, but his cancel instead.
* The confirm message should disappear, but the tray should stay
  open.
* Do a11y due diligence.

Change-Id: Ia10d35d08de3d4a4f8931d14ce25c5cf227d3f2c
Reviewed-on: https://gerrit.instructure.com/153078
Reviewed-by: Aaron Kc Hsu <ahsu@instructure.com>
Tested-by: Jenkins
QA-Review: Sara Chadwick <schadwick@instructure.com>
Product-Review: Venk Natarajan <vnatarajan@instructure.com>
2018-06-08 18:12:09 +00:00
Cameron Matheson 5586d015cb upgrade graphql gem to 1.8.0
closes RECNVS-450
closes RECNVS-463

Test plan:
  tests pass

Change-Id: I952bd83924d1fae53a7fa83f9f4dbc361bfd6b41
Reviewed-on: https://gerrit.instructure.com/151911
Reviewed-by: Jonathan Featherstone <jfeatherstone@instructure.com>
Tested-by: Jenkins
QA-Review: Jonathan Featherstone <jfeatherstone@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2018-06-08 17:22:10 +00:00
Marc Phillips e377fa36ef Cleanup DevKey Scopes UI
closes PLAT-3436

Test Plan:
 - Add a key
 - Note that the search box and the Add Scopes is removed
 - Click the enforce scopes checkbox
 - scopes and the search box is now available

Change-Id: I63d272fa53bb8c4c2e03fb11a2e382cb1b317eaf
Reviewed-on: https://gerrit.instructure.com/152209
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Tested-by: Jenkins
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-08 17:20:02 +00:00
Steven Burnett 27296419b7 skip fragile selenium spec
Change-Id: Iaf78301613915b2b0638f87aa25699a97c0a9997
Reviewed-on: https://gerrit.instructure.com/153096
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jenkins
Product-Review: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
2018-06-08 16:25:20 +00:00
Rohan Cheeniyil 2dbab9b1ba spec: contract test and provider state for calendar_event endpoint
closes: QA-500

Change-Id: I7ece08c4befa0c08195bd1868c180d4b012af726
Reviewed-on: https://gerrit.instructure.com/152319
Tested-by: Jenkins
Product-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
Reviewed-by: Robert Lamb <rlamb@instructure.com>
2018-06-08 15:53:19 +00:00
Aaron Kc Hsu 1ace7eebf3 Add a base role sorting algorithm to sort role display order
fixes COMMS-1157

Test Plan
* Turn on new permissions
* The sort order according to product is roles are placed
to the right of their base role if there is a tie then the
one that is created first is placed closest to the base
role
* Create some roles and look how it stays sorted
* Load a page and notice that it is all sorted as well
* Note there is a small bug right now where adding a role
is changing the state but not updating the header
i am currently looking into it.. but idk if it is
part of this commit

Change-Id: Ie24bcd15f1169c7a35a1065b6ee473f0da97759c
Reviewed-on: https://gerrit.instructure.com/152967
Reviewed-by: Venk Natarajan <vnatarajan@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Aaron Kc Hsu <ahsu@instructure.com>
2018-06-08 15:36:43 +00:00
brian kirkby 85d7d5a794 comment to avoid future confusion about canvadoc model.
test plan:
- make sure comments are there.
- make sure stuff works.

Change-Id: I51cd0af0c03b8b804976a1f90a1168dbe065220b
Reviewed-on: https://gerrit.instructure.com/153020
Reviewed-by: Daniel Lee <dlee@instructure.com>
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Tested-by: Jenkins
2018-06-08 13:01:58 +00:00
Steve Kacsmark 490674dd41 Cleanup stale imports, Update UI while importing
refs QUIZ-4583, QUIZ-4626

Must be tested in conjunction with QUIZ-4415

Provides visual indicators in assignment list for the Importing, and
Failed to import states. Allows for the user to remove a failed
assignment import from the list.

Test Plan:
  - Do a Common Cartridge or QTI import, enabling Quizzes.Next importing
  - Monitor state transitions in Canvas Assignment views.
  - Ensure they move from Importing to a finished stated.

Change-Id: I6f07ecae7b5a93dadd5309bb54bf15724f512c16
Reviewed-on: https://gerrit.instructure.com/151026
Reviewed-by: Omar Khan <okhan@instructure.com>
Tested-by: Jenkins
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Kevin Dougherty <jdougherty@instructure.com>
2018-06-07 22:21:59 +00:00
Keith Garner d4049d2eea open amm to a wider audience temporarily
Missed a few spots

Change-Id: If441b554c017a946cae463c701cd047321aaed10
Reviewed-on: https://gerrit.instructure.com/153017
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Tested-by: Jenkins
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-06-07 22:18:25 +00:00
Matt Sessions 7286e89be7 Create alert for assignment_missing
Refs MBL-10482

Test Plan:
 - Create a super observer connected to a student
 - Student should be enrolled in a course
 - Create a threshold for `assignment_missing` for that student
   - POST /api/v1/users/observer_alert_thresholds
   - {
       student_id: :student_id,
       threshold: {
        alert_type: 'assignment_missing'
       }
     }
 - Create an assignment that is due in the course for a minute
   or two in the future
 - Wait at least 5 minutes
 - As the observer hit /api/v1/users/self/observer_alerts/:student_id
 - There should be an alert for that user

Change-Id: If2dea94052ff932c866a7382a2119a3287350c28
Reviewed-on: https://gerrit.instructure.com/152073
Reviewed-by: Cameron Sutter <csutter@instructure.com>
Product-Review: Cameron Sutter <csutter@instructure.com>
Tested-by: Jenkins
QA-Review: Taylor Wilson <twilson@instructure.com>
2018-06-07 22:16:26 +00:00
Frank Murphy 6f7dc1456c Move total points to end of cell.
References OUT-2249

Test Plan:
- Load up a rubric, verify the total points text is aligned to the end.

Change-Id: I0d1c77c349812622a2611b316e59b09963f2afe1
Reviewed-on: https://gerrit.instructure.com/152481
Tested-by: Jenkins
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-07 21:37:14 +00:00
Ryan Shaw afeb709b84 silence some instUI 5 deprecations
Test plan:
* make sure the arrows for the submission tray point the right way
  And flip when you turn on RTL

Change-Id: I4b31e83a49f9336f1912f87351824fb48f1196fe
Reviewed-on: https://gerrit.instructure.com/152692
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-07 21:24:56 +00:00
Ryan Shaw 32e889e07e instUI5 upgrade: meaningful gradezilla/grading stuff
refs: CORE-1437
closes: CORE-1489

the commit to upgrade gradezilla/grading stuff to instUI 5 has been
split in 2. The other, that this is based on takes care of the trivial
stuff: components whose API has not changed, who just need to have their
import paths  renamed to the new location in the split-up instUI
packages.

This one takes care of the stuff that actually has meaningful changes
like <NumberInput> and <Select>. it will need more scrutiny, but
since the changes are isolated to just a couple components it won’t
be as scary.

Test plan:
* verify these components still work as they used to and tests pass
* look at the things that @solsen found in his Code Review and make sure
  they work

Change-Id: I72996ead775793237fc9a527f3da366f8ad6a6e3
Reviewed-on: https://gerrit.instructure.com/151772
Tested-by: Jenkins
Reviewed-by: Spencer Olson <solson@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
Product-Review: Pert Eilers <peilers@instructure.com>
2018-06-07 21:24:25 +00:00
Erin Hallmark 3e0849ecd2 update change log for 2018-06-23
Closes: DOC-793
Test plan:

- See new table for 2018-06-23 with info and make sure links work
- In description, make sure second bullet link works

Change-Id: Ib95669e9f15e600555c95919eaad724b2e438ef1
Reviewed-on: https://gerrit.instructure.com/152796
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Reviewed-by: Pam Hiett <phiett@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
2018-06-07 21:23:02 +00:00
Ryan Shaw bfc647720d Update instUI from 5.10.0 to 5.11.0
closes GRADE-1209 CORE-1484

this new version of instui includes a fix we need
For pagination:

Test plan:
* verify the pagination on the account course/user search works
* ensure it does not steal focus with more than 5 pages

Change-Id: I5a5e67d10ff591fb0477a80598a30d89273cf35e
Reviewed-on: https://gerrit.instructure.com/152862
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2018-06-07 21:15:37 +00:00
Ryan Shaw 0c31349da7 Fix closeButtons for our wrapped instUI Modals
Fixes: CORE-1490 CORE-1491

It looks like when we made an update to the saveThemeButton in g/149278,
we broke all these close buttons for other things using that shared
wrapped instUI Modal component. This fixes it

Test plan:
* make sure the close button works on the “Add Course” modal on
  The account user/course search pages
* make sure the close button works on the “save theme” button in the
  Theme editor
* make sure the close button works for the “Course Image picker”
  Modal on the course settings page.

* also make sure the headers on each of those are styled as they were
  before.

Change-Id: I3893a75c78e595b0f94f7e7c55faa3fd32c8f5ea
Reviewed-on: https://gerrit.instructure.com/152689
Tested-by: Jenkins
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-07 21:08:59 +00:00
Sara Chadwick 0601b71b82 Add new permissions names
Fixes COMMS-1113

Test plan :
- Turn on thepermissions feature flag and naviagte to the
  permissions page
- Verify that the labels are all the new labels, for the permissions
  that have updated names
- Turn the flag off and naviage to the permissions page again
- Verify that the old labels are still present on the old page

Change-Id: If5afbbc387397946600a041dc03093a6a8481f55
Reviewed-on: https://gerrit.instructure.com/152441
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
QA-Review: Aaron Kc Hsu <ahsu@instructure.com>
Product-Review: Jonathan Fenton <jfenton@instructure.com>
2018-06-07 20:42:27 +00:00
Jeremy Stanley d83a02b43a ensure newly created quizzes run DueDateCacher
test plan:
 - enable planner
 - have a course with active student enrollments
 - create a new graded quiz
    with a single due date (no overrides)
    saving with the "Save and Publish" button
 - ensure the quiz appears on a student's planner

fixes ADMIN-1070

Change-Id: I28177a4c6bdd37df165e284217719190ddc39399
Reviewed-on: https://gerrit.instructure.com/152490
Tested-by: Jenkins
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: Luke Kingsley <lkingsley@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2018-06-07 20:32:24 +00:00
Venk Natarajan 16b1fc9291 Add a spinner for module duplication.
Also tidies up some a11y brokenness.

Closes COMMS-254

Test Plan:
* Have a course with 5-6 modules in it.
* Make sure you have module duplication enabled.
* Duplicate one of them.
* Try this both from the modules page, and also from
  the course home page when it's set to be the modules
  page.
* There will now be a spinner present that goes away once
  the new module has rendered.
* Make sure screenreaders are happy.

Change-Id: I7155c674a4c31b1650598d7b12631037b0355661
Reviewed-on: https://gerrit.instructure.com/152403
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Product-Review: Matt Goodwin <mattg@instructure.com>
QA-Review: Landon Gilbert-Bland <lbland@instructure.com>
2018-06-07 19:54:43 +00:00
Matthew Berns 507c9ed048 apply custom rating colors to rubrics
closes OUT-2248

test plan:
  - create an outcome with a default scale of 5/3/0
  - create a rubric with several criteria, including the outcome,
    and attach it to an assignment
  - go to speedgrader and assess the rubric, providing a varing
    level of scores
  - enable the non-scoring rubrics feature flag (note that due
    to caching you may need to wait for the feature to be truly
    enabled)
  - default colors should properly show on speedgrader, the
    submission show page, and student grade summary page
  - follow the instructions on g/150095 to create outcome proficiency
    ratings using the API in the course's account:
    * description: great, points: 5, mastery: false, color: 00ff00
    * description: good, points: 3, mastery: true, color: 0000ff
    * description: boo, points: 0, mastery: false, color: ff0000
  - the custom created colors should now be showing on speedgrader,
    the submission show page, and student grade summary page

Change-Id: I0dbe7196871950aa9786978c2f97ec6279823583
Reviewed-on: https://gerrit.instructure.com/152638
Tested-by: Jenkins
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Frank Murphy <fmurphy@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-07 19:40:58 +00:00
Ubuntu 0525bbd43b [i18n] update locales with new translations
Change-Id: I1a5e471aa7636252d6a0fa3c0f0bb7ed603168c0
Reviewed-on: https://gerrit.instructure.com/152911
Tested-by: Jenkins
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
QA-Review: Mysti Sadler <mysti@instructure.com>
2018-06-07 19:22:15 +00:00