Commit Graph

9 Commits (4a0da0e5bf06e91cd3d461c98d54a0723ed0529c)

Author SHA1 Message Date
Andrew Dolgov aeb1abedb2 move a bunch of functions into Feeds/Article namespaces
+       static function catchupArticlesById($ids, $cmode, $owner_uid = false) {
+       static function getLastArticleId() {
+       static function queryFeedHeadlines($params) {
+       static function getParentCategories($cat, $owner_uid) {
+       static function getChildCategories($cat, $owner_uid) {

move the rest of functions2.php back to functions.php as it is of more manageable size, remove the former
9 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 9 years ago
Andrew Dolgov 4a80c57c50 remove some unused code reported by phpmd 12 years ago
Andrew Dolgov 6a51939ee6 db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users 13 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 13 years ago
Andrew Dolgov 6322ac79a0 remove $link 13 years ago
Andrew Dolgov 9bfda43e77 digest: use proper logging, update.php: fix typo 13 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.
13 years ago
Andrew Dolgov f16116834e split digest stuff into digest.php 13 years ago