Skip to content

Commit

Permalink
grunt install from branch dev commit 61426ba
Browse files Browse the repository at this point in the history
  • Loading branch information
potsky committed Dec 14, 2016
1 parent d7a5c13 commit 93ec863
Show file tree
Hide file tree
Showing 34 changed files with 848 additions and 523 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
Pimp my Log
===========

[![Latest Stable Version](https://poser.pugx.org/potsky/pimp-my-log/v/stable.svg)](https://packagist.org/packages/potsky/pimp-my-log)
[![Build Status](https://travis-ci.org/potsky/PimpMyLog.svg)](https://travis-ci.org/potsky/PimpMyLog)
[![Stories in Ready](https://badge.waffle.io/potsky/PimpMyLog.png?label=ready&title=Ready)](https://waffle.io/potsky/PimpMyLog)
[![Latest Stable Version](https://poser.pugx.org/potsky/pimp-my-log/v/stable.svg)](https://packagist.org/packages/potsky/pimp-my-log) [![Build Status](https://travis-ci.org/potsky/PimpMyLog.svg)](https://travis-ci.org/potsky/PimpMyLog)

All informations are available on [pimpmylog.com](http://pimpmylog.com).

Expand Down
4 changes: 2 additions & 2 deletions cfg/apache.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
82 changes: 59 additions & 23 deletions cfg/apache.paths.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand All @@ -16,17 +16,17 @@
* @var array
*/
$paths = array(
'/var/log/',
'/var/log/apache/',
'/var/log/apache2/',
'/var/log/httpd/',
'/usr/local/var/log/apache/',
'/usr/local/var/log/apache2/',
'/usr/local/var/log/httpd/',
'/opt/local/apache/logs/',
'/opt/local/apache2/logs/',
'/opt/local/httpd/logs/',
'C:/wamp/logs/',
'/var/log/' ,
'/var/log/apache/' ,
'/var/log/apache2/' ,
'/var/log/httpd/' ,
'/usr/local/var/log/apache/' ,
'/usr/local/var/log/apache2/' ,
'/usr/local/var/log/httpd/' ,
'/opt/local/apache/logs/' ,
'/opt/local/apache2/logs/' ,
'/opt/local/httpd/logs/' ,
'C:/wamp/logs/' ,
);


Expand All @@ -41,15 +41,51 @@
* @var array
*/
$files = array(
'error' => array(
'error.log',
'error_log',
'apache_error.log',
),
'error' => array(
'error.log' ,
'error_log' ,
'apache_error.log' ,
) ,
'access' => array(
'access.log',
'access_log',
'apache.log',
'apache_access.log',
),
'access.log' ,
'access_log' ,
'apache.log' ,
'apache_access.log' ,
) ,
);

/**
* Add sub-directories within specified paths
* helps with multiple site environments
*/
foreach ( $paths as $path )
{
if ( is_dir( $path ) )
{
try
{
$directory = new RecursiveDirectoryIterator( $path );
$iterator = new RecursiveIteratorIterator( $directory );
/** @var DirectoryIterator $file */
foreach ( $iterator as $file )
{
foreach ( $files as $type )
{
foreach ( $type as $filename )
{
if ( $file->getFilename() === $filename )
{
$paths[] = $file->getPath();
continue 3;
}
}
}
}
}
catch ( Exception $e )
{
}
}
}

sort( $paths );
4 changes: 2 additions & 2 deletions cfg/config.example.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/iis.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/iis.paths.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/nginx.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/nginx.paths.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/php.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/php.paths.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/pimpmylog.config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
4 changes: 2 additions & 2 deletions cfg/softwares.inc.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?>
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name" : "potsky/pimp-my-log",
"description" : "Log viewer for your web server",
"version" : "1.7.10",
"version" : "1.7.11",
"license" : "GPL-3.0+",
"type" : "project",
"homepage" : "http://pimpmylog.com",
Expand All @@ -24,6 +24,7 @@
}
],
"require" : {
"php" : ">=5.2.0"
"php" : ">=5.2.0",
"composer/installers": "*"
}
}
38 changes: 22 additions & 16 deletions css/config.inc.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
/*
Expand All @@ -30,7 +30,6 @@ Your stylesheet will be loaded instead of this one if you create a file located
white-space : pre-wrap;
-ms-word-break : break-all;
word-break : break-all;
word-break : break-word;
-webkit-hyphens : auto;
-moz-hyphens : auto;
hyphens : auto;
Expand All @@ -46,15 +45,14 @@ Your stylesheet will be loaded instead of this one if you create a file located
white-space : nowrap;
}


.pml-badge {
font-size : 0.9em;
text-align : center;
}

/* Specific to column */
.pml-CMD {
white-space :nowrap;
white-space : nowrap;
}

.pml-Severity {
Expand All @@ -77,30 +75,38 @@ Your stylesheet will be loaded instead of this one if you create a file located
font-size : 0.8em;
-ms-word-break : break-all;
word-break : break-all;
word-break : break-word;
-webkit-hyphens : auto;
-moz-hyphens : auto;
hyphens : auto;
}

.pml-User {
font-size: 0.8em;
font-size : 0.8em;
}

/* New log color on the row */
.newlog td:first-child {
background-position : 0 0;
background-image : url(../img/1x1pink_low.gif);
background-size : 1px 100%;
background-repeat : no-repeat;
background-size : 1px 100%;
background : url(../img/1x1pink_low.gif) no-repeat 0 0;
}

/* Marker colors when you click on a date field */
td.pml-date {
cursor:pointer;
cursor : pointer;
}

tr:nth-child(odd) td.marker {
background-color : #efef00 !important;
}
tr:nth-child(odd) td.marker { background-color : #efef00!important; }
tr:nth-child(even) td.marker { background-color : #ffff00!important; }
tr:nth-child(odd):hover td.marker { background-color : #e8e800!important; }
tr:nth-child(even):hover td.marker { background-color : #f8f800!important; }

tr:nth-child(even) td.marker {
background-color : #ffff00 !important;
}

tr:nth-child(odd):hover td.marker {
background-color : #e8e800 !important;
}

tr:nth-child(even):hover td.marker {
background-color : #f8f800 !important;
}
2 changes: 1 addition & 1 deletion css/pml.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/pml.min.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions inc/configure.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?><?php
Expand Down
4 changes: 2 additions & 2 deletions inc/error.inc.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?><?php
Expand Down
4 changes: 2 additions & 2 deletions inc/favicon.inc.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/*! pimpmylog - 1.7.10 - 65d6f147e509133fc5f09642ba82b149ef750ef2*/
/*! pimpmylog - 1.7.11 - d666559cb0e141ca9c4984773e180f75b7c53664*/
/*
* pimpmylog
* http://pimpmylog.com
*
* Copyright (c) 2015 Potsky, contributors
* Copyright (c) 2016 Potsky, contributors
* Licensed under the GPLv3 license.
*/
?><?php
Expand Down
Loading

0 comments on commit 93ec863

Please sign in to comment.