Commit Graph

27 Commits

Author SHA1 Message Date
Yiğit Kerem Oktay
d041c9b58f
Remove non required line 2020-08-16 22:15:06 +03:00
Yiğit Kerem Oktay
6854dcb638
Merge pull request #2 from thnilsen/subscription2_dev
Fix bug notifications not being sent.
2020-08-15 23:08:16 +03:00
thnilsen
ea582aeed6 Fix bug notifications not being sent.
The code to handle sending of notification was missing. This change
makes two different options available on how notifications will be
handled which will be controlled by CRON_SERVER_IP config option.

 - If CRON_SERVER_IP is set, the server with the given IP should
   call URL ../admin/?task=cron every x minutes. If the config
   is left empty, the notification will be called once the
   incident has  been saved. (The latter meothod might cause
   server timeout if there are large numbers of subscribers!)

Other minor changes:

 - Removed old commented code

 - Removed call to syslog used for debugging
2020-08-15 21:09:57 +02:00
Yiğit Kerem Oktay
2f544eace2
Include db class 2020-08-15 20:23:23 +03:00
Thomas Nilsen
8d31ec7f7c Merge branch 'master' into subscription2_dev
Fix Subscriber CSS issue
2020-08-15 18:48:41 +02:00
Yiğit Kerem Oktay
f785d56b78
Manual Merge of PR 114 STEP 1 2020-08-14 20:02:42 +03:00
Yiğit Kerem Oktay
28431cc240
Added required definitions 2020-08-14 19:52:18 +03:00
Yiğit Kerem Oktay
34e3782a61
Add additional info 2020-08-14 15:11:42 +03:00
Yiğit Kerem Oktay
b14f60e08b
Add some required info for creating server config 2020-08-14 14:58:05 +03:00
thnilsen
4a4a3f7bdd Merged Upstream master 2020-06-16 20:20:51 +02:00
thnilsen
02cd19a439 Fixes issue #64 2020-05-23 17:03:08 +02:00
Vojtěch Sajdl
7294b356dd Fix #78 - run data through htmlspecialchars so we don't crash when there are quotes in the name 2019-03-15 12:22:16 +01:00
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
jhuesser
bc92eea651 added tg values to config file 2018-11-23 22:07:37 +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
Vojtěch Sajdl
fccc45d602
String changes
Making translations better by fixing typos and stuff
2018-08-10 22:57:27 +02:00
jhuesser
d923a9b88c Add Privacy policy (#40)
* add contact fields

* added really simple privacy policy and install proccedure

* add link to policy in footer
2018-08-02 11:48:10 +02:00
Vojtěch Sajdl
4b62701974
Fix #21 - ability to change title
Add define("TITLE", "<title>") to your config.php file if you're updating and want to use this feature.
2018-03-10 00:32:06 +01:00
Vojtěch Sajdl
7b1b68c0ef
Translations updated 2018-01-13 03:00:13 +01:00
Vojtěch Sajdl
f310aac8b5
Minor fixes 2018-01-12 22:38:19 +01:00
Vojtěch Sajdl
c25e8bcae8
Instalator fixes and lots and lots of other bugfixes 2018-01-12 21:35:31 +01:00
Vojtěch Sajdl
5dd9a2a1bd
Add template doc, fixup rendering locale select 2018-01-07 20:51:16 +01:00
Vojtěch Sajdl
61f563c9b0
Objectify locale negotiator and template files, add documentation 2018-01-07 20:39:10 +01:00
Vojtěch Sajdl
3202189967
Start working on translation system, czech translation added 2017-12-31 02:26:08 +01:00
Vojtěch Sajdl
bef338fd99
Prepare for gettext 2017-12-31 00:42:16 +01:00
Vojtěch Sajdl
5f8c7f8166
Checking validity of data - install script 2017-11-29 14:40:34 +01:00
Vojtěch Sajdl
9a49428bf9 Initial commit 2017-11-24 00:09:36 +01:00