Commit Graph

838 Commits (cdae50905b34776e36ae100001ee742c7595cd8c)

Author SHA1 Message Date
Matěj Kmínek cdae50905b
Merge 9dbee6765b into 676e80d42f 2020-01-16 08:12:22 +08:00
TimZ99 676e80d42f
Improved servers table layout
Fixes #779.

Co-Authored-By: James <jigr1969@users.noreply.github.com>
2020-01-15 23:15:30 +01:00
TimZ99 0550ff7dcf
Added ping error 2020-01-15 10:33:47 +01:00
TimZ99 6ba4b59239
Changed ping from socket to exec function
As there are a lot of problems with permissions and ping, the function now uses exec(). Resolved #405, #576, #614, #748.

Co-Authored-By: Sean Perryman <se@nperryman.com>
Co-Authored-By: Luke C <crawford.luke@outlook.com>
2020-01-14 20:12:40 +01:00
Tim d7536d209e
Add Traditional Chinese Language File. (#618)
Translate all contents according to v3.3.1 version
2019-12-19 20:29:14 +01:00
Tim 50b5a6937b
Update zh_TW.lang.php 2019-12-19 20:26:26 +01:00
Tim 620ab023f9
Update zh_TW.lang.php 2019-12-19 20:19:41 +01:00
Tim 9dbee6765b
Merge branch 'develop' into develop 2019-12-13 14:49:48 +01:00
TimZ99 95d30f9619
Fixing indentation 2019-12-12 21:34:55 +01:00
Tim ed4b3e2fc7
Fix Server Downtime is displayed incorrectly (#825)
Server Downtime is displayed in correctly when receiving e-mails about it.
Closing #810.
2019-12-12 19:58:17 +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 7fbab86064
Set target shell 2019-12-12 17:07:21 +01:00
TimZ99 084dd59b84
Removed not translated parts 2019-12-12 16:52:23 +01:00
Tim 8d5935fe86
Delete custom.md 2019-12-11 23:01:12 +01:00
Tim 480efb9e48 Update issue templates 2019-12-11 23:00:33 +01:00
Tim cb806361ed
Ukrainian translation (#821) 2019-12-11 21:51:55 +01:00
Tim dd6d9973fe
Implementing the PSR12 standard
Just updated it to the latest commit.
2019-12-11 21:48:29 +01:00
TimZ99 0a5a8c02f5
Implementing the PSR12 standard
Using PHPCS and PHPSBF.

For language files also used PSMLE.
2019-12-11 21:27:14 +01:00
TimZ99 2c51ad12f7
Implementing the PSR12 standard
Using PHPCS and PHPSBF.
2019-12-11 21:27:04 +01:00
Oleksa e415d0fa41
Translated admin_cant_be_deleted 2019-12-11 12:59:44 +02:00
Tim 01423d58fd
Update credits.rst 2019-12-10 20:35:27 +01:00
Tim 235f848d16
A few cosmetic updates and added new translation 2019-12-10 20:27:48 +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
Oleksa 32ab865ae0
Ukrainian translation 2019-12-09 12:57:22 +02:00
TimZ99 24ee6d02c4
Fixed false trigger_error() after redirect.
Resolves #814.
2019-12-03 00:34:01 +01:00
TimZ99 a53fc2a53e
Updated composer.lock and .json
Added minimal version for symfony/http-foundation.
Updated the lock file.
2019-12-02 23:38:06 +01:00
dependabot[bot] df1185b10c Bump symfony/http-foundation from 3.4.27 to 3.4.35 (#815)
Bumps [symfony/http-foundation](https://github.com/symfony/http-foundation) from 3.4.27 to 3.4.35.
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-foundation/compare/v3.4.27...v3.4.35)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-02 22:53:52 +01:00
Tim 1c9f017f61
Create FUNDING.yml 2019-11-30 00:28:55 +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
sumarsono aad4e2913d Make telegram instruction more clear (#806) 2019-11-29 23:41:06 +01:00
Travis Botello 7e3cbc94a9 Replaced mcrypt with openssl (#678) (#805)
* Replaced mcrypt with openssl (#678)

* Removed TODO
2019-11-29 23:32:09 +01:00
Matej Kminek 054095cdbe Changed fields log.message and servers.last_error_output to TEXT to prevent failure on modern mysql databases 2019-11-26 09:56:52 +01:00
Matej Kminek 2e2e2e109e GUI to edit API hash on user 2019-11-24 22:13:43 +01:00
Matej Kminek 32303299f7 Removed bloat dump 2019-11-24 21:52:31 +01:00
Matej Kminek b7c1c4a29e API interface and first basic API request:
https://phpservermonitor.com/api/?&mod=server_status&key=123456789
https://phpservermonitor.com/api/?&mod=server_status&key=123456789&action=detail&id=14

Created api folder and booter. User database row enhanced by api_auth field, to store user hashcode. Updated router, to hold information whether this is an api request and if is, load specific controller. Then use standard executeMethod to get proper JsonResponse.

First implemented API to get list of servers / one server detail
2019-11-24 21:48:19 +01:00
Matej Kminek a5312265f8 Use native php function to load information about curl response. Obtain from it HTTP status code, so get rid of regexing. Also used for rediret checks. Better usability in the future.
Removed logging of status message - some HTTP servers (like Tomcat, from version 9 I guess) do not return status message at all (and its not such a big deal to log it)
2019-11-20 23:03:58 +01:00
Matej Kminek 59b47da7e5 Specify last_output as TEXT field - to prevent DB failure when output is actually greater than 255 chars. This issue prohibited updating server database, therefore sending emails over and over 2019-11-20 22:42:40 +01:00
TimZ99 627a93cc7c
Added cachebuster
Resolves #802.
2019-10-22 20:39:33 +02:00
sx404 0969f4043e Increased password length (#796)
Fixes #786.
Increased password length drastically.
2019-10-10 14:35:53 +02:00
TimZ99 d40df0c024
Fixed typo
Fixes #797.
2019-10-10 14:33:05 +02:00
TimZ99 030b2b3c2f
Prevented removal of last admin
Fixes #687.
2019-10-10 00:03:56 +02:00
TimZ99 e47e0fca80
Added .DS_Store 2019-10-09 22:26:32 +02:00
TimZ99 0198d76a75
Added default timeout
Fixes #794.
2019-10-09 22:03:53 +02:00
TimZ99 cf2566d1d3
Fixed undefined index issue
Fixes #792.
2019-10-09 20:59:32 +02:00
TimZ99 25e8cece3c
Bringing back the warning state.
Fixes #790.
2019-10-09 20:39:15 +02:00