• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / tigerdata-app / b31d354f-f32c-42d8-9f2e-84ea71396506

16 Dec 2024 05:24PM UTC coverage: 83.419% (-0.9%) from 84.289%
b31d354f-f32c-42d8-9f2e-84ea71396506

Pull #875

circleci

carolyncole
Adding the concept of a System Login and an Active Web Login
Pull Request #875: Getting an extra cas ticket that we could theoretically pass along to mediaflux

4 of 4 branches covered (100.0%)

48 of 75 new or added lines in 8 files covered. (64.0%)

9 existing lines in 2 files now uncovered.

2274 of 2726 relevant lines covered (83.42%)

364.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/controllers/users/mediaflux_callbacks_controller.rb
1
# frozen_string_literal: true
NEW
2
class Users::MediafluxCallbacksController < ApplicationController
×
NEW
3
  def passthru
×
NEW
4
    session[:original_path] = params["path"]
×
NEW
5
    redirect_to session[:cas_login_url], allow_other_host: true
×
NEW
6
  end
×
7

NEW
8
  def cas
×
NEW
9
    ticket = params[:ticket]
×
NEW
10
    uri = URI.parse(session[:cas_validation_url])
×
NEW
11
    token = "#{uri.query}#{ticket}"
×
NEW
12
    current_user.medaiflux_login(token, session)
×
NEW
13
    redirect_to(session["original_path"] || root_path)
×
NEW
14
  end
×
NEW
15
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc