167 Commits

Author SHA1 Message Date
Neil Lathwood
e45aeff871 Added Changelog for 1.40 Release (#8789) 2018-05-30 20:34:50 +01:00
Neil Lathwood
386fea0321 docs: Changelog for 1.39 Apr 2018 (#8636) 2018-04-29 21:42:40 +01:00
Neil Lathwood
b39cd1fa04 docs: Changelog for 1.38 (#8497) 2018-04-01 20:26:10 +01:00
Steven Barnes
a1d80e3940 Small edit (#8438)
Can't forget that semicolon.
2018-03-21 17:37:11 +00:00
Neil Lathwood
03076c4025 feature: Added new alert rule builder UI and rule mapping UI (#8293)
* feature: Added new alert rule builder UI

* Updated to export sql queries

* More updates

* more changes

* removed debug

* fix scrut

* Updated to include import options + various other fixes

* fix rule

* Populate name from collection rules.

* Fix default rule import
Allow new and old style rules in the collection.
Don't add new yet as I'm not sure GenSQL() is working.

* Fix GenSQL call

* Extract filter building to class so it is nicely contained in one place

* moved schema

* some fixes and tweaks

* travis fixes

* Some more features / updates

* Fix up my mistakes when adding default rules

* Use a modal for new alert (Incomplete)
Larger dialog!!
Remove page loading stuff.

Working:
Loading rules, resetting dialog, importing from collection.

Not working yet:
select width
device limited rule access? don't know what this is...

Lots of unused stuff to delete...

* reload "table" after save

* fixed editing rule

* Auto select2 width

* Reload window on save

* Restore per-device alert. Remove debug.

* Small cleanups. Rule Name first.

* Restore button to button type. Rename schema.

* Fixes: wrong command to reload window, remove extra attributes, rule is never passed

* Fixed old rule editing

* some small updates for old imports

* travis update to use trusty

* maybe travis fix

* Ability to set alert rule mappings on the rule edit screen

* pip installs one line, no quiet for deploy

* update schema def

* Fix style and some copyright headers

* fix docs missing file

* Allow new versions of snmpsim and libraries

* Parser WIP

* Fix default rules insert

* reorganize

* Legacy import first draft done

* Implement saving
Skip translation to sql for now

* Working on glues

* small rule collection fix

* Working on glues

* Working on glues

* Docs updates + small UI changes

* Parser WIP

* reorganize

* Legacy import first draft done

* Implement saving
Skip translation to sql for now

* Working on glues

* Working on glues

* Working on glues

* Add table mapping, should move to it's own class

* WIP

* Glue working!!

* Extract Schema class

* Some final touches.
revert alerts_rules.json for now.

* Finish up initial implementation
Needs more tests

* Fix a few places

* small doc updates

* Fix finding tables in grouped rules.

* remove unused code

* code format fixes

* Some quick tests for Schema
Simplified output for findRelationshipPath. Always includes start and target in the result.
This simplifies a lot of code in QueryBuilderParser.php
This also always loads the target table data now (which we want)

* Make bill_id the PRIMARY index for the bills table

* Load macros from a json file in misc instead of the database.

* Fix whitespace and wrong key for collection.

* Handle IN properly when generating SQL

* Fix glue (devices.device_id = ports.port_id) is incorrect :D
Show ALL tables we can resolve relationships for in the query builder filter.

* Remove all macros from the database
Remove insert statements, leave updates to update user's existing rules.
2018-03-14 20:25:19 +00:00
Neil Lathwood
9897b5fbd4 webui: Removed unused JS causing issues with typeahead (#8307)
* webui: Removed unused JS causing issues with typeahead

* updated reference url for typeahead
2018-03-09 18:11:24 +01:00
Neil Lathwood
ff02fced6e Added changelog for 1.37 (#8299) 2018-02-26 21:43:41 +00:00
Tony Murray
496575ea99 docs: Add composer back to the CentOS install docs (#8224)
* Add composer back to the centos install docs
This is for CentOS 7, not CentOS 6...

* In tree composer requires php 7.2

* Rename socket file to match

* Clean up the initial config.php a bit
Add clearer releasing info in that config.php
Update the manual update instructions
2018-02-08 21:46:55 +00:00
Neil Lathwood
8163112c72 docs: Changelog 1.36 (#8186) 2018-02-01 21:20:44 +00:00
Neil Lathwood
0652d7cc61 1.35 changelog (#7991)
* Added Changelog for December 2017 1.35 release

* fix mkdocs.yaml

* Added missing 1.34 changelog
2017-12-31 21:54:01 +00:00
Aldemir Akpinar
5d7d99a748 webui: Added Single server details widget (#7923)
* webui: Single Server Details widget

* Labels should fit for windows disks on smaller screens

* Fix for travis ci errors

* Moved js includes to the widget itself

* updated queries for non-admin users + moved schema file
2017-12-21 22:17:02 +00:00
Aldemir Akpinar
56561aa4dc feature: Added support for Host dependencies (#7332)
* First draft of the modals and the config interfaces

* GUI part done

* Backend code and db schema addition

* Documentation added, fixed alerting bug

* Fix typos

* Do not try to push an older db_schame.yaml

* Small db fix

* More db fixes

* Travis CI fixes

* missed a line in the travis error

* Fixed dependency clearing bug, Manage Host dependencies button now shows current selections

* Removed unnecessary index

* Correct faulty query

* Fixed sql query as requested, and renamed sql file

* Added requested changes

* Removed debug code

* Renamed sql file

* More fixes as requested

* Trying to fix db_schema.yaml

* adding laf's diff

* Corrected a small bug

* Try to resolve scrutinizer issue

* Main page bootgrid ajax modifications

* Also corrected travis ci errors

* Added select2 for pull downs, removed a redundant debug output. Changed parent_id to text

* Add missing class in the device settings page

* Fix bug where a link wasn't added after save

* Better parent down detection

* Add missing comma

* Behold the multi-parent code

* Added lookup table

* Ready for testing

* Trying to fix documentation conflicts

* Fix copy paste errors, and possible sql injection

* indentation problems

* Modified db_schema.yaml as well

* Typos, typos

* This should correct alerts

* Try to fix travis ci error

* Fix the typo in index.php

* Changed to Tony's query

* function explanation text changed

* Updated db_schema.yaml

* Trying to make automated tests happy

* Changes as requested

* Added acknowledgment for select2

* Added laf's patch

* dbBulkInsert when adding parents
2017-12-20 14:17:52 +00:00
Adam Bishop
1c6b7a967f Single Sign-On Authentication Mechanism (#7601)
* Allow the URL a user is sent to after logging out to be customised
This is required for any authentication system that has a magic URL for logging out (e.g. /Shibboleth.sso/Logout).

* Allow auth plugins to return a username

This is a bit cleaner than the current auth flow, which special cases e.g. http authentication

* Add some tests, defaults and documentation

* Add single sign-on authentication mechanism

* Make HTTPAuth use the authExternal/getExternalUsername methods

* Add to acknowledgements

* Add reset method to Auth
2017-11-28 20:40:17 -06:00
Tony Murray
3bd9920e38 docs: Continue to reorganize docs (#7762)
* docs: Continue to reorganize things
Make landing pages for /Installation, /API, etc.
Split API out into multiple docs
Properly use multi-level navigation
Add lower nav buttons (tops are bug so disable for now)
Add logo for fanciness
Refine index page a bit

* Improve API TOC layout

* Couple of fixes.

* Fix API/API-Docs, assumed it was at the right url.
2017-11-19 01:19:18 +00:00
Neil Lathwood
e55c68de3b docs: Added changelog for 1.33 (#7580) 2017-10-29 21:39:24 +00:00
terrytibbles
aace3b169e docs: Update Git commands (#7525)
Change to installation directory to run Git commands.
2017-10-22 19:25:09 +01:00
Neil Lathwood
e3c0714ede docs: Updated references for ##librenms to discord (#7523)
* docs: Updated references for ##librenms to discord

* updated channel -> server

* updated channel -> server
2017-10-20 14:22:18 -05:00
kkrumm1
8ae64fa4ea docs: callback stats (#7515)
* docs: callback stats

A minor sentence fix.

* docs: call back stats Q and Q

minor formatting change for the Q and A

* docs: call back stats

forget the A. on one of the Q.

* docs: call back stats

removed "google mailing list" no longer applicable.

* Update Callback-Stats-and-Privacy.md

* Update Callback-Stats-and-Privacy.md

* Update Callback-Stats-and-Privacy.md
2017-10-20 09:16:50 -05:00
gitwuethrich
8f282ad60e docs: Update Callback-Stats-and-Privacy.md (#7475)
As @murrant suggested, I added the port count and changed from total to count.
2017-10-12 09:50:09 +00:00
gitwuethrich
a0ba873db1 Update Callback-Stats-and-Privacy.md (#7460)
Hi again
1. deleted 1 "total" before BGP (i hope this is what was meant) and switched to "total devices" accordingly, so it isn't once "... total" and then "total ..."
2. bgp -> BGP (doesn't really matter, but abbreviations are usually uppercase)
3. added a "we"... at first it sounded like "you shouldn't ask us" or something like that, with the "we" it's clearer in my opinion
2017-10-10 11:18:21 +01:00
gitwuethrich
b46735b9c2 docs: Some changes in formulation (#7458)
1. "is ..." -> "has to do with ..."
2. reformulation of the sentence: it wasn't complete, because after "Thanks to one of our users, Dan Brown ..." there was just "additional information" about Dan Brown but not what we actually have thanks to him. I think this formulation makes it a little bit easier to understand the sentence
3. cpu architect -> CPU architecture (i thought it was the common way to state it. Also, abbreviations are generally uppercase)

Hope this helps :)
2017-10-10 07:58:28 +00:00
gitwuethrich
b3185b792e docs: would't -> wouldn't (#7457) 2017-10-10 07:57:45 +00:00
Neil Lathwood
f1b50737bb Docs refactor (#7389)
* docs: Refactored docs for new layout

* some more changes

* more doc updates

* More doc updates

* small update

* small update
2017-10-02 21:36:22 +01:00
Neil Lathwood
9009633392 Added changelog for v1.32 (Sept 2017) (#7414) 2017-10-01 19:58:39 +01:00
Neil Lathwood
1be550826e api: Added ability to supports CORS for API (#7357)
* Update defaults.inc.php

* api: Added ability to supports CORS for API

* added acknowledge

* Update Configuration.md
2017-09-21 18:07:31 +01:00
Tony Murray
aae852d6c0 Changelog improvements from kkrumm (#7231) 2017-08-28 08:36:03 -05:00
laf
9287f93593 Changelog 1.31 August 2017 2017-08-27 15:14:26 +01:00
Neil Lathwood
7eb1bf0391 Added Changelog for v1.30 (#7091) 2017-07-30 16:32:59 +01:00
rzig
1ba6381d61 security: Enable support for secure cookies (#6868)
* Enable secure cookies for authentication

Enables secure cookies for authentication when HTTPS is used.

* Add line with example secure session cookies

* Fix comment line that's too long

* Remove session secure cookie config

* Added secure cookie config to init.php

Commented out because having this enabled will prevent the server from sending cookies over HTTPS.

* Enable secure cookies if config value provided

* Make code formatting consistent

* Remove secure cookie config

* Use $config['secure_cookies'] to set cookies

* Add default option to turn secure cookies on

* Fix formatting issues

* Set secure cookies to default to false

* Add info about secure cookies

* Fix formatting

* Remove trailing whitespace

* move secure cookie default config to defaults.inc.php

* Remove trailing whitespace

* Fix formatting

* Remove empty line by rrd config

* Remove whitespace
2017-06-26 14:21:21 +01:00
Neil Lathwood
da733b32ee Added changelog for 1.29 (June 2017) (#6888) 2017-06-25 21:42:22 +01:00
Neil Lathwood
48c5e50616 updated changelog (#6752) 2017-05-30 19:24:30 +01:00
Tony Murray
6a79d4495f Release 1.28 May 2017 (#6741)
* Release 1.28 May 2017

* undo kids with laptop!

* Move source to the top
2017-05-28 16:54:20 -05:00
Neil Lathwood
c6882129e8 docs: Create code of conduct page (#6640)
* Create CODE_OF_CONDUCT.md

* Update mkdocs.yml

* Update CODE_OF_CONDUCT.md
2017-05-19 07:15:06 -05:00
Neil Lathwood
41e7689c77 refactor: DB Updates will now file level lock to stop duplicate updates (#6469)
* refactor: DB Updates will now file level lock to stop duplicate updates

* scrut fixes

* renamed function from clear_lock() to release_lock()
2017-05-03 14:48:23 +01:00
FTBZ
6f9cd22159 Update Changelog.md (#6544) 2017-05-01 11:10:40 +01:00
Neil Lathwood
aab55c99d1 Release 1.27 April 2017 (#6530) 2017-04-30 20:03:42 +01:00
Neil Lathwood
74b7926960 docs: Update to remove the old method of signing the CLA (#6479) 2017-04-20 14:46:03 +01:00
Neil Lathwood
737865c94f updated changelog (#6273) 2017-03-26 13:06:00 +01:00
Neil Lathwood
1d243c40c7 feature: Added pbin.sh to upload text to p.libren.ms (#6175)
* feature: Added pbin.sh to upload text to p.libren.ms

* added ack
2017-03-11 21:12:49 -06:00
Neil Lathwood
3f5bf56b55 added changelog for v1.25 (#6018) 2017-02-26 22:14:06 +00:00
Tony Murray
b06153d7e9 feature: collect sysDescr and sysObjectID for stats to improve os detection (#5510) 2017-01-30 17:45:22 +00:00
Neil Lathwood
216af82b14 Added changelog for 1.24 release (#5663) 2017-01-29 13:42:20 +00:00
Neil Lathwood
c091761770 Updated changelog for v1.23 (#5280) 2017-01-01 16:10:40 +00:00
Tony Murray
e20a242785 refactor: use Composer to manage php dependencies (#5216) 2017-01-01 09:37:15 +00:00
Neil Lathwood
3264fa5896 security: Update PHPMailer to version 5.2.19 (#5253) 2016-12-28 08:47:06 +00:00
Neil Lathwood
f5a16be0e3 refactor: Move OS definitions into yaml files (#5189) 2016-12-23 17:53:19 +00:00
Neil Lathwood
047c96d454 add php, net-snmp and rrdtool versions to callback stats (#5153) 2016-12-12 13:03:54 -06:00
Neil Lathwood
9b62f9e2a1 changelog for 1.22.01 (#5101) 2016-11-30 23:46:41 +00:00
Neil Lathwood
eae035e5b3 v1.22 Release (#5071) 2016-11-27 21:26:03 +00:00
Neil Lathwood
78f5c26cd6 fix: Allow html but not script, head and html tags in notes widget #4898 (#5006) 2016-11-26 20:54:49 +00:00