Commit Graph

30820 Commits

Author SHA1 Message Date
Neil Gupta 6a659fbaa8 stop using anonymous moderated marking feature flag
fixes GRADE-976

test plan:
* Make sure the AMM flag is off
* All AMM features should be visible and work
* The Anonymous Marking and Moderated feature flags should be visible
* Toggling the AMM feature flag should do nothing

Change-Id: Ie0c52c23748389c6f5df5b85e8580bdf474c0a52
Reviewed-on: https://gerrit.instructure.com/152067
Reviewed-by: Adrian Packel <apackel@instructure.com>
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-06-12 20:58:47 +00:00
Venk Natarajan 587e64616e Finish up role tray frd (I hope!)
Closes COMMS-1173

Test Plan:
* Have a custom role
* Open the edit mode.  The current role label should be populated
  in the field.
* Attempt to change it to an existing role.
* An error should show and we will not attempt to change the name
* Now make the role empty
* Blur out of the field.
* The error should be gone, and the original role name should now
  be populated
* Try changing the role name, then switching out of and back into
  edit view and seeing if the behavior is what you expect.
* Check nothing regressed

Change-Id: Icfaa9e17b45cb3dbdac7ed1b7bce4a4be130214b
Reviewed-on: https://gerrit.instructure.com/153420
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
QA-Review: Sara Chadwick <schadwick@instructure.com>
Product-Review: Venk Natarajan <vnatarajan@instructure.com>
2018-06-12 20:33:41 +00:00
Michael Brewer-Davis d49411a8c4 scale points when assigning rubric colors
closes OUT-2297

Test plan:
- enable non-scoring rubrics, do not create
  custom learning mastery ratings
- create outcomes with mastery at 3 and max points
  of 5
- create an assignment with rubric aligned to those
  outcomes
- assess a student using the rubric, verify that default
  colors work in rubrics
- create learning mastery ratings with max points
  possible equal to 100
- assess a student using the rubric, verify that
  new ratings colors are used, with the score
  scaled to match the ratings (i.e., 3/5 receives
  the color that would be assigned to 60/100)

Change-Id: I6a0abbdeb21457d5d44d1a2f47755fd21ffb9c78
Reviewed-on: https://gerrit.instructure.com/153366
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Matt Berns <mberns@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-12 20:11:04 +00:00
wdransfield 0ea3f7172a Make scopes API docs visible
closes PLAT-3471

Test Plan:
- verify docs:api rake task is successful
- verify documentation for scopes api controller
  is visible.
- verify documentation for scopes api controller
  is clearly marked as "beta."

Change-Id: I131c96de50cada9c89a25547c286cedfb0ffacc7
Reviewed-on: https://gerrit.instructure.com/153357
Tested-by: Jenkins
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Stewie aka Nicholas Stewart <nstewart@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-12 19:31:53 +00:00
wdransfield 4a9cf5097a Allow root admins to enable dev key feature flags
Closes PLAT-3470

Test Plan:
- Verify there are no 'developer_key_management_and_scoping'
  FeatureFlag records in your DB.
- As a root account admin (not site admin) navigate to
  root account feature options.
- Verify you can view and toggle the 'developer_key_management_and_scoping'
  feature flag.

Change-Id: I0fb3da4a0327706c1ba482f92a667f996a476efb
Reviewed-on: https://gerrit.instructure.com/153351
Tested-by: Jenkins
Reviewed-by: Stewie aka Nicholas Stewart <nstewart@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-12 19:31:48 +00:00
Han Yan e57f340445 enable Quizzes.Next importing flag in Canvas production
closes QUIZ-4713

test plan:
- cannot test production in advance but we can verify this FF still works in local

Change-Id: I6ca56941d3497ec53c0f19d5f88caab36abf8689
Reviewed-on: https://gerrit.instructure.com/153507
Tested-by: Jenkins
Reviewed-by: Jared Crystal <jcrystal@instructure.com>
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Han Yan <hyan@instructure.com>
2018-06-12 19:03:04 +00:00
Ed Schiebel 5dd4ece8ca Fix layout issue with planner item feedback on ie11
closes ADMIN-1128

test plan:
  - have a student with an submitted assigment that a teacher
    has added a comment to.
  > expect the item to look correct in a couple browsers, esp. ie11
    (the feedback and the other item details don't overlap)

Change-Id: Icea005894a5cbaa0995525ea6eecef40ad359487
Reviewed-on: https://gerrit.instructure.com/153275
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Luke Kingsley <lkingsley@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2018-06-12 18:57:33 +00:00
James Williams 9c32f4bb1e add scandinavian k12 language packs
closes #CORE-1062

Change-Id: Idece9ba9e31b7bebadd12d8193c012048a1d62ea
Reviewed-on: https://gerrit.instructure.com/153103
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2018-06-12 18:52:33 +00:00
Jeremy Neander 0c362c44ad update instUI from 5.11.0 to 5.12.0
closes GRADE-1235

test plan:
 * Verify Jenkins passes

Change-Id: Ic723445a543680ecb806238cc7253861408179f2
Reviewed-on: https://gerrit.instructure.com/153264
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
2018-06-12 18:49:43 +00:00
Landon Gilbert-Bland cf40baab8c Hook up api to button
Fixes COMMS-1147

This also fixes a problem where the locked status of the new
permissions page didn't match the old permissions page. This should
bed fixed, so check for it when you QA please!

Test Plan
- Take note of the locked/enabled/readonly status of the old
  permissions
- Turn on the new permissions feature flag and navigate to the new
  permissions page
- Make sure all the permissions are the same as the old page
- Change some permissions, periodically refreshing to make sure
  the changes are not just local
- Turn off the feature flag and make sure the old permissions page
  has the same permissions locked/enabled/readonly

Change-Id: I66c70c5ecf148e8728e31aa0aae3b40bc1b45107
Reviewed-on: https://gerrit.instructure.com/152785
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
QA-Review: Aaron Kc Hsu <ahsu@instructure.com>
Product-Review: Landon Gilbert-Bland <lbland@instructure.com>
2018-06-12 18:49:33 +00:00
Landon Gilbert-Bland 4416a5140e Base stuff for selenium specs
Change-Id: I6016495577287a31865638738386cf67dffbee63
Reviewed-on: https://gerrit.instructure.com/153479
Reviewed-by: Venk Natarajan <vnatarajan@instructure.com>
Reviewed-by: KC Naegle <knaegle@instructure.com>
Product-Review: KC Naegle <knaegle@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Tested-by: Jenkins
2018-06-12 18:26:57 +00:00
Robert Lamb bdcf7f95f7 spec: skip flaky quiz spec
This spec is for old quizzes, which is being replaced by quizzes 2.0
Skipping until it's deleted.

Change-Id: I742998bdcbe5bfe7c7f99ad54ac0f27707525e68
Reviewed-on: https://gerrit.instructure.com/153476
Tested-by: Jenkins
Reviewed-by: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Robert Lamb <rlamb@instructure.com>
QA-Review: Robert Lamb <rlamb@instructure.com>
2018-06-12 17:45:01 +00:00
Jeremy Neander 91cd08ae6e replace use of Number.parseFloat
fixes GRADE-1242

test plan:
 * use IE11 to enter grades
 * Verify it works

Change-Id: I12f7f94a21ed1911fe9f33412d854ebaeb4d99ab
Reviewed-on: https://gerrit.instructure.com/153438
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-06-12 17:33:45 +00:00
Jeremy Neander c46bc15499 replace use of Number.parseFloat
fixes GRADE-1239

test plan:
 * use IE11 to enter grades
 * Verify it works

Change-Id: I6b10628ea848b8161a51c7367e695231c5ea61a7
Reviewed-on: https://gerrit.instructure.com/153437
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-06-12 17:33:39 +00:00
Cody Cutrer 568fefc89e match job name to method name
Change-Id: I2b80cc8fe141f062c2a2bef17733ac69b24e4a48
Reviewed-on: https://gerrit.instructure.com/153473
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-12 17:07:03 +00:00
Derek Bender 634de70be1 polyfill es6.number for IE11
Change-Id: Ib7d0ea906f670f89b767cae0500d05fa03734535
Reviewed-on: https://gerrit.instructure.com/153440
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Tested-by: Jenkins
Product-Review: Derek Bender <djbender@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
2018-06-12 15:01:24 +00:00
Brent Burgoyne 675e02c0da show spinner instead of no results when loading
closes CORE-1474

test plan:
- test course and user search
- while loading a spinner should show instead of the no results found
  message

Change-Id: I870afcf61fe347f0a801701e15a60bba5b0aab85
Reviewed-on: https://gerrit.instructure.com/153259
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2018-06-12 14:24:56 +00:00
Transifreq 6d40b8ab23 update sv translation
Change-Id: I4caaab0bdbe6114d7147e42e8ff620e869f1a5f1
2018-06-12 05:59:53 -06:00
Transifreq 82ba157a78 update nb translation
Change-Id: Icf8ce5f8af9e25d3cbf41e73ded4ae45a0567541
2018-06-12 05:58:56 -06:00
Transifreq e72817e72d update da translation
Change-Id: Ie93b7532fec4ec91bf2d84fa4789ed8a8fdb73e1
2018-06-12 05:57:57 -06:00
Transifreq 16a07c1306 update zh-Hant translation
Change-Id: I9b0d216f8564df0ab780dfb3c94aee89c7d223e2
2018-06-12 05:33:13 -06:00
Transifreq 96d2f9b85e update sv translation
Change-Id: I806925b64f9c7b67b391c7df973e48aec9967da3
2018-06-12 05:30:41 -06:00
Transifreq a02a641e99 update nb translation
Change-Id: I7d316cf50929ce10993fc55acbe06770e52e0bf6
2018-06-12 05:24:49 -06:00
Transifreq bf0c8f976b update da translation
Change-Id: Id473b6f0a58e9bec5157540f9d7e5d59451e9e30
2018-06-12 05:11:53 -06:00
Jeremy Neander c08bfca4c2 add grade selection to new moderation page
closes GRADE-1192

test plan:
 1. Setup a course with AMM and a moderated assignment
 2. Log in as various instructors and grade some students
 3. Log in as the moderator
 4. Visit the moderation page for the assignment
 5. Select some grades
 6. Verify the grades were selected
    * populated in Select element
    * highlighted in row
 7. Verify a flash message indicate successful selection
 8. Refresh the page
 9. Verify the selected grades remain selected

Change-Id: Ib07a5c7a1838ebc79bd660505f950a328d1eabfa
Reviewed-on: https://gerrit.instructure.com/151602
Tested-by: Jenkins
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-11 23:58:50 +00:00
Mysti Sadler 882df38a7b Do not create ErrorReport on files api 404
closes ADMIN-1130

Test plan
- Run /api/v1/courses/:course_id/files/(id that
  doesn't exist, or is deleted)
- Ensure you don't get a new error report for it

Change-Id: I9df392d22ca0ecfae18a5f2576e99d907b9a77a3
Reviewed-on: https://gerrit.instructure.com/153301
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Luke Kingsley <lkingsley@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
2018-06-11 22:30:47 +00:00
Mysti Sadler 07e31e0ad7 Only call submission_statuses_for once
refs ADMIN-1031

Test plan
- Set up some assignments in varying
  states of submission/grade/whatever
- Load /api/v1/planner/items for a user
  and ensure it doesn't make all 6 of the
  submission queries for every assignment

Change-Id: If22c3a3d74849c4bfdab401ce2da2caa07cda527
Reviewed-on: https://gerrit.instructure.com/152710
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
QA-Review: Luke Kingsley <lkingsley@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
2018-06-11 21:56:49 +00:00
Matthew Berns a25e293021 fix styling in Safari when rubric is displayed
fixes OUT-2287

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, discription text should align to top of
  cell, etc)
- open a rubric for assessing on the submission show page
- the styling should appear correctly

Change-Id: I543671f144ecdc8015771be2ed79184f15a61c10
Reviewed-on: https://gerrit.instructure.com/153331
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Augusto Callejas <acallejas@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-11 21:37:53 +00:00
Frank Murphy 3ceaed757f Use Rubric component for summary
Fixes OUT-2268

Test Plan:
- Open speedgrader, navigate to an assessment of a free-form rubric.
  Verify:
  - the new UI is present before clicking "view rubric"
  - the summary rubric only has two columns
  - each criteria lists points assessed out of points possible right after the
    comments.
- Now go to an assignment with a points-based rubric. Verify:
  - the spiky UI is present
  - the summary rubric only has two columns
  - each criteria lists the points assessment and comments right after
    the description of the rating.
- Navigate to a student without an assessment using the top right arrow
  keys
- Verify there is no summary rubric shown
- Navigate back to the student with an assessment, verify the summary is
  shown again.

Change-Id: Idae819264c507e42d67a6731367d2ddef5cd176d
Reviewed-on: https://gerrit.instructure.com/152226
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Matt Berns <mberns@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-11 21:36:34 +00:00
Cody Cutrer e2b0a33311 handle saml responses with no assertions
refs CORE-1516

Change-Id: I6db57556b5a8a0ff452833a3399a338883e70a0f
Reviewed-on: https://gerrit.instructure.com/153262
Tested-by: Jenkins
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2018-06-11 21:27:06 +00:00
Landon Gilbert-Bland eba5a00495 Finish up permission tray
Fixes COMMS-1159 COMMS-1129

Test Plan:
  * On the edit permission tray:
    - Notice that no notifications are displayed onBlur when you didn't
      change the role name
    - Notice that no notifications are displayed onBlur when you have a
      totally empty role name
    - If you change the role name to a new name that is not currently
      being used it pops up with a success message on blur
    - If you change the role name to a new name that is currently
      being used it pops up with an error message on blur
    - It no longer displayes the `changeBaseRole` dropdown menu
  * On the permission tray:
    - Notice that the `Changed By` field is gone, as we are not storing
      that information in the database
    - Notice that the `Assigned To` field is also gone.
    - If you change the role name, insure it will update the last
      changed date in the permission tray.
    - (once Sara's commit is in), notice that when you change a
      permission (role_override), the last changed date of the
      permission will also be updated
    - Make sure the last changed date is properly localized
  * Make sure the permissions tray works for account roles and course
    roles (using the tab switchet at the top of the page)

Change-Id: I9102d33b7a684c1a3b7f5a6fe4a67ecf678af8b0
Reviewed-on: https://gerrit.instructure.com/153013
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
QA-Review: Venk Natarajan <vnatarajan@instructure.com>
Product-Review: Landon Gilbert-Bland <lbland@instructure.com>
2018-06-11 21:19:44 +00:00
Mysti Sadler 8199ff9fc2 Preload Planner Overrides
refs ADMIN-1031

Test plan
- Set up a couple of planner items
  and make sure there are some overrides
  to check for (mark as complete or dismiss
  opportunities)
- Run the api/v1/planner/items call and ensure
  you don't get a planner_override sql call for
  every item

Change-Id: I8b4f468e3cb6177ced2aee3abec810a75d9aec9e
Reviewed-on: https://gerrit.instructure.com/152697
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
QA-Review: Luke Kingsley <lkingsley@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
2018-06-11 21:18:51 +00:00
Jeremy Neander c337987c93 update styles and accessibility
closes GRADE-1001

test plan:
 A. Setup
    1. Setup a course with AMM
    2. Add a moderated assignment with:
       a. Two graders (A and B)
       b. A third, final grader (C)
    3. Ensure enrollment of at least 21 students
    4. Assign some provisional grades using graders A and B
    5. Log in as the final grader C
    6. Visit the moderation page for the assignment

 B. Verify VoiceOver (in Safari)
    * This could be deferred to the a11y audit
    1. Verify the table is accessible using VoiceOver
       a. Announces table name "Grade Selection Table"
       b. Announces row and column headers for cells
       c. Announces cell content
    2. Verify Post button accessibility
    3. Verify Display to Students button accessibility
    4. Verify Pagination accessibility

 C. Verify KO Scrolling
    1. Tab to the table
    2. Verify a focus indicator surrounds the table
    3. Verify left/right arrows scroll the table horizontally

Change-Id: I32a5aee6c0c61d45851fa117a21e32aa8fae9b71
Reviewed-on: https://gerrit.instructure.com/153226
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Adrian Packel <apackel@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-11 20:39:51 +00:00
Marc Phillips bc35407d03 Remove CSS from DevKeys Management
fixes PLAT-3391

Test Plan:
 - Tests pass
 - Visually everything looks correct

Change-Id: Ic261e16cacba2633538417aa4c454060bc25b236
Reviewed-on: https://gerrit.instructure.com/152217
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Marc Alan Phillips <mphillips@instructure.com>
2018-06-11 19:48:27 +00:00
Han Ngo 5bd0ac2194 Browser back button takes user back to developer keys index
Closes PLAT-3417

Test Plan:
- Verify when creating/editing, the dev key index URL get
updated with a query string 'modal_opened=true'
- Verify when closing the modal, the query string go away
- Verify the when creating a new dev key, clicking the
browser back button will take user back to the dev key index
- Verify when editting a dev key, browser back button will
also go back to the dev key index
- Verify when saving a new dev key, it also goes back to the
dev key index page

Change-Id: Ia6bcfed67ba506afa0879f4c053e518e5dc3f878
Reviewed-on: https://gerrit.instructure.com/152150
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
QA-Review: Marc Alan Phillips <mphillips@instructure.com>
Tested-by: Jenkins
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-11 19:23:10 +00:00
Augusto Callejas 754c955fc9 Only allow non-negative points
refs OUT-2240

test plan:
  - enable the non-scoring rubric feature flag if not enabled
  - load the accounts rubrics page
  - click the "Learning Mastery" tab
  - confirm that when attempting to save ratings with
    negative points, an error message is displayed below
    the points field

Change-Id: Ic41b013cbc6499e3c1783fed2283fe6ed02ba2f0
Reviewed-on: https://gerrit.instructure.com/153069
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Reviewed-by: Matt Berns <mberns@instructure.com>
Tested-by: Jenkins
QA-Review: Michael Brewer-Davis <mbd@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-06-11 19:21:52 +00:00
Simon Williams 9864f1c2ac clarify pandata vs pandata-events naming
Change-Id: I6de924dfcfda1b10824ce0464241287148129cde
Reviewed-on: https://gerrit.instructure.com/152869
Tested-by: Jenkins
Reviewed-by: Addison Higham <ahigham@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
2018-06-11 19:07:28 +00:00
Han Ngo fe013273bf Change column 'User' into 'Owner Email' in DevKey index
Fixes PLAT-3450

Test Plan:
- Verify there is a column of Owner Email instead of User
- Verify this column display the owner email (if provided)
instead of the user name

Change-Id: I15c41b8d2fd5284564ef87b49651f8ffa293cf87
Reviewed-on: https://gerrit.instructure.com/152789
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-11 19:04:52 +00:00
Ryan Shaw 79a78b8001 User/course search Silence propType/deprecations
test plan:
* verify the icons for stats & settings on each course row of
  /accounts/x looks right and is centered in the space like it was.
* yarn test:jest should output less propType errors / deprecation 
  warnings

Change-Id: I22ade1da81f4a283b7b9876af8566b27b0105d88
Reviewed-on: https://gerrit.instructure.com/153159
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-11 18:18:17 +00:00
Michael Brewer-Davis 007333e1a8 handle empty outcome groups, alignment sets
closes OUT-2291

Test plan:
- Create a course with outcome groups but no
  outcomes
- Visit a student's LMGB
- Verify that text says no outcomes in course
- Add outcomes to some but not all of the
  groups
- Verify that only groups with outcomes appear
  in the sLMGB
- Create an assignment with rubric that references
  some but not all of the outcomes
- Assess the assignment for a student
- Verify that the sLMGB has correct results for
  outcomes aligned to the assignment, and has
  appropriate text for outcomes not aligned to
  any assignment

Change-Id: I2cf5f350bab18c4eb45b0d62af1d950857378a9a
Reviewed-on: https://gerrit.instructure.com/152784
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
Reviewed-by: Frank Murphy <fmurphy@instructure.com>
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
Tested-by: Jenkins
2018-06-11 18:05:28 +00:00
Rohan Cheeniyil af95252c4c fix: calendar spec require pointer
Change-Id: I5cd5fd532fa7916c43a9a72210eebc15eafc6bd1
Reviewed-on: https://gerrit.instructure.com/153279
Reviewed-by: Anju Reddy <areddy@instructure.com>
Tested-by: Jenkins
Product-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
QA-Review: Rohan Cheeniyil <rcheeniyil@instructure.com>
2018-06-11 17:53:55 +00:00
Venk Natarajan c7d20b146e Don't clear "All Roles" when switching tabs.
Fixes COMMS-1168

Test Plan:
* Open up the new permissions page.
* Switch course/account tabs.
* Wait 5 years.
* "all roles" should be there in the role filter
* Select something in the role filter.
* Switch back to the original course/account tab.
* Again, "all roles" should be selected.

Change-Id: Ib426f89b4a003ffb4bea2b616e4c32060908ba8b
Reviewed-on: https://gerrit.instructure.com/153243
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Landon Gilbert-Bland <lbland@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2018-06-11 17:18:33 +00:00
Landon Gilbert-Bland 1586babf4a Fix conversation emails when replay_to_enabled is false
Fixes COMMS-1116

Test Plan:
  * Have notification service setup to actually send emails
  * Have a user who is setup to receive all notifications immediately
  * Start a new conversation with that user
  * After starting a conversation with that user, send another message
    (reply) to that same conversation.
  * Check the emails, and make sure it doesn't say anything about do not
    reply to this message
  * open config/outgoing_mail.yml, and add this line under the
    development section: `reply_to_disabled: true`
  * Stop and start your rails server to make sure the config changes
    take affect
  * Do all the above steps to send a new conversation and reply to
    conversation
  * Make sure that it now has "Do not reply" in the subject, the bottom
    link now says "Reply to this message in canvas", there there is a
    message in the footer saying to not reply to this email
  * Undo the config change made above

Change-Id: I7b3615d320e43c300d604c203662de97f57b565c
Reviewed-on: https://gerrit.instructure.com/150234
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Landon Gilbert-Bland <lbland@instructure.com>
Product-Review: Matt Goodwin <mattg@instructure.com>
Reviewed-by: Steven Burnett <sburnett@instructure.com>
2018-06-11 17:17:44 +00:00
wdransfield 117d1b4aba Unify dev key feature flags
Closes PLAT-3466

Test Plan:
- Enable the single "Developer key management and scoping"
  feature flag in a root account.
- Verify dev key management and scoping work in that account.
- Disable the "Developer key management and scoping" feature
  flag.
- Verify developer key scoping and management do not apply
  in that account.

Change-Id: Ic9a1a639191b754a3b0fc808739dd4f3a9cadc43
Reviewed-on: https://gerrit.instructure.com/153141
Tested-by: Jenkins
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-11 17:15:42 +00:00
James Williams b5b0971741 remove unnecessary wiki-page specific scope override
now that wiki pages have context

Change-Id: I6ee0c429f4c22a67bcfe6b1ce7b3c436ccfc0ebd
Reviewed-on: https://gerrit.instructure.com/153244
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2018-06-11 17:12:02 +00:00
Spencer Olson 91de6c68fe use big int for summation in frontend grade calculator
closes GRADE-1236

Test Plan:
- specs pass

Change-Id: Ie4ed3227141451858a0f5058ff44b2a29f7f3263
Reviewed-on: https://gerrit.instructure.com/153186
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
Tested-by: Jenkins
QA-Review: Keith T. Garner <kgarner@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-06-11 17:11:48 +00:00
wdransfield c3cc2aaac8 Add plagiarism platform group assignment docs
Test Plan:
Verify docs generate

Change-Id: If3a225dfebd352e100d7b4a3f44e711e7699314c
Reviewed-on: https://gerrit.instructure.com/153246
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2018-06-11 16:10:03 +00:00
Steven Burnett 192a6e182c remove hidden attribute from duplicate ff
fixes COMMS-1171

Test Plan:
- Go to an accounts feature page
- find the duplicate modules feature option
- notice it doesn't have a hidden tag

Change-Id: Ib24de4d27a52755f9fc444af9598cbb9ec856ecf
Reviewed-on: https://gerrit.instructure.com/153258
Reviewed-by: Gentry Beckmann <gbeckmann@instructure.com>
Tested-by: Jenkins
Product-Review: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
2018-06-11 15:54:32 +00:00
KC Naegle de600aa8cb Add ids for selenium automation
Change-Id: Ib75d0af65eb3375512241f6b664711db256a5693
Reviewed-on: https://gerrit.instructure.com/152479
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
2018-06-11 15:54:08 +00:00
Ryan Shaw 0f1fdfebcf Instui5 upgrade: more trivial import path renaming
This will just pull these things in from the new broken-out smaller
Packages.

Test plan:
* go to the permissions page, all of these components should work as
  they did before

Change-Id: I873f35c3dff46536117e07d3dc2e6827fe8c2604
Reviewed-on: https://gerrit.instructure.com/153026
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2018-06-11 15:43:34 +00:00