Commit Graph

316 Commits

Author SHA1 Message Date
TimZ99 a9f0f64c78
Public server page 2019-12-13 14:13:04 +01:00
Tim 07243f4cb5
Merge branch 'develop' into patch-1 2019-12-12 18:32:29 +01:00
TimZ99 97f8a6d637
Refactor
Removed unreachable code

Removed useless method overriding
2019-12-12 17:52:36 +01:00
Jeremy GHYS b7426291f8
Fix Server Downtime is displayed incorrectly
Server Downtime is displayed in correctly when receiveing e-mails about it.
2019-12-12 17:26:42 +01:00
TimZ99 2c51ad12f7
Implementing the PSR12 standard
Using PHPCS and PHPSBF.
2019-12-11 21:27:04 +01:00
TimZ99 0c91d27a70
Fixed Error QUERY_STRING on sign in
Added default value for QUERY_STRING.
2019-12-10 19:51:20 +01:00
TimZ99 7f5e698752
Fixed #811 DB wrong field type on fresh install.
Added the first part with #770. Forgot to  add it to the fresh install function.

Also removed the default value for TEXT as TEXT can't have a default value.

Co-Authored-By: Matěj Kmínek <matej.kminek@attendees.eu>
2019-12-10 19:43:42 +01:00
TimZ99 d7ea421d5c
Fixed #822 website auth setting not showing
Wrong variable was used.
2019-12-10 18:59:40 +01:00
TimZ99 420211f61f
Fixed #816 url validation 2019-12-10 18:09:56 +01:00
TimZ99 24ee6d02c4
Fixed false trigger_error() after redirect.
Resolves #814.
2019-12-03 00:34:01 +01:00
ICTman1076 93ceb42a10 Hopefully fix #704 (#791)
* Fix #704 - use regex instead of PHP's own function

* Updated .ltd length to 12

For domains like .company .services .business.
2019-11-29 23:44:26 +01:00
TimZ99 030b2b3c2f
Prevented removal of last admin
Fixes #687.
2019-10-10 00:03:56 +02:00
TimZ99 0198d76a75
Added default timeout
Fixes #794.
2019-10-09 22:03:53 +02:00
TimZ99 25e8cece3c
Bringing back the warning state.
Fixes #790.
2019-10-09 20:39:15 +02:00
TimZ99 a8eaedc817
Fixed undefined index
Fixes #787.
2019-09-30 17:50:20 +02:00
TimZ99 6aca2e1077
Fixed auto refresh with wrong layout
Fixes #783.
CSRF used old inputfield.
Update pagelayout after update.
2019-09-26 12:52:14 +02:00
TimZ99 b399327c4b
Fixed week/month/year graph
Fixes #774.
2019-09-25 23:40:06 +02:00
TimZ99 4ebe934b2e
Added timeout to services
Fixes #775.
2019-09-25 23:35:37 +02:00
TimZ99 8342a979aa
Changed help message to uniform name
From auto_refresh_servers and auto_refresh_help to auto_refresh_description.
2019-09-25 23:09:42 +02:00
TimZ99 1b0d86b361
Corrected query
Fixes #781.
2019-09-24 18:23:57 +02:00
Arkhee dd3bc35009
"Last online" stuck on "never" when checking some websites (#770)
Fixes #765

* // PATCH Arkhee : fix/last-online-stuck-on-never-if-webpage-too-large
  // The update un "servers" table does not work
  // Symptom : "Last online" stays stuck on "never"
  // Reason: last_output contains the full webpage, too long for the query
  // _This may depend on mysql configuration on the server_, explaining why some have the problem or not
  // Field is 255 Chars, and request does not work anyway is loaded web page is too large in last_output
  // So force truncate to 250 or less before query

* Spelling

* Update varchar to text

* Update tot 3.4.1

* Update tot 3.4.1

* Update README.rst

* Updated to 5000 characters
2019-09-17 19:20:41 +02:00
Federico Vera 9db07f2c09
Issue #734, Truncate server outputs (#741)
* Truncate outputs

* Add modals to show the complete output

* Add 'See complete...' buttons

* Improve "See Complete..." button

* Use nl2br filter

* Use button instead of <a> looks much better

* Removed font-family: Mono

and changed 'see complete' to 'show more'.
2019-09-17 19:20:40 +02:00
TimZ99 66996f0c73
Removed forgotten debug code 2019-05-22 00:32:54 +02:00
TimZ99 5d81d560e6
Improved table readability
Fixes #736.
2019-05-21 21:02:19 +02:00
TimZ99 86c0a5864b
Added server_id as id - Fixes #738 2019-05-21 17:13:59 +02:00
Michael 6761776a8f
Allow HTTP/2 status responses (#695)
Fixed #672 and resolved #669.
2019-05-19 03:14:26 +02:00
TimZ99 32c17f372b
Added uptime and avg latency 2019-05-19 02:01:27 +02:00
TimZ99 b3de673c6a
Removed old todo's 2019-05-19 02:01:27 +02:00
TimZ99 5b0fba63aa
Add button when there are no servers 2019-05-19 02:01:27 +02:00
TimZ99 5e5281dcc4
Added curl_exec
Fixes #665.
2019-05-19 01:56:12 +02:00
TimZ99 cf2f6b0788
Changed database column to TEXT
- Changed message column in the log table to TEXT. Combined notification can be greater then 255 characters.
2019-02-08 16:28:47 +01:00
TimZ99 c44760c0f7
Removed server column from notification log. 2019-02-08 16:16:57 +01:00
TimZ99 6c14709d7c
Updated default template
Fixes #685.
- Updated to Bootstrap V4.
- Changed jqPlot to Chart.js.
- Updated jQuery to the V3.
- Changed Bootstrap Multiselect to Bootstrap-select.
2019-02-08 15:51:56 +01:00
Tim 1249e98a0f
Downgraded symfony/filesystem to ~3.4 (#656)
Fixes #655.
Downgraded symfony/filesystem to v3.4 (PHP 5.5.9 compatible).
Added 7.0.8 as minimal PHP version for PHP7.
2018-09-17 17:32:51 +02:00
Tim 6a8982ccce
Changed query from not null to null (#653)
Fixes #647
2018-09-12 12:36:32 +02:00
Tim c645444db9
Added post field as addition to #631 (#642) 2018-09-08 14:03:39 +02:00
Tim b59afd9d33
Removed url encoding from Nexmo message (#644) 2018-09-08 13:54:09 +02:00
TimZ99 1d0f6a6986
Fixed regex in hostname validator 2018-09-07 00:38:52 +02:00
TimZ99 ed61b3854f
Fixed regex to prevent false negatives
Would fail if:
- location wat written without capital letter.
- the server redirected to www.
- there was no / at the end of the url.
2018-09-05 23:44:20 +02:00
Tim cf6f30adfc
Added combined notifications (#639)
If multiple servers go up or down together, you don't get spammed with notifications if you have this option enabled. It will send one combined notification.
2018-09-05 23:08:17 +02:00
Tim d33c891be2
Added redirect check (#626) 2018-09-05 22:58:50 +02:00
Tim b26f85d975
Added option to view latest (failing) server response and error (#627)
Shows:
- latest error.
- latest positive response.
- latest failure response.
2018-09-05 22:52:23 +02:00
Tim 72b262c706
Added the option to specify the request method (#631) 2018-09-05 22:42:08 +02:00
Tim 7aa7ec363b
Mark specific HTTP status codes as online (#628)
Add option to specify which HTTP status codes are considered as "online".
Closing #175.
2018-09-05 22:34:19 +02:00
Tim 132a730d71
Removed last offline duration parentheses if empty (#641) 2018-09-05 21:50:05 +02:00
Tim 170cecf8fe
Changed server order (#635) 2018-09-04 01:19:25 +02:00
Tim 6e528aaf15
Changed ' to " in sql query (#634) 2018-09-03 15:47:53 +02:00
Tim fa97fb6653
Fixed rdp:// bug and fixed port not updating #418 (#629)
- Although the port isn't used while testing a website, changing it prevents confusion.
- Fix bug that made it impossible to check rdp:// as it would add http:// in front of it.
2018-08-30 00:08:22 +02:00
Tim ef28908c5f
Indentation 2018-08-28 21:22:20 +02:00
Tom Hatzer 1f2dde3963 Removed default mysql port settings from files and left empty values (#403) 2018-08-09 19:16:20 +02:00