Commit Graph

31 Commits

Author SHA1 Message Date
mklemme1 bd6510b188
cron update over the web via secret key (#888)
As an alternative to allowing cron by IP.

Co-authored-by: Michael Klemme <mklemme@mklemme.de>
2020-04-19 14:19:33 +02:00
Petr Suchy 442f9d115e
Added Separate check when server is down (#844)
Future request - separate checks when down.
Closes #755.
2020-02-04 16:41:34 +01:00
TimZ99 2c51ad12f7
Implementing the PSR12 standard
Using PHPCS and PHPSBF.
2019-12-11 21:27:04 +01:00
TimZ99 e2c424e167
Spacing, indentation and braces
Co-Authored-By: Scrutinizer Auto-Fixer <auto-fixes@scrutinizer-ci.com>
2018-07-12 17:31:00 +02:00
TimZ99 fc84c06813
Undefined var & 404 -> 403
PSM_CRON_ALLOW was undefined. Added defined check.
Changed 404 to 403 message.
Added support for php5.
2018-06-29 19:46:58 +02:00
Matthias Wirtz 1bd14995fb
Update several dependencies (frontend & backend) (#571)
Closes #568.
Updates Composer packages No longer supporting outdated PHP Versions, Update Dome Frontend assets, fix php notices and warnings popping Up when run in debug Mode...
2018-04-09 19:34:06 +02:00
Pepijn Over 32e018b6bb
preparing for 3.2.0 release 2018-03-27 23:24:25 +02:00
pieter-groeneweg 0be8e40c50 update status.cron.php with added allowed IP check.
to allow scheduled status updates over the web the commandline check is extended with a check on allowed IP address(es).

In config.php add following line:

define('PSM_CRON_ALLOW', array("xxx.xxx.xxx.xxx", "yyy.yyy.yyy.yyy"))

Where the xxx's and yyy's represent the IP addresses of course
2016-09-20 13:37:58 +02:00
Pepijn Over dc54bf14ea [refactoring] moving UpdateManger to service container as util.server.updatemanager 2015-02-27 15:05:46 +01:00
Pepijn Over f63a39d92c [refatoring] adding symfony service container and upgrading symfony packages to 2.6 2015-02-27 14:34:28 +01:00
Pepijn Over 6172b35a81 issue #181: adding blank index files to prevent directory listing 2015-02-27 11:54:16 +01:00
Pepijn Over 51ff0f2044 updating copyright year in headers and email 2015-02-27 11:43:09 +01:00
Pepijn Over a2753c6348 issue #131: adding timeout setting to cronjob as well 2014-11-06 10:53:43 +01:00
Davy Rolink 7585eb23e0 allow urls to be generated from cli, with the help of argument --uri= 2014-09-12 09:05:52 +02:00
Pepijn Over 7913fdaa8a Moving updater utils to Server subnamespace, and renaming Autorun to UpdateManager 2014-08-06 13:20:12 +02:00
Pepijn Over a3cad31754 adding if defined check for PSM_DEBUG const 2014-04-15 22:06:45 +02:00
Pepijn Over c7a3ba66c1 fixing fatal error after deleting server;
login screen: changing h2 to h3 and large buttons to medium;
tooltip: show on hover instead of focus;
changing styling of flashmessage (removing status text, adding icon, changing width);
changing shortcodes from info to success for some actions;
changing all php file permissions to 0644;
2014-03-28 16:52:04 +01:00
Pepijn Over 9866ab0c22 fixing CLI check for servers using cgi-fcgi (PHP_SAPI is in those cases same for web and cli mode) 2014-03-28 14:41:04 +01:00
Pepijn Over c47c33c0eb restricting server list for regular users, moving user-server relations
to own table
2014-03-16 02:04:49 +01:00
Pepijn Over db73e9bb4b introducing a router and controllers to allow more submodules in the
future and more structured way of loading modules
2014-03-15 00:35:35 +01:00
Pepijn Over 6be84f3449 fix for issue #12, status was not saved to uptime table 2014-03-14 19:36:56 +01:00
Perri fafc0448bd Add a couple of comments to make it clearer 2014-02-26 22:01:47 +00:00
Perri 71ab326ddb Log uptime to database 2014-02-26 21:54:11 +00:00
Pepijn Over 0f7f6f011d Changing project url to http://www.phpservermonitor.org/ 2014-02-10 23:48:43 +01:00
Pepijn Over 17c7f3b3c3 issue #9: adding check to prevent cronjob from running multiple times 2014-02-08 21:16:41 +01:00
Pepijn Over 947923c5d6 Adding regex support to search for patterns in the website body, thanks
to Paul Feakins.
2014-02-08 20:14:49 +01:00
Pepijn Over fc54c909fc Moving status updater to own namespace 2014-01-21 23:22:33 +01:00
Pepijn Over e5567bb465 testing new folder structure, implementing namespaces, changing function prefix to match namespace. 2014-01-10 18:31:57 +01:00
Pepijn Over d22ed7ff6c Updating file headers for entire package 2014-01-07 23:32:57 +01:00
Pepijn Over 4eaf7a8e28 Import of v2.0.1 2014-01-07 20:27:21 +01:00
Pepijn Over 50fd088dca Initial import of phpservermon v2.0.0 2014-01-07 20:24:48 +01:00