Commit Graph

10 Commits

Author SHA1 Message Date
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 81745ce738 finally rename icons/ (fixes ) 2011-11-16 10:46:11 +04:00
Craig Meyer 9949bd154e functions.php: Fixed some mild errors.
fetch_file_contents()
        using $updated when it was not defined - commented it out
    update_rss_feed_real()
        was also using $updated, undefined
        and had a inconsistent return, added return false;
    lookup_user_id($link, $user)
        was using $login for the SELECT not $user
    format_headline_subtoolbar()
        used $search_q before it was assigned to, re-ordered the code
    format_article()
        The 3rd arg "$feed_id" was never used in the function, it was set in the function
        Verified (and modified as needed) function calls in backend.php (5 Usages) and in modules/backend-rpc,php (1 usage)
    printTagCloud()
        Before ksort($tags) add a check for count($tags) == 0 return
    replace depreciated split() calls with explode()

backend.php

    replace depreciated split() calls with explode()

modules/backed-rpc.php

    replace depreciated split() calls with explode()
    in handle_rpc_request(), separate asort() from join(),  asort() does not return an array.
        This fixes a problem where a new tag is added to an entry, but doesn't show up after clicking on save. User must do a screen refresh.
        A PHP error msg was being returned in the JSON response.
.gitignore
    Make sure Mac OS X .DS_Store & PHPStorm project files (.idea/) are not included
2011-07-30 22:31:40 -04:00
Andrew Dolgov ca06ed7d36 move HTMLPurifier cache inside CACHE_DIR/htmlpurifier 2011-04-15 14:06:27 +04:00
Andrew Dolgov d8735fc8f0 update htmlpurifier cache stuff, add sanity check 2010-12-21 09:29:20 +03:00
Andrew Dolgov 66ad06518c remove HTMLPurifier cache files; ignore them in the future 2010-12-15 13:04:02 +03:00
Andrew Dolgov ed28d0fd45 update .gitignore 2010-11-08 14:54:01 +03:00
Andrew Dolgov 39e80bafe8 update .gitignore (ignore ctags) 2010-11-05 17:39:33 +03:00
Andrew Dolgov 2aae0cce7e add internal directories for cache & lockfiles 2010-11-02 13:45:48 +03:00
Andrew Dolgov a286795d6f add gitignore 2010-10-11 11:25:27 +04:00