Commit Graph

471 Commits

Author SHA1 Message Date
Cody Cutrer 794d59eef9 add method for plugins to easily inject into the delegated auth workflow
refs #5948

adjust specs so that if a login does inject themselves in by adding
additonal redirects, we keep following them

Change-Id: I16e616066ea1bef1aa5ed97718cbd8ddbd2c27c5
Reviewed-on: https://gerrit.instructure.com/6536
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-28 09:07:54 -06:00
Jon Jensen 7c21ae7c7a fix i18n:export bug, don't always rebase
Change-Id: I775e457229ddfa9868c8952abcc1aaa026c708ab
Reviewed-on: https://gerrit.instructure.com/6504
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-27 13:57:29 -06:00
Ryan Florence 718f9f34ea qunit + AMD javascript specs
new stuff
---------

- added curl.js AMD module loader
- converted existing js specs to use QUnit
- removed jasmine stuff
- added rake task to run js specs

dependencies!
-------------

you'll need to install http://www.phantomjs.org/
if you want to run the specs.

next step is to incorporate curl.js into our app
environment.


Change-Id: I0ba97bc9abe1494f87fdfc0eca51d987a759bc85
Reviewed-on: https://gerrit.instructure.com/6477
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-27 12:58:47 -06:00
Cody Cutrer f99abb4e56 Revert "add distinct name part fields refs #5317"
This reverts commit 995110f555.

Change-Id: Ic00e7ced20ca9d912587e3440862ceb50e601d15
Reviewed-on: https://gerrit.instructure.com/6511
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-27 10:17:29 -06:00
Brian Palmer 8ad501a099 limit failed login attempts
closes #5880

We track failed attempts for both (pseudonym) and (pseudonym, ip) in
Redis, the latter with a lower threshold. If either threshold is
exceeded, the user can't attempt to login for a given time period
(default 5 minutes). This protects against brute force auth attacks.

We've hooked into Authlogic for this, so it should apply to everywhere a
user is logged in -- login screen, API basic auth, Respondus API, etc.
It doesn't apply to SSO auth, where the SSO authority is assumed to have
existing protection of its own.

I refactored the Respondus SOAP API to use Authlogic in a more standard
manner, to make this work.

Change-Id: I569823f83c5c2855526464da270426275eb857cd
Reviewed-on: https://gerrit.instructure.com/6428
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-26 14:27:30 -06:00
Jon Jensen 1287bb08b0 strip whitespace from extracted strings
Change-Id: I010fdde1f27e605f33aa532f3ade9b5cde20a7d7
Reviewed-on: https://gerrit.instructure.com/6413
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-26 13:55:32 -06:00
Brian Palmer e0eafa83eb use hard-coded table names for VALID_SIS_COLUMNS
This shaves about 0.8 seconds off canvas startup time in dev mode on my
MBP. Not a lot, but it's something.

Change-Id: I1e835e5a97a122b2f4a5c5dcd9d86d6a4c0369b0
Reviewed-on: https://gerrit.instructure.com/6472
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-26 09:25:19 -06:00
JT Olds 1a87aeadc2 remove collaborations.yml dependency, refs #5796
Change-Id: I25bca21ea2e538e68c979a563721c5f7c87572c7
Reviewed-on: https://gerrit.instructure.com/6280
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-25 17:32:32 -06:00
Ryan Florence 8e3067e44b added favorite courses option to main menu
Features
--------

- The course menu shows the top 12 courses in
  alphabetical order

- Users with > 12 courses will get a button to
  edit the courses in their menu.  Any courses
  they add become favorites and will remain
  in the course menu, and visa versa for those
  they remove

- Users can reset the menu to the default 12

Noteworthy Ruby changes:
------------------------

- Added Favorites model
  Favorites are polymorphic so we can save other
  contexts as favorites in the future.

- Added FavoritesController

- Added User#menu_courses
  This opens up some room to remove lots of code
  that's used to build the main menu, but that
  isn't in this commit.  Gives a list of all the
  courses that show up in the user's menu.

- Added User#favorites

- Added User#favorite_courses

- Refactored Enrollment::readable_type to cache


Noteworthy JavaScript changes:
------------------------------

- Jasmine specs are totally working

- Added CustomList constructor

- Added courseList (CustomList instance)

- Added objectCollection
  Utility function that extends an array with
  methods useful for collections of objects.
  Used to manage the data state in CustomList

Fixes #4827

Change-Id: I59468e517ad07678741402bf9cf479cba1dfeaa1
Reviewed-on: https://gerrit.instructure.com/5982
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-24 15:50:34 -06:00
Cody Cutrer b0b370a931 fix initial creation of admins refs #5833
Change-Id: Ia40c343ce4c3e7512785a23145b0be4d55bd4f12
Reviewed-on: https://gerrit.instructure.com/6418
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bryan Madsen <bryan@instructure.com>
2011-10-24 14:27:51 -06:00
Zach Pendleton b47504025c display gradebook history properly. fixes #6051
changes to a grade were appearing in grade history only
on the date of the first grade. grade changes now display
once on each day that they occur.

Change-Id: I66e84a23f28757e3433e2bcbbe437a9a6ff046d8
Reviewed-on: https://gerrit.instructure.com/6373
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-24 12:25:27 -06:00
Cody Cutrer c59c0f593f refactor user creation/invitations closes #5833
fixes #5573, #5572, #5753

 * communication channels are now only unique within a single user
 * UserList changes
   * Always resolve pseudonym#unique_ids
   * Support looking up by SMS CCs
   * Option to either require e-mails match an existing CC,
     or e-mails that don't match a Pseudonym will always be
     returned unattached (relying on better merging behavior
     to not have a gazillion accounts created)
   * Method to return users, creating new ones (*without* a
     Pseudonym) if necessary. (can't create with a pseudonym,
     since Pseudonym#unique_id is still unique, I can't have
     multiple outstanding users with the same unique_id)
 * EnrollmentsFromUserList is mostly gutted, now using UserList's
   functionality directy.
 * Use UserList for adding account admins, removing the now
   unused Account#add_admin => User#find_by_email/User#assert_by_email
   codepath
 * Update UsersController#create to not worry about duplicate
   communication channels
 * Remove AccountsController#add_user, and just use
   UsersController#create
 * Change SIS::UserImporter to send out a merge opportunity
   e-mail if a conflicting CC is found (but still create the CC)
 * In /profile, don't worry about conflicting CCs (the CC confirmation
   process will now allow merging)
   * Remove CommunicationChannelsController#try_merge and #merge
 * For the non-simple case of CoursesController#enrollment_invitation
   redirect to /register (CommunicationsChannelController#confirm)
   * Remove CoursesController#transfer_enrollment
 * Move PseudonymsController#registration_confirmation to
   CommunicationChannelsController#confirm (have to be able to
   register an account without a Pseudonym yet)
   * Fold the old direct confirm functionality in, if there are
     no available merge opportunities
   * Allow merging the new account with the currently logged in user
   * Allow changing the Pseudonym#unique_id when registering a new
     account (since there might be conflicts)
   * Display a list of merge opportunities based on conflicting
     communication channels
     * Provide link(s) to log in as the other user,
       redirecting back to the registration page after login is
       complete (to complete the merge as the current user)
   * Remove several assert_* methods that are no longer needed
 * Update PseudonymSessionsController a bit to deal with the new
   way of dealing with conflicting CCs (especially CCs from LDAP),
   and to redirect back to the registration/confirmation page when
   attempting to do a merge
 * Expose the open_registration setting; use it to control if
   inviting users to a course is able to create new users

Change-Id: If2f38818a71af656854d3bf8431ddbf5dcb84691
Reviewed-on: https://gerrit.instructure.com/6149
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-10-24 12:07:08 -06:00
Cody Cutrer 995110f555 add distinct name part fields refs #5317
Change-Id: I0d11c51d4e0e9be093b65cca2ea85ba18e99bce9
Reviewed-on: https://gerrit.instructure.com/6314
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Brian Whitmer <brian@instructure.com>
2011-10-24 12:06:59 -06:00
Cody Cutrer 2df7fceadb drop unused Enrollments#invitation_email
Change-Id: I4e80fda6312e4050c4316aceb8de07cfe4c6df51
Reviewed-on: https://gerrit.instructure.com/6287
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-21 10:41:22 -06:00
Zach Pendleton 9fefc7a264 add sis_user_id option to as_user_id param in API.
Admins can now masquerade users by giving an SIS id in
the as_user_id param, e.g.: as_user_id=sis_user_id:1234.

Change-Id: I9bb03ecf53c4ceba574dd4d196c0281ac8dd3141
Reviewed-on: https://gerrit.instructure.com/6335
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-20 16:35:33 -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
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 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
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
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 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
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 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
Brian Palmer 1fe1b1ad6b csv lib compat in ruby 1.9.x
fastercsv is not supported in 1.9, instead csv in the stdlib has been
modified to be api compatible with fastercsv. in this first step, we
alias CSV to FasterCSV when running under 1.9. This allows 1.8.7 to
continue working with no changes.

Change-Id: I34c3a9031b6f4946380510e4833203e29a05073a
Reviewed-on: https://gerrit.instructure.com/5835
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-12 09:36:18 -06:00
Ryan Shaw 5276288f53 require handlebars extractor in jst guard
Change-Id: I2949cb0aa19769607edc9b7334e3548bdd84e53d
Reviewed-on: https://gerrit.instructure.com/6110
Reviewed-by: Jon Jensen <jon@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-11 13:14:46 -06:00
Cody Cutrer 133f2a156a make Pseudonym#unique_id sis sticky refs #5897
Change-Id: If969d8bfd8844a2dcd5263a11c9bc06dcaa47c55
Reviewed-on: https://gerrit.instructure.com/6092
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-10-11 10:16:06 -06:00
Brian Palmer 9c6a4f1798 compile_assets without loading the canvas/rails environment
Change-Id: I8cd841228c9fae6194316cc576a5fc737062f569
Reviewed-on: https://gerrit.instructure.com/6105
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-11 10:07:50 -06:00
Jon Jensen 94b866d88d handlebars string extraction, a couple i18n fixes
Change-Id: If6154634a2df6e1dcaf8e259734cd73ef3928200
Reviewed-on: https://gerrit.instructure.com/6102
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-11 09:56:34 -06:00
Brian Palmer 9b3f9cfe5c compile jst and coffeescripts in canvas:compile_assets
Change-Id: Ibd3395e64f2b459782c6a97d199df53c2a3f573b
Reviewed-on: https://gerrit.instructure.com/6104
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-11 09:32:30 -06:00
Jon Jensen 403bd095d5 reorganized i18n extraction classes
no real changes, just moved/renamed things a bit prior to creating a
HandlebarsExtractor

Change-Id: I47fa3bbc8d3bcbb926b92a4f42f704b9373c38f7
Reviewed-on: https://gerrit.instructure.com/6086
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
2011-10-10 20:58:03 -06:00
Brian Palmer cd31b7207c add description to todo item assignment return
Change-Id: I4232f70f88c1d34310d66aa62525f56d9e4389e5
Reviewed-on: https://gerrit.instructure.com/6083
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2011-10-10 15:53:32 -06:00
Brian Palmer 9f0aa5f6e6 rewrite user content in the api for file links and media comments
file links get translated to direct file download links, and media
comments into embedded html video tags.

use this to add assignment description to the assignment json response.

closes #5739, closes #4742

Change-Id: Iccfc517014ed2777686c355a382ded290ae4d8b8
Reviewed-on: https://gerrit.instructure.com/6030
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-10 15:05:28 -06:00
Brian Palmer 150491a217 refactor user content rewriters
One in course copy, and one in common cartridge export.

refs #5739

Change-Id: I4ba016f643a22f0cf3f6dbbe6b00dcd7d228a10a
Reviewed-on: https://gerrit.instructure.com/5979
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
2011-10-10 15:05:15 -06:00
Jon Jensen 4e884adfdf return attachment and media comment urls, closes #5850
Change-Id: I971a02d2055778120a0a5df0129f2b145da98843
Reviewed-on: https://gerrit.instructure.com/6045
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-10 12:26:00 -06:00
Brian Palmer cf3de519ff force domain.yml config in test env
tests fail if this config isn't what's expected, so it's silly to allow
changing it

Change-Id: Ib7f0bc1fe77ef85192b83de37db90f808be495cc
Reviewed-on: https://gerrit.instructure.com/6066
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-10 10:36:33 -06:00
Ryan Shaw 6c6dc117e6 filenames starting with a "_" can be used as Handlebars partials
Change-Id: Ie4f48b75fec90550439b1d20e96e09ecd74a58f6
Reviewed-on: https://gerrit.instructure.com/6059
Reviewed-by: Zach Pendleton <zachp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-10 10:12:27 -06:00
Zach Wily bc0b1f6f62 truncate text to max bytes; fixes #5881
Change-Id: I7d4226d575a508d23c32fe59fabc0e5dd820a2b2
Reviewed-on: https://gerrit.instructure.com/6043
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-10 08:30:19 -06:00
Brian Palmer d51b5d9a73 don't require a session to download attachments through the api
fixes #5737

There is one situation where a session is still desireable -- if the
attachment data includes links, for instance a html file attachment,
then a session will be needed to view the links from that file. The
limited safefiles session will still be created when downloading the
file, so apps can optionally use the session to support that
functionality.

Change-Id: I48558c4a3217ebea92118f8f08d1254041bd65e5
Reviewed-on: https://gerrit.instructure.com/5860
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-07 17:04:43 -06:00
Brian Palmer cb39e6eeb8 api for accessing user/course todo items, closes #5426
Change-Id: I04b6113e6ab5ced1c0b49bf0c2664eb6ac435df5
Reviewed-on: https://gerrit.instructure.com/5741
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Mark Suman <marks@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-07 15:51:49 -06:00
Cody Cutrer 6ad5852d11 provide more helpful access denied messages for students. fixes #5517
Change-Id: Icaf643ad6cc94a8414dab9ce4d35e110db9b6d85
Reviewed-on: https://gerrit.instructure.com/5992
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Mark Suman <marks@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-07 15:41:44 -06:00
Bracken Mosbacker 94b8560986 don't send email for exported state if configured not to
There are a couple small changes for the bulk migration tool

refs #5449

Change-Id: I357f69c8ccdc3ef7e08cfb274091ebd3a222105c
Reviewed-on: https://gerrit.instructure.com/6023
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-10-07 14:03:50 -06:00
Jacob Fugal 6120285c3b optionally include scores/grade in /courses.json
if the 'total_scores' include argument is included in a Course API
/courses.json call, include the computed_current_score,
computed_final_score, and computed_final_grade for any returned student
enrollments. closes #4747

Change-Id: I84f77c9bf09324b11d26d88bf23600d73c65f2ed
Reviewed-on: https://gerrit.instructure.com/6027
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-07 10:22:51 -06:00
Cody Cutrer 48b920db01 support as_user_id for api requests closes #5809
Change-Id: I67eb36f10c9a751d657ed94ccf3c76e780556c09
Reviewed-on: https://gerrit.instructure.com/6017
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-06 16:42:43 -06:00
Brian Palmer 718c3d01be support section ids in the submissions api, refs #5835
Change-Id: Ibbe8f3852e8674c963e735b3f0fe8982d5ad7244
Reviewed-on: https://gerrit.instructure.com/6014
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-06 13:41:06 -06:00
Ryan Shaw 84c3f3641a dont let JST guard die and don't have leading slash
Change-Id: I280bc6014b4779b81cab049064229323b6f77480
Reviewed-on: https://gerrit.instructure.com/6008
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
2011-10-06 09:20:53 -06:00
Cody Cutrer 41abe5259a don't bother looking up the current pseudonym in a cache
Authlogic has already read it out of the database at this point, so
the cache doesn't gain us anything.

Change-Id: I4bd21ddf17dbbe0efe288a26a4281440e6e932ad
Reviewed-on: https://gerrit.instructure.com/5972
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
2011-10-05 21:11:53 -06:00
JT Olds fbbdf75693 use the current account domain in context_host saml settings lookups
Change-Id: I53729d77055e8225583e612ca81fc578f948ff5f
Reviewed-on: https://gerrit.instructure.com/5965
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>
2011-10-05 15:59:57 -06:00
Zach Wily 65f4522e83 add rtmp host to kaltura options
Change-Id: I04ca3a49e67c5bc74249ae7a840f363cbbd770fb
Reviewed-on: https://gerrit.instructure.com/5990
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Hudson <hudson@instructure.com>
2011-10-05 10:04:53 -06:00
Jon Jensen 3b06885da0 i18n handlebars block helper magic
makes for saner templates and easier string extraction

Change-Id: Ic3039ca54c28bffb042996fdcf0ce14a76586e9a
Reviewed-on: https://gerrit.instructure.com/5983
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-10-05 08:36:11 -06:00