summaryrefslogtreecommitdiff
path: root/include/functions2.php
AgeCommit message (Collapse)Author
2017-05-04move a bunch of functions into Feeds/Article namespacesAndrew Dolgov
+ 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
2017-05-04move to Article:Andrew Dolgov
+ 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) {
2017-05-04move the following to Feeds:Andrew Dolgov
+ 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) {
2017-05-04move the following to Article:Andrew Dolgov
+ 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) {
2017-05-04move getArticleFeed to ArticleAndrew Dolgov
move print_label_select to controls
2017-05-04move opml-specific get_feed_category to opml.phpAndrew Dolgov
2017-05-04move some common control-generating functions to controls.phpAndrew Dolgov
2017-04-26remove some redundant php closing tagsAndrew Dolgov
2017-04-26fix various issues reported by static analysisAndrew Dolgov
update gitlab-ci config
2017-03-23add cosmetic suffixes back for cached url linksAndrew Dolgov
2017-03-23when choosing enclosures to embed or rewrite (af_zz_imgproxy) only use ↵Andrew Dolgov
content type instead of "filename"-based hacks
2017-03-23enable caching of media in article enclosuresAndrew Dolgov
2017-03-23allow caching of audio filesAndrew Dolgov
2017-03-23remove local file extensions and generalize some method names for cached mediaAndrew Dolgov
file extensions may still be present in urls, but are ignored by the backend MIGRATION (if you have any cached data worth keeping, not required): in cache/images run "rename 's/\..*$//' *" i.e. strip file extensions
2017-03-06rewrite relative urls for html5 audio source elementsAndrew Dolgov
2017-03-04simplify error handlingAndrew Dolgov
* less convoluted exception dialogs * use window.onerror for the majority of exception catching/reporting * remove most of now useless try/catch blocks * report stacktrace instead of manually specified error locations
2017-02-13rewrite_relative_url: cleanup resulting url path while rewritingAndrew Dolgov
2017-02-12format_article_enclosures: allow embedding .jpeg filesAndrew Dolgov
2017-02-12add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy (2)Andrew Dolgov
2017-02-12add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxyAndrew Dolgov
2017-02-12Prevent target='_blank' vulnerability on dynamic linkJérémy DECOOL
2017-02-10use get_self_url_prefix() when rewriting cached imagesAndrew Dolgov
2017-02-10sanitize: properly handle cached content in archived articlesAndrew Dolgov
2017-02-09pass several image files used in notify messages to frontend as base64 to ↵Andrew Dolgov
prevent broken error messages in case network connection is down. also, update some close buttons to show correct cursor.
2017-02-08add some protection against opener attacks if external site is opened via ↵Andrew Dolgov
window.open()
2017-02-04image cache: do not try to cache data: schema urls; add caching of html5 ↵Andrew Dolgov
video content (similar to cache_starred_images plugin)
2017-02-04image cache: send files as content-disposition: attachment; add .png suffix ↵Andrew Dolgov
to image urls
2017-01-26add compact theme with smaller fontAndrew Dolgov
2017-01-25implement cache-busting for default theme.cssAndrew Dolgov
night theme: small fixes
2017-01-25pass article guid to hook_render_articleAndrew Dolgov
2017-01-24sanitize: allow dfn tagShane Synan
Add <dfn> tag to allowed tags list. <dfn> represents the defining instance of a term in HTML.
2017-01-24support rel=noopener for linksAndrew Dolgov
2017-01-24sanitize: allow acronym tagAndrew Dolgov
2017-01-22force ngettext() count argument type to stringAndrew Dolgov
2017-01-17tweak the enclosure dropdown display a little bit for less-readable urlsAndrew Dolgov
2017-01-02convert to punycode for feed on idn hostnameBernhard Thaler
2016-09-21shared posts: remove link to feed in externally shared articles to prevent ↵Andrew Dolgov
leaking potentially private feed urls
2016-08-19import_export: better error message if upload failedAndrew Dolgov
2016-08-06Remove href attribute if it executes JavaScript.JustAMacUser
2016-07-26add hotkey for toggling VFEED_GROUP_BY_FEED preferenceAndrew Dolgov
2016-04-29sanitize: force strip unnecessary data outside of <body>...</body> tags ↵Andrew Dolgov
generated by DOMDocument::saveHTML()
2016-03-30remove fetch_file_contents2, use a compat shim insteadAndrew Dolgov
2016-03-30amend previousAndrew Dolgov
2016-03-30set smallish timeout on update check, exclude update checking on initial loadAndrew Dolgov
2016-03-22remove dismiss* functionsAndrew Dolgov
2016-02-20rewrite_relative_url: only skip urls like magnet: instead of everything with :Andrew Dolgov
2016-02-20Revert "rewrite_relative_url: do not skip urls containing :"Andrew Dolgov
This reverts commit a547fef6ab4da1d3691ac0f24aca8e9bb545bc25.
2016-02-20rewrite_relative_url: do not skip urls containing :Andrew Dolgov
2016-02-19Remove srcset and sizes attributes from img tag if locally caching images.JustAMacUser
2016-02-05sanitize: allow <xml:namespace> (thanks, livejournal)Andrew Dolgov