Commit Graph

23454 Commits

Author SHA1 Message Date
Transifreq 1f9bf72ab9 update da translation
Change-Id: Ied49979b484c337ab9265631ef6b2d767d2fb3d1
2016-12-16 05:13:05 -07:00
Clay Diffrient c83b077649 Merge branch 'baholladay-vericite_peer_review'
Reviewed-on: https://gerrit.instructure.com/97258/
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>

Change-Id: I7cce022b2c749257e4f8e009815066fb01cfe4aa
2016-12-15 16:28:58 -07:00
Dan Minkevitch 600c8433f0 Adjust grouping of terms dropdowns
Fixes CNVS-33657
Refs CNVS-33562

Test Plan:
* In an account with multiple terms
  spanning across past, present, and
  future, go to account settings

Part 1:
* The "Show courses from the term:" dropdown
  on the right should include groups for Default,
  Active, Future, and Past (in that order)
* The terms in the dropdown are categorized
  correctly based on their start and end dates
  and alphabetized

Part 2:
* Click "+ New Course" on the right hand side
* The enrollment terms dropdown should match the criteria
  from Part 1.

Part 3:
* Select the Reports tab
* Configure a report
* A modal should appear with a terms
  dropdown that matches the criteria from Part 1 & 2.

Change-Id: Id46de9052ada9841cf7b2ad77246bb63258fc017
Reviewed-on: https://gerrit.instructure.com/96802
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2016-12-15 23:04:50 +00:00
Augusto Callejas bc16e029c4 Improve code coverage for outcomes controller
refs OUT-509
[ci-coverage]

test plan:
  - check coverage results for outcomes_import_api_spec

Change-Id: Iff774b4bb0f0fcec57e7a5197328bb087926b410
Reviewed-on: https://gerrit.instructure.com/97535
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
Tested-by: Jenkins
QA-Review: Michael Hargiss <mhargiss@instructure.com>
Product-Review: McCall Smith <mcsmith@instructure.com>
2016-12-15 22:58:04 +00:00
Cody Cutrer 31845b1e77 i18n numbers ruby backend
fixes CNVS-33187, CNVS-33546

switch existing usage of number_(to|with)_(delimiter|precision|rounded|percentage)
to the new helper, and simplifying local arguments

test plan:
 * have at least 1000 courses, and 1000 files
 * make sure jobs have run to generate the statistics
 * go to /accounts/x/statistics
 * the numbers for course and files should have a thousands delimiter
   (i.e. "1,000", not "1000")

Change-Id: Ica8ccccba478030f5b4712f739b3120192313386
Reviewed-on: https://gerrit.instructure.com/96127
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2016-12-15 22:21:28 +00:00
Pam Hiett 189b614393 replace hammer with correct icon on unpublished courses/enrollments
Fixes: CNVS-33866

test plan:
- as an admin ensure you have a course that is "unpublished" in
  your account
- select the account (not siteadmin) choose the "courses" link
  from the left-hand sub-nav
- you should now see the unpublished icon next to the course
  that is not published (used to be an uggo hammer)
  example of new view: http://www.screencast.com/t/oehy3aNd
- now select the "users" link from the left-hand sub-nav
- choose one of the students that is enrolled in the course
  that is not published
- within the student "enrollments" section there should be
  the appropriate "unpublished" icon alongside the course
  name. example: http://www.screencast.com/t/JECmCtdv

Change-Id: I1cd539fd0a358fc69080f4add8d6bb919523d908
Reviewed-on: https://gerrit.instructure.com/97628
Tested-by: Jenkins
Reviewed-by: Stephen Jensen <sejensen@instructure.com>
QA-Review: Dan Sasaki
Product-Review: Kyle Follett <kfollett@instructure.com>
2016-12-15 21:32:23 +00:00
Jeremy Stanley 45efb344a4 fix searching+sorting on the account course index
test plan:
 - go to the account course index
 - enter a search term in the "Find a Course" box and click "Go"
   (the term must match more than one course name)
 - the "Sort" box (just above the search term on the sidebar)
   should still function like it does when first entering
   the page and no search term has been queried

fixes CNVS-33759

Change-Id: I3dc645afa43a2ca6fade1011cdfa20d12fd2c5de
Reviewed-on: https://gerrit.instructure.com/97549
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: David Tan <dtan@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2016-12-15 21:11:40 +00:00
Dan Minkevitch 1b0dbee65e Fix color picker from being hidden on Calendar sidebar
Fixes CNVS-33887

Test Plan:
* Prerequisites: Log in as a user enrolled in at least 15 courses
* Click on 'Calendar' on the left nav
* Under the 'Calendars' on the right you will see the list of courses
* To the right of those should be the color picker
* The color picker should be clickable and not hidden under the scroll bar

Change-Id: I5ff44b59213fddda9ae379bdfd0d39e081f40f5c
Reviewed-on: https://gerrit.instructure.com/97675
Reviewed-by: Joel Hough <joel@instructure.com>
Tested-by: Jenkins
QA-Review: Dan Sasaki
Product-Review: Chris Ward <cward@instructure.com>
2016-12-15 21:06:43 +00:00
Brad Horrocks d5ccec2a3b Cloud Assignment Submissions
Ref: RD-3406

Test plan:

Create a cloud assignment with the Office365 LTI app
As a student submit the cloud assignment
As a teacher check that the submission shows up in speed grader

Change-Id: Ib6a059c2e16f882f1f254233de0f8e09b69e8814
Reviewed-on: https://gerrit.instructure.com/97435
Reviewed-by: Andrew Butterfield <abutterfield@instructure.com>
Tested-by: Jenkins
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Josh Orr <jgorr@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
2016-12-15 20:02:09 +00:00
Brent Burgoyne 8efd2ff9bc add I18n.n method for formating numbers locale
also includes a `n` handlebars helper, and propery formats the count
in pluralized strings.

closes CNVS-33190

test plan:
- NA (qa example implementation in future commit)

Change-Id: Ic199b334a263afe0463fa3efd0797e5c9eeb3d93
Reviewed-on: https://gerrit.instructure.com/96839
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2016-12-15 19:57:31 +00:00
Stephen Jensen a8f47424b9 Update color picker to prevent selecting white
Closes CNVS-33355

Test Plan:
 * Examine the color picker on both the dashboard cards and from
   the calendar

 - Attempting to enter any of the following previously valid hex
   codes for white should result in an error icon displaying in
   the color preview swatch
   -fff
   -Fff
   -ffffff
   -Ffffff
   -#fff
   -#ffffff
   -#Fff
   -#Ffffff

 - Attempting to select 'Apply' with any of these colors in the
   input should result in an error flash message at the top
   of the screen

Change-Id: I9bb3498aa220b418ca128f232f55d563a9e023c9
Reviewed-on: https://gerrit.instructure.com/96914
Reviewed-by: Jennifer Stern <jstern@instructure.com>
QA-Review: Dan Sasaki
Tested-by: Jenkins
Product-Review: Colleen Palmer <colleen@instructure.com>
2016-12-15 19:57:30 +00:00
Derek Bender b619833d12 flip bucketting rules for grading periods
closes: CNVS-33153

this changes the boundaries for how dates are bucketed
into grading periods.

Previously:
  period_start_date <= date &&
    date < period_end_date

Now behavior:
  period_start_date < date &&
    date <= period_end_date

Test Plan:
 - Given a course with multiple grading periods enabled
 - Given a grading period set with grading periods (note the time
   and date of one of the grading period's end date)
 - Given an assignment due at the same time and date as the grading
   period's end date
 - When navigating to the gradebook and selecting the grading period
 - Then the assignment id visible for the grading period

Change-Id: Iaf4a278ec670eb8575336c57be0354be9aad2441
Reviewed-on: https://gerrit.instructure.com/97018
Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com>
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Tested-by: Jenkins
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Christi Wruck
2016-12-15 18:58:01 +00:00
Bryan Petty b9c4b8f4c0 fix incorrect .dockerignore of translations/_core_en.js
A docker ignore entry was recently added for:

   public/javascripts/translations/

This is a mirror of the .gitignore entry, however, there is one file
checked into the git repo that shouldn't be ignored, and is necessary
for docker image builds. This adds that file back.

Test Plan:
1. Docker image successfully builds from running:
   docker-compose build web

Change-Id: Ia83fb6673197cb5cb8f98d9c230d65342b6be37c
Reviewed-on: https://gerrit.instructure.com/97721
Reviewed-by: Ryan Norton <rnorton@instructure.com>
Tested-by: Jenkins
Product-Review: Bryan Petty <bpetty@instructure.com>
QA-Review: Bryan Petty <bpetty@instructure.com>
2016-12-15 18:39:27 +00:00
Jeremy Neander a6d83ee28f refactor front end grade calculator and increase spec coverage
This is purely a refactor of the existing grade calculator. It does not
alter existing behavior, but bolsters its spec coverage to protect
against unexpected grade calculation changes.

Ensuring that calculated grades are unchanged before and after this
refactor will be sufficient for QA.

closes CNVS-33841
refs CNVS-33572

test plan:
A. select or create:
  1. a course
  2. a teacher for the course
  3. a student for the course
  4. an assignment group for the course
  5. an assignment in the assignment group
  6. a graded student submission
B. ensure scores are calculated and visible for:
  1. Default (grid) Gradebook
  2. Individual Gradebook (SRGB)
  3. SpeedGrader
  4. Student Grades Page

Change-Id: I1e87949dc690d4ebee4e3960f2adb141bc5a5e0d
Reviewed-on: https://gerrit.instructure.com/96780
Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
2016-12-15 18:31:35 +00:00
Clay Diffrient ccc2cc77f2 [eslint] Allow unnamed functions and _ignored arguments
Change-Id: I2165fba16e1c5426cc0a2b3d2b60dc66aa483282
Reviewed-on: https://gerrit.instructure.com/97717
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2016-12-15 18:21:58 +00:00
Jeremy Stanley fba8ceeeb4 move "Remove All Authentication" button
test plan:
 - in /accounts/X/authentication_providers, the "Remove All
   Authentication" button should be at the bottom of the right
   sidebar (and should be colored dangerously)

fixes CNVS-33690

Change-Id: I607b6013d0e335986676dfd600318f605a9fd3f6
Reviewed-on: https://gerrit.instructure.com/97343
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Jenkins
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Chris Ward <cward@instructure.com>
2016-12-15 16:40:09 +00:00
wdransfield 22cd2e0764 Add new method on Submission model for OriginalityReport
Fixes: PLAT-1911

Test Plan:
- Create an OriginalityReport for a submission with
  a file attachment. Give a value to the report's
  originality_report_url field in addition to
  required fields.
- Navigate to /courses/:course_id/assignments/
  :assignment_id/submissions/:user_id/
  originality_report/:asset_string
- Verify you are redirected to the OriginalityReport's
  originality_report_url
- Navigate to the same URL as a user that does not have
  the :view_turnitin_report permission and verify you get an error.

Change-Id: If4f18995ea0af9c441998d2cfc27b0a29b582d05
Reviewed-on: https://gerrit.instructure.com/96561
Reviewed-by: Nathan Mills <nathanm@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2016-12-15 14:30:10 +00:00
Transifreq 9c7651d635 update zh-Hant translation
Change-Id: I2ac91545bdb1ed2913d6633a877ed832caebb9fc
2016-12-15 05:27:14 -07:00
Benjamin Porter d3c0e3ef26 Update README.md since Canvas is still modern
Change-Id: I41e6afb1b3658c3270a56a82b44f99c022cf6672
Reviewed-on: https://gerrit.instructure.com/97690
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Benjamin Porter <bporter@instructure.com>
QA-Review: Benjamin Porter <bporter@instructure.com>
2016-12-15 03:18:28 +00:00
Benjamin Porter 846275485a Update README.md - Canvas isn't new anymore
Change-Id: I4691322dbdd5397b1e365dd4c1aa21d308d6b2ae
Reviewed-on: https://gerrit.instructure.com/97686
Tested-by: Jenkins
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
Product-Review: Benjamin Porter <bporter@instructure.com>
QA-Review: Benjamin Porter <bporter@instructure.com>
2016-12-15 02:53:54 +00:00
Jon Jensen c8972d3331 spec: ensure we capture all failures, fixes SD-1851
do this in the outermost around so that any kind of failure gives us a
screenshot page

test plan:
1. see various intentional failures captured on patchset 2

Change-Id: I5aa9f6035ecf327c9a585aafacaa820b10208753
Reviewed-on: https://gerrit.instructure.com/97672
Tested-by: Jenkins
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
2016-12-15 01:17:30 +00:00
Landon Wilkins 658d18393e spec: fix fragile spec
[ci coverage]

Change-Id: I9347ca99c20e3859f91877fcccb10d8b20f262c7
Reviewed-on: https://gerrit.instructure.com/97632
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins
2016-12-15 00:36:28 +00:00
John Corrigan ca199c59e5 remove promise chains from tests
test plan:
- webpack build should pass

Change-Id: I388b24cde55f87e1e25378b01e2670b4dcd12c8e
Reviewed-on: https://gerrit.instructure.com/97658
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2016-12-14 23:45:19 +00:00
Clay Diffrient 249f9ddda9 [eslint] Turn off object-curly-spacing
Change-Id: I5cb9528987598aae8bc71cb6eed1062a77532096
Reviewed-on: https://gerrit.instructure.com/97655
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2016-12-14 22:48:38 +00:00
Cody Cutrer 0675a6483e deprecation notice for migrations to inherit from Migration[4.2]
Change-Id: I1349110c284f7cd7409fe7dea5fe8ab6c33b6e12
Reviewed-on: https://gerrit.instructure.com/95572
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2016-12-14 22:19:21 +00:00
Dan Minkevitch 74794dc8d0 Remove truncation from wiki page update notification
Fixes CNVS-33314

Test Plan:
* Prereq: notification settings enabled for a user enrolled in a course
  and an email communication channel confirmed
* Create a page
* Include long enough text to where it is truncated
* Save the page
* Notice the notification about the page is no longer truncated

Change-Id: I2819a2c23063f611a13920def7db4385e5327c34
Reviewed-on: https://gerrit.instructure.com/97388
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Chris Ward <cward@instructure.com>
2016-12-14 21:54:21 +00:00
Derek Bender f30ef06a83 disable editing assignments in closed periods
if an assignment is locked by having any due date
in a closed grading period all fields are locked except
RCE, submission type fields, peer review fields.

closes: CNVS-30899

Test Plan
 - lock an assignment edit page by having at least one
   due date in a closed grading period
 - create an assignment with at least one due date in
   a closed grading period
 - go to the edit the assignment page
   (e.g. /courses/1/assignments/1/edit)
 - all fields are locked except for
   - description (RCE)
   - submission type
   - peer reviews
 - if an assignment is not locked, all fields should
   be editable as normal
 - if the user is an admin, they can edit anything they want

Change-Id: I5cbee4e552331915280c949f467565069aee8743
Reviewed-on: https://gerrit.instructure.com/93380
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Shahbaz Javeed <sjaveed@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Christi Wruck
Tested-by: Jenkins
2016-12-14 21:51:08 +00:00
Cody Cutrer cf3159e445 make Attachment#make_childless safe to call more often
i.e. if it's already a child, or it has no children, and you don't
want to check those beforehand

Change-Id: Ie0568c980f888b1e39f64aa0108033222887b2b6
Reviewed-on: https://gerrit.instructure.com/97612
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-12-14 21:42:23 +00:00
Rob Orton 0e18d33f2d don't try to translate when loading code
delay it until an error happens

fixes CNVS-33882

test plan
 - make a new root_account on a new shard
 - it should succeed

Change-Id: I51f9dbb52d69c82eb8bc1838144f1683f7d7e110
Reviewed-on: https://gerrit.instructure.com/97620
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
2016-12-14 21:14:01 +00:00
Cody Cutrer a09f82c7b4 avoid invalid UTF-8 in source strings
so that CodeClimate will stop choking on them

Change-Id: I139b57d6bd0636710825bf1dbf6c28f1c640e039
Reviewed-on: https://gerrit.instructure.com/97586
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-12-14 21:13:59 +00:00
Clay Diffrient c47ba344dd [eslint] loosen up import/no-extraneous-dependencies
Test Plan:
  - Things like doing `const coreJsBuilder = require('core-js-builder')`
    shouldn't throw the warning/error.

Change-Id: I0bf086af1c60d31e6f3570a24d3e6c1db598c6c7
Reviewed-on: https://gerrit.instructure.com/97622
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2016-12-14 20:43:24 +00:00
Steven Burnett cdfb331955 change assignment summary to course summary
fixes CNVS-33790

Test Plan:
- Go to syllabus page on a course
- Notice the assignment summary has changed to
  course summary
  
Does not need specs for a text change

Change-Id: Ied24d951662d29f9db0cd2878bce5b5ce7059c84
Reviewed-on: https://gerrit.instructure.com/97572
Tested-by: Jenkins
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Ian Hoerner <ian@instructure.com>
2016-12-14 20:36:05 +00:00
Mysti Sadler e65ecd070e Setup job for web export
closes OFFW-36

test plan:
- you should be able to start a web zip export through
  the console
- this should cause module progression for all
  viewable items
- ensure epub exports still export

Change-Id: I901d491325fba3955af4544d1c1a2b87270cffff
Reviewed-on: https://gerrit.instructure.com/96752
Reviewed-by: Cameron Sutter <csutter@instructure.com>
Tested-by: Jenkins
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Jon Willesen <jonw+gerrit@instructure.com>
2016-12-14 20:10:47 +00:00
Cameron Sutter 670740ac69 export an empty zip
closes OFFW-37

test plan:
- it should export an empty zip file

(the other parts of this aren't wired up yet, so good luck getting to this)

Change-Id: Ied37e879a274c423c3393659e8557f69c7a0cc82
Reviewed-on: https://gerrit.instructure.com/96555
Tested-by: Jenkins
Reviewed-by: Jon Willesen <jonw+gerrit@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Cameron Sutter <csutter@instructure.com>
2016-12-14 20:05:39 +00:00
Bryan Petty 4dbbe759a7 add more compiled assets to .dockerignore
Adds more missing entries to .dockerignore for compiled assets.

Test Plan:
1. Verify successful docker image build from new checkout.

Change-Id: I88b1a1260fb3eb47c8f6961fe23d2667af588a07
Reviewed-on: https://gerrit.instructure.com/97463
Reviewed-by: Jeff Belser <jbelser@instructure.com>
Tested-by: Jenkins
Reviewed-by: Marc Alan Phillips <mphillips@instructure.com>
Product-Review: Bryan Petty <bpetty@instructure.com>
QA-Review: Bryan Petty <bpetty@instructure.com>
2016-12-14 19:57:54 +00:00
James Williams 3966267c91 skip assignment points possible update from rubric on re-import
test plan:
* assign a rubric to an assignment and "use for grading" but leave
 the assignment points possible as a different value from the
 rubric
* copy the course - then re-copy it again
* the assignment should retain its original points possible

closes #CNVS-33311

Change-Id: Ieb52b6f3381d1d31e383feb5f39cf7bfbc11be40
Reviewed-on: https://gerrit.instructure.com/96736
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2016-12-14 19:47:52 +00:00
John Corrigan 5460002042 change a test that was intermittently failing
test plan:
- js tests should pass

Change-Id: I38411ca4c3f6c430282dc7fe5cdb4e1d63838793
Reviewed-on: https://gerrit.instructure.com/97599
Tested-by: Jenkins
Reviewed-by: Jim Simon <jsimon@instructure.com>
Product-Review: John Corrigan <jcorrigan@instructure.com>
QA-Review: John Corrigan <jcorrigan@instructure.com>
2016-12-14 19:30:50 +00:00
Landon Wilkins 16733a68a1 lint: whitelist UTF-8 for commit msg linter
Change-Id: If2a230b33ded44de52bc55cb5dd17622a53960fe
Reviewed-on: https://gerrit.instructure.com/97601
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
2016-12-14 19:11:57 +00:00
Transifreq 6a5cf072fe update sv translation
Change-Id: I1675b4d52658260570b0a0b927f1e5b20145dd4e
2016-12-14 11:50:14 -07:00
Transifreq dfd4f044d0 update nb translation
Change-Id: I6ceb3bca3f072e14ae1f4e7fee347e9f192536f7
2016-12-14 11:44:40 -07:00
Cody Cutrer 4422990179 don't try to translate when loading code
delay it until an error happens

(yes, message can take a proc, see
https://github.com/aq1018/active_model-better_errors/blob/v1.6.7/lib/active_model/better_errors/error_message.rb#L15
)

Change-Id: I889f7eddda52f6b47f240f91364fbc082d5fd521
Reviewed-on: https://gerrit.instructure.com/97508
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-12-14 18:16:57 +00:00
Landon Wilkins e46bb63047 lint: discourage NoSuchElementError, fixes SD-1770
test plan:
* see test commit

Change-Id: Iab77491cdacf65249a8edd732617d7c771c0c78e
Reviewed-on: https://gerrit.instructure.com/97276
Tested-by: Jenkins
Reviewed-by: Shawn Meredith <shawn@instructure.com>
Product-Review: Shawn Meredith <shawn@instructure.com>
QA-Review: Shawn Meredith <shawn@instructure.com>
2016-12-14 18:09:45 +00:00
Clay Diffrient 21f0c8a233 Remove console logging and fix warning
Test Plan:
  - Gergich works with eslint stuffs

Change-Id: Ib2cb7cee87bb6f1eec21433d579a939ff4ba710e
Reviewed-on: https://gerrit.instructure.com/97584
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Tested-by: Jenkins
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
2016-12-14 17:47:00 +00:00
Jon Jensen 1455424ebc spec: make Selenium::WebDriver::Wait play nicely with Timecop
fixes SD-1850

otherwise it can wait infinitely if the condition is not met

test plan:
n/a, but this makes things like https://gerrit.instructure.com/#/c/96245/
unnecessary ... tested manually

Change-Id: I48f0e4bfa2992433e7b061ab34a8961edbb91213
Reviewed-on: https://gerrit.instructure.com/97529
Tested-by: Jenkins
Reviewed-by: Landon Wilkins <lwilkins@instructure.com>
Product-Review: Landon Wilkins <lwilkins@instructure.com>
QA-Review: Landon Wilkins <lwilkins@instructure.com>
2016-12-14 17:28:36 +00:00
Matthew Berns 19da78cd6b fix 'clickable' elements on create category dialog
fixes OUT-454

test plan:
- load NVDA in Firefox in a Windows environment
- go to the assignment create page
- click 'New Group Category'
- navigate through the elements in the dialog,
  there should not be a series of 'clickable' elements

Change-Id: I42c46dec250d28e0339fa92097197365bd032d74
Reviewed-on: https://gerrit.instructure.com/97095
Reviewed-by: Michael Brewer-Davis <mbd@instructure.com>
QA-Review: Alex Ortiz-Rosado <aortiz@instructure.com>
Product-Review: Nathan Rogowski <nathan@instructure.com>
Tested-by: Jenkins
2016-12-14 17:25:01 +00:00
Cody Cutrer d7de2aebdd bump yard and rake
Change-Id: I0684a2b4914d2afcb615567087b979d11ad83d42
2016-12-14 00:29:18 +00:00
Jon Jensen 77d0e7877a spec: fix broken spec
gb_mgp_page got renamed in another concurrent commit 😭

Change-Id: I0ec69db93ff7f5b68d92db38d53a8fc459859360
Reviewed-on: https://gerrit.instructure.com/97536
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
2016-12-13 23:54:48 +00:00
Stephen Jensen 6df9485d51 Version bump for InstIcons in Canvas to 0.3.0
Closes: CNVS-33746

Test Plan:
 - Click around Canvas and ensure that icons are still
   showing properly

Change-Id: Ie7664f6b393b692d7b62b88c0a20b0277890f301
Reviewed-on: https://gerrit.instructure.com/97414
Reviewed-by: Pam Hiett <phiett@instructure.com>
Product-Review: Pam Hiett <phiett@instructure.com>
Tested-by: Jenkins
QA-Review: Dan Sasaki
2016-12-13 23:11:07 +00:00
Brent Burgoyne c64dded173 add js helper to parse number string for locale
also includes a helper to validate number strings for current locale

closes CNVS-33191

test plan:
- NA (a future commit demonstrating the use of the helper with be
  qa-able)

Change-Id: I1722aad263e611d127317b2f1a3832537742c3fb
Reviewed-on: https://gerrit.instructure.com/96677
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2016-12-13 22:42:18 +00:00
KC Naegle 63ccc8fa1b spec: add admin mgp spec
C2947126

Change-Id: I6a827655b45f4bcea9fe81527b6bad1fff4c9fcf
Reviewed-on: https://gerrit.instructure.com/97202
Tested-by: Jenkins
Reviewed-by: Spencer Olson <solson@instructure.com>
Product-Review: KC Naegle <knaegle@instructure.com>
QA-Review: KC Naegle <knaegle@instructure.com>
2016-12-13 22:40:19 +00:00