Commit Graph

35704 Commits

Author SHA1 Message Date
James Williams 8241b4ebaf don't cache context on feature flag
sometimes can't be marshalled

Change-Id: I10e7f2211272ecc575a0a805e7e8b271b984434d
Reviewed-on: https://gerrit.instructure.com/199499
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-06-28 16:27:11 +00:00
James Williams 16ddde6b26 add course copy spec for tool migration hook settings
also a _tiny_ tweak to the original pr

refs ADMIN-2746

Change-Id: If434eb88d426d8b938c730eaa7a368a95405434d
Reviewed-on: https://gerrit.instructure.com/199505
Tested-by: Jenkins
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Brent Burgoyne <bburgoyne@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2019-06-28 15:31:16 +00:00
David Spencer c44239d000 Include content migration hook settings in exported XML
refs ADMIN-2746

Change-Id: Ifdada2f633c7cc9e6fb6e5336629d9cf4d19beb0
Reviewed-on: https://gerrit.instructure.com/199502
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Brent Burgoyne <bburgoyne@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
Tested-by: Jenkins
2019-06-28 15:31:06 +00:00
Transifreq 9764338333 update nn translation
Change-Id: I97c0de705141431085ce100f7786d0712c9c68eb
2019-06-28 05:52:26 -06:00
Adrian Packel c589d975c7 Don't murder database with post policies
closes GRADE-2274

Test plan:
- specs pass, migration runs

Change-Id: I2484ead5edef82cc0046ecdf09ab6e90c70b467f
Reviewed-on: https://gerrit.instructure.com/199358
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
2019-06-27 20:24:37 +00:00
Ryan Norton 426b7b43b6 fix submitting comments on attempt 0 in a2
when submitted comments for attempt 0 (the case where we have
no submissions) the attempt was reading as nil in the validation
and failing to create the comment.

Test Plan:
* as a teacher, create an assignment
* as a student in this assignment who has not yet submitted,
  navigate to the Comments tab
* create a new comment on the assignment
* it should successfully create the comment
* comments for attempt 0 and attempt 1 should display
  together

* on an assignment with one or more submissions, create a
  comment
* it should successfully create the comment

fixes COMMS-2174

Change-Id: If216a541aebf7db2ea7b6942a02d194113cd8e41
Reviewed-on: https://gerrit.instructure.com/199377
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Michelle Simmons <misimmons@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Norton <rnorton@instructure.com>
2019-06-27 20:06:17 +00:00
Ryan Norton 47a6893c20 fix hide left side of conversation message on wrap
when composing a conversation the text on the left side gets
hidden after being wrapped over from the previous line.

this happened because the textarea box extended slightly past the
surrounding div.

Test Plan:
* navigate to the inbox
* click the Compose button to create a new conversation message
* type until just before you reach the right side of the message box
* if you continue typing from here the text should wrap without
  cutting off the text or shifting the text to the left
* if you paste a large block of text that scrolls below the bottom
  of the message box area, when you click out of the area and click
  back in, the bottom of the text should not be cut off

fixes COMMS-2108

Change-Id: I24458c35692e6be77928ee9d89c7c9923a9f625f
Reviewed-on: https://gerrit.instructure.com/199351
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-06-27 19:55:01 +00:00
Ryan Shaw e53b6ee53b allow schools to turn on rce_enhancements in beta
Closes: CORE-3117

Before this change:
* only “Site admins” (aka Instructure employees like CSMs or Engineers)
  can turn on the rce_enhancements feature flag in beta

With this change:
* any school admin can turn on this feature flag in beta

Things not changed in this commit, but just to document:
* still, no one can turn this feature flag on in production
* that is because it is marked as `development` which means 
  `context.feature_enabled?` calls for the feature will always return 
  false in production
* and it also only went from `hidden` to `hidden_in_prod` which means
  that even if it was not marked `development`, it will not be visible 
  to non-site-admin users in production
* when we are ready for people to turn it on in production, we will have
  to make another commit to change this feature flag for that

Change-Id: Ibeb1a4decaa6e034d8eeeec2f95f6db6ace0a274
Reviewed-on: https://gerrit.instructure.com/199221
Product-Review: Laura Leavitt <lleavitt@instructure.com>
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2019-06-27 18:05:34 +00:00
Aaron Griffin 840cf27953 Support i18n numbers on quizzes edit page
Test Plan:
- Given a quiz in a locale with different number formatting
- Change the points of a question to '1234.5' in that locale
- See it accept and format points correctly on the question and the
  header

Closes QO-442

Change-Id: I75c353716718377bb26c1088a4db58aaa7c8f721
Reviewed-on: https://gerrit.instructure.com/198543
Tested-by: Jenkins
Reviewed-by: Jonathan Holt <jholt@instructure.com>
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Kevin Dougherty III <jdougherty@instructure.com>
2019-06-27 18:05:20 +00:00
Jacob Burroughs 71f94d8637 Unslave quiz show
Fixes bugs with random incremented attempts (+ difficulty starting quizzes)

fixes QO-4

partial revert of f6a1cdb289

Change-Id: I85b139056e02585211cd992e591e836e9ccc9c83
Reviewed-on: https://gerrit.instructure.com/199376
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-06-27 18:00:16 +00:00
Adrian Packel eab8b85148 Fix post policy-related grade calculator issues
- A variable named "submission" was actually a hash containing (among
  other things) a submission and an assignment, so checking
  submission.posted? was not okay
- Moreover, the submission that said submission-hash contained could
  have been set to nil if the submission had not yet been posted (or, in
  the pre-post-policies world, the assignment was muted). This wasn't an
  issue before, but became one since with post policies we check
  individual submissions.

fixes GRADE-2268

Test plan:
- Specs pass
- Enable post policies/new gradebook
- Have a course with assignment groups and a drop rule (at least one
  "drop highest" or "drop lowest")
- Assign some grades
- Grade calculator should not cause an error

Change-Id: I3a94e7ee4808cc6f38f247b6ee9652ddf6e7f6d0
Reviewed-on: https://gerrit.instructure.com/199187
Tested-by: Jenkins
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Adrian Packel <apackel@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-06-27 16:46:27 +00:00
James Williams a8f30190bb fix consul rails 5.2 enabling logic
so it's actually enabled with a 'true' value

Change-Id: Ib35669b69880dbf7059fee6eda49fdfc2aaa9314
Reviewed-on: https://gerrit.instructure.com/199344
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
2019-06-27 16:40:11 +00:00
Christine Yan b75891d557 Anonymize submission notifications
fixes GRADE-2130

Test Plan:
- Create a course, teacher, and assignment with anonymous grading
  - Make sure Canvas is configured to deliver mail
  - Set teacher notifications to deliver immediately
- As a student, submit and resubmit to the assignment
- As admin, view the teacher's messages (as the teacher sees them):
  - Go to /users/[teacherID]/messages
  - Assignment Submitted notifications should be from "Anonymous User"

Change-Id: Ie63cbc95f000a1fc55b0d75f00e5e03a9d3da7e2
Reviewed-on: https://gerrit.instructure.com/198269
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-06-27 16:30:59 +00:00
Cody Cutrer 50c0f33bda allow temp tables in deploy env
also ensure we unshackle the db server automatically

Change-Id: I709c92b0568783fd0b77b5b0518a8bf8783a1d74
Reviewed-on: https://gerrit.instructure.com/199223
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-06-27 16:19:40 +00:00
Jeremy Stanley 8af5294859 improve a11y for course image selector button
test plan:
 - enable the dashboard card images feature
 - choose a course card image for a course
 - return to the course settings page
 - the kebab menu button for the course should have
   hover text that reads "Course image settings"
 - the kebab menu button should also be read as
   "Course image settings" by screenreaders including JAWS

fixes ADMIN-2739

Change-Id: I3b9c2e8515f712c3d67da49ab17071c2237afdb4
Reviewed-on: https://gerrit.instructure.com/198935
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Product-Review: Daniel Sasaki <dsasaki@instructure.com>
2019-06-27 15:39:20 +00:00
Boudewijn van Groos 86a7d18829 Correct submission file upload documentation
The current documentation mentions that a file upload API is
coming soon, while it is already there for quite a while.

closes GRADE-2269
closes GH-1473

Test Plan:
  - Build documentation
  - Check if the explanation for creating a submission makes more sense now

Change-Id: I468e09fbe30b346d9433ba1425f51d92763f9fc0
Reviewed-on: https://gerrit.instructure.com/199330
Reviewed-by: Derek Bender <djbender@instructure.com>
Tested-by: Jenkins
QA-Review: Spencer Olson <solson@instructure.com>
Product-Review: Spencer Olson <solson@instructure.com>
2019-06-27 15:10:49 +00:00
Rob Orton f5df7bdd77 fix statistic counts
Change-Id: I3386a91fe814163823353c5a015a6030c96f5810
Reviewed-on: https://gerrit.instructure.com/199317
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
2019-06-27 15:06:28 +00:00
James Williams f821acc9f4 fix participants for non-differentiated assignment notifications
test plan:
* create a course with an active student
* change the course so the course begins in the future
 and students are restricted to participating between
 course dates
* create a new assignment
* the student should not receive a notification that
 the assignment was created

closes #COMMS-2132

Change-Id: I594bdb5fb50ebae28c74a5b842dee3e70a148eab
Reviewed-on: https://gerrit.instructure.com/199327
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
Tested-by: Jenkins
2019-06-27 15:04:42 +00:00
Keith T. Garner 536a72f2f8 cache quiz_lti on submissions
This caches/denormalizes the quiz_lti? information from assignments
onto submissions. This makes queries for missing/late Quizzes.Next
quizzes to be easier without having to join three tables. (Future
ticket coming to make this happen.)

closes GRADE-2231

test plan:
 - Have a course with a student and a Quizzes.Next assignment and
   another non-Q.N assignment. (You can fake the quizzes next assignment
   via the rails console)
 - On the rails console check the submission object for each
   assignment. Confirm that the quizzes.next assignment has
   cached_quiz_lti set to true and that the other assignment has it
   set to false
 - Create another assignment with on paper. Save.
 - Switch it to a Quizzes.Next assignment.
 - On the rails console check the submission object for each
   assignment. Confirm that the new quizzes.next assignment has
   cached_quiz_lti set to true
 - For the new assignment, in the rails console, find the ContentTag
   and .destroy it
-  On the rails console check the submission object for each
   assignment. Confirm that the new quizzes.next assignment has
   cached_quiz_lti set to false

Change-Id: I4bfc1d3a282863dde9de9658b335b9a24b2341e5
Reviewed-on: https://gerrit.instructure.com/197811
QA-Review: James Butters <jbutters@instructure.com>
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: James Williams <jamesw@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2019-06-27 14:28:42 +00:00
James Williams 449938d236 bump aws-sdk gems
Change-Id: I760a730c4868bf98df93cd9f092032f6dfcd849b
Reviewed-on: https://gerrit.instructure.com/199328
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-06-27 14:19:39 +00:00
James Williams 44d0b780ba update SIS documentation for courses with blank account_id
to match current behavior

closes #CORE-3140

Change-Id: I8dd9c78c6374dffa9329ce334c1f0c6cff7f8190
Reviewed-on: https://gerrit.instructure.com/199201
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-06-27 12:28:21 +00:00
Transifreq caf62f3ba3 update nn translation
Change-Id: I34dc006be15837bcd90d990da43588a405cbc383
2019-06-27 05:52:08 -06:00
Gary Mei 2ca271ebd7 add SpeedGrader filter course frontend setting
closes GRADE-2241

Test Plan
- Open a rails console.

- Verify that without New Gradebook enabled, the setting does not
  appear.

- Enable New Gradebook.
- Turn on the setting from the course's settings page.
- In the console, verify that this returns true:
  `your_course.filter_speed_grader_by_student_group?`

- Turn off the setting from the course's settings page.
- In the console, verify that this returns false:
  `your_course.filter_speed_grader_by_student_group?`

Change-Id: I526523ccc073ef66497efe4854ddd50f53a5a9eb
Reviewed-on: https://gerrit.instructure.com/198236
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: Jonathan Fenton <jfenton@instructure.com>
Tested-by: Jenkins
2019-06-26 22:33:38 +00:00
Landon Gilbert-Bland bd07c2229f Clean up selenium sepcs for permissions page
Fixes COMMS-2082, COMMS-2115

Test Plan:
  * Jenkins passes (multiple times)

Change-Id: If2766c95e6ba876408696d88695142548405c0ee
Reviewed-on: https://gerrit.instructure.com/198973
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-06-26 20:51:51 +00:00
Cameron Matheson f4942b8901 upgrade graphql to 1.9.6
Change-Id: I0811fadebadbd54188c803d2bcb911c7e22bfb16
Reviewed-on: https://gerrit.instructure.com/198835
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2019-06-26 20:47:53 +00:00
Chris Hart 3510ca9d51 Prevent double focus ring on Inst-UI Buttons
Fixes: UIDEV-279

Test plan:
- In Canvas, turn on the Underline All Links feature
- Go to the Courses nav tray, and confirm that
  only one focus ring is now showing on the course
  links:
  https://www.screencast.com/t/QZTIMGLOW
- When the Underline All Links feature is ON, the
  course links should be underlined.

Change-Id: Id90680d266400d998f559614bc938976adad35f0
Reviewed-on: https://gerrit.instructure.com/199024
Tested-by: Jenkins
Reviewed-by: Pam Hiett <phiett@instructure.com>
Product-Review: Pam Hiett <phiett@instructure.com>
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
2019-06-26 20:46:33 +00:00
James Williams 69ac4895f5 bump inst-jobs
improve abandoned job rescheduling

Change-Id: Iab1f134ce4d03453184d2d70197bd6eff788dc9a
Reviewed-on: https://gerrit.instructure.com/199135
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-06-26 19:00:50 +00:00
Steven Burnett a5d8b67ff1 observer pairing codes xcel format
fixes COMMS-2165

Test Plan:
- ensure that in your account settings you
  have self enrollment turned on the setting
  is at the bottom of /accounts/self/authentication_providers
- go to http://localhost:3000/courses/1/users
- click the keebob menu on the top right
- click menu item called export pairing codes
- notice you get a csv that lists every student
- notice that non of the codes are in exponential format
- repeat several times
- notice no code gets in xponential format
- celebrate

Change-Id: Ie053fafeae3dbaa16d621839ed6b51bbe395d5b2
Reviewed-on: https://gerrit.instructure.com/199096
Tested-by: Jenkins
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-06-26 18:33:58 +00:00
Matthew Lemon 408729f3bf fix bug where we were not loading new submission drafts in A2
fixes COMMS-2161

Before when we were updating a submission draft with new attachments the
view wouldn't update to display those changes. This was due to a bug
where we were returning null instead of the updated submission when
updating state in the view manager. This fixes that.

This is also fixing a bug where after submitting an assignment we would
see the "no submission" svg despite having just submitted. Before we
were required to reload the page to actually view the assignment and its
attachments. This was due to the apollo cache not getting updated
correctly, thus failing to re-render the view. We fixed this by adding
the submission attachments to the response from the createSubmission
mutation. By doing that we are now updating the cache appropriately and
things are just peachy.

TEST PLAN:
* Create a course and add a student to it
* Create an assignment with a file upload submission type
* Masquerade as the student
* Add and remove multiple files to the submission (this should work
  totally fine)
* Submit the assignment and note that the submission should show a
  preview for the files you submitted (or the no preview available message
  svg)
* In Assignments 1 resubmit the assignment multiple times with different
  files and in varying quantities.
* In Assignments 2 you should be able to navigate between your various
  submission attempts and there should be no problems

Change-Id: I93a8e9804eaeffc87ee8510cc1841b6dc863fcb5
Reviewed-on: https://gerrit.instructure.com/198856
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: Michelle Simmons <misimmons@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2019-06-26 18:12:54 +00:00
Pam Hiett 3114a4f7d9 replace Link with Button in Canvas Planner
refs: UIDEV-277

TEST PLAN:
- set-up: "Canvas Planner" so need a user that has that as their
  dashboard view

- set-up: create an "event" for said user so it shows on their
  planner list ... click the event and a modal should trigger - the
  title is now using Button vs Link

- within Planner,  select the "Gradebook" icon at the top of the page ...
  the Course names are now using Button vs Link

- within Planner, select the "Alert/Bell" icon at the top of the page ...
  the Assignment names are now using Button vs Link

- within Planner, the list items on the main screen (see event that was
  created in the earlier step) the Title is now using Button vs Link

- lastly, ensure titles underline when user feature is enabled
  (note: the dashboard titles use onClick so will not underline)

Change-Id: I63e88e6afce1cf36fa4c09ebd5b99fe1a42a744c
Reviewed-on: https://gerrit.instructure.com/198316
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Jenkins
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Product-Review: Pam Hiett <phiett@instructure.com>
2019-06-26 16:31:32 +00:00
Pam Hiett ac195a44b2 replace Link with Button in Moderated Grade Summary
refs: UIDEV-280

TEST PLAN:
- set-up: ensure "Moderated Grading" is allowed at the SiteAdmin level
- ensure "Moderated Grading" is turned on at the Account level for courses
- navigate to a course within that account, create an assignment or edit
  an existing assignment that students have not yet submitted to
- within the assignment edit or creation step select the "Moderated
  Grading" checkbox (set yourself as the "Grader that determines the
  final grade)
- nest steps are to login as a couple of students for the course and
  assignment that has been set-up for Moderated Grading
- next step is to login as a teacher or ta and grade the students
  submissions
- lastly, log in as the admin/yourself - navigate to the assignment -
  there should now be a "Moderate" button next to the "Published" and
  "Edit" buttons... click it
- the students names should now be using Button variant="link" within
  the Grade Summary table

Change-Id: Ia09c53ea9f3b9c295c67718f2c428c2f5d07af3c
Reviewed-on: https://gerrit.instructure.com/198497
Tested-by: Jenkins
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Reviewed-by: Chris Hart <chart@instructure.com>
Product-Review: Chris Hart <chart@instructure.com>
2019-06-26 16:31:15 +00:00
Jon Willesen debef8b978 add react-hooks linting and update react dep
Update the react dependency to 16.8 since we're starting to use react
hooks, which requires that version at minimum.

test plan:
- linting still works
- intentionally create a violation of rules-of-hooks. Linting should
  find and report the error.

Change-Id: I0baccd64397b31118b96eb390462acf56daeca96
Reviewed-on: https://gerrit.instructure.com/199053
Reviewed-by: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2019-06-26 16:24:49 +00:00
Erin Hallmark 2132c01ff9 update API Change log for 2019-07-13 release
CLOSES: DOC-1081

Also cleaned up formatting, capitalization, and
section order in change log archive page

Test plan:
- rake doc:api
- in API change log page, note entry for 2019-07-13
- in breaking changes page, note new entry
- jenkins is happy

Change-Id: I19d852d003c4a1f18bba1509f5105db782e3339f
Reviewed-on: https://gerrit.instructure.com/199090
Tested-by: Jenkins
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2019-06-26 14:37:52 +00:00
James Williams 0981b95b69 bump rails 5.2
Change-Id: I2de8a8facb68696da62917ed6dafeca946218d98
Reviewed-on: https://gerrit.instructure.com/198572
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-06-26 14:29:22 +00:00
James Williams cdead2524e spec: fix live_events gem spec flakiness
Change-Id: I48ac091dca4e7641bfbed336318133467b942c97
Reviewed-on: https://gerrit.instructure.com/199125
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2019-06-26 14:29:14 +00:00
Pam Hiett ff5a17e670 replace Link with Button in Permissions Table
refs: UIDEV-276

TEST PLAN:
- within the Admin subNav select "Permissions"
- the table headers and the Permissions column links should not
  be underlined by default

  NOTE: even if the user turns on the underline links feature these
  instances will not underline as they do not have an href but rather
  an onClick

Change-Id: I09cf87a66e120e487a44c67bbb737ea7ee8f3d44
Reviewed-on: https://gerrit.instructure.com/198193
Tested-by: Jenkins
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Reviewed-by: Chris Hart <chart@instructure.com>
Product-Review: Chris Hart <chart@instructure.com>
2019-06-26 14:21:31 +00:00
Chris Hart 19dd620d90 Fix underlined links in Student Context Card
fixes: UIDEV-268

Test plan:
- The heading link with the student's name should
  no longer be underlined unless the underline all links
  feature is ON, and the font-size should
  now inherit from our `large` Button variant:
  https://www.screencast.com/t/3gtqOp99
  (Confirm that the link still produces ellipsis when
  the name is long)

- The link that wraps each Progress component should
  no longer cause underlines unless the underline all
  links feature is ON. The Progress component should
  now show the focus ring when the link is focused:
  https://www.screencast.com/t/3WRZJdpR

Change-Id: I85fdfd01b532a7441f35446750b960e57751540e
Reviewed-on: https://gerrit.instructure.com/198053
Tested-by: Jenkins
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Reviewed-by: Pam Hiett <phiett@instructure.com>
Product-Review: Pam Hiett <phiett@instructure.com>
2019-06-26 14:05:17 +00:00
Chris Hart 83b75aa805 Fix underlined links in Gradezilla Submission Tray
Fixes: UIDEV-274

Test plan:
- With New Gradebook enabled, click on an assignment
  in the main table, then click the Expand Tray icon.

- Confirm that the any links appearing in the tray are
  no longer underlined by default:
  https://www.screencast.com/t/qPUwxM2be

- Confirm all links still work.

Change-Id: I5de3627034a5fff9dcb6b16e23b1ff0ffe0df705
Reviewed-on: https://gerrit.instructure.com/198302
Tested-by: Jenkins
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
Reviewed-by: Pam Hiett <phiett@instructure.com>
Product-Review: Pam Hiett <phiett@instructure.com>
2019-06-26 14:04:49 +00:00
Transifreq 0ec2bcbdf8 update nn translation
Change-Id: Ia43eb4c176ba971b49dd78312ca7af040e71954a
2019-06-26 05:51:33 -06:00
Ubuntu e35df62be2 update locales with new translations
Change-Id: I27d231f614eda5a344afeee134592eca37fad66e
Reviewed-on: https://gerrit.instructure.com/199117
Tested-by: Jenkins
2019-06-26 10:46:50 +00:00
Chris Hart 4e574c657d Fix underlined links in Assignments 2
Fixes: UIDEV-267

Assignments 2 must be enabled at the account level to
review this commit. Once it's enabled, you should see
a button on each assignment to convert it to
Assignments 2

Test plan:

As a teacher/admin, links should no longer be underlined:
- On the student info Tray: https://www.screencast.com/t/SBrfYr3QqN6J
- On the student info Table: https://www.screencast.com/t/zNb3B4CCwAPW

As a student, links should no longer be underlined:
- On the list of modules/assignment groups:
  https://www.screencast.com/t/tAGasqSEbO
- On the late policy popover trigger:
  https://www.screencast.com/t/NuqP5tKrR3BK
- On the comments section, if you attach a file
  to the comment (attach the file via SpeedGrader
  as a teacher/admin):
  https://www.screencast.com/t/kuHZUjYV

Change-Id: I9b5cf91b0e8f9a72e239ad5378fe2539d979c628
Reviewed-on: https://gerrit.instructure.com/198140
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Product-Review: Chris Hart <chart@instructure.com>
QA-Review: Daniel Sasaki <dsasaki@instructure.com>
2019-06-26 01:58:06 +00:00
Ryan Shaw ece2a5cc71 Don’t use special eslint for canvas-planner
…instead, just use the default config for the rest of the repo

Test plan:
* cd packages/canvas-planner
* yarn eslint src/components/BadgeList/index.js
* you should not see an error about not being able to find flowtype

Change-Id: I48c4ab3ac20a60352c20c489addb4d4b4a32e83a
Reviewed-on: https://gerrit.instructure.com/199060
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2019-06-25 22:22:12 +00:00
Marc Phillips 6d85993a87 Fix postmerge build failures
fixes PLAT-4616

Test Plan:
 - tests pass

Change-Id: I447fcd970149d74e0dfda1b95d26a587f14d004f
Reviewed-on: https://gerrit.instructure.com/199029
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Marc Phillips <mphillips@instructure.com>
2019-06-25 21:29:56 +00:00
Derek Bender 19a0d49b02 Refactor speed_grader/assignment.rb
Remove ivars for better flexibility and rework specs for clarity and
maintainability. This work was extracted out of a forthcoming patchset.

Refs: GRADE-2245

Test Plan:
- specs pass

Change-Id: Ide53a2473f2146c1c2410efedb58287e140b0486
Reviewed-on: https://gerrit.instructure.com/198927
Tested-by: Jenkins
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
2019-06-25 20:36:16 +00:00
Clay Diffrient 3664d5ddea Update yarn.lock to have 6.4 version of pagination
Test Plan:
  - Automated tests pass

Change-Id: I0776d792e5c8befbc60e1b99f112fc90dab5e463
Reviewed-on: https://gerrit.instructure.com/199008
Reviewed-by: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2019-06-25 20:33:49 +00:00
Marc Phillips 66356b010b Remove lti docs
We need to do some tweaking and don't want these
to hit production and have developers start
using them as they are currently not right.

closes PLAT-4611

Test Plan:
 - generating the api docs should not show the extensions
   for the scores and results controllers

Change-Id: I4f401480bee62f70f5a24397513d019d4a0fea79
Reviewed-on: https://gerrit.instructure.com/198953
Tested-by: Jenkins
Reviewed-by: Clint Furse <cfurse@instructure.com>
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2019-06-25 19:49:40 +00:00
wdransfield 951bfc9f90 Publish "Names and Role" documentation
Test Plan:
Generate API docs and verify "Names and Role" documentation
is now present.

Change-Id: I144a38fe08ed270cda4221189fd46dcffd7440d6
Reviewed-on: https://gerrit.instructure.com/198892
Reviewed-by: Clint Furse <cfurse@instructure.com>
Tested-by: Jenkins
QA-Review: Clint Furse <cfurse@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2019-06-25 19:49:02 +00:00
Drake Harper e0d184126a Add manual edit for public jwk url
refs PLAT-4493

Test Plan:
-create a developer key and validate the public jwk url field
	is present
-save developer key
-edit developer key and validate public jwk url field is present
-save edit and validate edits were saved to developer key

Change-Id: I9019d116ad9995931757439f4c3d63b3d67a3a5f
Reviewed-on: https://gerrit.instructure.com/197713
Tested-by: Jenkins
Reviewed-by: Marc Phillips <mphillips@instructure.com>
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2019-06-25 18:29:59 +00:00
James Butters b3d4e32f0c spec: add new speedgrader filter specs
Change-Id: If73aa2326452c96a2802abe0d623a3253c6dec0c
Reviewed-on: https://gerrit.instructure.com/198437
Tested-by: Jenkins
Reviewed-by: KC Naegle <knaegle@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
2019-06-25 18:05:48 +00:00
Marc Phillips 170d3f89b6 Fix nrps lookups on reinstalled tool
fixes PLAT-4605

Test Plan:
 - follow the repro steps in the ticket, bug should be fixed

Change-Id: I37cb56b79d41d512c0b49992b1eed4a5f6ff678e
Reviewed-on: https://gerrit.instructure.com/198641
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
Reviewed-by: Clint Furse <cfurse@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Marc Phillips <mphillips@instructure.com>
2019-06-25 16:49:41 +00:00