Commit Graph

244 Commits (697418f86387eba775021a745ed65603458cef2b)

Author SHA1 Message Date
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).
5 years ago
JustAMacUser 56e16a8d85 Escape user-defined values during installation. 5 years ago
Andrew Dolgov 4f306e61b4 update description of SELF_URL_PATH 6 years ago
Andrew Dolgov bc42dfb790 mention mailer_smtp plugin in config.php-dist 6 years ago
Andrew Dolgov 57932e1837 remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class 6 years ago
Andrew Dolgov 87cb8dd45f remove more mcrypt stuff from config.php-dist 6 years ago
Andrew Dolgov 069aea5989 remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
6 years ago
Andrew Dolgov a6990df3ad update description for LOG_DESTINATION 7 years ago
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 8 years ago
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
8 years ago
Andrew Dolgov f5e66c439e remove SESSION_CHECK_ADDRESS 9 years ago
Andrew Dolgov 3318d32410 move language detection to a plugin, remove config.php constant 10 years ago
Andrew Dolgov 4ca621a360 add config option CHECK_FOR_UPDATES 10 years ago
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 10 years ago
Andrew Dolgov af2c15f3d3 mention config.php settings in search_sphinx plugin description 11 years ago
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.
11 years ago
Andrew Dolgov 307e24ca81 set detect language to off by default 11 years ago
Andrew Dolgov af2aa0747f config: remove closing php tag 11 years ago
Andrew Dolgov 5ddd2705ca make language detection optional (closes #779) 11 years ago
Andrew Dolgov 9e2d513dbd config.php-dist: fix lines which were too long 11 years ago
Andrew Dolgov bebc15cdc2 fix typo in config.php-dist 11 years ago
Frederik Holden 39de69406b Change default SELF_URL_PATH for RFC 2602 11 years ago
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 (;)
12 years ago
Andrew Dolgov 6f49cedfd7 update sphinx index option description 12 years ago
Andrew Dolgov a9cd27d6e6 config: expand description of PHP_EXECUTABLE 12 years ago
Andrew Dolgov e57a1507ae do not use session cookie lifetime for additional cookies 12 years ago
Andrew Dolgov 3921f5081b only show reset password link when auth_internal is enabled (refs #681) 12 years ago
Andrew Dolgov b367c951b9 make logging configurable; add logging to syslog 12 years ago
Andrew Dolgov bbffc43e4f actually check for DB_PORT in installer, add better hints and use mysqli if available 12 years ago
Andrew Dolgov 524d03a03e config: remove mention of encrypted logins 12 years ago
Jeffrey Tolar 5d28014ee3 Fix indentation issues (spaces => tabs) 12 years ago
Andrew Dolgov 90df27a4c1 ttrssMailer: fix typo 12 years ago
Andrew Dolgov 52803a0bfd add SPHINX_SERVER 12 years ago
Andrew Dolgov b9863a153c unify SMTP_HOST and SMTP_PORT as SMTP_SERVER 12 years ago
Andrew Dolgov 044cff2d74 implement basic feed authentication parameter encryption in the database (FEED_CRYPT_KEY) 12 years ago
Andrew Dolgov a905d89e86 clarify single user mode description 12 years ago
Arthaey Angosii 0742008881 Fix typo in config.php
Looks like a typo of "vary" instead of "wary", and "aware" sounds better.
12 years ago
Andrew Dolgov e186015e4e remove auth_remote from default configuration 12 years ago
Andrew Dolgov 82d77deb28 reduce default session expiration limit 12 years ago
Andrew Dolgov 9427ba1d43 enable updater by default 12 years ago
Andrew Dolgov 6cfd3c149c remove SESSION_EXPIRE_TIME 12 years ago
Andrew Dolgov f231f438ba reimplement remember_me 12 years ago
Andrew Dolgov 99534a3dde remove page title stuff for the time being 12 years ago
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.
12 years ago
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.
12 years ago
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.
12 years ago
Andrew Dolgov 642cca7be5 mention SESSION_COOKIE_LIFETIME affecting widescreen cookie 12 years ago
Andrew Dolgov 469061fef1 config: bump default values for cookie expiration times (refs #539) 12 years ago
Andrew Dolgov 2d1282d4d1 remove top hello - feedback - preferences line 12 years ago
Andrew Dolgov 6eb77a3140 expand simple update method description 12 years ago