Commit Graph

1007 Commits (5c7416458f76f83a46e4c39a8697ebaed08bce3d)

Author SHA1 Message Date
wn_ 87850ca1aa Fix 'document.onkeydown' handler 6 years ago
Andrew Dolgov d9c5c93cef move some more stuff out of common.js
rework client-side cookie functions a bit
limit dojo cachebust based on server scripts modification time
remove param_escape()
6 years ago
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 6 years ago
Andrew Dolgov 807ff07454 split main objects to dojo modules 6 years ago
Andrew Dolgov fda3ad39c8 split several utility objects into separate dojo modules 6 years ago
Andrew Dolgov 35ded4bc84 edit phrasing of some alert()s 6 years ago
Andrew Dolgov 3a6dae9203 prefs: more of the same, really 6 years ago
Andrew Dolgov b9869dbc01 prefs: remove some more stuff from global context (user management, etc) 6 years ago
Andrew Dolgov 58e54282d3 prefs: move more global functions into matching classes 6 years ago
Andrew Dolgov f26d404890 prefs: move other tree-related functions to respective trees 6 years ago
Andrew Dolgov 60cd467694 embed some pref-feed helper functions into the tree 6 years ago
Andrew Dolgov 2e985d1733 move some label helper functions to prefLabelTree 6 years ago
Andrew Dolgov e23b6e397d prefs: store active tab for reload, remove most old table row functions 6 years ago
Andrew Dolgov aa2f119eb6 remove getSelectedTableRowIds (Tables.getSelected) 6 years ago
Andrew Dolgov 874560db54 remove obsolete row selection functions
move getUrlParam() to Utils
6 years ago
Andrew Dolgov 2f85b50e36 remove toggleSelectListRow2() 6 years ago
Andrew Dolgov 8ea3a75df0 filters: simplify list row selection for checkboxes (properly) 6 years ago
Andrew Dolgov fb64726854 filters: simplify list row selection for checkboxes 6 years ago
Andrew Dolgov da9f83c4ac filter dialog fixes 6 years ago
Andrew Dolgov 1930f0e4e0 toggleSelect(etc): properly check for headlines object 6 years ago
Andrew Dolgov 0a18d0b1ed Feeds: shorten some method names
finally rename "view as rss"
6 years ago
Andrew Dolgov 6e625555c9 Headlines: shorten selectArticles 6 years ago
Andrew Dolgov 3678315bea Article, Headlines: shorten several method names 6 years ago
Andrew Dolgov d8ac5474ec onLoaded: since we call scroll handler anyway, remove fill up hack 6 years ago
Andrew Dolgov e5f3b75540 fix some minor linter problems 6 years ago
Andrew Dolgov 1e2d4410d3 move some more shared stuff to CommonDialogs, Filters, and Utils 6 years ago
Andrew Dolgov 4b492cc93e clear _infscroll_timeout when headlines are loaded 6 years ago
Andrew Dolgov bc96eac2ac addLabel -> CommonDialogs 6 years ago
Andrew Dolgov 2cd23e344c create headlines spacer with document.createElement() 6 years ago
Andrew Dolgov 6c110c1ceb headlines scroll handler: don't autoselect anything if feed was just opened 6 years ago
Andrew Dolgov de9509cd31 hotkeys: simplify prefix timeout handling 6 years ago
Andrew Dolgov b284e72d63 openArticleInNewWindow: also, set it active 6 years ago
Andrew Dolgov cc26be0793 migrate tt-rss.js contents to App 6 years ago
Andrew Dolgov 642c37ea61 further effocts to wrap JS stuff into objects 6 years ago
Andrew Dolgov 4bed9be57d js-ification: start on some common dialogs 6 years ago
Andrew Dolgov 44d3aedd38 prefs: hotkey handler to App 6 years ago
Andrew Dolgov ff708a9357 prefs: initial objectification 6 years ago
Andrew Dolgov b9984c0ed6 revert wrong changes in prefs.js 6 years ago
Andrew Dolgov 18868fb7ac remove counters_last_request from globals 6 years ago
Andrew Dolgov 97df81d8d9 even more objectification of JS 6 years ago
Andrew Dolgov 1d82bd4f19 further objectification 6 years ago
Andrew Dolgov 072c03fbac cdmClicked: backport master change to click on links 6 years ago
Andrew Dolgov 00cd4a48d4 Feeds -> this 6 years ago
Andrew Dolgov d86ddbc635 further objectification of JS code 6 years ago
Andrew Dolgov 049a37aa0e WIP reshuffling of JS global context into separate logical objects 6 years ago
Andrew Dolgov 4dbbd45caf enable floating title in unexpanded mode 6 years ago
Andrew Dolgov 468faee635 viewfeed: remove (tons of) obsolete code 6 years ago
Andrew Dolgov 069ecb6c2e viewfeed: catchup batched articles before opening next feed 6 years ago
Andrew Dolgov 710d06a288 catchup batching:
* behave better if invoked during an infinite scroll request
* flush catchup batch when article is selected manually
6 years ago
Andrew Dolgov 195180b64d minor refactoring: normalize some function names; cleanup; etc 6 years ago
Andrew Dolgov e720e6b628 remove infobox_callback2 6 years ago
Andrew Dolgov c151607b91 unpackVisibleHeadlines: increase lookahead distance 6 years ago
Andrew Dolgov b87b4287b7 scroll handler: fix loadMoreHeadlines() not being called 6 years ago
Andrew Dolgov 523e1cb9e8 reduce headlines scrolling timeout 6 years ago
Andrew Dolgov e84adbba37 rate-limit headlinesScrollHandler via timeout instead of distance scrolled
minor floating title cleanup
6 years ago
Andrew Dolgov efd28bb3b7 add ngettext to globals 6 years ago
Andrew Dolgov 669077c6ad refactor selection toggle functions; other minor cleanup 6 years ago
Andrew Dolgov a2ef54cd92 toggleMark, togglePub: refactor implementation
shorten marked/published img CSS classes
6 years ago
Andrew Dolgov 3325979bf0 isCdmMode -> isCombinedMode 6 years ago
Andrew Dolgov 32d36d439c in unexpanded mode unpack article only when activated 6 years ago
Andrew Dolgov 8971b920ce getSelectedArticleIds2: return unique ids
setActiveArticleId: update selected prompt
6 years ago
Andrew Dolgov c155a9e1ef toggle_cdm_expanded: use xhrPost 6 years ago
Andrew Dolgov 5aa9c60494 bring back (debloated) version of unexpanded combined mode 6 years ago
Andrew Dolgov 1702ecf7ea cdmClicked: when clicked on article link, open it in background window even without ctrl 6 years ago
Andrew Dolgov e2b8c9273e first stage of headline element handling refactoring 6 years ago
Andrew Dolgov c1ee7035e6 </hurr> 6 years ago
Andrew Dolgov 137bc3b3db cdmScrollToArticle: set id as active if selected 6 years ago
Andrew Dolgov 08bee97858 cdmScrollToArticle: set article read on selection 6 years ago
Andrew Dolgov ebc09be79d moveToPost: set unread to false when article is selected 6 years ago
Andrew Dolgov 8359ca6dad combined mode (and more) css class name updates 6 years ago
Andrew Dolgov 2f961ee830 plugins: add some xhrPost refactoring 6 years ago
Andrew Dolgov 764434a491 remove remove_splash() 6 years ago
Andrew Dolgov 02ec3984bd replace 4 space indents with tabs 6 years ago
Andrew Dolgov 59f5335f56 unpackVisibleHeadlines: go ahead of the buffer position a bit (2) 6 years ago
Andrew Dolgov 58dee80ae5 unpackVisibleHeadlines: go ahead of the buffer position a bit 6 years ago
Andrew Dolgov 0c06bb5fe1 scroll handler: performance improvements 6 years ago
Andrew Dolgov b9585004e6 packed headlines: no point in using JSON here 6 years ago
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 6 years ago
Andrew Dolgov c8c9a26f30 move to simpler CDM handling of encoded content (instead of CENCW... etc) 6 years ago
Andrew Dolgov da1a3c2cc5 remove ok = confirm() thing 6 years ago
Andrew Dolgov fd752a79af finish xhrPost migration of js/ 6 years ago
Andrew Dolgov 7e8be97b66 remove duplicated code from hotkey actions handler
more xhrPost() refactoring
6 years ago
Andrew Dolgov 24c618dd6f editSelectedFeeds: fix missing unset checkboxes properly 6 years ago
Andrew Dolgov ef129fed2a some more xhrPost refactoring (batchEditSave WIP) 6 years ago
Andrew Dolgov fc0a3050eb use xhrPost is even more places! 6 years ago
Andrew Dolgov eaf7cfdba6 use xhrPost in even more places! 6 years ago
Andrew Dolgov 560b9fdd26 use xhrPost in more places 6 years ago
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 6 years ago
Andrew Dolgov 0267212454 move to let/const syntax in custom dojo modules 6 years ago
Andrew Dolgov 9dc5524df1 set dialogs to const 6 years ago
Andrew Dolgov 1b91bb4564 don't compare result with undefined seq 6 years ago
Andrew Dolgov 4508e3103d some more eslint-related stuff 6 years ago
Andrew Dolgov 8572e0108a declare globals with let 6 years ago
Andrew Dolgov 424e28db6b eslint-related fixes 6 years ago
Andrew Dolgov a3e2f1a9c3 define custom dojo modules with define() instead of require(), update startup module dependencies 6 years ago
Andrew Dolgov e35a46733f hlClicked: do not set headline selected when ctrl-clicking 7 years ago
Andrew Dolgov fa2e3b235a addLabel: remove unused active_tab 7 years ago
Andrew Dolgov d195c6a62e gotoExportOpml: js strict mode fix 7 years ago
wn_ a972ab45bd strict js: various var fixes 7 years ago
Andrew Dolgov ab688e963d viewfeed: remove force_nocache (unused) 7 years ago
Andrew Dolgov 7560e54e39 switchPanelMode: strict-mode fix for article_id 7 years ago
wn_ 30aa9743eb strict js: fix subscribing when HTML with multiple feeds
also a minor fix for response handling in quickAddFilter
7 years ago
wn_ a30f862de4 strict js: fix catchupBatchedArticles
This addresses the "Unread not removed from row" issue.
7 years ago
wn_ ad04bbf81d strict js: fix more dialog vars 7 years ago
wn_ 97f084c828 strict js: fix helpDialog 7 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 7 years ago
Andrew Dolgov f6269d1bc4 add special class for feeds with disabled updates 7 years ago
Andrew Dolgov 44eda8521e filter delete action/rule: fix selector syntax 7 years ago
Andrew Dolgov 0518510814 remove some obsolete stuff, fix minor issues found by code analyzer 7 years ago
Andrew Dolgov 8f92a67e6f some (very minor) code cleanup in feeds class 7 years ago
Andrew Dolgov fa3bcfa379 queryfeedheadlines: there's no need to quote order_by/override_order
else: feedicon cache busting etc
7 years ago
Andrew Dolgov 7c0eb1b621 add defaultPasswordWarning nag dialog 7 years ago
Andrew Dolgov b5bf9a0ff3 remove long forgotten stuff related to feed debugging actionbar 7 years ago
Andrew Dolgov fbe7cb0a48 rpc: switch to PDO 7 years ago
Andrew Dolgov 03c56b041f force-request counters on load once if bw_limit option is enabled (because there's no timeout()) 7 years ago
wn_ b5fc9781ad Don't display label context menu items if there are no labels.
Caused by: 5e78b0c253
See: https://discourse.tt-rss.org/t/label-options-sometimes-not-showing-in-context-menu/366
7 years ago
Andrew Dolgov 22adcd7466 request counters less times during startup, delay initial request in feedlist_init() a bit 7 years ago
Andrew Dolgov 5e78b0c253 do not base headlines label context submenu on feed tree labels category 7 years ago
Andrew Dolgov 267bcee32c quickAddFeed: fix legacy feed_id type being passed to newrule 8 years ago
Andrew Dolgov 12b7b90c70 prefs: reload after OPML import 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
Andrew Dolgov 5b6ea1ef91 remove pubsubhubbub: dead 8 years ago
Andrew Dolgov 7590f03961 feedtree.selectFeed: focus headlines-frame after selection 8 years ago
Andrew Dolgov 46b433933e hotkey_handler: one more tiny tweak 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 0a79531696 hotkey_handler: stop propagation of handled prefix/action events 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 270c0a00e5 improve JS error logging with additional stuff 8 years ago
Andrew Dolgov e0a957b3f6 use try/catch block in updatefeedlist
remove reporting function from exception dialog
8 years ago
Andrew Dolgov 1bfe1d7b31 simplify error handling
* 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
8 years ago
Andrew Dolgov b835a52814 rework the way headlines menus identify calling row 8 years ago
Andrew Dolgov ad7cea62e1 editFilter: fix selector expressions broken by 88946d3 8 years ago
Andrew Dolgov 79ec2f3efd set error report url to https 8 years ago
Andrew Dolgov 5161460048 bind headlines menu to a selector to avoid remaking it unnecessarily 8 years ago
Andrew Dolgov 20deb5fc32 cdmcollapse/expand: use less convoluted selector queries 8 years ago
Andrew Dolgov 70c0a8c2e0 pass several image files used in notify messages to frontend as base64 to prevent broken error messages in case network connection is down. also, update some close buttons to show correct cursor. 8 years ago
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 8 years ago
Andrew Dolgov 829d478f1b add some protection against opener attacks if external site is opened via window.open() 8 years ago
Andrew Dolgov 23c8ef7e36 parse_counters: skip subscribed-feeds id properly 8 years ago
Andrew Dolgov 6358d70d5e reset local counter cache when feed count changes 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 70c5b2bfcc feed tree: only run animation for appearing unread counters to prevent clashes with aux counter updating and animations ending up in wrong state 8 years ago
Andrew Dolgov 3bc1b53772 initHeadlinesMenu: remove unneeded output 8 years ago
Andrew Dolgov 974c6eb523 attach headline menu objects to correct DOM nodes in combined mode 8 years ago
Andrew Dolgov d5f74019ac parse_counters: cache previous reply and skip processing of unchanged rows (better implementation) 8 years ago
Andrew Dolgov a4e04c498f parse_counters: cache previous reply and skip processing of unchanged rows 8 years ago
Andrew Dolgov e1f7b05b52 reuse menu objects while appending headline rows 8 years ago
Andrew Dolgov b1a80693b1 collapse_feedlist: also toggle splitter 8 years ago
Anders Kaseorg 88946d331a Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov b7d63a58db fix loading indicator position/size for tree leafs 8 years ago
Andrew Dolgov 7fbc10c236 force-enable persist for feedTree 8 years ago
Andrew Dolgov e2e2479984 Merge branch 'dojo-1.12.1'
Conflicts:
	js/prefs.js
8 years ago
Andrew Dolgov ab235fc5f1 prefs: add updateSelectedPrompt shim called by toggleSelectedRow() 8 years ago
Andrew Dolgov 1c4f5e8390 add dependency on dojo/_base/html 8 years ago
Anders Kaseorg 6887a0f573 lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Anders Kaseorg 9f539be3c2 Replace deprecated dojo.place with domConstruct.place
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov 6293d3717c add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
8 years ago
Andrew Dolgov f04b12d8e7 category: swap context menu items 8 years ago
Andrew Dolgov acfee412a3 feed tree: add category context menu entry to un/collapse it 8 years ago
Andrew Dolgov d39a2f8005 switch modules to new dojo definition format 8 years ago
Andrew Dolgov 546b419f52 catch plugin JS errors 8 years ago
Andrew Dolgov fd539f2800 prefs: use dojo asynchronously 8 years ago
Andrew Dolgov 0dbc20a8d4 load dijit properly, duh 8 years ago
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 8 years ago
Andrew Dolgov 64c24ecb59 add hotkey for toggling VFEED_GROUP_BY_FEED preference 8 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 6be118fda1 showArticleInHeadlines: remove unused code 9 years ago
Andrew Dolgov c4e211046e updateFloatingMenu: performance improvements 9 years ago
Andrew Dolgov d7cc5e6cdd fix previous 9 years ago
Andrew Dolgov 63c7446a79 headlines scroll handler: add a rate limit 9 years ago
Andrew Dolgov 7c0d68f207 remove dismiss* functions 9 years ago
Andrew Dolgov a51bc3dfa5 catchupfeedingroup: do not remove elements 9 years ago
Andrew Dolgov 6056d164fa cleanup dismissArticle functions 9 years ago
Andrew Dolgov 11514d576f catchupFeedInGroup: dismiss elements on catchup 9 years ago
Andrew Dolgov dfaf806a7a catchupFeedInGroup: send catchup request even if there are no unread articles in the buffer for this feed 9 years ago
Andrew Dolgov 701de97ebb improvements for catchupFeedInGroup() 9 years ago
Kostiantyn Moroz 2757c49387 Make "open in new tab" hotkey handler support mac "cmd+click" way (non-expanded mode) 9 years ago
Andrew Dolgov 0b41bd3414 add some hacks to hopefully mitigate headlines memory leaks 9 years ago
Andrew Dolgov 9842b51c71 getfeedname: fix for non-numeric feeds (tags) 9 years ago
Andrew Dolgov 89bea945ce filters: add to previous on JS side 9 years ago
Andrew Dolgov d38cd41253 loadMoreHeadlines: use correct offsets for starred vfeed in adaptive mode 9 years ago
Andrew Dolgov a71e571b97 headlines_callback2: force prevent duplicate row ids 9 years ago
Andrew Dolgov f48f292d2b tweak filter preview layout a bit; allow previewing matched articles in a popup 9 years ago
Andrew Dolgov 3857536f70 fix testing in create filter dialog, woops 9 years ago
Andrew Dolgov 261226a3a5 mostly implement async filter test dialog 9 years ago
Andrew Dolgov a007c18dff wip: filter async testing 9 years ago
Andrew Dolgov a0dbc45acd add edit feed to feed header context menu in grouped mode 9 years ago
Andrew Dolgov b717c65e4e update previous 9 years ago
Andrew Dolgov 791877c39d fix catching up for grouped feeds 9 years ago
Andrew Dolgov e17079dcef make disabled filter rules easier to discern
show if filter set match_any_rule on the overview
9 years ago
Andrew Dolgov dcbe36b2a2 fix some remaining old-style viewfeed() calls 9 years ago
Andrew Dolgov 9109e171ee feedtree: don't hide feeds with errors 9 years ago
Andrew Dolgov bf9cc9ad95 combine user edit & user details 9 years ago
Andrew Dolgov f9c1f8b0d4 pref-feeds: check for inactive feeds asynchronously 9 years ago
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
9 years ago
Andrew Dolgov b87744534a add plugin-based filter actions (see example plugin in attic)
bump schema
9 years ago
Andrew Dolgov 6810a1de42 use dijit form widget for attachments dropdown 9 years ago
Andrew Dolgov 176a489e54 use batch-based catching up in cdmExpandArticle() to reduce server load 9 years ago
Andrew Dolgov eaec06f950 prevent cyclical scrolling in headlines if next offset requested by infscroll is zero
a bunch of other related fixes
9 years ago
Andrew Dolgov 95b493d68d partially revert previous because of navigation breakage in expanded mode, durrr 9 years ago
Andrew Dolgov b71add41d5 unfuck catchupbatchedarticles a bit 9 years ago
Andrew Dolgov 8292123ebc assorted fixes for keyboard navigation which hopefully don't break everything else 9 years ago
Andrew Dolgov 231c672c5d fix previous 9 years ago
Andrew Dolgov 837443630f infscroll: preload articles a bit earlier 9 years ago
Andrew Dolgov d8e8e24e34 pass DOMNodes instead of escaped html data to JS article rendered hooks (i think this makes much more sense) 9 years ago
Andrew Dolgov 8691b32abf disable headline appear animation 9 years ago
Andrew Dolgov d46af5a5cf headlines scroll handler: make preloading less aggressive 9 years ago
Andrew Dolgov e7a66d1230 (experimental) disable infscroll requests while marking auto catched up articles as read 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 57c521df91 maybe speedup headline adding a bit, maybe not 10 years ago
Andrew Dolgov 9ef1985f1b viewfeed.js: cleanup the code a bit 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 39d488a256 viewfeed: set hsp status when scrolling to the very end 10 years ago
Andrew Dolgov 15ae8cd084 js: remove current_top_id global 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 5a45821ec9 prevent event propagation when clicking on CDM article footer 10 years ago
Andrew Dolgov a72cd54ce1 bayes: properly reset score when going good -> ugly
article: add helper to refresh article score pic, properly set scorepic title
10 years ago
Andrew Dolgov 86b05f8661 better feed debugger ui for f D 10 years ago
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 10 years ago
Andrew Dolgov 669fc881f3 add error notification if trying to toggle widescreen in cdm 10 years ago
Andrew Dolgov 40f147df79 feedtree: do not hide special category for reals if configured as such 10 years ago
Andrew Dolgov 119ba03bd4 minor fixes for previous 10 years ago
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 10 years ago
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 10 years ago
Anders Kaseorg 5c145bde7a Make the floating title transition smoother
Previously the floating title would not appear until the real title
scrolled entirely out of view, which was visually distracting.  Now it
appears at the point when its bottom lines up with the real title’s
bottom.  This isn’t perfect yet due to small differences between the
two titles’ layouts, but it’s much closer.

We now need to use visibility: visible|hidden instead of display:
block|none to show and hide the floating title, in order to be able to
retrieve its height while it’s hidden.  It’s important to use that
height because occasionally line wrapping differences make the
floating title shorter than the real title, and we don’t want the real
title to poke out from underneath.

Also fix scrollToRowId to offset by the 4 pixel top margin (like
cdmScrollToArticleId already does), so that it goes back to a point
when the floating title was hidden; and set the right margin on the
floating title so that it’s the same width as the real title and
doesn’t overlap the scroll bar.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
10 years ago
Andrew Dolgov 0d41fd76d3 notify fixes 10 years ago
Andrew Dolgov d9c93ebfdb tweak notifications; use css animations for notifications 10 years ago
Andrew Dolgov 98cbae8dfa hotkey actions: toggle_expand, collapse_article: check if element exists
before acting on it (closes #815)
10 years ago
Andrew Dolgov 38bc9dad22 mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones 10 years ago
Andrew Dolgov 89018afa13 assign stored content-insert height/width in switchPanelMode(); reset stored sizes on widescreen switch 10 years ago
Andrew Dolgov 760183e37d minor spacer/whiteBox appearance tweaks 10 years ago
Andrew Dolgov 1d6191ee0a always create headline-spacer on lazy load 10 years ago
Andrew Dolgov 74217c72a1 adjust scroll amount to trigger auto-opening next unread feed 10 years ago
Andrew Dolgov 22f675e5c4 add a link to headlines-spacer to open next unread feed 10 years ago
Andrew Dolgov 0f85f483e5 another implementation of pull 386 (show next when finished reading) (2) 10 years ago
Andrew Dolgov b7c20a3759 another implementation of pull 386 (show next when finished reading) 10 years ago
Andrew Dolgov 6472dd11a2 Revert "scroll to end to show next feed or category"
This reverts commit 86f32020f6.
10 years ago
wolle 86f32020f6 scroll to end to show next feed or category
only if cmd_auto_catchup and on_catchup_show_next_feed set
11 years ago
André Glüpker d922b09c43 Skip nested Feed when calling getNextUnreadFeed()
This function is only called when using "Mark all as read".
So every time, this function gets called right now, all nested
categories get marked as read as well, so we don't want to jump to them.
Instead we want to the next category with same or higher tier.
11 years ago
Andrew Dolgov e79b401e97 getPreviousFeed: wrap to last feed to be consistent with getNextFeed 11 years ago
Andrew Dolgov bace5e9e6f prevent cdmClicked ctrl-click handler working on article body 11 years ago
Andrew Dolgov 50e04efdc8 expand filtertree display to make filters easier to distinguish 11 years ago
Andrew Dolgov e126fe6a68 exception_error: always stringify ext_info 11 years ago
Andrew Dolgov fb3a2505ac init params debugging: support objects etc 11 years ago
Andrew Dolgov 2f7918ae2e exception_error: support objects in ext_info 11 years ago
Andrew Dolgov cde449b937 update report to tt-rss prompt 11 years ago
Andrew Dolgov 8b91b0beb5 add ttrss version and init params to reports 11 years ago
Andrew Dolgov cbcf6517dc Revert "exception handler: remove report to tt-rss.org"
This reverts commit b55aec078c.
11 years ago
Andrew Dolgov df63125dd7 handle_rpc_json: do not crash if net-alert is somehow unavailable 11 years ago
Andrew Dolgov b55aec078c exception handler: remove report to tt-rss.org 11 years ago
Andrew Dolgov 5c812c2ea4 Revert "add a less intimidating error message when backend times out and/or fails to return valid JSON"
This reverts commit 2ffe7a3b14.
11 years ago
Andrew Dolgov 2ffe7a3b14 add a less intimidating error message when backend times out and/or fails to return valid JSON 11 years ago
Andrew Dolgov 350218f4f8 quickAddFeed: gracefully handle backend timeout/JSON parse problems 11 years ago
Andrew Dolgov 1bffd1068f unify main and headlines toolbar 11 years ago
Andrew Dolgov d728015d48 minor css tweaks 11 years ago
Andrew Dolgov d44f3da4be default theme updates 11 years ago
Andrew Dolgov 0c7e49936a quickAddFilter: if text is currently highlighted, use that instead of active article title for placeholder text 11 years ago
Andrew Dolgov b8fd08d6db do not unpack all visible headlines in collapsed mode because those are unpacked on expand 11 years ago
Andrew Dolgov 24940c3dc9 catchup group: deselect everything before processing 11 years ago
Andrew Dolgov 87065739cd add context menu for cdmFeedTitle; change mark as read prompt for grouped headlines more clear 11 years ago
Andrew Dolgov 8f7a020e1b add notification to subscribe dialog when multiple feeds are detected 11 years ago
Andrew Dolgov 3728377344 Revert "Firefox accessibility.typeaheadfind is triggered for multikey shortcuts."
breaks copy/paste in chrome

This reverts commit d7e4897b8e.
11 years ago
Derek Schrock d7e4897b8e Firefox accessibility.typeaheadfind is triggered for multikey shortcuts.
For multikey shortcuts Firefox accessibility.typeaheadfind is triggered.  Returning false will cause the default event from occuring and prevent the event from bubbling up.
11 years ago
Andrew Dolgov 2e35b3bd6b prevent automatic selection of headlines row first child when scrolling in 3panel mode because it screws with keyboard navigation (closes #752) 11 years ago
Andrew Dolgov 07734eee5a loadMoreHeadlines: use shorter syntax for adaptive offset calculation 11 years ago
Andrew Dolgov 1966e05457 workaround for resetting panel size cookies (closes #756) 11 years ago
Andrew Dolgov 95be6e0c89 fix second row being selected on viewfeed (closes #748) 12 years ago
Andrew Dolgov 00fe7886b6 update floating title unread status when auto catching up 12 years ago
Andrew Dolgov 41d37fb2c3 add experimental hack to show row unread status in floating title 12 years ago
Andrew Dolgov 0971cc619d remove dijit checkbox element from floatingTitle 12 years ago
Andrew Dolgov d9e78984fb viewfeed: properly escape feed in ajax query 12 years ago
Andrew Dolgov 65f0eb01aa support headlines context menu in floating title 12 years ago
Andrew Dolgov 41a7a066ef share: move unsharing all articles into the plugin 12 years ago
Andrew Dolgov 6e3224a26c use correct icons for notifications 12 years ago
Andrew Dolgov 7415fcf212 enable floating title for expandable combined mode, minor expandable mode fixes 12 years ago
Andrew Dolgov 301a09dc55 fix floating title sometimes obscuring next article title 12 years ago
Andrew Dolgov d095f42fa4 floating title: remove cdm auto catchup id hack for the time being 12 years ago
Andrew Dolgov 8ee5e9e5e6 rework floatingtitle 12 years ago
Andrew Dolgov 2f20dd58d2 integrate silk icons by Mark James 12 years ago
Andrew Dolgov 03304fda54 if multiple articles are selected, do not reset active article / selection on scroll if auto catchup is enabled 12 years ago
Andrew Herron c65bd1027a Added alt and meta key handling to hotkeys 12 years ago
Andrew Herron d999bc3eb2 prevent accidental ctrl_key global 12 years ago
Andrew Dolgov 4f62f8f6dc add js hook for floating title 12 years ago
Veit Lehmann d1754390cc only do article update operations once when scrolling
I discovered that DOM operations and function calls were done several times inside the 100px mirror when scrolling through articles. Especially painful on seamless scrolling systems like Mac OS, where dozens of updates would slow down this part dramatically. This change fixes it.
12 years ago
Andrew Dolgov d1343b844d make floating title less cpu intensive 12 years ago
Jeffrey Tolar 3b2605a02e Add some checks to see if the content element exists
This *might* help dismissal not break when not using combined mode.
12 years ago
Jeffrey Tolar 055a37e083 Fix incorrect function name in exception handling 12 years ago
Jeffrey Tolar abba5dd4d4 Remove content when an article is dismissed 12 years ago
Jeffrey Tolar 3faad714e2 Add missing hotkey handler 12 years ago
Matt Haley a95e14fb4c Load selected feed after a short timeout
Avoid firing multiple server requests if the user is navigating up/down
the tree list with the keyboard. Instead, wait till the user has stopped
navigating for at least 250ms.
12 years ago
Andrew Dolgov b684a2e665 fix crash on feedlist collapse, do not use _COLLAPSED_FEEDLIST pref 12 years ago
Andrew Dolgov f6ba763d6b Revert "Load selected feed after a short timeout"
This reverts commit 17c5d44cf4.
12 years ago
Matt Haley 17c5d44cf4 Load selected feed after a short timeout
Avoid firing multiple server requests if the user quickly clicks another feed or is navigating up/down the tree list with the keyboard.
12 years ago
Andrew Dolgov d9afd9b2b5 use dojo stuff for user details 12 years ago
Andrew Dolgov 222a61c222 user editor: use dojo stuff 12 years ago
Veit Lehmann 5313ae17e4 only update floatingTitle innerHTML if active article changes
This will boost scrolling performance pretty much and avoid flickering of floatingTitle
12 years ago
Andrew Dolgov 5f9699a53f hide floatingTitle when first batch of headlines is received 12 years ago
Andrew Dolgov 33e2d26bcb apply special feedTree styles only to main UI feedtree, fix feedParam and filterParam screwing with tree node layout 12 years ago
Andrew Dolgov 15a829013c remove single-line excerpts in widescreen 3panel mode because it breaks layout 12 years ago
Andrew Dolgov 19b906b94b block automarking headlines on scroll in unexpanded cdm because it doesn't work so well 12 years ago
Andrew Dolgov 08820be70b add experimental floating title when scrolling long articles in combined mode 12 years ago
Andrew Dolgov 1ffd534f43 fix wrong article context menu item toggle marked (should be toggle starred) 12 years ago
Andrew Dolgov 2a7362596f moveToPost: check for current article element existing before getting its position info (closes #695) 12 years ago
Andrew Dolgov 6e098e5e8c enlarge auto mark offset height 12 years ago
Andrew Dolgov 99d89d10b0 when auto selecting, only select articles actually near the buffer top 12 years ago
Andrew Dolgov 4bc6489a80 previous patch, fix typo 12 years ago
Andrew Dolgov cc8d254a61 previous patch, remove active_found 12 years ago
Andrew Dolgov 48be35ca06 while cdm_auto_catchup is enabled, after scrolling set active article to the topmost visible in the buffer so that n/p hotkeys would not reset scrolling position 12 years ago
Andrew Dolgov c594eca0de implement additional counter mode for virtual feeds when there's 0 unread articles 12 years ago
Andrew Dolgov 077f221337 hide read categories when feedtree category is first expanded 12 years ago
Andrew Dolgov c068b98b72 add some subtle css shadows 12 years ago
Andrew Dolgov 7b32ee7e40 mark older than two weeks: fix typo 12 years ago
Andrew Dolgov d34a32a80e remove unnecessary bottom border from headlines-frame 12 years ago
Andrew Dolgov c73b739b25 save and restore UI panel configuration in cookies 12 years ago
Andrew Dolgov f5d3c77a8f experimentally align counters to the right 12 years ago
Andrew Dolgov fbb4155bae counterNode: use appear effect 12 years ago
Andrew Dolgov 5973c74c34 fix notify display on chrome, add some css tweaks 12 years ago
Andrew Dolgov 8d4b5b466a fix counters not being updated 12 years ago
Andrew Dolgov 69970d5b88 add tooltip 12 years ago
Andrew Dolgov 82076ce531 Merge branch 'master' into css-feedtree-counter
Conflicts:
	tt-rss.css
12 years ago
Andrew Dolgov e5e6cde06a remove support for hiding empty categories in prefs editor because people are dumb 12 years ago
Andrew Dolgov 2a3e8d7f34 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 12 years ago
Andrew Dolgov 8d090a910b use css nth-child instead of old even/odd class hacks for normal mode 12 years ago
Jeffrey Tolar b43b92928a Update selected count when collapsing an article 12 years ago
Andrew Dolgov ea18cceaca remove splash before freshfeed is loaded 12 years ago
Andrew Dolgov 27372ddac6 fix editArticleTags() call broken on archived feed 12 years ago
Andrew Dolgov 52e7b5a096 add clear sql log button 12 years ago
supahgreg 8ceea119a8 Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated. 12 years ago
supahgreg abbe9c1f55 minor: remove duplicate check for params 12 years ago
Andrew Dolgov 6bfc97da86 add automatic timezone (based on client tz offset) 12 years ago
Andrew Dolgov 204f9b186f remove cdmUnexpandArticle 12 years ago
Andrew Dolgov 2779e22bf5 js: add collapsed and expanded hooks 12 years ago
Andrew Dolgov 06a02265c4 inject headlines-spacer even if cdm auto catchup is disabled 12 years ago
Andrew Dolgov a06045adf0 add missing pluginhost source 12 years ago
Andrew Dolgov 8d388f321b add a simple JS-based hook host 12 years ago
Andrew Dolgov f66492d357 better javascript error reporting, save error reports in tt-rss log 12 years ago
Andrew Dolgov ebec81a6fb subscribe: verify XML before adding to the database; fetch: try to work around entity problems if initial parsing fails 12 years ago
Andrew Dolgov da76e61af8 catchupAllFeeds: do not call obsolete callback 12 years ago
Andrew Dolgov 95437e9e07 tweak notify layout/display 12 years ago
Andrew Dolgov 89473cb5c6 feedtree: don't request null icon 12 years ago
Andrew Dolgov 5e6f0145c8 Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS 12 years ago
Andrew Dolgov 2cbdc95bb0 add a separate tab for the logger 12 years ago
supahgreg 3cc5a3cd43 minor typo fix in hash_get() 12 years ago
Andrew Dolgov 40fe2d7382 remove js-based player, better mp3 support detection for html5 audio 12 years ago
Andrew Dolgov e43a9c4a01 add a %d articles selected element 12 years ago
Andrew Dolgov e8f9069c5c quickAddFeed: add placeholder select element to feeds dropdown 12 years ago
Andrew Dolgov e1f76af006 block listing of several util directories; deny access to config.php 12 years ago
Andrew Dolgov 66af65f14b initial 12 years ago
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) 12 years ago
Andrew Dolgov 814fa4ef11 Revert "remove RTITLE"
This reverts commit ecac674ade.
12 years ago
Andrew Dolgov ecac674ade remove RTITLE 12 years ago
Andrew Dolgov 7e27c91409 remove RCHK 12 years ago
Andrew Dolgov 86baa14aca check for headlines-spacer presence before querying infscroll on load 12 years ago
Andrew Dolgov 2b28c8f2da try to fill the buffer with headlines if possible 12 years ago
Sunjay Cauligi 8b35d17172 Added functionality for navigation without opening articles and toggling expansion of headlines 12 years ago
Andrew Dolgov bf87833884 fix prefs reset not working properly 12 years ago
Andrew Dolgov 4429463dff feedTree: pass new copies of parent arrays while looking for category nodes to auto-expand to prevent siblings uncollapsing due to objects being passed by reference 12 years ago
Andrew Dolgov ba1c7d7cc9 do not set active feed id in headlines callback, bailout if received data for currently deselected feed 12 years ago
Andrew Dolgov f240d26e46 move db-updater functionality to public, remove db-updater.php 12 years ago
Andrew Dolgov ae31704bb3 only unmark articles which had been processed when automarking (for realz) 12 years ago
Andrew Dolgov dfd071e28d add experimental cooldown after headlines buffer had been manipulated before auto catchup is enabled
only unmark articles which had been processed when automarking
12 years ago
Andrew Dolgov e3ca32a818 replace catchupCurrentFeed dropdown with a better control 12 years ago
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 12 years ago
Andrew Dolgov 4b7726f0b4 rpc: move labelops to article 12 years ago
Andrew Dolgov c83554bddd rpc: move completeTags to article 12 years ago
Andrew Dolgov 195187c490 rpc: move several feed-related calls to pref-feeds 12 years ago
Andrew Dolgov d719b06240 rpc: move setScore to article 12 years ago
Andrew Dolgov 8956b3a607 remove obsolete checkDate stuff 12 years ago
Andrew Dolgov c88e4a2af3 remove small_article_preview 12 years ago
Andrew Dolgov 977580a41c remove obsolete xml stuff in pref-users infoboxes 12 years ago
Andrew Dolgov 417591034a remove experimental view_settings stuff from master 12 years ago
Andrew Dolgov 201bb1ca54 move batchSubscribe to pref-feeds 12 years ago
Andrew Dolgov 9d76e75451 move editPrefProfiles to pref-prefs 12 years ago
Andrew Dolgov 00e347410e move customizeCSS to pref-prefs 12 years ago
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 12 years ago
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 12 years ago
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 12 years ago
Andrew Dolgov d880b5da9d depiggified 12 years ago
Andrew Dolgov 0db3db2e37 dismissArticle: check if target element exists 12 years ago
Andrew Dolgov a86ba0a67a implement filter drag and drop sorting 12 years ago
Andrew Dolgov 3dd0306f3e subtoolbar: remove catchupPage, label confusing with upper toolbar catchup function 12 years ago
Andrew Dolgov 90ede186d2 disable small article preview for now 12 years ago
Andrew Dolgov c8b693cf7f implement catchup with selectable updated criteria 12 years ago
Andrew Dolgov b029f91621 archive: automatically subscribe user to originating feed while unarchiving 12 years ago
Andrew Dolgov 22af123269 make toggling combined mode work without reload 12 years ago
Andrew Dolgov 60b88b254c add hotkey toggle_cdm_expanded (f c) 12 years ago
Andrew Dolgov be7bb7d5ee headline menu: add ability to toggle unread/published/starred 12 years ago
Andrew Dolgov a7c0e150b6 fix invisible active headline in 3pane mode 12 years ago
Andrew Dolgov ffd3e8e35e toggleUnread: remove scriptaculous highlight 12 years ago
Andrew Dolgov c409d34a30 fix cdmExpandArticle not always removing active class; make moving between posts take expanded cdm margins into account 12 years ago
Andrew Dolgov a0ddecb98d remove cdm tiles; update cdm stylesheet as to stop reading on yellow 12 years ago