Go to file
Nick Cloward b80713758a refresh CAS ticket in find_user
fixes: CNVS-16438

Found an issue where the refresh_cas_ticket method was being called
before find_user which will fail since @pseudonym_session would not have
been populated yet.  This removes that method from application_controller
and adds the refresh to the CAS expired check.

Test Plan:

  - Setup CAS with Canvas
  - Log in with CAS and take note of the ticket that was used.
  - Open up redis and find a record with a key of cas_ticket:#{ticket}
    from the previous step.
  - The note the ttl of the record in redis.
  - Refresh the page and the ttl should have been extended.
  - Do the same for an ajax call.  The ttl should have been extended.

Change-Id: Ieb25f05765fed2cfb3de00ed6a49966fd3d04698
Reviewed-on: https://gerrit.instructure.com/44062
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Nick Cloward <ncloward@instructure.com>
2014-11-07 20:17:05 +00:00
Gemfile.d bump syck for ruby 2.2 compatible version 2014-11-06 22:47:58 +00:00
app refresh CAS ticket in find_user 2014-11-07 20:17:05 +00:00
bin rails 4.0.10 2014-09-16 22:07:39 +00:00
client_apps CQS - Loading states 2014-11-07 17:02:41 +00:00
config course catalog 2014-11-07 17:15:10 +00:00
db/migrate adds checkbox to quiz/show_answers to show correct answers on last attempt 2014-11-06 21:29:29 +00:00
doc add documentation for xapi service 2014-10-31 02:38:32 +00:00
gems have workflow add its methods through a module 2014-11-06 23:24:01 +00:00
guard added jsx 2014-11-03 23:20:33 +00:00
lib Merge pull request #536 from redconfetti/CLC-4413-course-settings-grading-standard 2014-11-07 13:03:58 -07:00
loom introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
public show correct student totals in speedgrader for separate sections 2014-11-07 17:23:18 +00:00
script i18nliner-js (part I) 2014-10-30 06:25:36 +00:00
spec refresh CAS ticket in find_user 2014-11-07 20:17:05 +00:00
vendor/plugins no more wiziq 2014-11-06 16:00:13 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.fontcustom-manifest.json add eye and cloud-lock icons to icon font & newfiles 2014-10-30 19:21:47 +00:00
.gitignore added jsx 2014-11-03 23:20:33 +00:00
.i18nignore i18nliner(.rb) 2014-10-29 21:59:39 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md add a contributing doc for github coolness 2012-09-19 10:16:04 -06:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile begin rails 4 2014-08-27 23:09:17 +00:00
Guardfile added jsx 2014-11-03 23:20:33 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile remove rails 2 support 2014-08-06 18:16:19 +00:00
bower.json Updated react-router 2014-10-16 18:04:44 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
karma.conf.js new avatars upload image function 2014-03-07 18:52:28 +00:00
package.json added jsx 2014-11-03 23:20:33 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.