Commit Graph

33319 Commits

Author SHA1 Message Date
Gary Mei fba2e58ef1 fix avatars changing width on long comments
Avatars in comments in SpeedGrader could shrink if the comment text
was too long. This sets a constant size.

Test Plan
- Enable avatars (Account settings)
- Create an assignment
- Launch SpeedGrader as a teacher.
- Create a comment.
- Create a really long comment.
- Notice that the avatars are circular and constantly sized.
- Resize the window and verify the avatars continue to look circular
  and constantly sized.

fixes GRADE-1836

Change-Id: Ic155233ca1354c3839138b3b32b06aabf1c9b752
Reviewed-on: https://gerrit.instructure.com/173431
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Keith Garner <kgarner@instructure.com>
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-11-27 22:28:30 +00:00
Josh Orr 8b39ee0e00 Move retries option to client execute methods
Refs GOOF-658

Test Plan: Test that an assignment upload works from
google doc plugin(not lti)

Change-Id: Id9a75d964c60c42336ef827e2472720f33d855a5
Reviewed-on: https://gerrit.instructure.com/173424
Reviewed-by: Nick Houle <nhoule@instructure.com>
Reviewed-by: Jeremy Slade <jslade@instructure.com>
Product-Review: Nick Houle <nhoule@instructure.com>
Tested-by: Jenkins
QA-Review: Pedro Fajardo <pfajardo@instructure.com>
2018-11-27 22:01:27 +00:00
Clay Diffrient 93a6d18046 Add precommit hook for auto fixing files
This only affects javascript files and only affects things
from the prettier whitelist

This will run slowly if you don't have node_modules installed
locally (e.g., in Docker), but it will gladly attempt to
run things in Docker for you.

This adds a new githook_installer image that will install
the githook whenever a docker-compose up happens in the
repo.  It will also install the hook whenever a `yarn`
occurs locally (as a postinstall hook).

This commit should also not fail things.  For example
having unused variables is an ESLint error, but it isn't
autofixable.  It will log the error, but will otherwise
continue.  However, it will make this pretty with prettier
as well as fix any other autofixable ESLint errors.

closes CORE-2118

Test Plan:
  - Run `yarn`
  - Add some semicolons to something from the whitelist
  - git add that file
  - git commit and it will strip semicolons
  - In a dockerized Canvas:
     - docker-compose up
     - Add semicolons to a file
     - git add that file
     - git commit, it will take forever (~60s)
     - It should have stripped out semicolons

Change-Id: Id9198aa008808e898f29acb9ed64dd14ff843222
Reviewed-on: https://gerrit.instructure.com/171510
Tested-by: Jenkins
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Brent Burgoyne <bburgoyne@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2018-11-27 21:07:31 +00:00
Tucker McKnight 3375014b35 Document the new teacher_limit parameter
The show course endpoint has a new, optional parameter. This adds
it to our API documentation.

test plan:
- rake doc:api
- teacher_limit parameter should be mentioned on courses page

Change-Id: I06edd1fc055469eee7188c9c6e63873fa9eac0e6
Reviewed-on: https://gerrit.instructure.com/173315
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Tested-by: Jenkins
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Tucker Mcknight <tmcknight@instructure.com>
2018-11-27 20:27:52 +00:00
James Williams a65d008098 bump jobs gems
closes #CORE-2162

Change-Id: I5ab8818923db51021475d5c90e0dff6ea0447c5f
Reviewed-on: https://gerrit.instructure.com/173251
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
2018-11-27 20:24:15 +00:00
Cody Cutrer 8f18798508 configure the connection before checking the version
so that we don't complain about version being wrong when other
things are wrong first

Change-Id: I6ae233f9480cd09b485a830138d20bb6aa37935a
Reviewed-on: https://gerrit.instructure.com/173377
Tested-by: Jenkins
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2018-11-27 20:03:29 +00:00
Cameron Matheson 39d831f6b5 graphql: ensure nodes field is always enabled
The graphql-ruby gem defaults to not including the nodes field for
connections defined with the legacy api

Test plan:
  All connections should now have a `nodes` field.

closes GQL-19

Change-Id: I5981b68cdbde73cac2ca06ca4ac90448ab348008
Reviewed-on: https://gerrit.instructure.com/173412
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2018-11-27 19:36:30 +00:00
Cameron Matheson 8258f6ee20 graphql: properly process assignment description
Test plan:
  add links to various course files in an assignment's description.  The
  description returned by graphql should return fully qualifed links
  (the description should be the same as the description returned by the
  REST api).

closes GQL-7

Change-Id: I189f45160697860201ec8fe6fe1fa2771e18cc35
Reviewed-on: https://gerrit.instructure.com/171990
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Cameron Matheson <cameron@instructure.com>
Product-Review: Cameron Matheson <cameron@instructure.com>
2018-11-27 19:20:42 +00:00
wdransfield ec4dbc199d Set "require_scopes" to true if RSA key.
Fixes PLAT-4003

Test Plan:
- Create a non-lti key that does not requires scopes
- Verify require_scopes is false for that key
- Create an lti key with or without scopes
- Verify require_scopes is true for that key

Change-Id: I2bf7a6fface7b1ed1d34b34f7cd873792c650d49
Reviewed-on: https://gerrit.instructure.com/172849
Tested-by: Jenkins
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
Reviewed-by: Marc Phillips <mphillips@instructure.com>
2018-11-27 17:50:31 +00:00
wdransfield 3d3352907e Service appender support endpoint
Refs PLAT-3991

Test Plan:
- Create multipel tool proxies in your account.
  Note the vendor code and product code of the
  proxies.
- Using the new documentation as a reference,
  hit the endpoint to add a new service to the tool proxies
- Verify all tool proxies have the new service added
  with the correct actions

Change-Id: If19c8ed0b8e788dab3025a7e33c5176386a8d885
Reviewed-on: https://gerrit.instructure.com/172604
Tested-by: Jenkins
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
Reviewed-by: Marc Phillips <mphillips@instructure.com>
2018-11-27 17:50:20 +00:00
Derek Bender d222f39189 add Overrides to View Menu in Gradebook
closes: GRADE-80

this also fixes a problem with showUnpublishedDisplayed which was never
hooked up to anything. It now is referenced correctly as
gradebook.gridDisplaySettings.showUnpublishedAssignments

test plan:
 - Enable the Final Grade Override Feature Flag
 - In new gradebook, View -> Overrides is now present
 - When filtering by grading periods, Overrides label changes to
   "Grading Period Overrides"
 - Selecting this option does not change anything, but the selection
   is persisted between page reloads

Change-Id: I9ba16b3bf65c371eb4da4ed070a748c269fe018e
Reviewed-on: https://gerrit.instructure.com/172636
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Tested-by: Jenkins
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-11-27 17:49:18 +00:00
Derek Bender cad9bb0da1 change description of AIA flag
closes: GRADE-1811

test plan:
 - no typos

Change-Id: I5f3e89b8ea23af7653a408a9484bfdce4088d202
Reviewed-on: https://gerrit.instructure.com/173185
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: Sidharth Oberoi <soberoi@instructure.com>
2018-11-27 16:41:23 +00:00
Frank Murphy bd1639c07b Truncate long error messages.
This prevents an error in our rescue handlers when trying to
save the original error message.

Fixes OUT-2878

Test Plan:
- Create an outcome import csv with a very long (>255 character)
  object GUID.
- Attempt to import that csv, and verify an email with an error
  is received.

Change-Id: I49bdbbd412ad5555a201965321e7a5c49eb3ea48
Reviewed-on: https://gerrit.instructure.com/173312
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Neil Gupta <ngupta@instructure.com>
2018-11-27 15:29:54 +00:00
Frank Murphy 3580dd2e48 React-ify criterion info button.
Fixes OUT-2849
Fixes OUT-2857

Test Plan:
- On the course outcomes page, create a new outcome.
- Verify the info button is a button, has screen reader text,
  and opens a modal dialog with information.
- Edit the same outcome after creation and verify the button still
  works as outlined above.

Change-Id: I34d0918c7b70f2e1d67b606d5296f3c25ab9be79
Reviewed-on: https://gerrit.instructure.com/172767
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Neil Gupta <ngupta@instructure.com>
2018-11-27 15:29:37 +00:00
James Williams 08d55215e4 optionally limit teacher information in courses api
test plan:
* have a course with more than 10 teachers
* the account course search shouldn't list
 all the teachers for the course

closes #CORE-1656

Change-Id: I2ff6d584c4c366073248b7334b9a8fb1b5c2c4c6
Reviewed-on: https://gerrit.instructure.com/162064
Tested-by: Jenkins
Product-Review: James Williams <jamesw@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2018-11-27 14:03:01 +00:00
Transifreq 12d95c992d update es translation
Change-Id: Ic664636b7b45d1905ed76abee9d51f0e2ad74867
2018-11-27 05:15:43 -07:00
Aaron Hsu 0cee9c5fd2 Due date on or after 11:31 p.m. will now show on calendar events
fixes COMMS-1770

Test Plan
- Create an assignment and give it a due date
on or after 11:31 p.m. (23:31 for 24-hour clocks)
- Create an assignment and give it a due date before 11:31 p.m.
- Navigate to the calendar
- Notice that the assignment due on or after 11:31 p.m.
will now contain the due date in the title

Change-Id: I50b6bebce54b59e070e0e246b5bff8854e0aed92
Reviewed-on: https://gerrit.instructure.com/173249
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>
2018-11-26 22:29:34 +00:00
Steven Burnett ce931bd2b8 get basic assignment data for students
fixes COMMS-1764

Test Plan:
- Visit an individual assignment page as a student
- notice your data is no longer mocked and shows correctly

Change-Id: I7810db47fa81c6120285359d754e1d9465ad3fe5
Reviewed-on: https://gerrit.instructure.com/173177
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>
2018-11-26 22:28:39 +00:00
Clay Diffrient 36ff81bcd8 Remove npm-run-all because it is unused
Test Plan:
  - Automated tests pass

Change-Id: Iefc64451fc20680afd9a77c594eba5df677cf66e
Reviewed-on: https://gerrit.instructure.com/173299
Tested-by: Jenkins
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2018-11-26 22:26:33 +00:00
Erin Hallmark 6fd5aed3ed update api change log for 2018-12-08
closes: CORE-2191

test plan:

- view api change log and verify updates
for 2018-12-08 heading and table
- verify included links work correctly

Change-Id: I2984727048ff3d741de7764e3898f6d6bbb1a957
Reviewed-on: https://gerrit.instructure.com/173168
Reviewed-by: Mysti Sadler <mysti@instructure.com>
Tested-by: Jenkins
QA-Review: Pedro Fajardo <pfajardo@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
2018-11-26 22:25:29 +00:00
Frank Murphy 78d6218d4d Move everything possible under the catch-all
References OUT-2877

Test Plan:
:qa-cr:

Change-Id: I47356944ddc4da23f99cf6235343f55668044d42
Reviewed-on: https://gerrit.instructure.com/173302
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Frank Murphy III <fmurphy@instructure.com>
2018-11-26 22:00:31 +00:00
Clay Diffrient 4e6b24ccfc Add junit reporting to canvas-planner
closes QA-614

Test Plan:
  - Run yarn test inside the canvas-planner directory
  - A junit file should be created in ./coverage/canvas-planner-junit.xml
  - It should also report to jenkins 'Test Results' when there is a failure

Change-Id: Ibfb1ec088ceb60f2c265b3c31e77029968268f9a
Reviewed-on: https://gerrit.instructure.com/173008
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2018-11-26 21:44:54 +00:00
Marc Phillips 13e1035608 Add additional advantage service specs
Add the shared_examples specs to the other services.

refs PLAT-4007

Test plan:
 n/a

Change-Id: Ia8d2c33c1ac1773c64452e25c0e1c90840b01a02
Reviewed-on: https://gerrit.instructure.com/172954
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Marc Phillips <mphillips@instructure.com>
2018-11-26 19:50:08 +00:00
Shuky Meyer d089465892 Add a force_new param to the converstations#create api
Adding a force_new parameter to the conversations api
to make it more transparent to the user how to send a
new private message. If this parameter is set, it will
branch into the code path to create a new conversation.

Test plan
- Create two conversations using force_new
- ids of the two conversations should not match

refs PLYT-1663

Change-Id: I050aec81b9e2a2def9ed46901b34fd2a06b63cb0
Reviewed-on: https://gerrit.instructure.com/172958
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: Landon Gilbert-Bland <lbland@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2018-11-26 19:31:12 +00:00
Gary Mei 58321400d2 bump npm-run-all version
Change-Id: Ieae7ac480124e52050c79ca83c99a7fe698c48d5
Reviewed-on: https://gerrit.instructure.com/173262
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Tested-by: Jenkins
QA-Review: Gary Mei <gmei@instructure.com>
Product-Review: Gary Mei <gmei@instructure.com>
2018-11-26 19:03:17 +00:00
Cody Cutrer 5929846ab9 disable auth debugging if redis isn't configured
Change-Id: Ie727f7701647c0e773cd35d37f73c1eaa16db296
Reviewed-on: https://gerrit.instructure.com/172241
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2018-11-26 18:38:45 +00:00
Cody Cutrer 27f531b10f Update `bundler` support to latest version
Test Plan:
* `bundle` runs successfully from the canvas-lms repo

Change-Id: I98053a157ae5749eba294713df63a7fb993d6e57
Reviewed-on: https://gerrit.instructure.com/173264
Tested-by: Jenkins
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2018-11-26 18:32:47 +00:00
wdransfield 04a3e7fa3f Add deep linking request models
Closes PLAT-4015

Test Plan:
Verify new models correctly represent a deep linking request

Change-Id: I52eb0a2ccd9569b12a33eb968d130e63e90b2f58
Reviewed-on: https://gerrit.instructure.com/173047
Reviewed-by: Marc Phillips <mphillips@instructure.com>
Tested-by: Jenkins
QA-Review: Marc Phillips <mphillips@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2018-11-26 18:26:59 +00:00
James Williams 77d6d56b5e raise error on missing feature
because clay can't spell

also get rid of that feature flag enabling on
every user in specs

also handle development features disabled in prod

Change-Id: Ifd6c590011e6963e7acea90f8f58bd2372123d26
Reviewed-on: https://gerrit.instructure.com/171781
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
2018-11-26 16:22:32 +00:00
Derek Bender ef182a91f1 spec: remove 404s from GradebookSpec
Change-Id: Ib503aada1065633a44277c3a8b9296ead1d015bb
Reviewed-on: https://gerrit.instructure.com/172821
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
2018-11-21 21:35:28 +00:00
Carl Kibler ae4251d48a fix references to renamed JS imports
fixes ADMIN-2256

test plan:
 - In a course, create 2 modules and add some items to each
 - use "Move Module" and "Move Contents" a few times
 - use "Move To" to be sure it still works too
 - When a module is empty (no contents), clicking 'Move Contents'
   option doesn't throw a JS console error. (it did before).

Change-Id: Ia0ad37fdd4076e74501f64023a6da3558af9c913
Reviewed-on: https://gerrit.instructure.com/172920
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Carl Kibler <ckibler@instructure.com>
2018-11-21 18:14:20 +00:00
Gary Mei 4c884e548e display effective final score in grades summary
The page for displaying grades in all active courses will show the
lowest scores possible corresponding to the override grades for the
grading periods/course, if override grades exist, for students
and observers. Teachers will continue to see the non-override scores.

closes GRADE-1588

Test Plan
- Have two courses.
- Enroll the same student in both courses.
- The following instructions only apply to one course; you do not
  have to do everything twice. The existence of an enrollment in a
  second course is sufficient.

- Enable the feature Final Grade Override from the account/course
  levels.
- Create a grading scheme. The default one is fine, but enable it if
  it is not already enabled.

Grading Periods
- Create a grading period group.
- Create two grading periods; one that is over and one that is still
  open. Have the closing dates of both be some date in the future.
- Turn on the option "Display totals for All Grading Periods option"

Assignments
- Create an assignment in each grading period.
- Give a grade to a student for each assignment, so that they'll have
  a grade in both grading periods.
- As a student, view the grade summary page for that course. Verify
  that grades look as expected so far.

Overriding Grades
- Find the scores for the grading periods and the course score, then
  assign them an override score, different for each one.
  - To find the score of a grading period:
    `score = some_enrollment.scores.find_by(grading_period_id: id)`

  - To find the score of the course:
    `score = some_enrollment.scores.find_by(course_score: true)`

  - To update the score to have an override score:
    `score.update!(override_score: a_significantly_different_score)`
    * use a significantly different score that puts them in a
      different grade bracket, preferably.

Viewing Grades
- As the student, visit the `/grades` page.
- The course you were working in should show a grade for each grading
  period and the overall score. Select them via the dropdown menus.
- The grades should be the lowest possible score of the override that
  you gave. For example, if a student was overridden to have a 79%
  and a 75% was a C and the next tier is 80%, then the page should
  show 75%, not 79%.
- As a teacher, turn off the grading scheme in the settings.
- As a student, re-visit the `/grades` page and now the percentages
  should be exact (79% in the example above).

Other Users
- Observers of the students, assuming they have at least 2 observees,
  should see the same thing that students see.
- Teachers should see a course average, but the average should be
  accurate to the non-overridden scores.

Change-Id: I2c696b3fa349cfea67ae5c3a2a4992ef91d6c6a2
Reviewed-on: https://gerrit.instructure.com/172611
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
QA-Review: Indira Pai <ipai@instructure.com>
Product-Review: Sidharth Oberoi <soberoi@instructure.com>
2018-11-21 17:43:13 +00:00
Tucker McKnight 8c84364f39 Have the RCE sidebar useable on Jenkins
This adds the RCE API as a new service to the docker-compose file that
is used by Jenkins.

Removed some unused values from the mock dynamic settings.

Also added a metadata option for tests to ignore the browser console
warnings. There are still some browser console warnings being thrown
by the sidebar that we aren't ready to fix yet. (This can be removed
later.)

fixes CORE-1805

Change-Id: I561a6050074d50a556ab40e86b98fa6f2070ad24
Reviewed-on: https://gerrit.instructure.com/161920
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Tucker Mcknight <tmcknight@instructure.com>
2018-11-21 17:15:20 +00:00
Derek Bender 08cdf10077 bump inst-jobs
Change-Id: Ifafa3ea4001d31e5dabeb2d1d441928bfde0b566
Reviewed-on: https://gerrit.instructure.com/172926
Tested-by: Jenkins
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
2018-11-21 16:07:40 +00:00
Transifreq bb9d283750 update nn translation
Change-Id: I30a66e23b90894b03cd9b8b8115b3c3ec4ffdcb6
2018-11-21 05:59:18 -07:00
Keith T. Garner d638923967 fix visibility and rename final_grade_override feature flag
closes GRADE-1852

Change-Id: I8c0448d4eb24aa4ba14d42a4ccc9ff4b396bbf6f
Reviewed-on: https://gerrit.instructure.com/173084
Tested-by: Jenkins
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: KC Naegle <knaegle@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
2018-11-20 22:25:08 +00:00
Steven Burnett 197049ff48 remove development feature flag for HTML5
Test Plan:
- check the HTML5 integrate arc FF
- notice its not in development

Change-Id: I6abecea070cd5bdcb17e816ece4652fceb811de5
Reviewed-on: https://gerrit.instructure.com/173082
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Tested-by: Jenkins
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2018-11-20 22:14:45 +00:00
Erin Hallmark c22289bf0b update navigation_tools.md to remove links
CLOSES: PLAT-3996

Test plan:
- run bundle exec rake doc:api
- open navigation tools page (under external tools)
- verify the page contains no links

Change-Id: Icfed5e239037783e25b8acb192e9a7d5b4909f55
Reviewed-on: https://gerrit.instructure.com/171855
Tested-by: Jenkins
QA-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
2018-11-20 22:04:15 +00:00
Erin Hallmark 587d7842ea update files api for delete endpoint
REFS: CORE-2124

Test plan:
- run bundle exec rake doc:api
- View delete file endpoint
- View additional clarification text in AC

Change-Id: I7ca989afcd9ad18fa1f6930a57f45081e001d1b0
Reviewed-on: https://gerrit.instructure.com/171589
Tested-by: Jenkins
QA-Review: Erin Hallmark <erin@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Erin Hallmark <erin@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2018-11-20 21:37:30 +00:00
Marc Phillips 34cb14f9be Add AdvantageServices to AGS
Causes `GradebookServices` to inherit from `AdvantageServices`. As
a result could remove several placeholder methods for which
`AdvantageServices` had working equivalents:
  - `tool`
  - `verify_tool_in_context`
  - `verify_tool_permissions`
  - `render_error`
Also centralizes skip of `load_user` before action callback.

refs PLAT-4007

Test Plan:
 - hold off on testing until further patchsets are in

Change-Id: I4398d8b864dba204a8043e8a8b43cd9034d913ef
Reviewed-on: https://gerrit.instructure.com/172580
Tested-by: Jenkins
Reviewed-by: Weston Dransfield <wdransfield@instructure.com>
QA-Review: Weston Dransfield <wdransfield@instructure.com>
Product-Review: Marc Phillips <mphillips@instructure.com>
2018-11-20 21:07:50 +00:00
Steven Burnett e91024ad03 change color of assignmentgroup links
Test Plan:
- N/A

Change-Id: I522234427ef08f33abb578b645b434dd9fa0e576
Reviewed-on: https://gerrit.instructure.com/172999
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>
2018-11-20 20:52:25 +00:00
Jeremy Stanley 4fea447db6 fix context cards for admins who can't read the course list
test plan:
 - enable student context cards feature
 - create an admin role that has "Users - view list" permission
   but no permissions on courses
 - as an admin in that role, go to /courses/X/users
 - click a student
 - the context card tray thing should appear
   (it might not have much in it, but it should appear)

fixes ADMIN-2207

Change-Id: I78d86dbe11e0d3ced3490027fd2f48e9da513625
Reviewed-on: https://gerrit.instructure.com/172592
Tested-by: Jenkins
Reviewed-by: Carl Kibler <ckibler@instructure.com>
QA-Review: Carl Kibler <ckibler@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2018-11-20 20:39:39 +00:00
Steven Burnett 0c0af583e6 add steps component to canvas
fixes COMMS-1724 COMMS-1723

Test Plan:
- Open up assignments 2.0 student view
- notice steps component is integrated and accessible

Change-Id: Ie5a381a74162d8dd68a521bc7d8d8d4a4decea83
Reviewed-on: https://gerrit.instructure.com/172987
Reviewed-by: Landon Gilbert-Bland <lbland@instructure.com>
Reviewed-by: Aaron Hsu <ahsu@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Steven Burnett <sburnett@instructure.com>
2018-11-20 20:05:08 +00:00
Carl Kibler c8dd356848 attempt to fix flaky spec
test plan:
 - test blows up far less frequently.
 - else, we delete it. there, I said it. DELETE.

Change-Id: Ia1ebf920272d3f1e8752b3c2db960cb9edbd42e9
Reviewed-on: https://gerrit.instructure.com/173043
Tested-by: Jenkins
Reviewed-by: Anju Reddy <areddy@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Carl Kibler <ckibler@instructure.com>
2018-11-20 20:03:55 +00:00
Landon Gilbert-Bland 685e36638d Fix race condition for loading new ARC media recorder
Fixes COMMS-1763

Test Plan:
  * Go to a page with the RCE and attempt to load the media capture
    component using safari or IE11. It should load the old flash
    version of this.
  * Do the same thing with chrome or firefox. It should load the new arc
    media player. Do this multiple times (reloading the page each time)
    and make sure it consistantly loads the new recorder instead of the
    old flash one.

Change-Id: I1998996d0538717e5395315c65f46ac94cb8114d
Reviewed-on: https://gerrit.instructure.com/172904
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Landon Gilbert-Bland <lbland@instructure.com>
Product-Review: Landon Gilbert-Bland <lbland@instructure.com>
2018-11-20 19:51:12 +00:00
Keith T. Garner 16be24bd03 add text/rtf to allowed turnitin api mime types
closes GRADE-1851

Change-Id: I12f51152462fe361133ac0cbf8ca9f05447a8dab
Reviewed-on: https://gerrit.instructure.com/173005
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Derek Bender <djbender@instructure.com>
Tested-by: Jenkins
QA-Review: Keith Garner <kgarner@instructure.com>
Product-Review: Keith Garner <kgarner@instructure.com>
2018-11-20 19:50:20 +00:00
Mysti Sadler fca0d0c3bd Attempt one retry one unknown worker crash
refs QA-567

Change-Id: Icb8ce583315f2a612b5421c9ed92d73db311a579
Reviewed-on: https://gerrit.instructure.com/172645
Tested-by: Jenkins
QA-Review: Mysti Sadler <mysti@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
Reviewed-by: Robert Lamb <rlamb@instructure.com>
2018-11-20 18:29:34 +00:00
Augusto Callejas 74b4708dd3 Exclude latest outcome import from content reset
closes OUT-2370

test plan:
  - create a new, published course
  - import the CSV attached in JIRA (ignore the error message)
  - in settings, attempt to reset course content
  - ensure that the reset doesn't fail with a page error

Change-Id: Ied1763f90c9d7861eb3e0b8efbbd7ebf37f2a4d1
Reviewed-on: https://gerrit.instructure.com/172760
Tested-by: Jenkins
Reviewed-by: Neil Gupta <ngupta@instructure.com>
QA-Review: Dariusz Dzien <ddzien@instructure.com>
Product-Review: Augusto Callejas <acallejas@instructure.com>
2018-11-20 15:56:38 +00:00
Transifreq dc970ae4d2 update nn translation
Change-Id: If6e12b8d75d5d012a5ab7668221659b7d11e425a
2018-11-20 06:01:37 -07:00
Cody Cutrer acb948337c add attachment specific subdomain if configured
closes CORE-942

test plan:
 * add `attachment_specific_file_domain: true` to your dynamic_settings.yml
   (or to consul) as illustrated in the example
 * have a files domain configured
 * browse Canvas
 * verify that files go through a domain with their ID in it, rather than
   just the basic files domain

Change-Id: I21540fb06266dcbf80b66bb884c09cd14eb03456
Reviewed-on: https://gerrit.instructure.com/166462
Tested-by: Jenkins
Product-Review: Matt Miller <mmiller@instructure.com>
Reviewed-by: James Williams <jamesw@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
2018-11-19 22:39:50 +00:00