Commit Graph

8428 Commits (f8108cc28df586f9fecad4e48052a1cb82891e4a)
 

Author SHA1 Message Date
Andrew Dolgov 6f398dcfc6 af_comics updates:
1. move preferences to Feeds tab
2. update CAD comic with support for sillies
3. add support for loading updated/third-party filters from filters.local (would override bundled filters)
8 years ago
Andrew Dolgov 1d61994776 fix dilbert plugin not working because of changed GUIDs or w/e 8 years ago
Andrew Dolgov 2816d2cd4b Merge branch 'dilbert-comic-plugin' into 'master'
af_comics_dilbert: More details (title, tags, transcript)

See merge request !56
8 years ago
aeritir ea8d0fd571 af_comics_dilbert: More details (title, tags, transcript) 8 years ago
Andrew Dolgov 6fd0399694 tunables:
* add CACHE_MAX_DAYS as a tunable generic expiry interval for various cached files
* add some comments to tunables in functions.php
* rename _MIN_CACHE_FILE_SIZE to MIN_CACHE_FILE_SIZE
* respect MIN_CACHE_FILE_SIZE setting in a few more places where content is cached
8 years ago
Andrew Dolgov 34a61a0c3c Merge branch 'autoload_replacement' into 'master'
Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.

See merge request !54
8 years ago
Andrew Dolgov 647d91fabf Merge branch 'PrefFeedTree_no_favicon' into 'master'
Show a blank icon in PrefFeedTree if there is no favicon for a feed.

See merge request !55
8 years ago
wn_ b3e3cb06d9 Show a blank icon in PrefFeedTree if there is no favicon for a feed.
Duplicates behavior of FeedTree.
Prevents a broken request to 'false' if a feed doesn't have a favicon.
8 years ago
wn_ 9b8bec700a Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'.
http://php.net/manual/en/function.autoload.php
http://php.net/spl_autoload_register
https://wiki.php.net/rfc/deprecations_php_7_2
8 years ago
Andrew Dolgov e50a647916 add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
Feeds::format_headlines_list: add some comments for cdm article closing tags
8 years ago
Andrew Dolgov 9e381bc202 classes/Plugin: remove dbh & host fields; set init() and about() as abstract methods. 8 years ago
Andrew Dolgov 7611f0c052 af_zz_imgproxy: add optional no-cache mode 8 years ago
Andrew Dolgov 485902c305 move af_zz_imgsetsizes to attic repo 8 years ago
Andrew Dolgov dde683c106 move instances plugin to attic repo 8 years ago
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 8 years ago
Andrew Dolgov 7590f03961 feedtree.selectFeed: focus headlines-frame after selection 8 years ago
Andrew Dolgov 8f0a59f34a share function: remove tt-rss prefix from page title 8 years ago
Andrew Dolgov c114a2596f move add_feed_url() to pref_feeds 8 years ago
Andrew Dolgov 6c34ef612c notify msg: reduce padding 8 years ago
Andrew Dolgov 4fd0790804 fix DAEMON_SLEEP_INTERVAL not being defined when used
enforce minimum 60 sec spawn/sleep interval in update processes
8 years ago
Andrew Dolgov e6c886bf66 wrap rssfuncs into rssutils class 8 years ago
Andrew Dolgov 65af3b2cbb move counter stuff to a separate class 8 years ago
Andrew Dolgov 46b433933e hotkey_handler: one more tiny tweak 8 years ago
Andrew Dolgov 5f5f92da50 CI: set all tests to manual because of gitlab flakiness 8 years ago
Andrew Dolgov a97e8cddf7 hotkey_handler: cleanup things a bit 8 years ago
Andrew Dolgov 0ae7de6d91 hotkey_handler: return true on prefix handled 8 years ago
Andrew Dolgov fa1be041c2 feedtree, selectFeed: focus selected node 8 years ago
Andrew Dolgov e35ba0e212 add sanity check for SELF_URL_PATH going to http url if server is accessed over https 8 years ago
Andrew Dolgov 0a79531696 hotkey_handler: stop propagation of handled prefix/action events 8 years ago
Andrew Dolgov 40f4a7aa6b feeditem_common: add get_element() 8 years ago
Andrew Dolgov 7c9b5a3fe4 move label stuff to Labels class
fix some unresolved functions
8 years ago
Andrew Dolgov c2f0f24e4c move digest stuff to Digest class 8 years ago
Andrew Dolgov 0086a89740 move some label stuff to labels.php
move getfeedcategory() to Feeds
8 years ago
Andrew Dolgov 904aff7667 abs_to_rel_path: removed 8 years ago
Andrew Dolgov 4a0da0e5bf move get_article_labels to Article 8 years ago
Andrew Dolgov 2ed0d6c433 move counter cache to a separate class
fix references to get_article_tags
8 years ago
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
8 years ago
Andrew Dolgov a230bf88a9 move to Article:
+       static function purge_orphans($do_output = false) {

move to Feeds

+       static function getGlobalUnread($user_id = false) {
+       static function getCategoryTitle($cat_id) {
+       static function getLabelUnread($label_id, $owner_uid = false) {
8 years ago
Andrew Dolgov 86a8351ca2 move the following to Feeds:
+       static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+       static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+       static function subscribe_to_feed($url, $cat_id = 0,
+       static function getFeedIcon($id) {
+       static function getFeedTitle($id, $cat = false) {
+       static function getCategoryUnread($cat, $owner_uid = false) {
+       static function getCategoryChildrenUnread($cat, $owner_uid = false) {
8 years ago
Andrew Dolgov 7e5f8d9fb3 move the following to Article:
+       static function format_article_enclosures($id, $always_display_enclosures,
+       static function format_article($id, $mark_as_read = true, $zoom_mode = false, $owner_uid = false) {
+       static function get_article_tags($id, $owner_uid = 0, $tag_cache = false) {
+       static function format_tags_string($tags) {
+       static function format_article_labels($labels) {
+       static function format_article_note($id, $note, $allow_edit = true) {
+       static function get_article_enclosures($id) {
8 years ago
Andrew Dolgov 4122da0290 move getArticleFeed to Article
move print_label_select to controls
8 years ago
Andrew Dolgov e60d5b0a84 move opml-specific get_feed_category to opml.php 8 years ago
Andrew Dolgov 9549e33c2c move some common control-generating functions to controls.php 8 years ago
Andrew Dolgov 07d3431e28 update_rss_feed: minor code cleanup 8 years ago
Andrew Dolgov f03aaf270c CI: use latest phpunit 8 years ago
Andrew Dolgov c849dd63ab fix CI: missing config.php 8 years ago
Andrew Dolgov 9c8a797598 update CI (again) 8 years ago
Andrew Dolgov b89c72eaf3 update CI (again) 8 years ago
Andrew Dolgov 1d6c8d5c0e update CI 8 years ago
Andrew Dolgov 3517d363d3 add api test for labels, api: fix setArticleLabel assign not handled correctly 8 years ago