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

pulibrary / tigerdata-app / 3e38a84e-4de6-458b-9255-50c2c34d151a

12 Dec 2025 04:35PM UTC coverage: 85.53% (-5.6%) from 91.135%
3e38a84e-4de6-458b-9255-50c2c34d151a

push

circleci

web-flow
Fixing widths via align-self stretch (#2302)

I wasn't able to make the wizard completely correct

## Before the blue-box change
<img width="1076" height="1013" alt="Screenshot 2025-12-12 at 10 07
38 AM"
src="https://github.com/user-attachments/assets/b991ab7b-b63c-48c5-a2fa-820f378f3415"
/>

## after blue-box change
<img width="1070" height="1214" alt="Screenshot 2025-12-12 at 9 59
40 AM"
src="https://github.com/user-attachments/assets/b31b891b-8873-4312-82e9-559e9db072a4"
/>

## before wizard changes
<img width="1074" height="1226" alt="Screenshot 2025-12-12 at 9 56
37 AM"
src="https://github.com/user-attachments/assets/77cede9a-29a1-42a3-9826-0d993b0fb98c"
/>


## after wizard changes
<img width="1078" height="1222" alt="Screenshot 2025-12-12 at 9 57
01 AM"
src="https://github.com/user-attachments/assets/94f262b8-1737-4e5c-8139-0a199260559c"
/>

2790 of 3262 relevant lines covered (85.53%)

467.73 hits per line

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

85.71
/app/controllers/users/omniauth_callbacks_controller.rb
1
# frozen_string_literal: true
2
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
2✔
3
  def cas
2✔
4
    access_token = request.env["omniauth.auth"]
3✔
5
    @user = User.from_cas(access_token)
3✔
6

7
    set_cas_session
3✔
8

9
    if @user.nil? && access_token&.provider == "cas"
3✔
10
      Rails.logger.warn "User from CAS with netid #{access_token&.uid} was not found. Provider: cas"
1✔
11
      redirect_to help_path
1✔
12
      flash.notice = "You can not be signed in at this time."
1✔
13
    elsif @user.nil?
2✔
14
      Rails.logger.warn "User from CAS with netid #{access_token&.uid} was not found. Provider: #{access_token&.provider}"
1✔
15
      redirect_to root_path
1✔
16
      flash.alert = "You are not a recognized CAS user."
1✔
17
    else
18
      sign_in_and_redirect @user, event: :authentication # this will throw if @user is not activated
1✔
19
    end
20
  end
21

22
  private
2✔
23

24
    def set_cas_session
2✔
25
      strategy = request.env["omniauth.strategy"]
3✔
26
      if strategy.present?
3✔
27
        service_url = strategy.append_params(mediaflux_extra_url, { url: request.referer })
×
28
        session[:cas_login_url] = strategy.login_url(service_url)
×
29
        session[:cas_validation_url] = strategy.service_validate_url(service_url, "")
×
30
      end
31
    end
32
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

© 2026 Coveralls, Inc