mreishman / log-hog Goto Github PK
View Code? Open in Web Editor NEWThis project forked from craig-russell/log-hog
A simple log monitoring tool that is intended for use on dev boxes.
This project forked from craig-russell/log-hog
A simple log monitoring tool that is intended for use on dev boxes.
Move changelog from inside update.php to another file (echo inside update.php)
add extra index.php for redirects in folders to main pages.
settings
update
Custom right click context menu for:
Trashcan icon
Clear All logs
Clear Current Log
Delete Current Log
Gear icon
Quicklink to check for update
quick-link to about
Triangle Update Warning Icon
https://www.sitepoint.com/building-custom-right-click-context-menu-javascript/
Add a check if key is set before getting var, then resulting to default if not there.
(This would either not need to be changed, if user keeps with default value or will be saved in the new file if the user customized the values in the settings page)
Different from the watch list, this is a list of files that were either previously watched or just notes. This list should be next to the watch list and should have easy swapping of files between lists.
Notes: Keep archive logs in same area as regular, just style differently.
Currently, downloads are based on version number instead of branch names. change this (because of upcoming dev branches)
Add a settings page to allow the user to edit the var's in config.php without having to open the file, and through a GUI
This currently would include
General:
About:
Update
Add a warning message when a file / folder isn't found (when looking at watch list in settings)
move the menu bar from individual settings files to one file,
set 'active' page by id & javascript.
i.e.
/Core
/Core/Conf
/Core/Template
/Core/JS
/Core/Img
/Core/Php
/Conf
/Local
/Local/Conf
/Local/Template
/Update
Index
Settings
/Settings (General | About | Update)
/Settings/Update
Add js file to extractor when updating PHP files.
Temp fix rename .js files to PHP files and back again.
Currently, it's looking to see if the file name includes PHP. Add:
.js
.css
.html
.png
.jpg
.jpeg
Ability to chang the number of days between auto update checks.
As well as just adding folders/directors to the watch list, add the remove function as well.
Customize how the log's names are displayed
default
no extension
first folder in dir (log/logName, var/logName )
Add reset var to default on both a whole level, per section level and maybe a per var level?
Notice: Undefined variable: updateAction in /var/www/html/Log-Hog-2.0/update/updater.php on line 241
Notice: Undefined variable: requiredVars in /var/www/html/Log-Hog-2.0/update/updater.php on line 242
show a warning popup if one of the values if blank (only for the required value, other can be blank)
add a button/setting to enable or disable theme selection
Add the ability to upgrade versions of log-hog from within the site.
Create branch for checking current version with
Latested version number
Message
Change Log
Array of versions (to compair to)
[] Create a new branch for each new version
i.e.
/var/log/* -->
/var/log/log1
/var/log/log2
/var/log/log3
Move var loading logic from the individual update files to one file
Instead of just | Settings change to |S-Main |S-Update ...
Option to install a theme from a zip file
for the images used in the nav bar, when hovering change either opacity or tint
Animate the images
i.e. removing file 5 of 6 removes 6 when saved.
Fix: Update 6 to 5 when 5 is deleted
When number x is deleted, check if x is = to max num
if less than max num, update numbers from x to max number by -1, updating next number with -1 and total number with -1.
Show all of the log files in a folder (in the settings menu) when the watch list file is a folder.
i.e.
File 001 - var/watch
-- error.log
-- access.log
Enable advanced / developer tabs
opting into testing branches (for testing purposes only, so I can test the update procedure for new versions without updating the main update check branch)
add the remove file / folder button on new files / folders.
export settings file
Options for all or checklist of settings exported
Reset update notification - resets update status
Disable update notification
Delete lines in a log file after x amount of lines.
Undefined variable: versionToUpdate in /var/www/html/Log-Hog-2.0/core/php/settingsInstallUpdate.php on line 16
Check when switching tabs / going back to index if settings are unsaved.
Show popup if there are unsaved changes, prompting to either save or disregard changes.
Option to disable popup
Option to disable all popups
Option to set as custom (and disable some and not others)
Ability to change between shell & php git commands.
https://gist.github.com/lorenzos/1711e81a9162320fde20#file-gistfile1-php-L26
Add different themes (changes to color scheme, font, and sizes)
Menu in settings
Change most references to local images from core images
Move save new setting from page to upgrade logic (when changing css version)
- [ ] (Leave out default selector during this though)
Make update script for 2.0.1 Update
Show a day count since the last check for update
Fix bug where switching back to a user paused index changes the title from | Paused to | Index
Show release notes only for relevant versions (any version > than current version)
(update.php)
if(array_key_exists('versionList', $configStatic))
{
foreach ($configStatic['versionList'] as $key => $value)
{
echo "
add if $key is > $currentVersion
Add the ability to clear logs either individually or all logs being watched
Individual
All
Trashcan icon V1 - Individual
Trashcan icon V2 - All (default)
Clear current log button in lower file path area
Add an import option to import external or older config files.
Options:
Import:
All
Just Watch Folders
Just Settings
Custom with checkboxes
Refresh just one log instead of all of them, part of #4
???
Option to only notify users if updates are available that are a .X version instead of all updates .X.Y
Or option for only full X. release notifications
Notice: Undefined index: HTTP_REFERER in /var/www/html/Log-Hog/core/php/settingsCheckForUpdate.php on line 130
Fix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.