Commit Graph

17065 Commits

Author SHA1 Message Date
Steven Burnett f13f151abf fixes calendar x icon hiding on small screens
fixes the calendar modal being cut off when the browser
window is really small.

fixes CNVS-21755

test plan:
- From within the calendar create a new calendar event via the "+" icon
- Under the edit event field select the "more options" button
- Give the event a title and under the content editor add 20 lines (can be single character, just hit 'enter' after each one)
- Select "Update Event"
- Click the newly created event.
- Note that the top of popover (and the 'X' to close it) is positioned onscreen
- Enlarge and shrink the window notice x and title stay on screen

Change-Id: I37700ac74742ecd3ad27692a6e5393c21f7bf83a
Reviewed-on: https://gerrit.instructure.com/60328
Reviewed-by: Jennifer Stern <jstern@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Matthew Wheeler <mwheeler@instructure.com>
2015-08-17 17:33:43 +00:00
cguanzon 9311fa47a1 spec:selenium removes sis_grade_passback_spec
- reason: the tests have been skipped for a very long
   time due to waiting for an undefined refactor

Change-Id: I192689fe56063cd87d1cd7e68fe94b1d74c578c2
Reviewed-on: https://gerrit.instructure.com/60936
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-17 17:14:34 +00:00
Weston Dransfield c93dac757a read and write resource_placements to/from message_handler
fixes PLAT-1174

Test Plan
~ make sure resource_handler_id from the lti_resource_placements table
~ make sure installing a tool via lti tool registration URL works correctly as
  well as any other task that uses the Lti::ResourcePlacement model.

Change-Id: I058ae01cb43366342754e3fa9cdabf1c408cce0e
Reviewed-on: https://gerrit.instructure.com/60494
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2015-08-17 16:47:43 +00:00
Michael Nomitch 039a996bc8 hide k12 styles unless flag is on
fixes CNVS-22216

test plan:
  - with k12 feature flag off
    - go to theme editor
    - it doesnt show k12 brand config
  - turn flag on
    - go back to theme editor
    - it does show k12 brand conifg
  - turn flag off and check that it goes away
  (note: it may take a little bit for the
   change to kick in)

Change-Id: Ic4ab4557d5330426128d26890d739ee6feb98a7b
Reviewed-on: https://gerrit.instructure.com/60783
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ryan@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
2015-08-17 15:53:46 +00:00
Rob Orton 006eeeaf6f add armenian language
fixes CNVS-21898

test plan
 - canvas should load with armenian
 - date pickers should work

Change-Id: I45ad840fdbe711cb82337bd91ba4009496b19ff1
Reviewed-on: https://gerrit.instructure.com/60960
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
2015-08-17 15:38:37 +00:00
Derek Hansen 3319a63cbb Theme editor spec stability improvment
Change-Id: Ie2a28ca25b48aae5812ffbae92059a590fc4cd0e
Reviewed-on: https://gerrit.instructure.com/61006
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
2015-08-17 15:24:15 +00:00
Deepeeca Soundarrajan d48be92da4 Discussion index page - Added a couple of specs to drag and
sort discussions

dsoundarrajan, panda, 2

Change-Id: I42995691c5ee4fd47d26c46b9087d56a5951fe6d
Reviewed-on: https://gerrit.instructure.com/60922
Tested-by: Jenkins
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-17 15:07:29 +00:00
Transifreq 05ad324f67 Updated nb translation
Change-Id: I5d23f25215137ffc1f871191655c3b3db29f4253
2015-08-17 05:15:11 -06:00
Transifreq 23fbf65dec Updated pt translation
Change-Id: I7d8e171b72fd5c07d0b7037c10f0820a66c6c79b
2015-08-16 05:18:46 -06:00
Taylor Wilson 6a7b7ce1c7 Refactoring Appium to support SpeedGrader and mobile Canvas
twilson, panda, 5

  - refactor to support mobile SpeedGrader and mobile
    Canvas apps for both Android and iOS

  - landing_page_common moved to shared context to be
    used with SpeedGrader and mobile Canvas

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

Change-Id: I4862f69874549e972488f44b65c5aeac6b47bf4a
Reviewed-on: https://gerrit.instructure.com/60538
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jahnavi Yetukuri <jyetukuri@instructure.com>
Tested-by: Jenkins
Product-Review: Ben Bolton <bbolton@instructure.com>
QA-Review: Ben Bolton <bbolton@instructure.com>
2015-08-16 03:08:56 +00:00
Jeremy Stanley 523d86914f don't put "show and hide courses menu" on user files
test plan:
 - enable new styles in the root account
 - on a course files page, when the window is shrunk to where
   the course nav doesn't fit, a hamburger menu should appear
   to toggle it
 - on a user files page, the hamburger menu should not be there
   (because there is no course nav to toggle; currently it is
    toggling an empty space)

fixes CNVS-21105

Change-Id: I229e308ead615f6790002aee3d17de436655f727
Reviewed-on: https://gerrit.instructure.com/60803
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Tested-by: Jenkins
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2015-08-15 19:43:55 +00:00
Transifreq d8ef3dd17c Updated ja translation
Change-Id: I37bf4b9c8d9b40dcae6d7ff381a6d7238ae7449b
2015-08-15 05:15:01 -06:00
Transifreq 5d62debf40 Updated ar translation
Change-Id: I2afe366636693230c6c350af993e8705c35066de
2015-08-15 05:07:32 -06:00
Stephen Jensen b67393cae5 Theme editor "Preview Your Changes" loading bar slightly off
Fixes: CNVS-22217

Test Plan:
- In the NUI, open Theme Editor

- Make some change, and click preview in
  the center of the screen

- The progress bar should now fit exactly
  inside its container.
  - instead of this
    http://screencast.com/t/gqzsUkHGn
    you should see this
    http://www.screencast.com/t/DoalArPiaCjj

Change-Id: I8a1ca6011cffe66e9e870ef82ca3ae5d277f9fca
Reviewed-on: https://gerrit.instructure.com/60646
Reviewed-by: Jennifer Stern <jstern@instructure.com>
Product-Review: Jennifer Stern <jstern@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
2015-08-15 05:22:12 +00:00
Jon Willesen 13d7c99e0c added anonymous grading feature flag
fixes CNVS-21535

For now this can just be a plain feature flag because feature
flags implement the "cascading state" functionality we want for
this setting. We can change the UI on this or convert it to a
new type of setting later if we think that's important enough.

test plan:
 - Anonymous grading feature flag exists as a feature currently
 under development (only visible to site admins until it is
 turned on). Nothing else should be affected by this
 flag's setting yet.

Change-Id: I5136265cd46af47ea48482b2ab5015112e079557
Reviewed-on: https://gerrit.instructure.com/60871
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2015-08-14 21:54:28 +00:00
Zach Wily 663a1c9518 fix docker-compose warning
The latest Docker Compose wants volume paths to be more explicit.

Change-Id: Ib632fb6b6d15ce11bacbaf39c4d5c6094e86072e
Reviewed-on: https://gerrit.instructure.com/60954
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins
Product-Review: Zach Wily <zach@instructure.com>
QA-Review: Zach Wily <zach@instructure.com>
2015-08-14 21:51:07 +00:00
Heath Hales 3022fea1c4 Adding spec for 94154:Add Students - Drag and Drop
hhales,panda,0

Change-Id: I4be5d546a1883da5370e74475f9c11287b55818f
Reviewed-on: https://gerrit.instructure.com/60786
Tested-by: Jenkins
Reviewed-by: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Steven Shepherd <sshepherd@instructure.com>
2015-08-14 21:04:50 +00:00
Jacob Fugal d79ccc78d9 localize values in datetime picker fields
fixes CNVS-21581, CNVS-21582

test-plan:
 - regression around all datepicker elements
 - for each, when it loads with prepopulated data, that data should be
   localized
 - the prepopulated localized data should be valid to the datepicker

Change-Id: I633034967c70066e337dc22d9b9ad0cd84793834
Reviewed-on: https://gerrit.instructure.com/60229
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
Product-Review: Mike Nomitch <mnomitch@instructure.com>
2015-08-14 20:25:02 +00:00
cguanzon 577a2cf16c spec:selenium removes user_lists_teacher_spec
- reason: this spec does not contain any example blocks.
          its methods are not used anywhere

Change-Id: Ia285e2a00cc230b0abc2efce5387bf739ac67f3e
Reviewed-on: https://gerrit.instructure.com/60926
Reviewed-by: Adrian Foong <afoong@instructure.com>
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2015-08-14 19:40:27 +00:00
cguanzon 0f7bb2087b spec:selenium proritixes and id's application_spec.rb
Change-Id: I39657f2d91beaeb9cde34a9a39c829003e17b362
Reviewed-on: https://gerrit.instructure.com/60918
Reviewed-by: August Thornton <august@instructure.com>
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
2015-08-14 19:14:12 +00:00
Cody Cutrer 29fb9a852a fix logins list for explicit saml provider
fixes CNVS-22516

test plan:
 * explicitly link a login to a SAML provider
 * view the users page for the user
 * it should not error

Change-Id: I6a2b746f19963b2d9aa20808244a96353102b827
Reviewed-on: https://gerrit.instructure.com/60900
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-14 18:16:22 +00:00
Cody Cutrer 0685f46f36 fix preload notification on stream item assets
it can't preload until _after_ it knows what the notification_id is

Change-Id: Ice9aef3e1788549a8f0c2d488afe2a0429a6db96
Reviewed-on: https://gerrit.instructure.com/60792
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-14 17:49:24 +00:00
Clay Diffrient 570ee18ae2 Update Contributing.md with better information
Change-Id: I6884e3e2b4614f1999e74335961c317c8609fc5f
Reviewed-on: https://gerrit.instructure.com/55382
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-14 17:04:39 +00:00
James Williams 6c3ddb6a07 allow rubric_assessments to belong to provisional grades
should not be able to interfere with assessments that
 belong to submissions or assignments

closes #CNVS-22007

Change-Id: I9aee919ba3c3b7568127927b1da5d898e94bbbb2
Reviewed-on: https://gerrit.instructure.com/60832
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-14 15:40:39 +00:00
James Williams a5352d1ea1 spec: fix fragile locked_spec
Change-Id: Iae8b08b6b4b227cf7261b8d1d7a4f5fde0e0b8e9
Reviewed-on: https://gerrit.instructure.com/60894
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-14 15:39:05 +00:00
Transifreq 292a4212f2 Updated zh_Hant translation
Change-Id: If3e91ef41029d296ccc60fc68730c85af3adc5bb
2015-08-14 05:29:38 -06:00
Transifreq 381f93bb1e Updated ru translation
Change-Id: I929b40cee62ac6d5bf382377114738a2feaafeea
2015-08-14 05:25:45 -06:00
Transifreq 301ef753ea Updated en-GB translation
Change-Id: I7224f8f5ba17b3309520189ebc38ed5102593a72
2015-08-14 05:15:53 -06:00
Transifreq a35052ec99 Updated da translation
Change-Id: I72b885a8774db5e5a0fd6cc181c9d0f71c444073
2015-08-14 05:12:57 -06:00
Transifreq e4363d3e8f Updated ar translation
Change-Id: I40a1a95795d4aa5a47cff8a18664bbb0f66f2f22
2015-08-14 05:11:53 -06:00
Jahnavi Yetukuri d00226cf07 File specs
jyetukuri, panda, 4

Change-Id: Id35d82d301b437c84f81afcd7746c434c3ab5665
Reviewed-on: https://gerrit.instructure.com/60868
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
2015-08-14 00:34:45 +00:00
Brock Cooper 7bd568d1ca Fix showing modules pill message when NC_or not enabled
Fixes CNVS-22451

Test Plan:
1) Navigate to modules as a teacher
2) Add a modules and an assignment to modules
3) Make assignment a requirement for the module
4) ensure that the pill message does not show

Change-Id: Ic892c6e976b616475db65cb9d3dbf607ee76ce3e
Reviewed-on: https://gerrit.instructure.com/60683
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Dan Minkevitch <dan@instructure.com>
2015-08-13 23:46:19 +00:00
Derek Hansen 0dfd484fc8 Improve stability in a failing dashcard spec
Change-Id: Ia417251333d7386c40cf2cfdacb663cbc3bca236
Reviewed-on: https://gerrit.instructure.com/60836
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-13 23:11:03 +00:00
Brian Palmer 8c13cf9efe bump nokogiri
Change-Id: Ibefaf48d0de044e52ee6e92655fb103c4b5d5511
Reviewed-on: https://gerrit.instructure.com/60830
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Product-Review: August Thornton <august@instructure.com>
Tested-by: Brian Palmer <brianp@instructure.com>
2015-08-13 22:28:31 +00:00
Tyson Brown f1ac49b9e0 Add sis_account_id to sub-account creation api
fixes PFS-2347

Test Plan:
* POST /api/v1/accounts/:account_id/sub_accounts,
  setting account[sis_account_id] to something
* verify result

Change-Id: I60c89dc3d93d491ded3a63f9359cab5a9c8240a4
Reviewed-on: https://gerrit.instructure.com/60057
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Tyson Brown <tbrown@instructure.com>
2015-08-13 22:21:43 +00:00
Jeremy Stanley e83366314a prevent turning moderated grading off after provisional grades
test plan:
  1. Create and publish an assignment that accepts a submission
     and enables Moderated Grading
  2. As a student, submit the assignment
  3. As a teacher, edit the assignment and note that the
     Moderated Grading setting should still be changeable
  4. Use the console to create a provisional grade:

     Assignment.find(assignment_id).submissions.last.find_or_create_provisional_grade! scorer: User.find(teacher_id), position: 1, score: 0

(where assignment_id is set to the id of the assignment created
      in step 1, and teacher_id is the teacher's user id)

  5. Refresh the edit-assignment page, and the "moderated grading"
     checkbox should be disabled with a tooltip indicating the setting
     can't be changed

fixes CNVS-22208

Change-Id: Iab5fa94508b199d40c2db486a13988665505ab2f
Reviewed-on: https://gerrit.instructure.com/60533
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2015-08-13 22:04:23 +00:00
Jeremy Stanley 5853e6d728 provisional submission comments
test plan:
 - specs should pass
 - a quick regression test on comments on submissions in SpeedGrader
   would probably be a good idea

fixes CNVS-22008

Change-Id: I26e9dc5bd2e3dd1a074b5625613a3b32744b6b50
Reviewed-on: https://gerrit.instructure.com/60196
Reviewed-by: Derek Bender <dbender@instructure.com>
Tested-by: Jenkins
Reviewed-by: Dan Minkevitch <dan@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
2015-08-13 22:04:14 +00:00
Adrian Foong 23afcd1d2e SRGB Specs + refactor
afoong, panda, 10
Change-Id: I583a31b6147f85e425462b223eb51b535fbe4b59
Reviewed-on: https://gerrit.instructure.com/60543
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-08-13 21:18:49 +00:00
James Williams b935e1a84f show course_settings_sub_navigation lti tools with read_as_admin
test plan:
* add an lti tool configured for course_settings_sub_navigation
* add a teacher to a course with a term that restricts teacher
 edit access past a date in the past
* should still be able to see the lti tool

closes #CNVS-22488

Change-Id: I332da191ec08e859001e68f7813d52e00028487b
Reviewed-on: https://gerrit.instructure.com/60787
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-13 20:48:02 +00:00
Deepeeca Soundarrajan a32e486735 Assignment_rubrics: Added and refactored specs for assignments_rubrics_spec.rb
dsoundarrajan, panda, 3

Change-Id: I5c148fc0f65a0cad2e4d8b6bd2ce3fc45a3e694b
Reviewed-on: https://gerrit.instructure.com/60508
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-13 20:45:48 +00:00
Clay Diffrient 5bc6569581 Increments cache key for modules page
Instructors were getting a cached copy of the modules page, but
a new copy of context_modules.js.  The new version of context_modules
requires an id to be present as an element on the page.  The cached
copies of this page does not include an id attribute.

The problem resolves itself anytime the cache is busted by modifying
other aspects of the module.  This forces the cache to bust for
everyone so they get a new copy of the page.

fixes CNVS-22413

Test Plan:
  - Load up an old course (you need to have an old cached copy of the page)
  - You should be able to add an item to a module without problems.

Change-Id: I217e63b1587577db65120d51dfd777c705acddbc
Reviewed-on: https://gerrit.instructure.com/60779
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Clay Diffrient <cdiffrient@instructure.com>
2015-08-13 20:21:42 +00:00
James Williams c20d91d9cc don't fetch site_admin role overrides for non-site_admin roles
Change-Id: I12fb68f676caef8bd8838b4dc771ca919e218da7
Reviewed-on: https://gerrit.instructure.com/60607
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-13 20:13:09 +00:00
James Williams 9359807670 rewrite activity stream summary for performance
adds a notification_category column in order to move all
the calculation of stream item counts to the db instead
of loading all the instances and items

test plan:
* regression test activity stream summary api endpoint

closes #CNVS-22424

Change-Id: Ia0abf9d89e02d53800bcd5d62fdf1a36131bd6f8
Reviewed-on: https://gerrit.instructure.com/60578
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-08-13 19:43:34 +00:00
James Williams 6278d9e17a consolidate usages of TempCache into RequestCache
refs #CNVS-21317

Change-Id: I60016fd04109605d4324d5b184d5c0f7afa2515e
Reviewed-on: https://gerrit.instructure.com/60583
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-13 19:33:15 +00:00
James Williams 85afd15ec7 improve assignment api needs_grading_count performance
the course proxy caches values that would otherwise be
 re-calculated over and over again

refs #CNVS-21317

Change-Id: Iae0edc43b896b1029e869cf8c759aea7d7bcfd62
Reviewed-on: https://gerrit.instructure.com/60580
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-08-13 19:32:42 +00:00
Ryan Shaw b5d3651ec6 Use ENV.current_user_id instead of $('#identity .user_id')
fixes: CNVS-22491

we used to have a bunch of things in js where look
for hidden elements in #identity to get user_ids
and context_ids. that is a bad idea and has been
deprecated in favor of using window.ENV.
I just did a check and these were the last 2
that I could find.

test plan:
* in the new UI...
* as a student, go to the modules page
* you should see a green checkmark next to the
  modules you've completed


Change-Id: Ic10b903220b93e35b314e274a69872482c52cc64
Reviewed-on: https://gerrit.instructure.com/59863
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jenkins
QA-Review: Charles Kimball <ckimball@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2015-08-13 19:29:38 +00:00
Steven Shepherd 17c8bce0a4 Adds specs to test group pages
sshepherd,panda,6

Also fixes some minor errors in comments in older specs

Change-Id: Ief0e30f1c9115d9c7afeb85e1d774ce6215f59f1
Reviewed-on: https://gerrit.instructure.com/60672
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
2015-08-13 19:07:48 +00:00
Brian Palmer 6f99f0d3e0 send exception type as a tag
A tag makes it filterable, vs extra data which is just displayed on the samples
screen.

Change-Id: I9d01491c59a5ede9ffa12269d5a035a0e2d80793
Reviewed-on: https://gerrit.instructure.com/60488
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2015-08-13 18:43:55 +00:00
Ryan Shaw 6b30f9cf85 New UI: show the "courses" menu item all the time
closes: CNVS-22368

When a student only has enrollments in unpublished 
courses, they do not see a courses global nav link.
The link is needed to get to "all courses" and see 
their enrollments.

this changes things so the "courses" menu is always
shown. that way those users will be able to get
to that "all courses" link

Product / UX/UI review question:
This is just one possible way of fixing this problem.
the other thing we could do is to leave it how it was
but do a second, more expensive DB query to see if 
there are any of those unpublished or archived courses that
I can see on the /courses page but not in the course
menu. in standup, we agreed to do it like this but
if any of you feel strongly that we should do it 
the other way, that's fine too.


test plan:
Add a new user
Enroll them in an unpublished course
Masquerade as the new user, 
click the courses global nav option
you should see the "all courses" link in the tray popup

Change-Id: I140dbc4f4d2852c386cc57cac3f2afec6ef62979
Reviewed-on: https://gerrit.instructure.com/60233
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2015-08-13 16:39:52 +00:00
Cody Cutrer edfde83901 bump ruby-saml-mod
fixes CNVS-22460

Change-Id: Ic5098109094cd448548af078b033a5942cd5c236
Reviewed-on: https://gerrit.instructure.com/60652
Tested-by: Jenkins
Reviewed-by: Brian Palmer <brianp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-08-13 15:46:16 +00:00