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
e6c886bf66
wrap rssfuncs into rssutils class
8 years ago
Andrew Dolgov
7c9b5a3fe4
move label stuff to Labels class
...
fix some unresolved functions
8 years ago
Andrew Dolgov
0086a89740
move some label stuff to labels.php
...
move getfeedcategory() to Feeds
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
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
8 years ago
Andrew Dolgov
337535416f
filter by search results while marking feed as read
8 years ago
Andrew Dolgov
63f0ed3d9c
cdmClicked: do not use event.target.parents to figure out if clicked on a heading
8 years ago
Andrew Dolgov
b835a52814
rework the way headlines menus identify calling row
8 years ago
Andrew Dolgov
5161460048
bind headlines menu to a selector to avoid remaking it unnecessarily
8 years ago
Jérémy DECOOL
ba2853caac
Prevent target='_blank' vulnerability on dynamic link
8 years ago
Andrew Dolgov
328118d12e
use print_hidden() for hidden dojo form fields
8 years ago
Andrew Dolgov
24c7e4132d
subscribe dialog: do not report errors via alert()
...
fetch_file_contents: reset all globals on start, return error message body when not using curl
subscribe_to_feed: report if cloudflare is in the error message
8 years ago
Andrew Dolgov
ad326dbf78
unpackVisibleHeadlines: do not iterate over all RROWs all the time
8 years ago
Andrew Dolgov
967f0619c7
force ngettext() count argument type to string
8 years ago
Andrew Dolgov
6b06a609af
headlines toolbar: move selection links into the dropdown
8 years ago
Andrew Dolgov
c9a5903bcc
disable autocomplete in subscription dialog
9 years ago
Andrew Dolgov
b6b5554db4
normalize some html5 custom attributes
9 years ago
Andrew Dolgov
2d052e42b5
getLoadedArticleIds: consider visible rows only
...
catchupFeedInGroup: hide articles when catching up, with caveats
9 years ago
Andrew Dolgov
d9de136c39
inline feed update: set feed as needing update if open_basedir is set + plugins need curl
9 years ago
Andrew Dolgov
71b75bb7fa
fix multiple issues with archived feeds
9 years ago
Andrew Dolgov
41245888f1
only stop inline feed updates with open_basedir enabled if there are any plugins that require CURL enabled
...
add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
9 years ago
Andrew Dolgov
29c92d7b08
prevent frontend updating of feeds on view if open_basedir is set to prevent plugins potentially not working correctly (i.e. if backend system has open_basedir disabled)
9 years ago
Andrew Dolgov
f61f2a2699
format_headlines_list: fix pg_num_rows() called incorrectly when firstid check failed
9 years ago
Andrew Dolgov
1bd552ee31
compat patches for php7
9 years ago
Andrew Dolgov
19e47ad60b
queryFeedHeadlines: don't check first_id when sorting by oldest first
9 years ago
Andrew Dolgov
dcbe36b2a2
fix some remaining old-style viewfeed() calls
9 years ago
Andrew Dolgov
90da4ada66
move attachments back to cdm content
9 years ago
Andrew Dolgov
6901ec6659
fix subtoolbar links lack of margin
9 years ago
Andrew Dolgov
bc20cb9fad
move attachment dropdown to cdmFooter, use table styles for cdmFooter
9 years ago
Andrew Dolgov
6810a1de42
use dijit form widget for attachments dropdown
9 years ago
Andrew Dolgov
60e680599d
allow selecting stemming language in search dialog
9 years ago
Andrew Dolgov
0d0cb8fe1e
fix missing cdmFeedTitle
10 years ago
Andrew Dolgov
33c4bd8968
fix error feed (i.e. when requested feed no longer exists) not display properly
10 years ago
Andrew Dolgov
f17069960c
roll back separate headline transport
10 years ago
Andrew Dolgov
6b954c0a83
fix dashboard feed
10 years ago
Andrew Dolgov
9f5eca992b
headlines: fix whitebox reply not returned in an updated format
10 years ago
Andrew Dolgov
ac4c1383ae
bring cdmFeedTitle style in line with the rest of the UI
...
send headline rows as separate JSON objects
10 years ago
Andrew Dolgov
48fefe2f6b
fixes for first_id stuff
10 years ago
Andrew Dolgov
ec57104d6e
apparently it's a bad idea to do is_resource() on a mysqli result
10 years ago
Andrew Dolgov
3444020100
report top id changed in headlines buffer
10 years ago
Andrew Dolgov
f5a0fb8b64
queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating
10 years ago
Andrew Dolgov
9090b874ab
simplify search, remove search_mode as useless
...
remove dialog to select by tags, simplify browsing by tag query
10 years ago
Andrew Dolgov
b6714c77d2
limit smart_date_time stuff to headlines only
10 years ago