* Update Matrix.php
Changing 'm.text' to 'm.notice' so that when an alert is issued, you get notified on your Matrix client.
The current 'm.text' parameter will silently send you the message, whereas 'm.notice' will send you a message with an alert.
* Enabling notifications on Matrix client
Changing 'm.text' to 'm.notice' (line 47) so that when an alert is issued, you get notified on your Matrix client.
The current 'm.text' parameter will silently send you a message, whereas 'm.notice' will send you a message with an alert.
* Update Matrix.php
* Update Matrix.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Create Alertops.php
This is a request to add this Transport publicly, so alerts can be sent to AlertOps' webhook endpoint - AlertOps is an alerting/notification tool.
* Update Alertops.php
* Update Alertops.php
* Improved Latency graph
Store loss+jitter info in rrd instead of database
New graph icmp_perf (legacy ping_perf still valid referencing part of the newer data)
Delete device_perf table
* Change loss to an area so it is more visible
* Style fixes
* Cleanups from phpstan & tests
* exit_code fix
* Remove alert usage of device_perf
* Don't use magic __get
* Add test for bulkPing
Add host to previous tests
* style fixes
* Fix issue fping error responses
* Pretty up Slack formatting.
* Normalize spaces by turning every instance of two or more spaces into
one space.
* Allow for custom URL links even when strip_tags() is in effect by
transformaing "standard" markdown syntax into Slack link markdown
after strip_tags() is run.
* Document the changes to the Slack transport.
While here, flesh out the Slack docs to match the configuration options
one currently sees in the transport.
* Use backticks to escape things from markdown rendering.
* We don't need this other escaping now.
* Fix custom link due to line break.
* Fix spelling typo.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* Add custom Field to Jira Payload
Allmost every Jira setup is diffenerent and requires customise information to be added to the API post.
This change will allow you add a custom fields to the '"fields": { }' using json format.
Examples: are provided in the TransportUI
* applying StyleCI fixes
* Updating Jira transport
* Updating Jira transport
* Updating Jira transport
* styleci fixes
* Renaming variables to align with existing conventions
* Fixing imput checks to make sure values are legit
* style
* Fix minor typo
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Justin Lentz <monkeybrains7@gmail.com>
* Add support for Webex max message length.
Webex limits messages to just over 7 KB. Some alerts might be longer
than this. So truncate the message with ellipses.
While here switch to using the new API URL.
* Use spaces.
Formatting got messed up on the transfer from test to dev.
* Do the truncation after the message is massaged.
This may yield a few more allowed characters.
---------
Co-authored-by: Joe Clarke <jclarke@cisco.com>
* Rename JiraServiceManagement.php to Jiraservicemanagement.php
#15716 Filenames must not be PascalCase, only the first letter can be uppercase.
* Update Jiraservicemanagement.php
Following class name conventions
* Update Jiraservicemanagement.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
Entities are html encoded so this will cause them to be displayed correctly in pushover alerts
---------
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
* Fix alerting find owner contacts on old SQL server versions
Older SQL server versions had a bug where they didn't accept parenthesis around the first query of a union statement.
It was difficult to remove these parenthesis, so use whereHas instead.
* Fix style
I've gone over all the Transporters adn changed all 'text' fields for token, keys and passwords to 'password' so the no longer show up as clear text in the GUI
* Install bouncer
* Seeder and level migration
* Display and edit roles
* remove unused deluser page
* Update Radius and SSO to assign roles
* update AlertUtil direct level check to use roles instead
* rewrite ircbot auth handling
* Remove legacy auth getUserlist and getUserlevel methods, add getRoles
Set roles in LegacyUserProvider
* Small cleanups
* centralize role sync code
show roles on user preferences page
* VueSelect component WIP and a little docs
* WIP
* SelectControllers id and text fields.
* LibrenmsSelect component extracted from SettingSelectDynamic
* Handle multiple selections
* allow type coercion
* full width settings
* final style adjustments
* Final compiled assets update
* Style fixes
* Fix SSO tests
* Lint cleanups
* small style fix
* don't use json yet
* Update baseline for usptream package issues
* Change schema, not 100% sure it is correct
not sure why xor doesn't work
* implement LINE Messaging api
* apply code clean up
* Update Linemessagingapi.php
* fix variable type
* Match branding
* Remove extra proxy
---------
Co-authored-by: Neil Lathwood <gh+n@laf.io>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fixing webform - Icon field was referencing slack-author and causing issues when writing to database
* Fixing validation - slack-username no longer used, changed to slack-author
* Fixed typo in previous update to Slack.php
* Updated Install-LibreNMS.md
Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1
* Fixed Markdown/Parse mode for Telegram
* Add no_proxy and other proxy related settings
Set user agent on all http client requests
Unify http client usage
* Style fixes
* Remove useless use statements
* Correct variable, good job phpstan
* Add tests
fix https_proxy bug
add tcp:// to the config settings format
* style and lint fixes
* Remove guzzle from the direct dependencies
* Use built in Laravel testing functionality
* update baseline
* Use the title from the Alert Template for the Jira Transport if not empty or else use the default title
* Use the title from the Alert Template for the Jira Transport if not empty or else use the default title
* Fix style
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix Msteams.php
Microsoft rejects webhooks without correct Content-Type since beginning of January. This PR fixes the behaviour and makes Teams webhooks working again.
* Update Msteams.php
Fix StyleCI issue