Commit Graph

514 Commits

Author SHA1 Message Date
Andrew Dolgov 0b8fef8262 combined unexpanded: respect 'SHOW_CONTENT_PREVIEW' preference 2018-12-04 10:47:50 +03:00
Andrew Dolgov 27b93988e7 add placeholder loading indicator to CDM entries
restore missing "originally from" for archived articles
2018-12-03 20:05:11 +03:00
Andrew Dolgov e76d1fb995 plugins: mail, mailto: remove code from global context 2018-12-03 14:21:50 +03:00
wn_ 6100392bd5 Fix an `onclick` (`Article.editArticleTags` --> `Article.editTags`) 2018-12-02 16:02:03 -06:00
Andrew Dolgov 5ead558e43 move Utils to AppBase where it belongs 2018-12-02 22:08:18 +03:00
Andrew Dolgov ad1b6f0a86 bring back excerpts in unexpanded mode 2018-12-02 19:04:53 +03:00
Andrew Dolgov 874560db54 remove obsolete row selection functions
move getUrlParam() to Utils
2018-12-02 10:33:58 +03:00
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
2018-12-02 08:57:22 +03:00
Andrew Dolgov 6e625555c9 Headlines: shorten selectArticles 2018-12-02 08:34:08 +03:00
Andrew Dolgov 3678315bea Article, Headlines: shorten several method names 2018-12-02 08:32:13 +03:00
Andrew Dolgov cc26be0793 migrate tt-rss.js contents to App 2018-12-01 21:51:00 +03:00
Andrew Dolgov ab0fadf60d fix vfeed group title CSS in not combined mode 2018-12-01 21:08:15 +03:00
Andrew Dolgov 642c37ea61 further effocts to wrap JS stuff into objects 2018-12-01 21:01:53 +03:00
Andrew Dolgov 4bed9be57d js-ification: start on some common dialogs 2018-12-01 18:25:32 +03:00
Andrew Dolgov 97df81d8d9 even more objectification of JS 2018-12-01 17:54:16 +03:00
Andrew Dolgov d86ddbc635 further objectification of JS code 2018-12-01 17:21:26 +03:00
Andrew Dolgov 049a37aa0e WIP reshuffling of JS global context into separate logical objects 2018-12-01 17:05:35 +03:00
Andrew Dolgov 195180b64d minor refactoring: normalize some function names; cleanup; etc 2018-12-01 11:18:35 +03:00
Andrew Dolgov a2ef54cd92 toggleMark, togglePub: refactor implementation
shorten marked/published img CSS classes
2018-12-01 08:20:09 +03:00
Andrew Dolgov 5aa9c60494 bring back (debloated) version of unexpanded combined mode 2018-12-01 01:03:01 +03:00
Andrew Dolgov 2e01a1d41d css updates; night theme fixes for changed CSS classes 2018-11-30 17:42:38 +03:00
Andrew Dolgov 07fd4f8d9d minor css fixes (mostly for zoom mode) 2018-11-30 17:22:30 +03:00
Andrew Dolgov 8359ca6dad combined mode (and more) css class name updates 2018-11-30 15:48:17 +03:00
Andrew Dolgov 5f211e37a4 remove FTITLE- id 2018-11-30 14:53:58 +03:00
Andrew Dolgov 67cdf4cf12 remove some unnecessary element IDs
rework plugins/note to use xhrJson()
2018-11-30 14:39:06 +03:00
Andrew Dolgov b9585004e6 packed headlines: no point in using JSON here 2018-11-30 13:56:33 +03:00
Andrew Dolgov 7673331850 headlines: remove collapseBtn 2018-11-30 13:53:58 +03:00
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 2018-11-30 13:51:54 +03:00
Andrew Dolgov c8c9a26f30 move to simpler CDM handling of encoded content (instead of CENCW... etc) 2018-11-30 13:26:41 +03:00
Andrew Dolgov c10a43069e debug logging system rework:
* support various logging levels per-message
 * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
 * _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov 4508e3103d some more eslint-related stuff 2018-11-29 21:03:55 +03:00
Andrew Dolgov 3a0292303e php: remove trailing whitespaces 2018-11-03 15:08:43 +03:00
Andrew Dolgov 2aef804f4b split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently 2018-08-20 12:12:32 +03:00
MatthieuS 5d95676ecc Call the subscription hook from the plugins even if fetch_file_contents returned no data
This allows a plug-in to override the fetch when the core fetch method fails for some feeds (eg. Tumblr feeds when requested from an EU IP).
2018-05-23 09:00:04 +00:00
Andrew Dolgov c30f5e1811 subscribe_to_feed: force-cast login and password to string 2018-01-05 06:50:37 +03:00
Andrew Dolgov 8dedacf497 remove synchronous feed refreshing on ForceUpdate 2017-12-31 07:37:49 +03:00
Andrew Dolgov bed2d6e054 force-cast some variables used in queries to integer
do not display SQL query in headlines debug mode
2017-12-17 16:24:13 +03:00
Andrew Dolgov 0f05147531 properly highlight search keywords containing forward slash 2017-12-15 08:33:59 +03:00
Andrew Dolgov ef1feb3610 subscribe dialog: add primary action 2017-12-11 18:43:53 +03:00
Andrew Dolgov 6fb5ce5e35 add some primary dialog actions; update css 2017-12-11 18:36:36 +03:00
Andrew Dolgov 5f7be9957f filter,label dlg: use default action 2017-12-11 18:23:30 +03:00
Andrew Dolgov 320a3ba529 search form: set default action 2017-12-11 18:14:45 +03:00
Andrew Dolgov 1c1fc17120 synchronous feed update: catch PDO exceptions as to not break headlines output 2017-12-10 21:10:19 +03:00
Andrew Dolgov 8f92a67e6f some (very minor) code cleanup in feeds class 2017-12-04 10:39:50 +03:00
Andrew Dolgov 003a7447c3 format_headlines_list: prevent warning on first_id changed check 2017-12-04 10:26:22 +03:00
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 2017-12-03 23:08:04 +03:00
Andrew Dolgov fa3bcfa379 queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
2017-12-03 22:49:57 +03:00
Andrew Dolgov 5f5b0de423 style feed icon and opml file upload controls 2017-12-03 22:35:12 +03:00
Andrew Dolgov 1f16f9b8ae feed debugger: only allow debugging users own feeds 2017-12-03 13:35:18 +03:00
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 2017-12-03 13:25:34 +03:00
Andrew Dolgov 64312bfd71 feeds: remove sql_bool_to_bool() 2017-12-03 09:44:08 +03:00
Andrew Dolgov 187abfe732 main classes: remove sql_bool_to_bool() kludge 2017-12-03 09:35:59 +03:00
Andrew Dolgov aee3f0e6d9 fix typo 2017-12-01 22:07:39 +03:00
Andrew Dolgov 7fc303e6ab query feed headlines: fix limit/offset 2017-12-01 21:07:55 +03:00
Andrew Dolgov 3623ebb1a1 feeds: handle escaping 2017-12-01 20:52:30 +03:00
Andrew Dolgov c9b6ca8b70 feeds: remove escaping 2017-12-01 20:26:51 +03:00
Andrew Dolgov b5791f11c5 queryfeedheadlines: PDOize (1) 2017-12-01 20:25:13 +03:00
Andrew Dolgov 29f1908e03 feeds: right before queryfeedheadlines() 2017-12-01 20:15:25 +03:00
Andrew Dolgov cc9450c309 ccache, misc: fixes
feeds: start PDO transition
2017-12-01 19:42:02 +03:00
Gilles Grandou 81d96c0dee makes 'order by title' to sort by title and by ascending date
* this allows to chronologically browse all articles with the
  same title.
2017-10-09 22:50:03 +02:00
Andrew Dolgov 51b521c326 fix batch feed editor using wrong SQL syntax when saving feed password
remove uses of auth_pass_encrypted in several other places
2017-10-06 09:22:04 +03:00
Andrew Dolgov e50a647916 add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
Feeds::format_headlines_list: add some comments for cdm article closing tags
2017-05-26 23:22:00 +03:00
Andrew Dolgov e6c886bf66 wrap rssfuncs into rssutils class 2017-05-05 18:10:07 +03:00
Andrew Dolgov 7c9b5a3fe4 move label stuff to Labels class
fix some unresolved functions
2017-05-04 15:57:40 +03:00
Andrew Dolgov 0086a89740 move some label stuff to labels.php
move getfeedcategory() to Feeds
2017-05-04 15:36:36 +03:00
Andrew Dolgov 4a0da0e5bf move get_article_labels to Article 2017-05-04 15:26:21 +03:00
Andrew Dolgov 2ed0d6c433 move counter cache to a separate class
fix references to get_article_tags
2017-05-04 15:22:57 +03:00
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
2017-05-04 15:13:02 +03:00
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) {
2017-05-04 15:00:21 +03:00
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) {
2017-05-04 14:50:56 +03:00
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) {
2017-05-04 14:38:45 +03:00
Andrew Dolgov 4122da0290 move getArticleFeed to Article
move print_label_select to controls
2017-05-04 14:26:44 +03:00
Andrew Dolgov 7b55001eee fix various issues reported by static analysis
update gitlab-ci config
2017-04-26 15:29:22 +03:00
Andrew Dolgov 337535416f filter by search results while marking feed as read 2017-03-31 11:21:35 +03:00
Andrew Dolgov 63f0ed3d9c cdmClicked: do not use event.target.parents to figure out if clicked on a heading 2017-03-06 12:19:13 +03:00
Andrew Dolgov b835a52814 rework the way headlines menus identify calling row 2017-02-17 09:01:45 +03:00
Andrew Dolgov 5161460048 bind headlines menu to a selector to avoid remaking it unnecessarily 2017-02-13 23:36:58 +03:00
Jérémy DECOOL ba2853caac Prevent target='_blank' vulnerability on dynamic link 2017-02-12 11:01:36 +01:00
Andrew Dolgov 328118d12e use print_hidden() for hidden dojo form fields 2017-02-10 14:36:21 +03:00
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
2017-01-28 12:45:49 +03:00
Andrew Dolgov ad326dbf78 unpackVisibleHeadlines: do not iterate over all RROWs all the time 2017-01-22 20:57:16 +03:00
Andrew Dolgov 967f0619c7 force ngettext() count argument type to string 2017-01-22 10:18:43 +03:00
Andrew Dolgov 6b06a609af headlines toolbar: move selection links into the dropdown 2017-01-07 17:03:58 +03:00
Andrew Dolgov c9a5903bcc disable autocomplete in subscription dialog 2016-05-18 14:48:51 +03:00
Andrew Dolgov b6b5554db4 normalize some html5 custom attributes 2016-03-22 23:43:32 +03:00
Andrew Dolgov 2d052e42b5 getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats
2016-03-22 23:22:28 +03:00
Andrew Dolgov d9de136c39 inline feed update: set feed as needing update if open_basedir is set + plugins need curl 2016-01-30 13:40:56 +03:00
Andrew Dolgov 71b75bb7fa fix multiple issues with archived feeds 2016-01-26 19:03:05 +03:00
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)
2016-01-26 11:45:47 +03:00
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) 2016-01-23 12:13:03 +03:00
Andrew Dolgov f61f2a2699 format_headlines_list: fix pg_num_rows() called incorrectly when firstid check failed 2015-12-05 04:04:44 +03:00
Andrew Dolgov 1bd552ee31 compat patches for php7 2015-12-04 09:29:58 +03:00
Andrew Dolgov 19e47ad60b queryFeedHeadlines: don't check first_id when sorting by oldest first 2015-11-21 22:20:00 +03:00
Andrew Dolgov dcbe36b2a2 fix some remaining old-style viewfeed() calls 2015-08-13 09:51:39 +03:00
Andrew Dolgov 90da4ada66 move attachments back to cdm content 2015-08-12 08:29:09 +03:00
Andrew Dolgov 6901ec6659 fix subtoolbar links lack of margin 2015-08-11 18:19:04 +03:00
Andrew Dolgov bc20cb9fad move attachment dropdown to cdmFooter, use table styles for cdmFooter 2015-08-11 15:30:17 +03:00
Andrew Dolgov 6810a1de42 use dijit form widget for attachments dropdown 2015-08-11 14:53:07 +03:00
Andrew Dolgov 60e680599d allow selecting stemming language in search dialog 2015-08-04 13:53:48 +03:00
Andrew Dolgov 0d0cb8fe1e fix missing cdmFeedTitle 2015-07-13 23:06:42 +03:00
Andrew Dolgov 33c4bd8968 fix error feed (i.e. when requested feed no longer exists) not display properly 2015-07-13 22:04:21 +03:00
Andrew Dolgov f17069960c roll back separate headline transport 2015-07-13 22:01:29 +03:00
Andrew Dolgov 6b954c0a83 fix dashboard feed 2015-07-13 18:43:54 +03:00
Andrew Dolgov 9f5eca992b headlines: fix whitebox reply not returned in an updated format 2015-07-13 13:29:13 +03:00
Andrew Dolgov ac4c1383ae bring cdmFeedTitle style in line with the rest of the UI
send headline rows as separate JSON objects
2015-07-13 01:19:52 +03:00
Andrew Dolgov 48fefe2f6b fixes for first_id stuff 2015-07-12 18:08:02 +03:00
Andrew Dolgov ec57104d6e apparently it's a bad idea to do is_resource() on a mysqli result 2015-07-12 14:23:32 +03:00
Andrew Dolgov 3444020100 report top id changed in headlines buffer 2015-07-12 12:01:34 +03:00
Andrew Dolgov f5a0fb8b64 queryFeedHeadlines: move to array-based arguments, optionally check if first element changed when paginating 2015-07-12 01:29:36 +03:00
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
2015-07-07 15:59:32 +03:00
Andrew Dolgov b6714c77d2 limit smart_date_time stuff to headlines only 2015-07-03 23:36:47 +03:00
Andrew Dolgov 5a45821ec9 prevent event propagation when clicking on CDM article footer 2015-06-18 16:00:03 +03:00
Andrew Dolgov 86b05f8661 better feed debugger ui for f D 2015-06-12 13:06:36 +03:00
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 2015-06-07 18:41:18 +03:00
Matthieu Sarter 469d9ad16a Added a "title" attribute in the link to an article.
Added a "title" attribute in the link to an article.
Makes TTRSS more usable on a small windows, allowing to see the complete title of an article in the tooltip, without opening the article.
2015-03-21 14:49:38 +01:00
Andrew Dolgov 7eb87b80d5 add pluginhost HOOK_HEADLINES_BEFORE (refs #814) 2014-08-19 14:24:34 +04:00
Pavel Voronin 647a39ddf3 Copypaste error fix 2014-08-18 15:22:02 +04:00
Rob Hoelz baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
Andrew Dolgov 8993937d13 fix alignment of a feed error icon in headlines subtoolbar 2014-03-26 14:30:54 +04:00
Grant Pannell a0d9bc160f Fix end tag for small feed icons when using combined display mode 2014-03-21 20:47:34 +10:30
Andrew Dolgov ad593e4393 disable headlines grouping for recently read vfeed 2014-03-13 01:07:52 +04:00
Andrew Dolgov 4a80c57c50 remove some unused code reported by phpmd 2014-02-19 15:42:52 +04:00
Andrew Dolgov 878a0083ff revert max ui feed title length, tweak truncate_string a bit 2014-02-02 23:17:13 +04:00
Andrew Dolgov 66684d8149 subtoolbar: layout fix, shorten max feed title length 2014-02-02 19:56:51 +04:00
Andrew Dolgov 029005c49b minor style updates to make 3panel headlines mode look closer to cdm 2014-01-29 00:21:57 +04:00
Andrew Dolgov 4e2f219c16 fix selected prompt position 2014-01-27 22:27:31 +04:00
Andrew Dolgov 1bffd1068f unify main and headlines toolbar 2014-01-27 22:03:42 +04:00
Andrew Dolgov d44f3da4be default theme updates 2014-01-27 19:03:35 +04:00
Andrew Dolgov bf5bcb8e27 queryFeedHeadlines: remove obsolete content_preview 2013-11-29 13:54:30 +04:00
Andrew Dolgov 4ad04ee227 report all libxml errors in updater debug output
force utf8 encoding if devforceupdate is on
parser: try to convert non-unicode feeds with specified encoding to utf8
before trying to remove dangling utf8 characters in case of utf8-related
libxml errors because doing so produces garbage content
2013-10-29 12:15:26 +04:00
Andrew Dolgov 87065739cd add context menu for cdmFeedTitle; change mark as read prompt for grouped headlines more clear 2013-10-17 13:38:48 +04:00
Andrew Dolgov 8f7a020e1b add notification to subscribe dialog when multiple feeds are detected 2013-10-02 15:24:08 +04:00
Andrew Dolgov 19ab809633 add i18n to the search syntax link 2013-09-02 13:54:41 +04:00
Andrew Dolgov ff04fe0625 use plurals for comment/comments link in article, properly translate comments string, add feed title to article in zoom mode 2013-09-02 12:58:14 +04:00
Andrew Dolgov 910592b49a add plugin to cache images in starred articles; pass article_id to
sanitize
2013-08-02 14:04:14 +04:00
Andrew Dolgov 34dad84414 support term highlighting in cdm title 2013-07-31 16:41:06 +04:00
Andrew Dolgov dd90eb2c7a search keyword highlighting (combined mode only) 2013-07-31 14:53:34 +04:00
Andrew Dolgov 07eb36583c lang: default to 'en' 2013-07-31 11:57:11 +04:00
Andrew Dolgov 6b4617970f add text_languagedetect to guess article language for better hyphenation
(bump schema)
2013-07-31 10:30:17 +04:00
Andrew Dolgov ac57b9dd19 add experimental css hyphens support for english language 2013-07-26 18:26:28 +04:00
Andrew Dolgov 12d17734f6 properly escape feed error message in headlines toolbar 2013-07-13 22:14:18 +04:00
Andrew Dolgov 7a7a0dc2dd make cdmExcert respect SHOW_CONTENT_PREVIEW 2013-07-12 18:36:17 +04:00
Andrew Dolgov 1a545dcb44 mark feed with error in headlines toolbar, use error icon in feed editor 2013-07-12 12:38:50 +04:00
Andrew Dolgov 65f0eb01aa support headlines context menu in floating title 2013-07-11 16:49:25 +04:00
Andrew Dolgov 6bd7913e20 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 2013-07-10 16:56:11 +04:00
Andrew Dolgov 4ab1eb9c94 move reassigning content_preview after hook to a more sensible place 2013-07-10 16:52:03 +04:00
Andrew Dolgov f48d89fd58 Merge branch 'hookhead' of git://github.com/justauserx/Tiny-Tiny-RSS into justauserx-hookhead 2013-07-10 16:41:48 +04:00
Andrew Dolgov 6371963dbc use error image for feed errors in headlines toolbar 2013-07-10 14:18:24 +04:00
Andrew Dolgov 2f20dd58d2 integrate silk icons by Mark James 2013-07-10 13:09:12 +04:00
justauser 425a6edc6b forgot one file 2013-07-10 04:24:29 -04:00
justauser 3b96b0ed7c Merge branch 'master' into hookhead
Conflicts:
	include/functions.php

changes for conflicts with master
2013-07-07 13:57:06 -04:00
Andrew Dolgov 4b7ebe93a8 fix broken highlighting of high-scored rows 2013-07-06 12:34:58 +04:00
Andrew Dolgov e9687f67e0 date_reverse view mode: take scoring into account 2013-07-06 12:03:01 +04:00
justauser 6763143835 Changed the implementation of HOOK_QUERY_HEADLINES to deal with issue Fox raised 2013-06-28 10:46:45 -04:00
Andrew Dolgov fac0964053 do not show lone dash in collapsed cdm when content preview is disabled 2013-06-27 21:05:10 +04:00
justauser 2e18843845 one more change to merge to origin 2013-06-27 12:21:14 -04:00
justauser 0708046b4f change for HOOK_QUERY_HEADLINES. See example for details. 2013-06-27 12:01:57 -04:00
justauser 7171f32dc5 Merge remote-tracking branch 'origin' into hookhead
Conflicts:
	classes/feeds.php

fix for merging up to the origin
2013-06-27 11:57:49 -04:00
justauser 891e36f57e Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided. 2013-06-27 11:18:23 -04:00
Andrew Dolgov 08820be70b add experimental floating title when scrolling long articles in combined mode 2013-06-05 22:20:22 +04:00
supahgreg 13e283ed45 Exclude the article author from the cdm title link 2013-05-15 11:39:23 -05:00
Andrew Dolgov d310348460 remove gradients, update favicon avg color display 2013-05-07 19:39:04 +04:00
Andrew Dolgov 14c53e4e60 tweak visual for headlines 2013-05-07 18:47:35 +04:00
Andrew Dolgov 8d090a910b use css nth-child instead of old even/odd class hacks for normal mode 2013-05-04 12:01:53 +04:00
Andrew Dolgov 54b7590c7f format_article_tags: improve performance 2013-05-02 10:20:56 +04:00
Andrew Dolgov f8a25082b3 make tag cache processing faster in cdm 2013-05-02 10:09:01 +04:00
Andrew Dolgov 27372ddac6 fix editArticleTags() call broken on archived feed 2013-04-30 20:07:08 +04:00
Andrew Dolgov 5e1f7be5f1 enlarge headline excerpt length 2013-04-27 18:01:36 +04:00
Andrew Dolgov 90e5f4f1de base if-modified-since on last received article, not feed update timestamp 2013-04-25 18:42:48 +04:00
Andrew Dolgov 90a372f51d fix warning when creating feed last updated timestamp 2013-04-25 18:02:34 +04:00
Andrew Dolgov 6e3e8db915 subtoolbar: add last updated when hovering over originating site link 2013-04-25 16:27:33 +04:00
Andrew Dolgov db29ea0d8d correct faildient case 2013-04-24 15:08:37 +04:00
Andrew Dolgov 7d90d06de0 do not try to draw a fail-gradient (faildient?) 2013-04-24 15:07:23 +04:00
supahgreg 6704bb2cb9 minor: remove an unnecessary quotation mark 2013-04-23 07:54:41 -05:00
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 2013-04-18 12:27:34 +04:00
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 2013-04-17 20:12:14 +04:00
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 2013-04-17 18:34:18 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 86f7d2a9f2 make gradient less visible on read headlines 2013-04-15 18:09:48 +04:00
Andrew Dolgov 12a6bd28ac remove hsl stuff from classes/feeds, we take care of this when choosing the color 2013-04-15 17:07:06 +04:00
Andrew Dolgov e7480cc13b do not color predominantly white/black rows 2013-04-15 15:56:08 +04:00
Andrew Dolgov bfaf90e364 add row backgrounds in normal mode 2013-04-15 15:38:05 +04:00
Andrew Dolgov 85eea71e0e use w3c gradient definition 2013-04-15 15:34:47 +04:00
Andrew Dolgov e0deff3933 implement basic moz gradient for feedicon color 2013-04-15 15:27:35 +04:00
Andrew Dolgov 63c323f736 only enable colored favicons in vfeeds; fix RGB triplet packing 2013-04-15 15:17:12 +04:00
moontear 2cfbb448fb Added average color calculation of feeds' favicons for banded display. 2013-04-15 12:28:52 +02:00
Andrew Dolgov e43a9c4a01 add a %d articles selected element 2013-04-15 13:16:14 +04:00
Andrew Dolgov 884f2aee91 use mdash as a separator between title and author 2013-04-15 12:57:52 +04:00
Andrew Dolgov 3ab417c277 remove label gradients 2013-04-12 15:02:44 +04:00
Andrew Dolgov ccb2b8dd42 add HOOK_ARTICLE_LEFT_BUTTON 2013-04-09 16:46:56 +04:00
Andrew Dolgov 035d7a5a8f implement support for multiple pub/mark buttons, add plugin which adds a separate mark button to article botton in combined mode (closes #382) 2013-04-09 16:13:32 +04:00
Andrew Dolgov 814fa4ef11 Revert "remove RTITLE"
This reverts commit ecac674ade.
2013-04-07 01:09:46 +04:00
Andrew Dolgov ecac674ade remove RTITLE 2013-04-07 01:04:32 +04:00
Andrew Dolgov 7e27c91409 remove RCHK 2013-04-07 00:52:39 +04:00
Andrew Dolgov f3b2e7d41f add back sorting by title 2013-04-04 20:44:55 +04:00
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 2013-04-02 15:32:47 +04:00
Andrew Dolgov 8d192d025b update 'no articles in label' hint 2013-04-02 10:21:45 +04:00
Andrew Dolgov ceb7847108 add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON 2013-04-01 18:06:09 +04:00
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 2013-04-01 13:02:29 +04:00
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 2013-04-01 11:14:27 +04:00
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 2013-04-01 10:47:41 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov 3dd0306f3e subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function 2013-03-31 15:39:10 +04:00
Andrew Dolgov a7c0e150b6 fix invisible active headline in 3pane mode 2013-03-29 23:04:27 +04:00
Andrew Dolgov a0ddecb98d remove cdm tiles; update cdm stylesheet as to stop reading on yellow 2013-03-29 18:53:16 +04:00
Andrew Dolgov e92a353b1f feeds: fix browsing by labels broken by pfeeds 2013-03-28 23:34:35 +04:00
Andrew Dolgov 19a206578f fix date_reverse sorting 2013-03-28 21:40:11 +04:00
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 2013-03-28 20:51:06 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov 250b2e10cb use new double-date sorting in non-default sorting modes 2013-03-28 19:30:07 +04:00
Andrew Dolgov 919984a436 css cleanup; change notify css a bit 2013-03-27 22:24:26 +04:00
Andrew Dolgov a413f53ebf add experimental base for plugin vfeeds (3 pane mode not yet
implemented)
2013-03-27 16:15:25 +04:00
Andrew Dolgov af2941dbb3 truncate feed title length in vfeeds 2013-03-27 14:20:11 +04:00
Andrew Dolgov be574731fc modify sorting by date_entered: set date_entered per-batch; use updated as a secondary criteria 2013-03-27 13:34:04 +04:00
Andrew Dolgov f822a8e56c experimentally rebase labels; make base index configurable 2013-03-27 09:40:07 +04:00
Andrew Dolgov d2f3467bb6 add a simple appearing preview for unexpanded cdm and normal mode 2013-03-25 16:09:05 +04:00
Andrew Dolgov bf1dc420b9 Revert "title escaping: do not double-encode entities"
This reverts commit d6ce708930.
2013-03-23 10:49:50 +04:00
Andrew Dolgov d6ce708930 title escaping: do not double-encode entities 2013-03-23 09:44:52 +04:00
Andrew Dolgov 06b0777fa7 feeds/view: periodically bump login timestamp 2013-03-22 12:37:42 +04:00
Andrew Dolgov 5defc29ff8 remove PTITLE kludge; use ajax 2013-03-22 09:49:45 +04:00
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 2013-03-22 09:14:55 +04:00
Joschasa b830cca7ee In "normal mode" don't show feed title, when articles are grouped by feed
Got removed here: e17e99fbcf
2013-03-21 20:22:04 +01:00
Andrew Dolgov 33de3d37af make sure rendering image enclosures respect hide_image setting 2013-03-21 15:37:08 +04:00
Andrew Dolgov b74c513428 experimental: limit initialized html content for expanded cdm 2013-03-21 10:34:39 +04:00
Joschasa ca5d9be49f Remove deprecated $match_on 2013-03-21 00:36:30 +01:00
Joschasa 2a3b6de0ef remove deprecated theme_image() 2013-03-20 22:59:08 +01:00
Andrew Dolgov f0540b598a add a hack to prevent loading of stuff for hidden content in unexpanded combined mode (refs #602) 2013-03-20 13:17:48 +04:00
Andrew Dolgov 3ac153f1b3 update styling for unexpanded cdm; misc fixes related to collapsing 2013-03-20 10:59:12 +04:00
Andrew Dolgov 414191d428 make a separate headline button to collapse current article in
unexpanded cdm mode; modify a q hotkey to collapse article in unexpanded
mode and dismiss article in expanded mode
2013-03-20 10:22:15 +04:00
Andrew Dolgov bfd61d3f85 rework STRIP_IMAGES to remove embedding; add per-feed control over embedded images (bump schema) 2013-03-19 22:41:10 +04:00
Andrew Dolgov 36b4cf2f64 tweak vfeed grouped title display a bit to make it more similar to other modes 2013-03-19 20:37:04 +04:00
Andrew Dolgov 1d5cf085a3 implement mail plugin using mailto: links; deprecate mail plugin 2013-03-19 18:32:49 +04:00
Andrew Dolgov 82d69730cb rename titleAuthor to author to unify class names with normal mode 2013-03-19 00:50:20 +04:00
Daniel Andersson b5459be1f2 Enable styling of author in feed item title by adding span class. 2013-03-18 20:57:41 +01:00
Andrew Dolgov 08dfc22391 in combined mode, when viewing vfeeds relative urls are rewritten incorrectly (fixes #586) 2013-03-18 15:42:28 +04:00
Andrew Dolgov cf2f643edb hlFeed: remove unnecessary br 2013-03-17 16:35:05 +04:00
Andrew Dolgov e17e99fbcf add back vfeed title display, optimize layout; do some layout tweaks on combined mode 2013-03-16 17:17:55 +04:00
Andrew Dolgov d56ec7005e cdm: fix alignment of feed title in vfeeds 2013-03-16 16:59:31 +04:00
Andrew Dolgov 8349a32e75 remove cache_content remnants 2013-03-16 16:11:58 +04:00
Andrew Dolgov bb9c6cc513 disable label row gradient in cdm, looks weird 2013-03-16 14:30:25 +04:00
Andrew Dolgov b251d917c7 remove gray/white content tiling in cdm because headers make a better job to distinguish between posts 2013-03-16 13:52:27 +04:00
Andrew Dolgov bdb7d62e9f tweak cdm header button alignment 2013-03-16 13:38:50 +04:00
Andrew Dolgov ef69681b93 enable feed titles in vfeeds in combined mode, align to date 2013-03-13 12:33:59 +04:00
Andrew Dolgov b999f4c75a slightly better article note display in CDM 2013-02-28 16:23:33 +04:00
Andrew Dolgov b389aeb7fc headlines renderer: do not attach topmost article ids 2013-02-28 16:09:41 +04:00
Andrew Dolgov 524de8dcf6 Revert "headlines buffer: remove dijit-based RCHK elements"
This reverts commit f7945c99d0.
2013-02-28 15:48:09 +04:00
Andrew Dolgov f7945c99d0 headlines buffer: remove dijit-based RCHK elements 2013-02-28 15:04:33 +04:00
Andrew Dolgov 831408f0e8 fix cdm checkbox not selecting entire cell 2013-02-28 14:22:13 +04:00
Andrew Dolgov fa9e88c367 replace getmicrotime() wrapper with microtime(true) 2013-02-27 22:16:58 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00