Commit Graph

355 Commits

Author SHA1 Message Date
Thomas Nilsen
cd6ce3c8d8 Added additional config definitions
In preparation for adding subscription notification a number of
new  configuration options has been added. These are as follows:

- SUBSCRIBE_EMAIL : True/False to allow email subscription

- SUBSCRIBE_TELEGRAM : True/False to allow Telegram
   subscription

- GOOGLE_RECAPTCHA : True/False to enable reCapthca for
   e-mail signup form

- GOOGLE_RECAPTCHA_SITEKEY : Google reCaptcha sitekey

- GOOGLE_RECAPTCHA_SECRET : Google reCaptcha secret

- PHP_MAILER : True/False to allow the use of PHPMailer()
  library for emails.

- PHP_MAILER_PATH: Path to where PHPMailer() class is
  located on the system

- PHP_MAILER_SMTP : True/False if SMTP is to be used with
  PHPmailer(). Default will be mail().

- PHP_MAILER_HOST : SMTP Host to use if PHP_MAILER_SMTP
  is enabled.

- PHP_MAILER_PORT : SMTP Port

- PHP_MAILER_SECURE : tls/ssl option for PHPMailer()

- PHP_MAILER_USER : Username for SMTP

- PHP_MAILER_PASS : Password for SMTP
2018-11-24 22:19:06 +01:00
Thomas Nilsen
3fec45442e Added warning/success alert render function 2018-11-24 21:13:57 +01:00
Thomas Nilsen
3ff19c0be5 Added parsedown support libraries based on paresedown.org 2018-11-23 23:23:19 +01:00
thnilsen
18af07ac77 Fix formating/repeat issue for install form 2018-11-23 22:13:08 +01:00
thnilsen
23cf02f608 Replace hardcoded urls with constants from config. 2018-11-23 22:12:31 +01:00
jhuesser
1431964afc added telegram to privacy policy 2018-11-23 22:12:31 +01:00
jhuesser
ba6e3f4144 <br> handler for POLICY_PHONE 2018-11-23 22:12:31 +01:00
jhuesser
cbc5fd2854 some fixes (still dont work) 2018-11-23 22:12:31 +01:00
jhuesser
a57f6e2f86 after work commit [not working]
not working, but i need to push it to have it on my other locations
2018-11-23 22:11:41 +01:00
jhuesser
66c13a32cc created default policy 2018-11-23 22:11:41 +01:00
jhuesser
8ffd5f9906 added policy form 2018-11-23 22:11:41 +01:00
jhuesser
df4c08d8c8 added titles + third party 2018-11-23 22:11:41 +01:00
jhuesser
51926b37b7 spelling 2018-11-23 22:11:41 +01:00
jhuesser
b8daf45ac9 removed swiss law, added EU law 2018-11-23 22:11:41 +01:00
jhuesser
ecaf5aa58b add some conflicts 2018-11-23 22:11:41 +01:00
jhuesser
1172eeaf1b fix text 2018-11-23 22:11:41 +01:00
jhuesser
a56e6ae8ef added really simple privacy policy and install proccedure 2018-11-23 22:11:41 +01:00
jhuesser
d2c28e6ae7 add contact fields 2018-11-23 22:10:49 +01:00
jhuesser
db6f705b6a show telegram menu in mobile 2018-11-23 22:10:49 +01:00
jhuesser
b005e77664 use unused value 2018-11-23 22:10:49 +01:00
jhuesser
d0d0572b82 removed unused lastname 2018-11-23 22:10:49 +01:00
jhuesser
efe4c3d42f mange subscriptions 2018-11-23 22:10:49 +01:00
jhuesser
cea55bd2b8 show my subscriptions 2018-11-23 22:10:49 +01:00
jhuesser
c96cc6e1c5 login and logout with telegram 2018-11-23 22:10:49 +01:00
jhuesser
65f6de7289 add telegram User Data reader 2018-11-23 22:10:49 +01:00
jhuesser
8e1ae46564 add login with telegram button 2018-11-23 22:10:49 +01:00
jhuesser
8c305d8a93 bug fixes and debuging stuff removed 2018-11-23 22:10:49 +01:00
jhuesser
d02ebc25ab send new incident to subscriber 2018-11-23 22:10:49 +01:00
jhuesser
781c938118 added telegram to install.php 2018-11-23 22:10:49 +01:00
jhuesser
bc92eea651 added tg values to config file 2018-11-23 22:07:37 +01:00
jhuesser
eabca6bb0c database modifications 2018-11-23 22:06:48 +01:00
Vojtěch Sajdl
554edc403a
Merge pull request #70 from thnilsen/add_services_to_panel
Add services to panel
2018-11-21 13:42:30 +01:00
Thomas Nilsen
d0824170ac Fix admin url (#68)
* Add prerequisite checks to install script. - Pryx/server-status#31

* Add option to use existing URL for privacy policy. Pryx/server-status#41

- Also moved the gitbug icon to the left of the footer as it looked like it was part of the imprint/policy link.
- Fixed Imprint & Privacy policy text so that it will be translated.

* Admin page is redirected to wrong URL on save. Fix Pryx/server-status#67
2018-11-21 11:42:04 +01:00
Vojtěch Sajdl
e36f37f350
Merge pull request #66 from thnilsen/add_prerequisite
Add prerequisite and policy url configuration
2018-11-21 11:41:50 +01:00
Thomas Nilsen
361c961d14 Added comment to mysqlnd checks for future reference 2018-11-21 11:38:57 +01:00
Thomas Nilsen
42815bacd6 Remove duplicate column name in SQL query 2018-11-21 11:24:39 +01:00
Thomas Nilsen
e41b45e067 Replaced "Posted by" with "Impacted services". Addresses suggestion in Pryx/server-status#69
* Extended Incident class with service_id and services_names.
2018-11-21 10:50:21 +01:00
Thomas Nilsen
c75f83c2ef Add impacted services to each incident view 2018-11-19 09:19:23 +01:00
Thomas Nilsen
b4926077fa Add option to use existing URL for privacy policy. Pryx/server-status#41
- Also moved the gitbug icon to the left of the footer as it looked like it was part of the imprint/policy link.
- Fixed Imprint & Privacy policy text so that it will be translated.
2018-11-08 14:15:20 +01:00
Thomas Nilsen
2566ae9fd4 Add prerequisite checks to install script. - Pryx/server-status#31 2018-11-08 14:04:44 +01:00
thnilsen
d41cf42ab7 Adding norwegian language (#63)
* Added Norwegian language translation (nb_NO/Norsk Bokmål)

* Fixes display of translated overall status to selected language. Only english was shown prior, no matter the selected language.

* Fixes missed translation of norwegian (nb_NO)
2018-11-05 23:57:54 +01:00
Vojtěch Sajdl
11cdf13054
Update translations 2018-09-21 16:58:47 +02:00
Vojtěch Sajdl
fbf75ede44
License change 2018-09-04 11:13:42 +02:00
Vojtěch Sajdl
668502f1df
Lint 2018-08-23 20:54:35 +02:00
Vojtěch Sajdl
93565fc014
Fix #54 - fixed time checking 2018-08-23 20:40:27 +02:00
Vojtěch Sajdl
9488343f9b Update server-status.po (POEditor.com) 2018-08-10 22:59:11 +02:00
Vojtěch Sajdl
309ab293b3 Update server-status.mo (POEditor.com) 2018-08-10 22:59:09 +02:00
Vojtěch Sajdl
bc662689f9 Update server-status.po (POEditor.com) 2018-08-10 22:59:06 +02:00
Vojtěch Sajdl
3a42638ef5 Update server-status.mo (POEditor.com) 2018-08-10 22:59:03 +02:00
Vojtěch Sajdl
64996363a9 Update server-status.po (POEditor.com) 2018-08-10 22:59:00 +02:00