virajmahesh/icsi-shift-scheduler

View on GitHub

Showing 150 of 150 total issues

Unused method argument - opts. If it's necessary, use _ or _opts as an argument name to indicate that it won't be used.
Open

  def self.find_first_by_auth_conditions conditions, opts = {}
Severity: Minor
Found in app/models/user.rb by rubocop

This cop checks for unused method arguments.

Example:

# bad

def some_method(used, unused, _unused_but_allowed)
  puts used
end

Example:

# good

def some_method(used, _unused, _unused_but_allowed)
  puts used
end

Element (div.content) is overqualified, just use .content without element name.
Open

div.content {

Possible remote code execution vulnerability in Action Pack
Open

    actionpack (4.2.5)
Severity: Critical
Found in Gemfile.lock by bundler-audit

Advisory: CVE-2016-2098

Criticality: High

URL: https://groups.google.com/forum/#!topic/rubyonrails-security/ly-IH-fxr_Q

Solution: upgrade to ~> 3.2.22.2, >= 4.2.5.2, ~> 4.2.5, >= 4.1.14.2, ~> 4.1.14

Possible Information Leak Vulnerability in Action View
Open

    actionview (4.2.5)
Severity: Critical
Found in Gemfile.lock by bundler-audit

Advisory: CVE-2016-0752

Criticality: High

URL: https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00

Solution: upgrade to >= 5.0.0.beta1.1, >= 4.2.5.1, ~> 4.2.5, >= 4.1.14.1, ~> 4.1.14

Use of !important
Open

    background-color: #0A2A35 !important;

Use of !important
Open

    margin-bottom: 0 !important;

Fallback background-color (hex or RGB) should precede RGBA background-color.
Open

    background-color: rgba(255, 151, 51, 0.38);

Use of !important
Open

    display: inline-block !important;

Rule doesn't have all its properties in alphabetical order.
Open

.event-card-heading {

Use of !important
Open

    text-align: center !important;

Use of !important
Open

    height: 215px !important;

Rule doesn't have all its properties in alphabetical order.
Open

.shift-information {

Rule doesn't have all its properties in alphabetical order.
Open

md-icon {

Use of !important
Open

    color: rgba(255, 255, 255, 0.65) !important;

Use of !important
Open

    color: black !important;

Timing attack vulnerability in basic authentication in Action Controller.
Open

    actionpack (4.2.5)
Severity: Info
Found in Gemfile.lock by bundler-audit

Advisory: CVE-2015-7576

Criticality: Low

URL: https://groups.google.com/forum/#!topic/rubyonrails-security/ANv0HDHEC3k

Solution: upgrade to >= 5.0.0.beta1.1, >= 4.2.5.1, ~> 4.2.5, >= 4.1.14.1, ~> 4.1.14, ~> 3.2.22.1

Use of !important
Open

    background-color: #0A2A35 !important;

Rule doesn't have all its properties in alphabetical order.
Open

md-card {

Fallback color (hex or RGB) should precede RGBA color.
Open

    color: rgba(255, 255, 255, 0.65) !important;

Use of !important
Open

    height: 50px !important;
Severity
Category
Status
Source
Language