Commit Graph

245 Commits

Author SHA1 Message Date
Andrew Dolgov 16c86e2fc3 replace some plain http links with https 2020-09-17 09:02:30 +03:00
JustAMacUser 9c3cf60592 More fixes when installer generates config file.
* Use single quotes in config.php when when defining database values so PHP doesn't interpret `$` as a variable (mostly for the password constant).
* Use `addcslashes` instead of `addslashes` and only escape backslash and single quotes.
* Do not convert DB_PORT to integer if leaving it blank (the default).
2020-04-21 21:10:32 -04:00
JustAMacUser 56e16a8d85 Escape user-defined values during installation. 2020-04-18 21:33:56 -04:00
Andrew Dolgov 4f306e61b4 update description of SELF_URL_PATH 2019-04-26 20:56:53 +03:00
Andrew Dolgov bc42dfb790 mention mailer_smtp plugin in config.php-dist 2018-11-22 23:10:28 +03:00
Andrew Dolgov 57932e1837 remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class 2018-11-22 14:45:14 +03:00
Andrew Dolgov 87cb8dd45f remove more mcrypt stuff from config.php-dist 2018-08-13 20:51:06 +03:00
Andrew Dolgov 069aea5989 remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
2018-08-13 15:59:24 +03:00
Andrew Dolgov a6990df3ad update description for LOG_DESTINATION 2017-07-17 21:06:53 +03:00
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 2017-05-16 10:41:20 +03:00
Andrew Dolgov 17a8e61d2a deprecate encrypted feed passwords because mcrypt is getting removed from php 7.1
1. transparent decryption for existing installs stays for the time being
2. new passwords are not going to be encrypted even if FEED_CRYPT_KEY is defined
3. added update.php --decrypt-feeds to bulk decrypt existing encrypted passwords
4. updated install to not auto-generate crypt key
5. added warning to config.php-dist
2017-01-07 14:25:46 +03:00
Andrew Dolgov f5e66c439e remove SESSION_CHECK_ADDRESS 2015-08-21 09:02:16 +03:00
Andrew Dolgov 3318d32410 move language detection to a plugin, remove config.php constant 2015-06-19 10:12:47 +03:00
Andrew Dolgov 4ca621a360 add config option CHECK_FOR_UPDATES 2015-02-03 14:46:51 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
Andrew Dolgov af2c15f3d3 mention config.php settings in search_sphinx plugin description 2014-04-23 04:53:09 +00:00
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
Andrew Dolgov 307e24ca81 set detect language to off by default 2014-03-11 21:12:02 +04:00
Andrew Dolgov af2aa0747f config: remove closing php tag 2013-12-18 12:20:47 +04:00
Andrew Dolgov 5ddd2705ca make language detection optional (closes #779) 2013-09-27 13:45:21 +04:00
Andrew Dolgov 9e2d513dbd config.php-dist: fix lines which were too long 2013-07-14 23:34:04 +04:00
Andrew Dolgov bebc15cdc2 fix typo in config.php-dist 2013-07-14 23:33:12 +04:00
Frederik Holden 39de69406b Change default SELF_URL_PATH for RFC 2602 2013-07-13 15:37:27 +02:00
justauser 6dd01fcea2 Changes to support a new version of the phpmailer. Adds a new setting SMTP_SECURE,
which cna have a value of tls, ssl or be empty.  This is used for secure SMTP servers.
Also added the ability to have multiple email addresses in the to field.  Addresses are
separated by semicolons (;)
2013-05-26 11:27:42 -04:00
Andrew Dolgov 6f49cedfd7 update sphinx index option description 2013-05-22 09:40:55 +04:00
Andrew Dolgov a9cd27d6e6 config: expand description of PHP_EXECUTABLE 2013-05-16 10:04:09 +04:00
Andrew Dolgov e57a1507ae do not use session cookie lifetime for additional cookies 2013-04-29 13:03:28 +04:00
Andrew Dolgov 3921f5081b only show reset password link when auth_internal is enabled (refs #681) 2013-04-23 22:19:09 +04:00
Andrew Dolgov b367c951b9 make logging configurable; add logging to syslog 2013-04-19 09:45:43 +04:00
Andrew Dolgov bbffc43e4f actually check for DB_PORT in installer, add better hints and use mysqli if available 2013-04-18 16:06:03 +04:00
Andrew Dolgov 524d03a03e config: remove mention of encrypted logins 2013-04-17 09:30:11 +04:00
Jeffrey Tolar 5d28014ee3 Fix indentation issues (spaces => tabs) 2013-04-17 00:23:12 -05:00
Andrew Dolgov 90df27a4c1 ttrssMailer: fix typo 2013-04-16 16:43:15 +04:00
Andrew Dolgov 52803a0bfd add SPHINX_SERVER 2013-04-16 16:41:32 +04:00
Andrew Dolgov b9863a153c unify SMTP_HOST and SMTP_PORT as SMTP_SERVER 2013-04-16 16:40:04 +04:00
Andrew Dolgov 044cff2d74 implement basic feed authentication parameter encryption in the database (FEED_CRYPT_KEY) 2013-04-13 18:24:41 +04:00
Andrew Dolgov a905d89e86 clarify single user mode description 2013-04-07 19:08:33 +04:00
Arthaey Angosii 0742008881 Fix typo in config.php
Looks like a typo of "vary" instead of "wary", and "aware" sounds better.
2013-04-06 20:12:01 -07:00
Andrew Dolgov e186015e4e remove auth_remote from default configuration 2013-04-07 01:13:33 +04:00
Andrew Dolgov 82d77deb28 reduce default session expiration limit 2013-04-04 15:29:58 +04:00
Andrew Dolgov 9427ba1d43 enable updater by default 2013-03-28 10:08:00 +04:00
Andrew Dolgov 6cfd3c149c remove SESSION_EXPIRE_TIME 2013-03-28 10:06:16 +04:00
Andrew Dolgov f231f438ba reimplement remember_me 2013-03-28 09:48:58 +04:00
Andrew Dolgov 99534a3dde remove page title stuff for the time being 2013-03-23 09:51:30 +04:00
Andrew Dolgov 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov c1353b6384 Revert "remove default definition of SITE_TITLE; rename to _SITE_TITLE as with other constants of this nature"
This reverts commit 1f56ba13cd.
2013-03-23 09:45:21 +04:00
derekmurawsky 1b2afd2bd3 Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary.

Changes:
config.php-dist - Added the smtp port option

include/digest.php - Converted it to use the new ttrrssmailer class

include/sanity_config.php - Added the smtp port option to the sanity check

plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case.

register.php = Modified to use ttrssmailer class.

All code was tested and functioned on my local machine.
2013-03-22 16:25:12 -04:00
Andrew Dolgov 642cca7be5 mention SESSION_COOKIE_LIFETIME affecting widescreen cookie 2013-03-20 13:55:01 +04:00
Andrew Dolgov 469061fef1 config: bump default values for cookie expiration times (refs #539) 2013-03-15 20:51:12 +04:00
Andrew Dolgov 2d1282d4d1 remove top hello - feedback - preferences line 2013-02-06 20:14:06 +04:00