Commit Graph

17094 Commits

Author SHA1 Message Date
Matthew Berns c6d3546002 correct i18n translation issue with DA
fixes CNVS-21995

Change-Id: I0e30cbf1508fdbe2a06e3b75f52146ea22c4234a
Reviewed-on: https://gerrit.instructure.com/61058
Tested-by: Jenkins
Reviewed-by: Ryan Taylor <rtaylor@instructure.com>
QA-Review: Adam Stone <astone@instructure.com>
Product-Review: Dana Danger <dana@instructure.com>
2015-08-20 22:38:59 +00:00
Jon Willesen 87ee1d2925 add account setting for requiring terms of use
fixes CNVS-22604

test plan:
 - create a new user and see they are required to accept terms.
 - in a rails console, change the `account_terms_required`
 setting for the account:
    account = Account.find(<the account id here>)
    account.settings[:account_terms_required] = false
    account.save!
 - create a new user and make sure they now don't have to accept terms.

Change-Id: I8a616aa314bb6c7a82bd0ae93f965c3a1c85ff36
Reviewed-on: https://gerrit.instructure.com/61333
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jon Willesen <jonw@instructure.com>
2015-08-20 22:13:25 +00:00
James Williams ddf6184a94 other misc performance improvements
- cache folder locked status
- don't load html content unnecessarily for
 index page api calls
- preload enrollment terms for menu

refs #CNVS-21317

Change-Id: I43f7915edc8cb33049723a80970f7cc23df679ef
Reviewed-on: https://gerrit.instructure.com/61198
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-20 21:09:35 +00:00
James Williams 3e9b184dd3 improve section_context_codes performance
don't initialize AR records just to get asset_strings

refs #CNVS-21317

Change-Id: If6afb664807926936d6957cac6aed24cfadc74b4
Reviewed-on: https://gerrit.instructure.com/61251
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-20 20:39:07 +00:00
Cody Cutrer 13237275ce spec: avoid constant reassignment
Change-Id: I0f978b31005ad414a55e43731c7ff563b2fe1c90
Reviewed-on: https://gerrit.instructure.com/61262
Tested-by: Jenkins
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2015-08-20 20:36:34 +00:00
James Williams 764c679b73 retry when updating progression requirements met
should rescue from StaleObjectErrors (see #evaluate!)

closes #CNVS-22434

Change-Id: Ibd137fe0b5c5a18be25d865eddf357a4798cd85f
Reviewed-on: https://gerrit.instructure.com/60618
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-20 20:16:12 +00:00
Brad Horrocks d1d0fff027 DRY up auth spec
Combined 2 similar tests

Fixes PLAT-1210

Test Plan:
`rspec spec/apis/auth_spec.rb --example "API Authentication oauth2 web app flow"`

Change-Id: I549e0398961a7212fb3c42476125146581796c64
Reviewed-on: https://gerrit.instructure.com/61444
Reviewed-by: Brad Humphrey <brad@instructure.com>
Product-Review: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
2015-08-20 20:11:51 +00:00
James Williams 008cd38c32 fix activity_stream_summary for cross-shard users
test plan:
* create a user in a course on another shard
* activity_stream/summary should still include
 stream items from the other shard

closes #CNVS-22424

Change-Id: I37405a292ea28e76d9e559dd67fe82f8061e400f
Reviewed-on: https://gerrit.instructure.com/61300
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-20 18:59:52 +00:00
Jeremy Stanley e66c287d42 remove ProvisionalGrade#position
index provisional grades by scorer instead, which simplifies
creation of multiple provisional grades in speedgrader

test plan: specs pass

refs CNVS-22010

Change-Id: I5ee3dd65174549cd251ad6e3c137d89780024043
Reviewed-on: https://gerrit.instructure.com/61279
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
2015-08-20 17:54:56 +00:00
James Williams 430d144b2a fix resetting courses with integration ids
test plan:
* create a course
* give it an integration id through the api
* reset the course content from the settings page
* should work

closes #CNVS-17370

Change-Id: I66d935e4688e9854a6f47604e33e358d7a0308fa
Reviewed-on: https://gerrit.instructure.com/61003
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-20 17:43:56 +00:00
Brian Palmer 3fb0700092 bump ratom-nokogiri
fixes regression when generating an exception for invalid feed xml:
  bc19502dd6

Change-Id: I45c038f43c349fb2a07907a6e88ef16e3770bf29
Reviewed-on: https://gerrit.instructure.com/61422
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Product-Review: Brian Palmer <brianp@instructure.com>
2015-08-20 17:20:32 +00:00
Brock Cooper 8a5112cc63 Changes focus to Radio Buttons in Modules after add requirement
fixes CNVS-22552

Test Plan
1. In Safari with VoiceOver enabled, navigate to the Modules page of a course
2. Using ctrl+option+left/right arrows, move to the cog next to the module name
3. Select the Edit option
4. Move to the "Add requirement" option and press ctrl+option+space to click
5. Ensure that the focus is returned to the radio button so the user is aware
   that the radio buttons appeared

Change-Id: Icd6a76447c46ffc25b709a361edb05a8a4e9b5db
Reviewed-on: https://gerrit.instructure.com/61288
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Brock Cooper <bcooper@instructure.com>
2015-08-20 16:44:03 +00:00
Amber Taniuchi 9b939bca35 spec: add check for assignments link in left nav
Test Plan:
- pass Jenkins
- check for syntax errors
- make sure new test_ids match up to an existing test case in TestRails

ataniuchi,panda,1
Change-Id: I776266796918028d050d121277e5c2f7cb3a2178
Reviewed-on: https://gerrit.instructure.com/61207
Tested-by: Jenkins
Reviewed-by: Matt Fairbourn <mfairbourn@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-08-20 16:40:45 +00:00
Amber Taniuchi 72d4a98ae3 spec: add specs for testing triangle warnings in gradebook
Test Plan:
- pass Jenkins
- check for syntax errors
- make sure new test_ids match up to an existing test case in TestRails
ataniuchi,panda,2
Change-Id: I60e4b7a44faa23552a704a47d292addd07d86a11
Reviewed-on: https://gerrit.instructure.com/61314
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Tested-by: Jenkins
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-08-20 16:39:56 +00:00
Cody Cutrer d46b3d3497 don't show non-site-admin-relavant tabs in site admin subaccounts
test plan:
 * go to a subaccount in site admin
 * you should not see courses, statistics, outcomes, rubrics, grading,
   question banks, or admin tools

Change-Id: I11e66273a07b29b3349da7e4dd680b7632485591
Reviewed-on: https://gerrit.instructure.com/61261
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-08-20 16:34:55 +00:00
Derek Bender 570e6d3165 filter assignments by overrides when necessary
build query that search for overrides but delegates to assignment if none exist

fixes CNVS-20435

Change-Id: I0b88ccb78027e43a7d82c392a11b9980fff52174
Reviewed-on: https://gerrit.instructure.com/57176
Tested-by: Jenkins
Reviewed-by: Strand McCutchen <smccutchen@instructure.com>
QA-Review: Adrian Foong <afoong@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-08-20 15:37:12 +00:00
Strand McCutchen 153be42401 remove duplicate section dropdown
fixes CNVS-22349

Test plan

0. In a course with sections navigate to the gradebook.
1. Confirm that there is a sections dropdown on the right.
2. Confirm there is NOT a sections dropdown on the left.

Change-Id: Ib0419fbf7cfd78be87277b487a9b1080ab22329f
Reviewed-on: https://gerrit.instructure.com/60656
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
QA-Review: Jason Carter <jcarter@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-08-20 15:36:16 +00:00
Cody Cutrer 7a261cbeef determine recipients and queue notifications _after_ transaction commit
fixes CNVS-22546

test plan:
  * regression test notifications

Change-Id: I7896f03b18b19003cff6228aefa72029a8c08a29
Reviewed-on: https://gerrit.instructure.com/61249
Reviewed-by: Joel Hough <joel@instructure.com>
Tested-by: Jenkins
QA-Review: Adrian Russell <arussell@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-08-20 15:26:21 +00:00
Clay Diffrient dd43ace886 Makes Chrome launch when running JS specs
Change-Id: Idaafc3fcfac770996e7dc0442c9503e4d14dc53f
Reviewed-on: https://gerrit.instructure.com/61148
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-20 01:37:12 +00:00
Steven Burnett 791a8d4939 fixes google drive authorization
fixes CNVS-22557

Test Plan:
- create a user and register them with google docs
- then try to register them with google drive
- notice you can change what email you want to register with
  google drive

Change-Id: Id5894cd7fddf152491a27c2cadb17f5a93109b1b
Reviewed-on: https://gerrit.instructure.com/61293
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Tested-by: Jenkins
Product-Review: Peyton Craighill <pcraighill@instructure.com>
2015-08-20 00:59:26 +00:00
Nick Houle debb304d02 Set sis_app url as canvas account setting
Fixes: SIS-700
Change-Id: I95e475f00c1e00a00a4e04e099f7734c94604cad
Reviewed-on: https://gerrit.instructure.com/60592
Reviewed-by: Tyler Pickett <tpickett@instructure.com>
Product-Review: Tyler Pickett <tpickett@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
2015-08-19 21:51:03 +00:00
Clay Diffrient a0819abfdf a11y: Makes permission selection menus work with keyboards
fixes CNVS-20609

Test Plan:
- Go to /accounts/XX/permissions
- Using the keyboard navigate to one of the permission buttons
- You should be able to open the menu with the Enter key
- You should be able to navigate up and down in the menu and
select a new permission
- Pressing Enter or Spacebar should select the new permission

Change-Id: I6ec2aa5a90e6f4a183816744e531fa0889cd5013
Reviewed-on: https://gerrit.instructure.com/60917
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-19 21:05:49 +00:00
Taylor Wilson 2fce15aaa9 Adding login specs for Android apps
twilson, panda, 2

  - added shared examples for Candroid and SpeedGrader for
    login view and credentials

  - minor simplification of iOS specs

  - to test: comment/uncomment appium init and skip statements in
    mobile_common, spin up Appium server, create and edit yml file,
    and run specs

Change-Id: Ia984a79bac51104dba232cf348a77fdc6a656c8b
Reviewed-on: https://gerrit.instructure.com/61280
Tested-by: Jenkins
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-19 20:30:52 +00:00
Heath Hales ee92311187 Adding spec for 96022 Move Leader - Drag and Drop
hhales,panda,1

Change-Id: Ia947437c9ee16bb86399cc63a5150485c4c483b1
Reviewed-on: https://gerrit.instructure.com/61248
Tested-by: Jenkins
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-19 20:30:08 +00:00
Brad Horrocks ef6c359ef8 Limit dev keys with account ids in oauth flow
Dev keys with an account id will no longer be able to auth with users
outside their account.

Fixes PLAT-1202

Test Plan:
Create a dev key for one account
try to auth it with a user on another account

Change-Id: I16edb6abc4af59c7e903eaf9287cc081b610967f
Reviewed-on: https://gerrit.instructure.com/60561
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Tested-by: Jenkins
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: August Thornton <august@instructure.com>
2015-08-19 20:19:42 +00:00
Brock Cooper f369a690a0 Converts FolderTree to Render Using JSX
refs CNVS-22335

Converts:
  - FolderTree

Test Plan:
  - Make sure FolderTree work in New Files

Change-Id: Id0df8005f993f8be709ce3ca96ccafbac8f25239
Reviewed-on: https://gerrit.instructure.com/60399
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-19 19:37:54 +00:00
Brock Cooper f6ce4bb3f0 Converts FileRenameForm to Render Using JSX
refs CNVS-22335

Converts:
  - FileRenameForm

Test Plan:
  - Make sure FileRenameForm work in New Files

Change-Id: I08ea9ffe55e1d91d4064e6e560b80c4385ca5bed
Reviewed-on: https://gerrit.instructure.com/60387
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-19 19:37:48 +00:00
cguanzon 28ada8ce13 creates config file for Appium
- this is in preparation for separating the appium tests
  from the selenium tests

- Test Plan:
   make sure it passes Jenkins
   make sure all the Appium Tests still work

Change-Id: Ie2810c489ed8672f4c3a99392927444b317618d4
Reviewed-on: https://gerrit.instructure.com/61263
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2015-08-19 19:14:42 +00:00
James Williams 059c4e44ba move thumbnail resizing out of transaction
test plan:
* image files and thumbnail creation should work as before

closes #CNVS-22544

Change-Id: I5631b392a4f4371d6fba2065608b8ce65175dcd5
Reviewed-on: https://gerrit.instructure.com/61078
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-19 19:03:20 +00:00
Cody Cutrer 55fadc46be don't allow courses in the site admin tree at all
Change-Id: I1b8a51dc2191a5f376897eb77f96ac120b75eed0
Reviewed-on: https://gerrit.instructure.com/61259
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-08-19 18:12:33 +00:00
Taylor Wilson bdc4bd75f2 Adding login specs for iOS apps
twilson, panda, 7

  - added shared examples for iCanvas and SpeedGrader for
    login view and credentials

  - to test: comment/uncomment appium init and skip statements in
    mobile_common, spin up Appium server, create and edit yml file,
    and run specs

Change-Id: Ie32900026028ea36568343b85b275c4e00d33fa3
Reviewed-on: https://gerrit.instructure.com/61224
Reviewed-by: Michael Hargiss <mhargiss@instructure.com>
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2015-08-19 17:48:55 +00:00
Michael Hargiss a716ab8722 cleanup and refactor OQAAT specs
Test Plan:
- pass Jenkins
- check for syntax errors
- make sure all test_ids match up to an existing test case in TestRails

mhargiss,panda,11

Change-Id: I347834d5be266aa8b422c1623f676fc374ebf7dc
Reviewed-on: https://gerrit.instructure.com/59274
Tested-by: Jenkins
Product-Review: Michael Hargiss <mhargiss@instructure.com>
QA-Review: Michael Hargiss <mhargiss@instructure.com>
Reviewed-by: Taylor Wilson <twilson@instructure.com>
2015-08-19 17:38:14 +00:00
James Williams 882e2add5c rails4: set config.log_level on boot
otherwise it will ovewrite logger.level with the default
 (:info on production)

refs #CNVS-21596

Change-Id: I18352300b769d141de7a83959568e627f6a519b4
Reviewed-on: https://gerrit.instructure.com/61257
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-19 17:34:31 +00:00
Steven Shepherd 66550c0ce5 Add specs for testing restricted file access in groups
sshepherd,panda,4

Test Plan:
  - Run specs

Change-Id: I919ca3e39bca635b7eb5bf690d995de2746223dc
Reviewed-on: https://gerrit.instructure.com/61260
Tested-by: Jenkins
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2015-08-19 17:34:09 +00:00
Cody Cutrer b521d20570 remove invalid associations
fixes gh-673

Change-Id: I49ee5d775ae65b1557163e0e404fe97807e1c357
Reviewed-on: https://gerrit.instructure.com/61149
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-08-19 17:33:33 +00:00
Cody Cutrer 91e162f01a optimize common cases of Account#default_storage_quota
avoid even going to redis for two common cases that are likely
already cached in-process, or for repeated calls to the same
method

Change-Id: Ia90dbe25d83ab69ba62f26c966884a041ff61f3d
Reviewed-on: https://gerrit.instructure.com/61093
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-08-19 17:32:30 +00:00
Cody Cutrer 219fe524bf avoid unnecessary permission check
Change-Id: Iccb0fd40a648a502613dfac89b331155afa103fb
Reviewed-on: https://gerrit.instructure.com/61099
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-08-19 17:22:30 +00:00
Cody Cutrer 41aa7b7c8c fix Account.find_cached
Change-Id: I7c9ff510213fc74c71d7118d181af893eddae1bb
Reviewed-on: https://gerrit.instructure.com/61253
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
2015-08-19 16:59:36 +00:00
Mark Severson 4b6418e4ae remove description from the sis assignments api
test plan:
 * query the sis assignments api for an account/course
   * /api/sis/accounts/:account_id/assignments
   * /api/sis/courses/:course_id/assignments
 * the description field should not be returned for any assignment

fixes CNVS-22513

Change-Id: I2d679a3b7eedf4f4892ef5e7d1b93007e7500c7a
Reviewed-on: https://gerrit.instructure.com/60861
Reviewed-by: Brad Humphrey <brad@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Mark Severson <markse@instructure.com>
2015-08-19 16:59:27 +00:00
Joel Hough 05624f1071 don't generate collaboration doc in transaction
fixes CNVS-22506

test plan
- regression test google doc collaborations

Change-Id: I696562d74e317b465b1679513fa7f5ff913a1c99
Reviewed-on: https://gerrit.instructure.com/60923
Tested-by: Jenkins
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
QA-Review: Adrian Russell <arussell@instructure.com>
Product-Review: Joel Hough <joel@instructure.com>
2015-08-19 16:07:24 +00:00
Derek Hansen 5db92e05bd Small discussion spec test_id match up
Change-Id: Ie7955f7e83228384de0d0ea3bb4efa763d513aa2
Reviewed-on: https://gerrit.instructure.com/61027
Tested-by: Jenkins
Reviewed-by: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-19 15:46:24 +00:00
Brad Horrocks 79c7848895 Add account to access_token
We now pull the account from the developer key

Fixes PLAT-1200

Test Plan:
Run the tests?
not much really changed
none of is really exposed/used

Change-Id: I88b3b9b907ae7b15145ac8e2e6fc1a18527b40d5
Reviewed-on: https://gerrit.instructure.com/60544
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: August Thornton <august@instructure.com>
2015-08-19 15:44:39 +00:00
James Williams cb7824efca improve speed_grader rubric assessment loading
don't stuff them in the fake js_env and join the data there
 just return them with the rest of the speedgrader data

also don't do unnecessary permissions checks on every rubric
 assessment

test plan:
 * regression test speedgrader rubric assessments

closes #CNVS-22522

Change-Id: I31a025c8f23b054857823f411a229780c27cb94f
Reviewed-on: https://gerrit.instructure.com/60963
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
QA-Review: Jason Carter <jcarter@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-19 15:16:18 +00:00
James Williams 86f7bddf5e don't load plugin settings for account services on every page load
loading AccountServies.allowable_services shouldn't calculate
 "expose_to_ui" when unnecessary

Change-Id: I86c6bebb88c372932283b063054a5f9e5fb947e1
Reviewed-on: https://gerrit.instructure.com/61186
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-19 14:46:51 +00:00
Transifreq 164042751a Updated tr translation
Change-Id: If079473c012f521adc4cd030c35efd69b8666cf9
2015-08-19 05:24:15 -06:00
Steven Shepherd b6d255000d Add specs for testing group files and refactored priority
sshepherd,panda,9

Test Plan:
  - Run specs

Change-Id: I34630c52b3fcd8b3076b2c1ea6ed52bcfd24021a
Reviewed-on: https://gerrit.instructure.com/61231
Reviewed-by: Michael Hargiss <mhargiss@instructure.com>
Tested-by: Jenkins
Product-Review: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
2015-08-19 01:16:37 +00:00
Deepeeca Soundarrajan 9d1bf771ad Discussions - Specs for vdd multiple due dates
dsoundarrajan, panda, 7

Change-Id: I06e9ce1592b80b3b52d161850aea0ec48c63148a
Reviewed-on: https://gerrit.instructure.com/61089
Tested-by: Jenkins
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Product-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2015-08-18 23:06:39 +00:00
Jonathan Featherstone 8856134c5a Move post grades button to top header
Slight structural change to post grades button to make style more
uniform. Test plan from original ticket where button was added is
pasted below for ease of testing. Verify that change works for old and
new canvas styles.

Test Plan:
  * configure powerschool grade posting by enabling sis feature flag
    * /accounts/:id/settings
      * "post grades to sis" -> on
    * /courses/:id/settings
      * SIS ID -> random number
  * add an assignment, make sure that "post grades to sis" is checked
  * navigate to gradebook, verify that "post grades" button is visible
  * verify that "post grades" button is not visible when no assignments
    are present
  * click on button and verify that current powerschool modal launches
  * add sisapp lti launch
    * get local sisapp running
    * /accounts/1/settings/configurations
    * add app, by url http://<local sisapp>/post_grades/config.xml
  * navigate to gradebook, verify that both powerschool post and new
    lti post are available in drop down menu

closes CNVS-22119

Change-Id: Id57bed25774e4bff2208eb8a7ec1f318a276f1c5
Reviewed-on: https://gerrit.instructure.com/60378
Tested-by: Jenkins
Reviewed-by: Andrew Butterfield <abutterfield@instructure.com>
QA-Review: Heath Hales <hhales@instructure.com>
Product-Review: Jonathan Featherstone <jfeatherstone@instructure.com>
2015-08-18 21:39:22 +00:00
Derek Hansen e9e12544fa speedgrader specs
dhansen,panda,6

Change-Id: I071bc2f5d0c8b129cab55bb111ed49a2a8ccf58d
Reviewed-on: https://gerrit.instructure.com/60318
Tested-by: Jenkins
Reviewed-by: Michael Hargiss <mhargiss@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-08-18 21:29:22 +00:00
Heath Hales c18939e32e Adding spec for 94164: Group Limit - Remove Student Drag and Drop
hhales, panda, 1

Change-Id: I77dc8582f91175ac8c5202ad35c39c64552f3284
Reviewed-on: https://gerrit.instructure.com/61157
Tested-by: Jenkins
Reviewed-by: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2015-08-18 20:59:39 +00:00