App-Netdisco

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    'Data::Visitor::Tiny' => '0',
    'DBD::Pg' => '0',
    'DBIx::Class' => '0.082844',
    'DBIx::Class::Helpers' => '2.037000',
    'Daemon::Control' => '0.001006',
    'Dancer' => '1.3132',
    'Dancer::Plugin::Auth::Extensible' => '0.30',
    'Dancer::Plugin::DBIC' => '0.2001',
    'Dancer::Plugin::Passphrase' => '2.0.1',
    'Dancer::Plugin::Swagger' => '0',
    'Dancer::Session::Cookie' => '0.27',
    'Expect' => '0',
    'File::Path' => '0',
    'File::Spec::Functions' => '0',
    'File::ShareDir' => '1.03',
    'File::Slurper' => '0.009',
    'File::Temp' => '0.2311',
    'Guard' => '1.022',
    'HTML::Parser' => '3.70',
    'HTTP::Tiny' => '0.029',
    'IPC::Run' => '20231003.0',

Changes  view on Meta::CPAN

  [BUG FIXES]

  * #1058 error when the log string is empty

2.063001 - 2023-06-28

  [BUG FIXES]

  * avoid CSS vulnerability in Job Queue page
  * avoid CSS vulnerability in Find Anything
  * explicitly use SameSite=Lax Cookie Attribute for dancer.session cookies
  * avoid open redirect vulnerability with return_url login helper

2.063000 - 2023-06-28

  [NEW FEATURES]

  * #975 RBAC for port control with new portctl_by_role setting

2.062005 - 2023-06-26

Changes  view on Meta::CPAN

  * Delete manual topology on device delete
  * Fix Node age stamp option in ports
  * Prevent cascade operations on virtual tables in DBIC

2.015000 - 2013-09-06

  [NEW FEATURES]

  * Device Modules tab (jeneric)
  * Half Duplex Ports Report
  * Remember device ports columns and display options in a Cookie
  * Delete device button for admins

  [ENHANCEMENTS]

  * Change icon for shutdown ports
  * Modal confirm dialog boxes for dangerous admin actions

  [BUG FIXES]

  * Check device is in storage before comparing last_* times with *_min_age

META.json  view on Meta::CPAN

            "Command::Runner" : "0",
            "DBD::Pg" : "0",
            "DBIx::Class" : "0.082844",
            "DBIx::Class::Helpers" : "2.037000",
            "Daemon::Control" : "0.001006",
            "Dancer" : "1.3132",
            "Dancer::Plugin::Auth::Extensible" : "0.30",
            "Dancer::Plugin::DBIC" : "0.2001",
            "Dancer::Plugin::Passphrase" : "v2.0.1",
            "Dancer::Plugin::Swagger" : "0",
            "Dancer::Session::Cookie" : "0.27",
            "Data::Printer" : "0",
            "Data::Visitor::Tiny" : "0",
            "Expect" : "0",
            "File::Path" : "0",
            "File::ShareDir" : "1.03",
            "File::Slurper" : "0.009",
            "File::Spec::Functions" : "0",
            "File::Temp" : "0.2311",
            "Guard" : "1.022",
            "HTML::Parser" : "3.70",

META.yml  view on Meta::CPAN

  Command::Runner: '0'
  DBD::Pg: '0'
  DBIx::Class: '0.082844'
  DBIx::Class::Helpers: '2.037000'
  Daemon::Control: '0.001006'
  Dancer: '1.3132'
  Dancer::Plugin::Auth::Extensible: '0.30'
  Dancer::Plugin::DBIC: '0.2001'
  Dancer::Plugin::Passphrase: v2.0.1
  Dancer::Plugin::Swagger: '0'
  Dancer::Session::Cookie: '0.27'
  Data::Printer: '0'
  Data::Visitor::Tiny: '0'
  Expect: '0'
  File::Path: '0'
  File::ShareDir: '1.03'
  File::Slurper: '0.009'
  File::Spec::Functions: '0'
  File::Temp: '0.2311'
  Guard: '1.022'
  HTML::Parser: '3.70'

lib/App/Netdisco/Web.pm  view on Meta::CPAN

        $tenant = ($base . $tenant) if $base ne '/';
        $tenant .= '/' if $base eq '/';
        $path =~ s/^$base/$tenant/;

        return $path;
    }
    return $self->{path};
  };

  # implement same_site
  # from https://github.com/PerlDancer/Dancer-Session-Cookie/issues/20
  *Dancer::Session::Cookie::_cookie_params = sub {
      my $self     = shift;
      my $name     = $self->session_name;
      my $duration = $self->_session_expires_as_duration;
      my %cookie   = (
          name      => $name,
          value     => $self->_cookie_value,
          path      => setting('session_cookie_path') || '/',
          domain    => setting('session_domain'),
          secure    => setting('session_secure'),
          http_only => setting("session_is_http_only") // 1,

lib/App/Netdisco/Web.pm  view on Meta::CPAN


# load cookie key from database
setting('session_cookie_key' => undef);
setting('session_cookie_key' => 'this_is_for_testing_only')
  if $ENV{HARNESS_ACTIVE};
eval {
  my $sessions = schema('netdisco')->resultset('Session');
  my $skey = $sessions->find({id => 'dancer_session_cookie_key'});
  setting('session_cookie_key' => $skey->get_column('a_session')) if $skey;
};
Dancer::Session::Cookie::init(session);

# workaround for https://github.com/PerlDancer/Dancer/issues/935
hook after_error_render => sub { setting('layout' => 'main') };

# build list of port detail columns
{
  my @port_columns =
    sort { $a->{idx} <=> $b->{idx} }
    map  {{ name => $_, %{ setting('sidebar_defaults')->{'device_ports'}->{$_} } }}
    grep { $_ =~ m/^c_/ } keys %{ setting('sidebar_defaults')->{'device_ports'} };

share/public/javascripts/jquery.dataTables.min.js  view on Meta::CPAN

/*! DataTables 2.3.8
 * © SpryMedia Ltd - datatables.net/license
 */
(n=>{var r;"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e,window,document)}):"object"==typeof exports?(r=require("jquery"),"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||r(e),n(t,e,e.do...

share/public/swagger-ui/swagger-ui-bundle.js  view on Meta::CPAN

/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */
!function webpackUniversalModuleDefinition(s,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports.SwaggerUIBundle=o():s.SwaggerUIBundle=o()}(this,(...

share/public/swagger-ui/swagger-ui-bundle.js.map  view on Meta::CPAN

{"version":3,"file":"swagger-ui-bundle.js","mappings":";CAAA,SAAUA,iCAAiCC,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAyB,gBAAID,IAE7BD,EAAsB,gBAAIC,GAC3B,CATD,CASGK,MAAM,cCRLC,EA...



( run in 1.832 second using v1.01-cache-2.11-cpan-aadc1410aed )