Commit Graph

78 Commits

Author SHA1 Message Date
Ryan Shaw 605231a418 upgrade jquery to 1.7.2
when you require ['jquery'] you are now getting the
version of jquery that has our patches applied to it
you should not need to think about the patching as
you write code.

this also applies to jqueryui/dialog, that will return
the patched version of it.

test plan:
make sure javascript still works on our site ;)

Change-Id: I237fa8da5f93167140c4d42b80eb3ef17d95c1e6
Reviewed-on: https://gerrit.instructure.com/9878
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2012-04-24 10:57:38 -06:00
Ryan Shaw 53e7dffa90 disable the css3 transitions for kylemenus until they work
need to get rid of webkit flashing thing
and fix it sometimes appearing incrementally
to the right and bottom of where it should

Change-Id: I4fdd535fe6c0521e431477dff6046f8c2147043c
Reviewed-on: https://gerrit.instructure.com/9513
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2012-03-23 15:10:40 -06:00
Ryan Florence a1e31c8c9a AMD Conversion
"Trivial" JavaScript / CoffeeScript changes
--------------------------------------------------

For the most part, all javascript was simply
wrapped in `require` or `define`. The dependencies
were found with a script that matched regexes in
the files, it errs on the side of listing too many
dependencies, so its worth double checking each
file's dependencies (over time, anyway).

i18n API changes
--------------------------------------------------

No longer have to do I18n.scoped calls, just
list i18n as a dependency with the scope and it's
imported already scoped

  require ['i18n!some_scope'], (I18n) ->
    I18n.t 'im_scoped', 'I'm scoped!'

JS bundling now done with r.js, not Jammit
--------------------------------------------------

We don't use jammit to bundle JS anymore. Simply
list dependencies for your JS modules in the file
and RequireJS handles the rest.

To optimize the JavaScript, first make sure you
have node.js 0.4.12+ installed and then run:

  $ rake js:build

The app defaults to the optimized build in
production. You can use non-optimized in
production by putting ?debug_assets=true in the
url just like before.

You can also test the optimized JavaScript in
development with ?optimized_js=true.

Significant changes
--------------------------------------------------

These files have "real" changes to them (unlike
the JavaScript that is simply wrapped in require
and define).  Worth taking a really close look at:

- app/helpers/application_helper.rb
- app/views/layouts/application.html.erb
- config/assets.yml
- config/build.js
- lib/handlebars/handlebars.rb
- lib/i18n_extraction/js_extractor.rb
- lib/tasks/canvas.rake
- lib/tasks/i18n.rake
- lib/tasks/js.rake

Change-Id: I4bc5ecb1231f331aaded0fef2bcc1f3a9fe482a7
Reviewed-on: https://gerrit.instructure.com/6986
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2012-02-06 16:41:40 -07:00
Ryan Shaw 9f291a2da3 fix css3 transitions in firefox
this fixes the gradebook2 "section to show" menu
and others not going away after they have been
opened

see the: "Note: Gecko passes an extra parameter to 
the callback routine, indicating the "lateness" of 
the timeout in milliseconds." on 
https://developer.mozilla.org/en/window.setTimeout
and: 
http://benalman.com/news/2009/07/the-mysterious-firefox-settime/

fixes: #6743

test plan:
see redmine issue

Change-Id: Ic7d982cdde33d32d346dbb4b7b4587d17ef1c7e9
Reviewed-on: https://gerrit.instructure.com/7992
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2012-01-12 10:21:04 -07:00
Ryan Shaw 156d5f8481 expose IE version to INST.browser
Change-Id: I742d12c55081ebaf94cbfdc7bf79295a483947f5
Reviewed-on: https://gerrit.instructure.com/7226
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-12-28 08:59:31 -07:00
Brian Whitmer ae717a8f6a external tool resource selector in WYSIWYG editor
Configured external tools can show up as buttons in the
rich editor. If you click the button then it'll pop up
a dialog that uses basic lti to load a page for the
external tool.  The user can pick a resource in that
tool and the tool will then redirect back to a Canvas
url that will fire a callback and embed the content
into the editor.

See spec/selenium/external_tool_buttons_sel.rb for an
example of how to manually configure one of these tools.
Adding configuration to the UI will come in another
commit.

testing notes:
to configure an external tool to show up in the editor:
tool.settings = {
  :editor_button => {
    :url => "http://<canvas_domain>/selection_test",
    :text => <button_label>,
    :selection_width => <width_of_iframe>,
    :selection_height => <height_of_iframe>,
    :icon_url => <url_of_button_icon>
  }
}

test plan:
- configure an external tool in the course with an editor button
- check to see if the button shows up in the rich editor in that course

- configure an external tool in the account with an editor button
- check to see if the button shows up for courses in that account

- configure more than 3 external tools
- check to see if the "more tools" dropdown works correctly

Change-Id: I681db0af578df6a9c7a2c840d293703937d81c46
Reviewed-on: https://gerrit.instructure.com/5429
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-11-22 16:12:12 -07:00
Brian Whitmer adc975475c Basic LTI link selection helper
In current BLTI there are two options for adding links:

- know the URL beforehand
- know a "naked" URL that can be associated with a resource
  but not until after embed

Neither of these are great for the end-user. This commit
adds a third option, as discussed with some other users of
BLTI, where instead the user can click a link in the UI
to load an iframe where they can then find the specific
resource they want to embed. They never need to know
any URLs to make this happen.

to configure an external tool:
tool.settings = {
  :resource_selection => {
    :url => "http://<canvas_domain>/selection_test",
    :text => <label>,
    :selection_width => <iframe_width>,
    :selection_height => <iframe_height>
  }
}

test plan:
- configure an external tool on the course
- click to add an item to a course module
- select "external tools"
- pick the tool from the list
- select a link from the dialog
- make sure the link was inserted correctly

- try clicking the first "bad" link in the tool and confirm error is caught

- try clicking the second "bad" link in the tool and confirm error is caught

- try clicking the this "bad" link in the tool and confirm no errors occur

- make sure an account-level tool also appears

Change-Id: I47fd8461f1050c332e5cae32d9a3141a8de5b38d
Reviewed-on: https://gerrit.instructure.com/6326
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-11-18 11:52:39 -07: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
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
Ryan Shaw f7c8ac9376 fix css3 transitions again to handle .ui-widget-overlay
Change-Id: I86336f1aea01912d5bc8cd2d9cf3e6f113770207
Reviewed-on: https://gerrit.instructure.com/6042
Reviewed-by: Zach Wily <zach@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-10 09:16:43 -06:00
Ryan Shaw 26a65f43dd fix css3 transitions for show-hide
as it was before, the second time you opened a dialog
it would not look "modal" because .ui-widget-overlay
was opacity: 0.

Change-Id: Id650767ace6977cfa303e1374580bd8382c14864
Reviewed-on: https://gerrit.instructure.com/6006
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-06 09:20:42 -06:00
Ryan Shaw 2682d0ebbb break instructure_helper.js into smaller, modular chunks
NOTE: a previous commit tried to do this, but it
broke specs, so it was reverted

this was to introduce sanity where we don't have
one file with ~3600 lines of javascript:

* if something looked like it was worthy of its own
  plugin file, or should have been one in the first
  place, it got it. (ex: jquery.keycodes.js)
* if there were a bunch of methods that obviously
  belong together, I put them all together in their
  own file (ex: jquery.instructure_forms.js)
* all of our monkeypatching of jQuery went into one
  file so it is easier to see where that is happening
  when we choose to upgrade.
* move the remaining jQuery helpers (things like $.blah)
  into jquery.instructure_misc_helpers.js
* move remaining jQuery plugins (things like $.fn.blah)
  into jquery.instructure_misc_plugins.js

Change-Id: I2978c79299ec8b73e5e14d941c20ffe35c4bba99
Reviewed-on: https://gerrit.instructure.com/5862
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Tested-by: Bryan Madsen <bryan@instructure.com>
2011-09-28 15:54:01 -06:00
Ryan Shaw 0b70580e22 Revert "break instructure_helper.js into smaller, modular chunks"
also,
Revert "fix $.h regression in js refactor"

Change-Id: I8484f3871addbe15b4dfa28f8b19476f034ab33b
Reviewed-on: https://gerrit.instructure.com/5859
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-09-27 12:43:31 -06:00
Ryan Shaw 5184a7f0eb break instructure_helper.js into smaller, modular chunks
this was to introduce sanity where we don't have
one file with ~3600 lines of javascript:

* if something looked like it was worthy of its own
  plugin file, or should have been one in the first
  place, it got it. (ex: jquery.keycodes.js)
* if there were a bunch of methods that obviously
  belong together, I put them all together in their
  own file (ex: jquery.instructure_forms.js)
* all of our monkeypatching of jQuery went into one
  file so it is easier to see where that is happening
  when we choose to upgrade.
* move the remaining jQuery helpers (things like $.blah)
  into jquery.instructure_misc_helpers.js
* move remaining jQuery plugins (things like $.fn.blah)
  into jquery.instructure_misc_plugins.js

Change-Id: I7ef9b39de424bb187665cacb6a96a8f869dc9994
Reviewed-on: https://gerrit.instructure.com/5524
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-09-27 09:45:48 -06:00
Ryan Shaw 589fbe2fdf upgrade jquery to 1.6.4 and jquery-ui to 1.8.16
As of jQuery 1.6, the .attr() method returns undefined
for attributes that have not been set

Change-Id: Ibc2301735bb038ee2f897dfc12049012211d1620
Reviewed-on: https://gerrit.instructure.com/5452
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-09-27 08:04:02 -06:00
Ryan Shaw 63bc6b1699 css3 transitions only if support transitionEnd event
Change-Id: Ibd7402637d2f59cd335d856f3e82393be6e7aaa6
Reviewed-on: https://gerrit.instructure.com/5756
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-09-23 14:23:09 -06:00
Jon Jensen c96f4d5ce7 fix initial conversation attachment sending, closes #5606
Change-Id: I045c17f307f91a9e4efc11d01499ad6b6bb10b70
Reviewed-on: https://gerrit.instructure.com/5749
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-09-21 11:44:12 -06:00
Ryan Florence 3836692417 Fixes #5200 - FireFox Keyboard Shortcuts Popup
Firefox sends 191 for / like it should until the
shift key is pressed, then it sends 0.  Mapped
0 to 191 (will cause < and > and perhaps some
other keys to also pull up the dialog.  Same
behavior can be found on github).

Change-Id: I1759132f2b628dc40f15f5d1b778b7769d6446e4
Reviewed-on: https://gerrit.instructure.com/5722
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-09-20 16:05:43 -06:00
Ryan Shaw 0e28ffd926 don't log errors on every key up/down in speedGrader
this is a fix for the speedGrader typing becoming
really unresponsive after time.

fixes #5171

Change-Id: I87771b11f926761b17d69645bede899b7caaecec
Reviewed-on: https://gerrit.instructure.com/5475
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-09-08 09:23:45 -06:00
Ryan Shaw bb09b4bba7 fix css3 transitions for jQuery show/hide
need to ensure that the element always has the 
class name applied so the css animation takes effect.

Change-Id: I26d9dbcbce8520f12223d293278bf197dabf8b53
Reviewed-on: https://gerrit.instructure.com/5470
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-09-07 13:09:17 -06:00
Ryan Shaw b2b3ca4f50 allow using css3 transitions for show/hide in jQuery
Change-Id: I6eb4fca8a021b7f6a061a92f72ec9a8cdd718c25
Reviewed-on: https://gerrit.instructure.com/5445
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-09-07 10:35:59 -06:00
Ryan Shaw 8c76c538f2 allow chaining after $.fn.datepicker
Change-Id: I555c958de874252d62e7f67898e59107fb589bad
Reviewed-on: https://gerrit.instructure.com/5408
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-09-07 10:30:31 -06:00
Zach Wily 31a32151c2 fix more selenium tests
The wait_for_ajax at the end of every test was failing on pages that didn't
have a Canvas page loaded at the end of the test.

Fixed a bug that was causing us to wait longer than necessary for the forked
servers to start up.

Also did some other cleanup.

Change-Id: Ia8a2cdc2dcb2967427a698ff200ed75485a495ef
Reviewed-on: https://gerrit.instructure.com/5397
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-09-02 15:00:04 -06:00
Zach Wily fa39f89a39 don't use FormData for fake file uploads
Change-Id: Iea92b7f0709c0cd2ba2833369952c4390c3e01d4
Reviewed-on: https://gerrit.instructure.com/5390
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-09-02 14:53:24 -06:00
Jon Jensen 92e7afcda4 $.toSentence for arrays
Change-Id: Ic4f422c028eccce8c1431806a9c192146e09d2d6
Reviewed-on: https://gerrit.instructure.com/5388
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-09-01 15:30:15 -06:00
Jon Jensen 04855677a0 show number of recipients in course/group
also ported activesupport pluralizations to javascript (useful for
i18n en/default fu)

Change-Id: I9c46c29663b7d73f89732cad5b017e176e9920c4
Reviewed-on: https://gerrit.instructure.com/5291
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-08-29 16:25:07 -06:00
Brian Whitmer ec01d52a6e html5 uploads for chrome
Change-Id: Ie4336e2bd31a86176608977b68ec1f610e9abde7
Reviewed-on: https://gerrit.instructure.com/5259
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-08-26 09:37:45 -06:00
Cody Cutrer caae827136 alerts, closes #4317
* Daily job to evaluate alerts
   * Spawns a new job for each root account (for parallelization).
     It could be broken down to per-course level if needed (i.e.
     if there is a *huge* root account).
   * Evaluating criteria at a course level using efficient queries.
 * UI for CRUD on alerts
   * Render existing alerts
   * Delete existing alerts
   * Create a new alert
   * CRUD for criteria, recipients, repetition
   * Validations
 * Improve instructure_helper's formErrors to support passing errors
   for specific elements
 * Improve Rails' :include to be able to :exclude an :include
   inherited from a named scope
 * Specs!!
 * Note that we want to slowly roll this out, so there is a setting on
   root accounts to enable it

So I ran an alert with just an interaction criterion on a test
cluster against 50,000 courses, and it took less than 10 minutes
without any parallelization.  That seems like acceptable
performance to me (since there are only just over 3000 courses
in production that would even be elligible to have alerts sent
right now).  Of course, that's probably skewed because I'm sure
a bunch of those 50,000 courses were essentially empty.

Change-Id: Ie028ef206c9155b9a72fb2a820f3e0e516de562a
Reviewed-on: https://gerrit.instructure.com/4799
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-08-24 10:19:44 -06:00
Zach Wily 1a9edb352f make datetime_field() idempotent
There are some places where we might call datetime_field() on a field twice.
That causes the field to double its date when it's submitted. We can also just
be careful when calling datetime_field(), but I'm not sure there's a valid use
case for calling it twice, given how much it jacks up the control.

fixes #3818

Change-Id: I79987486efeb5c77497183a41251a6990747fd52
Reviewed-on: https://gerrit.instructure.com/2291
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
Tested-by: Zach Wily <zach@instructure.com>
2011-08-23 22:29:17 -06:00
Jon Jensen 550970ae79 friendlier dates/times for conversation pane
Change-Id: I8eb6c6a53dcd00057d9516a1873379045778e4e9
Reviewed-on: https://gerrit.instructure.com/5090
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-08-17 10:38:43 -06:00
Jacob Fugal 0cc2f48b32 Merge remote-tracking branch 'origin/stable/2011-08-20' into dev/conversations
Conflicts:
	app/controllers/context_controller.rb
	config/assets.yml
	spec/integration/files_spec.rb
	spec/models/user_spec.rb

also removed test "ContextController GET 'inbox_item' should exclude
recipients if protect_recipients" since ContextMessage inbox items
aren't used any more on this branch.

Change-Id: I99d0e4914cb1bf9617993c1cb1afdbca0e9ba32f
2011-08-16 15:45:39 -06:00
Jacob Fugal 939fd061d2 let $.replaceTags take a dictionary
instead of just one pair

Change-Id: Ic37621e2d4746e883b58a71c5d9b841cea726924
Reviewed-on: https://gerrit.instructure.com/5073
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-08-15 09:54:34 -06:00
Zach Wily 7b748e51a4 fix disappearing folder names on rename; fixes #5199
Change-Id: I48ce7ddb2c2c4d1d0e313e87dbe784c782b5be1e
Reviewed-on: https://gerrit.instructure.com/4966
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-08-05 13:11:20 -06:00
Jacob Fugal 2d6e299627 Merge branch 'master' into 'dev/conversations'
Conflicts:
	app/views/context/roster.html.erb
	config/assets.yml
	config/locales/es.yml
	public/javascripts/instructure_helper.js

Change-Id: If38ea0164ad505a3f540446162d1d7898d11eec2
2011-08-05 09:55:58 -06:00
Jacob Fugal 0a2d17ec12 i18n text in instructure.js and instructure_helper.js
also removed some dead code. still need to do dates and times

Change-Id: Iac2e036d839cb0a2ae7c53c95ee05ff59cb3684f
Reviewed-on: https://gerrit.instructure.com/4924
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-08-04 14:38:03 -06:00
Jacob Fugal 15d7a43535 reword "nth of m students" to get rid of ordinal
ordinalization doesn't localize well, and the new version ("student n of
m") will be clearer for translators as well. kill now unused and
problematic $.ordinalize

Change-Id: Ie8f4169d385ffa1e8c4ea5beac18e5f429ea2c59
Reviewed-on: https://gerrit.instructure.com/4922
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-08-04 11:09:20 -06:00
Ryan Shaw 8209a36844 new gradebook2 features
changes:
 * a little i18n work
 * show only a certain section
 * show attendance
 * include ungraded assigments in score
 * don't wait for first xhr to fire second
 * cool drop down menu thing

Change-Id: Ie93fd06e20aec399710e32441f8d35c686fbbaf2
Reviewed-on: https://gerrit.instructure.com/4868
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-08-03 14:51:56 -06:00
Jon Jensen 4e6ccff8ec message recipient finder/selector
Change-Id: Ia2efb4cb34e0cd9b33517cf1fe525d6e5392d463
Reviewed-on: https://gerrit.instructure.com/4739
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-07-29 13:24:02 -06:00
Jacob Fugal fa2581184c Revert "fix and localize $.parseFromISO, other date stuff"
This reverts commit 7eb99b681f.

Commit wasn't behaving well with 11:59pm dates. Will revisit as part of
my datetime revamp WIP.

Change-Id: I5dc6396f79201349409cc86f7398712469ec9248
Reviewed-on: https://gerrit.instructure.com/4662
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-07-12 17:10:50 -06:00
Brian Whitmer 1f4f1bd28a fix file storage quota enforcement
Most of this code was actually getting completely
bypassed because of some bad logic.  This now tries
to enforce storage quota limits with exceptions for
things like turning in homework.

Change-Id: Id025bcdcd40c560a22368dc84686a1307296e053
Reviewed-on: https://gerrit.instructure.com/4452
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-07-08 23:11:52 -06:00
Jacob Fugal 7eb99b681f fix and localize $.parseFromISO, other date stuff
localized $.dateString, $.timeString, and added $.dateTimeString

Change-Id: I9cfa471686b8fa0ae02aa648ad7e1f0e4067e12b
Reviewed-on: https://gerrit.instructure.com/4530
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-07-05 10:08:53 -06:00
Jon Jensen 23c030a09f i18n context_messages.js
also fixed escaped html in dialog title, double popup issue, and
sentbox check not working

Change-Id: Ie5aae6ff1d07fd89fcb0a0648f2c0a7d55498db4
Reviewed-on: https://gerrit.instructure.com/4448
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-06-30 10:03:28 -06:00
Ryan Shaw 5456031ed6 create gradebook2
uses coffeescript, slickgrid, actual canvas APIs
reachable at /courses/x/gradebook2
does not include commenting or things external
to the grid like filtering and sorting options

Change-Id: I6967c2dbdd16f7ea4d8c1ad1995511d7c498226a
Reviewed-on: https://gerrit.instructure.com/4371
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-06-29 16:21:27 -06:00
Ryan Shaw f8a15f7c8a fix problem when trying to add diigo bookmark to modules
fixes #4784

Change-Id: If1bd14ddecc31ec1f73c1544ac2474bda14f193c
Reviewed-on: https://gerrit.instructure.com/4063
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-06-28 09:11:40 -06:00
Jon Jensen c0e02390b6 basic htmlSafe functionality for i18n.js
Change-Id: I8152c9cc13afbce85a1d64674dc4ba7990a3e969
Reviewed-on: https://gerrit.instructure.com/4362
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-06-27 15:18:17 -06:00
Zach Wily 023ab10899 fix js error when closing the course wizard in ie7
Change-Id: I2ea60ef396e2692911b4af39a39688b51e11766a
Reviewed-on: https://gerrit.instructure.com/3923
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-05-31 10:50:03 -06:00
Bracken Mosbacker 45d6fd5153 fix non-file upload content imports
refs #4356

Change-Id: I24b07943dd140970e3bd9eef44e2689b65dfc808
Reviewed-on: https://gerrit.instructure.com/3855
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-05-25 12:55:10 -06:00
Jon Jensen 88331658fd direct-to-s3 quiz and course content imports, fixes #4356
Change-Id: I9b507b92af2ebc6e169f2e3e34f89fa71ac0bb1c
Reviewed-on: https://gerrit.instructure.com/3258
Tested-by: Hudson <hudson@instructure.com>
Tested-by: Selenium <selenium@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-05-23 08:44:43 -06:00
Ryan Shaw f624d59e0a fix inline files shown too high, make prettier
this also refactors out the functionality of
filling the viewport with an element (but leaving
room for anything above or below that element).

also, I styled the Iframe container so it looks a
little better.

Change-Id: I608f745d01f09d6091a3f8ee04f43314c25feaf8
fixes: #4078
Reviewed-on: https://gerrit.instructure.com/2737
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-05-11 15:18:25 -06:00
Zach Wily 5a895d66c6 Merge branch 'dev/ssl'
Conflicts:
	app/controllers/files_controller.rb
	app/controllers/users_controller.rb
	app/views/files/show.html.erb
	config/environments/development.rb
	lib/kaltura/kaltura_client_v3.rb
	public/javascripts/full_files.js
	public/javascripts/instructure.js
	public/javascripts/media_comments.js
	public/javascripts/speed_grader.js
	public/javascripts/tool_inline.js
	vendor/plugins/ssl_requirement/lib/ssl_requirement.rb

Change-Id: I987cc015d43cffd4b6738030d893a27de7c434ba
2011-05-07 08:03:22 -06:00