65 Commits

Author SHA1 Message Date
Tony Murray 8ce81f2423 Update database schema display (#9708)
* Update database schema display

* handle missing migrations table
2019-01-22 06:47:07 -06:00
Tony Murray 32a7c50189 Use Laravel authentication (#8702)
* Use Laravel for authentication
Support legacy auth methods
Always create DB entry for users (segregate by auth method)

Port api auth to Laravel

restrict poller errors to devices the user has access to

Run checks on every page load.  But set a 5 minute (configurable) timer.
Only run some checks if the user is an admin

Move toastr down a few pixels so it isn't as annoying.

Fix menu not loaded on laravel pages when twofactor is enabled for the system, but disabled for the user.
Add two missing menu entries in the laravel menu

Rewrite 2FA code
Simplify some and verify code before applying

Get http-auth working
Handle legacy $_SESSION differently.  Allows Auth::once(), etc to work.

* Fix tests and mysqli extension check

* remove duplicate Toastr messages

* Fix new items

* Rename 266.sql to 267.sql
2018-09-11 07:51:35 -05:00
Tony Murray 9279c845f6 feature: Added wireless sensors to about and stats.librenms.org (#8676) 2018-05-08 21:42:52 +01:00
Neil Lathwood 21e26a437e doc: Updated github issues links to community site (#8598) 2018-04-22 23:00:46 +01:00
Tony Murray 7250376104 refactor: Don't access $_SESSION directly for Auth (#8513)
* Don't access $_SESSION directly for Auth

* fix style

* add property annotations
2018-04-07 21:55:28 +01:00
Kevin Krumm 9001b19ab9 docs: Added docs link to about page (#8397) 2018-03-16 10:22:13 +00:00
Tony Murray 51ba934e11 feature: Added web validation (#7474)
* refactor: convert validations to modules to prep for gui integration

* accidentally dropped, schema update

* fix accidental output to webui

* mention discovery-wrapper.py and re-arrange.

* refine some fix statements

* rename the Config validation group to Configuration.

* fix some scrutinizer issues
remove as many local functions from validator.php as possible
move extensions from pre-check
remove duplicate timezone check
looks like there is some db schema differences between mariadb 10.1 and 10.2, investigating

* mariadb version diff take2

* Check schema version first for database.
Remove stop to go back to command line for install docs.
Add helpful link when there is no devices added to /addhost

* fix incorrect validation for empty string defaults

* Fix style

* Add additional file permissions checks

* catch exception and fail for invalid timezone
Change visuals a bit.

* add php version warning

* fix space
2017-10-26 07:56:09 +01:00
Tony Murray 1e77d4b3ea refactor: validate.php improvements (#6973)
Always output header (may be missing mysql data)
Improve version display, now looks like '1.28-129-g74e6c3edf' <tag>-<commits since tag>-<shortag>
Add mysqli to the list of required extensions, check extensions before init
Add dbIsConnected() function, used to check if we have db in version_info()
Do not die on IPv4 and IPv6 so validate can print errors.
Move git checks so they are output together
fix rrdtool 1.7.0 reports version as 1.7.01.7.0
2017-07-17 19:02:28 +01:00
FTBZ 665f9e902e webui: Remove the ability to activate statistics for non-admins (#5829) 2017-02-08 15:48:07 +00:00
Richard Mayhew 389cf5414c Made the 2 tool icons more appropriate in the menu bar (#5701)
* Made the 2 tool icons more appropiate in the menu bar

* updated eventlog and syslog icons so they are the same

* Try #2

* Changed syslog to fa-tag instead of fa-archive which is used for packages already

* Changed Syslog icon to fa-clone
2017-02-06 10:15:38 +00:00
Neil Lathwood d5106514d2 fix: Make about page toggle look better for zoomed in browsers #5219 (#5680) 2017-01-31 21:00:51 +00:00
Bennett Blodinger eb82beef15 Full width about icons (#5691) 2017-01-31 15:48:46 +00:00
Richard Mayhew 47397d0083 webui: Updated icons to use Font Awesome (#5468) 2017-01-21 11:24:05 +00:00
Søren Rosiak cdef7885aa webui: Small Best Practice Fixes 2017-01-02 00:03:23 +00:00
Neil Lathwood 432f6e5276 docs: Removed mailing list in various places + small improvements to docs (#5154) 2016-12-12 12:51:10 -06:00
Layne 5206063ce0 Changed "Apache" field to more generic "Web Server" (#4783)
* Changed "Apache" field to more generic "Web Server"

* Update about.inc.php

edit to keep "Apache/" when displaying version as we changed the field from "Apache" to "Web Server"
2016-10-13 08:03:38 -05:00
Bennett Blodinger 6becfd65eb align to class (#4602)
bootstraping when possible
2016-09-27 20:04:32 +01:00
Neil Lathwood dda6bf7576 Removed / Updated version info to just be LibreNMS (#4193) 2016-08-24 12:39:57 -05:00
Tony Murray 8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
laf 7d72cf045f Removed comment 2016-07-31 23:31:18 +01:00
laf b35321cdad Updated version_info to output unix timestamp 2016-07-31 22:41:39 +01:00
crcro 65e7ff1b67 forgot to echo the git_log 2016-07-29 19:24:29 +03:00
crcro 6345d17fdb about page fix due to invalid git log chars 2016-07-29 05:03:42 +03:00
Tony Murray 846c5ab0c9 Add date to git version info
valdiate: local tz, rfc2822
poller: iso 8601
about: iso 8601 -> browser local
Also, do not fetch github info on about page, it isn't used.
2016-07-06 13:17:13 -05:00
laf fdc0eca44d Centralised version info + used in output 2016-01-06 00:14:35 +00:00
Arjit Chaudhary eb70f3e089 Added page title 2015-08-29 22:37:27 +05:30
Job Snijders 0e12f695a3 Improve about page
Alfabetical sort for acknowledgements section, chronological sort for
Copyright statements as is common in other OSS projects.
2015-08-21 17:50:31 +02:00
Michael Newton f77c712bfc changes needed to run under web server subdirectory 2015-08-11 14:54:05 -07:00
Neil Lathwood 945ca7f2ea Revert "changes needed to run under web server subdirectory" 2015-08-11 21:25:23 +01:00
Michael Newton cc0f449fc9 changes needed to run under web server subdirectory 2015-08-07 11:10:43 -07:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf 4b74ed31a0 Added link to stats + check for php module 2015-05-21 23:29:45 +01:00
laf 1d608dbdb6 Callback system done - hopefully 2015-04-06 20:41:50 +01:00
laf ede7401423 Removed reference to forking from Observium 2015-03-14 23:58:01 +00:00
Paul Gear 061baf6f1c Remove individual contributor names from about page 2015-01-24 20:36:19 +10:00
Neil Lathwood f674cd48bd Added version number for the branch 2015-01-21 19:00:57 +00:00
Neil Lathwood 21f2a13166 Add responsive table div 2015-01-17 11:03:52 +00:00
Neil Lathwood b551a1141b Updated about page to tidy up 2015-01-17 11:01:53 +00:00
Neil Lathwood e81cf8f38b Update about.inc.php
Removed acknowledgements for logo design (no longer used) and drop down menus (bootstrap menus now used).
2014-12-28 13:23:51 +00:00
laf cd58c9bf47 Added git log link to show last 10 commits 2014-12-23 22:34:05 +00:00
laf 5e0b9e0a06 Added dbSchema version to about page 2014-12-23 19:30:57 +00:00
laf 3ede85267b Added changelog as a hyperlink on version number as well 2014-10-27 21:03:59 +00:00
laf ede8c1d888 Added link to changelog 2014-10-27 20:55:48 +00:00
Paul Gear 438aa30bd9 Tidy about page
- Restore previous Apache/PHP/MySQL/RRDtool versions
- Reorder and clean up headers
- Turn off ugly page generation stats by default
2013-11-05 10:23:15 +10:00
Paul Gear aa9dded019 Remove user-facing references to Observium
This eliminates nearly all of the user-facing references to Observium,
including in the names of temporary files and in the metadata of PDFs.  Many
of these may not be used any more, but I've adjusted them anyway.  These
changes should also make it easier to change the branding later if it is
needed.  There are a few references of which I still don't understand the
significance, so I've left them as-is for now.  The Unix agent in particular
is rather untidy.
2013-11-05 09:33:32 +10:00
Tyler Christiansen b2eb12d0fe Update front-end copyright, team, link information 2013-10-28 11:53:07 -07:00
Adam Amstrong 4db1454e92 move from port_id to interface_id. make ports discovery only discover. add some cleaner functions. add a tiny bit of alerting infrastructure.
git-svn-id: http://www.observium.org/svn/observer/trunk@3195 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-16 13:25:50 +00:00
Tom Laermans b77c4f84ac also show rrdtool version on about page, save some forks and selects
git-svn-id: http://www.observium.org/svn/observer/trunk@3128 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-03 13:57:27 +00:00
Tom Laermans cc5ec6c1e6 remove forum from about page, reinstate twitter
git-svn-id: http://www.observium.org/svn/observer/trunk@3013 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-09 21:23:15 +00:00
Tom Laermans 29cdd434f0 remove last count(*) from about page
git-svn-id: http://www.observium.org/svn/observer/trunk@2993 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-08 12:14:27 +00:00