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

pulibrary / tigerdata-app / 2535f870-4168-4298-9575-04f6ac7887d7

05 Jan 2026 08:18PM UTC coverage: 90.982% (+0.03%) from 90.951%
2535f870-4168-4298-9575-04f6ac7887d7

push

circleci

web-flow
Style for the smallest devices (#2337)

Got the styles for the smallest devices: which was the super narrow
padding on the sides and making sure the activity (e.g. "Not Yet
active") is flushed to the right.

<img width="498" height="788" alt="Screenshot 2026-01-05 at 2 18 04 PM"
src="https://github.com/user-attachments/assets/9635dfb1-cc81-4df2-80ab-dd403b8bd875"
/>

Closes #2245

2966 of 3260 relevant lines covered (90.98%)

1227.54 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
3✔
3
  def cas
3✔
4
    access_token = request.env["omniauth.auth"]
6✔
5
    @user = User.from_cas(access_token)
6✔
6

7
    set_cas_session
6✔
8

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

22
  private
3✔
23

24
    def set_cas_session
3✔
25
      strategy = request.env["omniauth.strategy"]
6✔
26
      if strategy.present?
6✔
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