Commit Graph

316 Commits

Author SHA1 Message Date
Yiğit Kerem Oktay 5618b57e2b
Merge pull request #123 from yigitkeremoktay/master
Version 2  - Migrate Settings to DB -- Add Telegram and Email Subscription Support
2020-08-24 22:38:08 +03:00
Yiğit Kerem Oktay 95f4fc5a41
Add support for additional code after head tag 2020-08-24 16:24:05 +03:00
Yiğit Kerem Oktay 8b2c664f36
Add support for custom code 2020-08-24 16:20:04 +03:00
Yiğit Kerem Oktay 5d99ed7ccb
Merge pull request #3 from thnilsen1/move_config_options
Removed Telegram and email notification setup from install routine.
2020-08-21 12:22:37 +03:00
Thomas Nilsen a2e0cab819 Update to read relevant options from DB 2020-08-20 23:42:29 +02:00
Thomas Nilsen 78bb717b0d Updated install with new db options 2020-08-20 23:40:20 +02:00
Thomas Nilsen 46dbbd35d5 Moved notification settings to db.
The following define() are now loaded via the db class:

- SUBSCRIBE_TELEGRAM
- SUBSCRIBE_EMAIL
- TG_BOT_API_TOKEN
- TG_BOT_USERNAME
- GOOGLE_RECAPTCHA
- GOOGLE_RECAPTCHA_SITEKEY
- GOOGLE_RECAPTCHA_SECRET
- PHP_MAILER
- PHP_MAILER_PATH
- PHP_MAILER_SMTP
- PHP_MAILER_HOST
- PHP_MAILER_PORT
- PHP_MAILER_SECURE
- PHP_MAILER_USER
- PHP_MAILER_PASS
- CRON_SERVER_IP
2020-08-20 23:27:41 +02:00
Thomas Nilsen 3c6f2f272c Added getBooleanSetting and updateSetting functions 2020-08-20 23:16:20 +02:00
Thomas Nilsen c84f985d01 Fix bug with misspelt function update_notification_retries 2020-08-20 23:11:42 +02:00
Thomas Nilsen 23dc109764 Removed Telegram and email notification setup from install routine.
In prepearing to move the config.php options to db options, the following config
options have been removed from config.php

- SUBSCRIBE_TELEGRAM
- SUBSCRIBE_EMAIL
- TG_BOT_API_TOKEN
- TG_BOT_USERNAME
- GOOGLE_RECAPTCHA
- GOOGLE_RECAPTCHA_SITEKEY
- GOOGLE_RECAPTCHA_SECRET
- PHP_MAILER
- PHP_MAILER_PATH
- PHP_MAILER_SMTP
- PHP_MAILER_HOST
- PHP_MAILER_PORT
- PHP_MAILER_SECURE
- PHP_MAILER_USER
- PHP_MAILER_PASS
- CRON_SERVER_IP
2020-08-19 23:24:32 +02:00
Yiğit Kerem Oktay 5a275f32d5
Update README.md 2020-08-17 18:11:45 +03:00
Yiğit Kerem Oktay adb2fe9e99
Update README.md 2020-08-17 18:11:17 +03:00
Yiğit Kerem Oktay 6858223daf
This file is functional now 2020-08-17 18:08:58 +03:00
Yiğit Kerem Oktay dc1cf2691c
Fix toggle 2020-08-17 18:00:13 +03:00
Yiğit Kerem Oktay 1539375b39
Update options.php 2020-08-17 17:39:39 +03:00
Yiğit Kerem Oktay e419dc31e6
that's better 2020-08-17 17:32:05 +03:00
Yiğit Kerem Oktay 675662db12
Add something pretty required 2020-08-17 17:31:22 +03:00
Yiğit Kerem Oktay 0e1a563449
Fixed it now 2020-08-17 17:23:58 +03:00
Yiğit Kerem Oktay b164d66df5
another attempt 2020-08-17 17:20:43 +03:00
Yiğit Kerem Oktay 8a91605869
try a fix 2020-08-17 17:18:46 +03:00
Yiğit Kerem Oktay 990462cece
Add new functionality 2020-08-17 17:14:47 +03:00
Yiğit Kerem Oktay 3b4fe3f27c
Fix tpyo 2020-08-17 17:08:35 +03:00
Yiğit Kerem Oktay 51895e3a66
Test new toggle function 2020-08-17 17:01:52 +03:00
Yiğit Kerem Oktay 46e5af20b9
Add function render_toggle 2020-08-17 17:00:20 +03:00
Yiğit Kerem Oktay a07ee2131a
add options to index 2020-08-17 16:54:12 +03:00
Yiğit Kerem Oktay 169b165b5d
Create options.php 2020-08-17 16:52:20 +03:00
Yiğit Kerem Oktay 827b96c49b
add css for toggle buttons 2020-08-17 16:45:54 +03:00
Yiğit Kerem Oktay 57dd2b2615
Add options button to menu 2020-08-17 16:45:03 +03:00
Yiğit Kerem Oktay a40d2f134e
Change menu text 2020-08-17 16:43:48 +03:00
Yiğit Kerem Oktay 7aed1d2580
Delete duplicate 2020-08-17 16:40:59 +03:00
Yiğit Kerem Oktay 0bc924e39a
Fix crash while trying to send notifications 2020-08-17 16:39:41 +03:00
Yiğit Kerem Oktay 843632bfe7
Add telegram api to the setup 2020-08-17 13:00:03 +03:00
Yiğit Kerem Oktay 5527740bee
Get data from the db 2020-08-17 12:58:43 +03:00
Yiğit Kerem Oktay b6ed71bdb7
Get info from the db! 2020-08-17 12:56:57 +03:00
Yiğit Kerem Oktay 349aa0e195
Fix tpyo and add some info 2020-08-17 00:41:42 +03:00
Yiğit Kerem Oktay 4801c04b65
Fix tpyo 2020-08-17 00:35:41 +03:00
Yiğit Kerem Oktay 775626f25b
Fix urls 2020-08-17 00:33:22 +03:00
Yiğit Kerem Oktay 88c9c7d20f
Fix version check 2020-08-17 00:31:57 +03:00
Yiğit Kerem Oktay 2ab9cf435e
Use trim for version check 2020-08-17 00:29:33 +03:00
Yiğit Kerem Oktay bc145421a9
Notify updates 2020-08-17 00:25:12 +03:00
Yiğit Kerem Oktay 48ba123c6e
Update install.php 2020-08-17 00:23:10 +03:00
Yiğit Kerem Oktay f9468a491b
Hide subscribe widget 2020-08-17 00:17:40 +03:00
Yiğit Kerem Oktay 986506c080
Allow notifyUpdates by default 2020-08-17 00:14:27 +03:00
Yiğit Kerem Oktay 0693327a21
Add some additional info to update notification 2020-08-17 00:13:26 +03:00
Thomas Nilsen 5a15207476 Merge branch 'master' of https://github.com/yigitkeremoktay/server-status 2020-08-16 23:04:24 +02:00
Yiğit Kerem Oktay 8f3b4d081b
Check for updates (celebration_emoji) 2020-08-17 00:03:58 +03:00
Thomas Nilsen 0b3e617d96 Fix to hide subscriber menu when not configured 2020-08-16 23:03:05 +02:00
Yiğit Kerem Oktay 55f92ead6d
Create updateseed 2020-08-16 23:58:06 +03:00
Yiğit Kerem Oktay ded2414424
Update versionfile 2020-08-16 23:47:34 +03:00
Yiğit Kerem Oktay f593c6ee63
Update README.md 2020-08-16 23:41:25 +03:00