Commit Graph

2318 Commits

Author SHA1 Message Date
Cody Cutrer da0b7dbe92 pass session along to tabs_available from application_helper fixes #5571
Change-Id: I395f726c2d60ff7f695a8b949714f49c287cc20d
Reviewed-on: https://gerrit.instructure.com/6275
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-10-19 09:04:17 -06:00
Cody Cutrer f850c5148c fix #6014 deleting a pseudonym you just added
Change-Id: Ibca8d33e7d7e49621b84cb71f0cc0aedc5d2a171
Reviewed-on: https://gerrit.instructure.com/6291
Tested-by: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
2011-10-18 17:23:15 -06:00
Ryan Shaw aa96b021e9 delete compiled js file if you delete a handlebars fie
couldn't actually get the run_on_deletion method working
but if you start guard and hit enter in that terminal window
it will delete the entire public/javascripts/jst directory
and re compile all

Change-Id: I25df0bc2cc0031c61e32c0141cef7d3f688a1056
Reviewed-on: https://gerrit.instructure.com/6171
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-18 17:17:54 -06:00
Ryan Shaw fed13f8b35 move test from misc_spec to jquery_spec, where it belongs
Change-Id: Ie3f8d3c16c14a9c164f352a10ff16d56d4fb8bf9
Reviewed-on: https://gerrit.instructure.com/6063
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-18 17:17:41 -06:00
Zach Wily 3412df6669 remove confusing "published assignments" section; fixes #5951
This sidebar item is leftover from when we were going to implement assignment
grade publishing. Instead we're doing "assignment muting". The old code hasn't
been totally removed yet, so this sidebar was basically always showing all the
quizzes that were due > 1 week ago, and confused people.

Change-Id: I36cec88ee7d77dd310c267de3fba4c595967c07f
Reviewed-on: https://gerrit.instructure.com/6191
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-18 15:10:55 -06:00
Brian Palmer 325bf6951d still allow password auth in respondus api for delegated auth accounts
fixes #6007

Change-Id: I6b2ca51962639fedeea8658c0b6c51d8544dcf6f
Reviewed-on: https://gerrit.instructure.com/6274
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-18 14:36:17 -06:00
Zach Wily 9af26ba686 fix changing sort options in speedgrader; fixes #6002
Change-Id: I27e391b764bc5ad1b49cebed269f71b988e62200
Reviewed-on: https://gerrit.instructure.com/6263
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-18 13:59:04 -06:00
Ryan Shaw 93db186d85 use official jQueryUI autocomplete plugin
there were a few little bugs with the old one
we were using.  this change also makes them accessible
and keyboard navigable.

removed input type="search" because the rounded corners
webkit adds makes it look bad with the autocomplete dropdown.

fixes #5548

Change-Id: Iff1c8516fdc6886bd6b5d190d1b878497b6a80be
Reviewed-on: https://gerrit.instructure.com/6249
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-18 10:19:34 -06:00
Jon Jensen b1fb94ae66 fix turnitin_settings :created not sticking
Change-Id: Id379b0ba5575e3da1f2ce6e8af1561530c64f50b
Reviewed-on: https://gerrit.instructure.com/6254
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-18 09:20:39 -06:00
Zach Pendleton f006299a55 show all questions in move question list. fixes #3594
Stop loading questions in move question quiz bank dialog from
the DOM and instead load them from JSON. Load 50 questions at
a time, and display them as they load to speed up perceived
load time for user.

Change-Id: I03de30ced107bf12d5002bab44bf326dbbeb343e
Reviewed-on: https://gerrit.instructure.com/6244
Reviewed-by: Ryan Florence <ryanf@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-18 08:45:31 -06:00
Ryan Shaw 84bac177a5 don't return deleted sections in api, fixes 5920
Change-Id: Iab289705b31125b4e05c0192cbc7b1540e613287
Reviewed-on: https://gerrit.instructure.com/6255
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-18 08:10:20 -06:00
Ryan Florence f6029c1d8c Fixes #5090 - Misleading Quiz Availability
Added a column for Due Date so the availability
end date isn't confused with it.

Change-Id: I93e43e160c4256d3871b3d9a06ec9a97bf39bdd1
Reviewed-on: https://gerrit.instructure.com/6230
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-17 17:07:53 -06:00
Zach Pendleton ef5ed4b7aa add option to sort users in speedgrader by submission. fixes #932
Speed grader defaults to first user with a submitted but
ungraded assignment. Users are still sorted alphabetically.

Change-Id: I974bf3b19d01e9f34122081a04e2215cb94c12b3
Reviewed-on: https://gerrit.instructure.com/6222
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-17 16:10:18 -06:00
Jacob Fugal 5acf427984 cleanup migration to go with 70c18ac
does the work that group_category_data_migration pre-70c18ac missed,
no-op if group_category_data_migration post-70c18ac was run

Change-Id: I39cc35cf385857f11cdcbdab3c462dbff9c4ce12
Reviewed-on: https://gerrit.instructure.com/6235
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-17 16:01:55 -06:00
Ryan Florence 9cdcb1a0a2 Fixes #5978 - Missing Courses in Menu
We started hiding enrollments where the created_at
and updated_at fields were identical, assuming
it was SIS garbage data.

Turns out we were wrong.  Reverting.

Change-Id: I9a479ea5f1ffde61365ab15aa36975e865be4e74
Reviewed-on: https://gerrit.instructure.com/6241
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-17 14:08:08 -06:00
Ryan Shaw b05c93212a don't do css3 transitions for .ui-widget-overlay
fixes: #5969

Change-Id: I25b834c04391337740aa64ecf916d856d8af2935
Reviewed-on: https://gerrit.instructure.com/6221
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-17 12:43:03 -06:00
Jacob Fugal 70c18acc39 fix group_category migration
Wasn't updating group_category_id on assignments; instead it was
updating groups again when it should have been doing the assignments.
This didn't mess up any groups, it just left the assignments unmigrated.

Change-Id: Id36cb9c90aecfe77c1af432a0149053239427520
Reviewed-on: https://gerrit.instructure.com/6234
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-17 12:42:47 -06:00
Jon Jensen 0dd97c664b fix for existing turnitin assignments, closes #5977
Change-Id: Icfd23d06d0542ce5df3f0d4a3f5506184544214e
Reviewed-on: https://gerrit.instructure.com/6233
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-17 12:35:17 -06:00
Jon Jensen 8c1916d52a more es translations
Change-Id: I16f5896f58817d4791e293897c7dc27327b4dc6f
Reviewed-on: https://gerrit.instructure.com/6210
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-17 10:08:57 -06:00
Jon Jensen 4d9e9b6169 fix up i18n scope for handlebars partials
Change-Id: I24b182a6a4ca222116e54b1a58ffd12ae9af8173
Reviewed-on: https://gerrit.instructure.com/6211
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-17 10:08:47 -06:00
Jon Jensen 82f33e92c5 fix <select> scroll issue in chrome (win), fixes #5257
tweak sidebar scroller so as not to set the body class if it's not
actually changing. this keeps chrome from repainting unnecessarily,
which was the reason why the <select> kept jumping back to the first
option every second.

Change-Id: I1c42cf89ec0f68dca2b49f8e1564c0b8d682d9dc
Reviewed-on: https://gerrit.instructure.com/6200
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-17 10:08:09 -06:00
Brian Palmer 08a054fbb3 remove errant apostrophe
Change-Id: I07183b15de0fca90e03ffddc418e3c7af8370f3f
Reviewed-on: https://gerrit.instructure.com/6220
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-17 09:23:26 -06:00
Zach Wily 92f41df46d fix invalid sql during role override lookup; fixes #5966
Change-Id: I3fa6ecaf63cd5c501ded72b95cf5d45b4ab4f7dd
Reviewed-on: https://gerrit.instructure.com/6219
Reviewed-by: JT Olds <jt@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-16 00:10:36 -06:00
Zach Wily 5e5852fa8e handle case where term of course might be deleted; fixes #5965
Change-Id: I2df6e72f9ac3a4e59e939182c1e197fae8ae848c
Reviewed-on: https://gerrit.instructure.com/6218
Reviewed-by: JT Olds <jt@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-15 23:51:17 -06:00
Brian Palmer 7738123365 fix localjumperror in new html rewriter refactor; fixes #5964
Change-Id: I6d65c91f6cde58fedca7f739588ecf27bc395f09
Reviewed-on: https://gerrit.instructure.com/6217
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-15 19:28:14 -06:00
Zach Wily 5409b2885d fix scoring fimb question with no answers; fixes #5963
Technically we probably shouldn't actually let people store questions like
this (since they're impossible to get right), but in the meantime, we
shouldn't raise exceptions if they exist.

Change-Id: I2d5d6dd0492055abd0f06eebfbf5fe65123bba68
Reviewed-on: https://gerrit.instructure.com/6216
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-15 17:13:00 -06:00
Brian Palmer 20b9f24e3c fix first page of user page views having the wrong per_page
refs #5802

remove some crufty page view google charts code

Change-Id: Idbce1fd42065e945ce5524d7be043b98eaaa1e05
Reviewed-on: https://gerrit.instructure.com/6214
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-15 12:07:12 -06:00
Zach Wily ccadf6e928 fix page views loading in the wrong order; fixes #5802
also increase the per-page requested by the web UI

Change-Id: I70a9399474900a2cf62fce64f3c8f31c0b1e3766
Reviewed-on: https://gerrit.instructure.com/6213
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-15 11:34:17 -06:00
Zach Wily 6f7bc3751e fix incoming message processing; fixes #5962
Also added a spec that tests the entire message processing stack (at least
with STDIN). An earlier refactor to do a more targeted test resulted in this
breakage.

Change-Id: Ic23eebaceccd2d4a615d9452675a66a1b925a387
Reviewed-on: https://gerrit.instructure.com/6212
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-15 11:30:42 -06:00
Brian Palmer 3eadad2198 set max_attempts to 1 for submit_to_scribd
Change-Id: I02bd7189bf0d6a2c670cf1b6f4f301cf71a97a45
Reviewed-on: https://gerrit.instructure.com/6130
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-15 08:06:00 -06:00
JT Olds 611d47143e update sis import api docs
Change-Id: I65224ac79689e517d69dce04147b5913825fa35a
Reviewed-on: https://gerrit.instructure.com/6209
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-15 06:51:59 -06:00
Bryan Madsen 6d7b1aeeb4 Fix selenium/discussion_spec error on hudson build
Change-Id: Ie44d5ba62fdb16f9950a066f6efffd18462829cb
Reviewed-on: https://gerrit.instructure.com/6204
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-14 17:16:21 -06:00
Jacob Fugal 328186c484 allow multiple simultaneous pagelesses
state was being used at an effectively global level to manage the
pageless library. this didn't work well when trying to use pageless for
more than one UI feature on a page. wrap the whole thing up in a new
closure per instance. fixes #5425

Change-Id: I654460d297932f0f92f54136d44b68e697bea192
Reviewed-on: https://gerrit.instructure.com/6151
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-14 13:04:05 -06:00
Jon Jensen 777c931017 show course name next to section in recipient finder
Change-Id: I473244d7af5b9dcae55604cc2cb12f398d2dd458
Reviewed-on: https://gerrit.instructure.com/6162
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-13 13:17:35 -06:00
Zach Pendleton e2188985bf fix mute messaging on student grade page.
Student entering a what-if grade no longer removes
any mute-related notifications (icon and tooltip).

Change-Id: I53bbe862564a973cb59a258e96bd4b8427389ecb
Reviewed-on: https://gerrit.instructure.com/6165
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-13 13:05:09 -06:00
Brian Palmer a2b972f1d8 partially revert "force domain.yml config in test env"
This doesn't play well with the selenium specs, which modify the test
env domain config when spawning a forked server.

This reverts the forced config, but keeps the domain_config refactoring.

Change-Id: I4ebf8983264adf99c37dd7097d28bdd1773bc2ec
Reviewed-on: https://gerrit.instructure.com/6169
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-13 11:43:27 -06:00
Ryan Florence a59142eb72 Fixes #4545 - Store flash version in localStorage
The check in swfobject used to take 100-300ms,
with localStorage its 1-3.

Change-Id: I232374dd9c79033ce4ed53a9bbae995eea0a7899
Reviewed-on: https://gerrit.instructure.com/6167
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-13 10:57:47 -06:00
JT Olds 9d4a4944b6 allow sis imports to make things sticky or clear stickiness altogether
* adds ui

Change-Id: Id8f3639457879d23125c0fb04ef5038d91826f21
Reviewed-on: https://gerrit.instructure.com/6050
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-10-13 10:54:58 -06:00
Cody Cutrer 20722f2463 fix grade_passback_sel for Pseudonym#sis_source_id being gone
Change-Id: I58686be2bda3c6843b813ea279b5d7f97ca7a83c
Reviewed-on: https://gerrit.instructure.com/6168
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
2011-10-13 10:35:28 -06:00
Jon Jensen 56e9692b23 hide sections from students/observers in recipient finder
Change-Id: I805d05a356c99fe8dddb68f46c70d8d3ee02b4ca
Reviewed-on: https://gerrit.instructure.com/6157
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-10-13 10:29:59 -06:00
Ryan Florence a0109ba09e Fixes #4545 - Store flash version in localStorage
The check in swfobject used to take 100-300ms,
with localStorage its 1-3.

Change-Id: I9f9ba81581da5bb1fa33138a4f9380e468782858
Reviewed-on: https://gerrit.instructure.com/6122
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-12 17:09:02 -06:00
Bryan Madsen 38dd77775c Add barista gem to test group
This fixes selenium/handlebars_spec on jenkins

Change-Id: I352e2269d663bdaa3d2a1ebf19db8f8fba5a895f
Reviewed-on: https://gerrit.instructure.com/6145
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-12 16:38:26 -06:00
Zach Wily 77681054a5 fix replacing hours/minutes when editing date picker fields; fixes #5903
Change-Id: Ide4048c41bc670004c3915c4c526b980eafed4ac
Reviewed-on: https://gerrit.instructure.com/6121
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-12 15:12:12 -06:00
Ryan Shaw 8a5ab4be08 fix path to html5.js so styles work in ie8
Change-Id: I6b2ac7198e1becd03a3f3163c980020e531068d3
Reviewed-on: https://gerrit.instructure.com/6148
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-12 14:44:10 -06:00
Cody Cutrer d2a5328993 drop Pseudonym#sis_source_id closes #5897
Change-Id: I81f2df5324ae7f9747f5d72ac1f8686932c815ff
Reviewed-on: https://gerrit.instructure.com/6093
Reviewed-by: JT Olds <jt@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-12 12:18:37 -06:00
Brian Whitmer ef8c0863db make verbiage match on 'new window' text and button for BLTI
Change-Id: Ic5d25e486a64127acc475315ef2b1180697d4cb0
Reviewed-on: https://gerrit.instructure.com/6077
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-10-12 11:04:22 -06:00
Zach Pendleton f56f249f55 display previous grade on grade history. fixes #5240.
prior to this commit, submission was only saving the
most current version, so grade_history didn't have any
record of previous grades.

now saves a new version on grade update. only displays
the most recent grade change/version on the history page.

Change-Id: I96d70c1a0cbaebbf1bbebfbd8690cc53e7292c28
Reviewed-on: https://gerrit.instructure.com/5925
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
2011-10-12 10:34:19 -06:00
Ryan Shaw ac3cc6fc4c fix "section to show" popup not changing
Change-Id: I0063e00caf5889fd111e702d3a2b864688e36599
Reviewed-on: https://gerrit.instructure.com/6125
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-12 10:33:46 -06:00
Ryan Shaw 3e1a686ef6 total grades were being displayed wrong in gradebook2
Change-Id: I6edc20eed60f3c47fc7c5f19976b1d164cd5950e
Reviewed-on: https://gerrit.instructure.com/6131
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-12 10:30:37 -06:00
Ryan Shaw 24f77cff5a fix jammitified js by adding a ; to the end of each handlebars template
jammit was blowing up because it was getting js that
looked like:

})()(function() {

adding the semicolon will fix it so it looks like

})();
(function() {

which will actually work

Change-Id: I6a990259982d85f2c276c877d8fee362e4aad1df
Reviewed-on: https://gerrit.instructure.com/6133
Reviewed-by: Jon Jensen <jon@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-12 10:19:00 -06:00