summaryrefslogtreecommitdiff
path: root/js
AgeCommit message (Collapse)Author
2019-12-17updateCurrentUnread: don't crash if counter element is not availableAndrew Dolgov
2019-12-15fix blank screen on load if custom theme is enabledAndrew Dolgov
2019-12-15workaround for a race condition between dojo.parse() and tt-rss loading ↵Andrew Dolgov
proper day/night css on startup because of firefox async CSS loader
2019-12-14show alert() if fatal exception happens while initializing base app objects ↵Andrew Dolgov
and app.error is not available
2019-12-13Wrap AppBase.setupNightModeDetection() in try/catch because Safari doesn't ↵JustAMacUser
support matchMedia change events.
2019-12-12implement automatic night mode detection using MQLAndrew Dolgov
add separate light.css to force light theme remove manual night mode toggle and related code
2019-12-12show current unread counter on headlines toolbar if sidebar is hiddenAndrew Dolgov
2019-12-11- update descriptions of changed hotkeysAndrew Dolgov
- bind noscroll variants of move article hotkeys to n/p by default - update N/P (i.e. scroll article content) hotkeys to scroll by fraction of viewport height instead of hardcoded pixel distance - minor fixes w/ checking for undefined
2019-12-10re-enable updates of floating title on scroll, duhAndrew Dolgov
2019-12-10with previous change, we don't actually need to automatically track active ↵Andrew Dolgov
articles now at all in combined mode.
2019-12-10when moving next or previous and currently active article is entirely ↵Andrew Dolgov
invisible, start moving from first visible one
2019-12-10only track active article on scroll if auto catchup is enabledAndrew Dolgov
2019-12-10remove unnecessary "== 1" when checking for init paramsAndrew Dolgov
unsubscribeFeed: check for undefined title correctly
2019-12-10Article.cdmScrollToId: disable smooth scrolling in collapsed combined modeAndrew Dolgov
2019-12-10Article.cdmScrollToId: disable smooth scrolling on repeated eventsAndrew Dolgov
2019-12-10combined mode n/p behavior changes:Andrew Dolgov
1. instead of jumping/scrolling sometimes, always scroll by a constant viewport offset unless moving to next/prev article directly 2. when going up and current article is partially above the viewport, move to its top first instead of directly to a previous one 3. instead of previous marking active logic, on scroll in combined mode track first (partially or otherwise) visible article as active
2019-12-09fix fatal error in previous because of event not being passed via ↵Andrew Dolgov
Headlines.move() scrollbypages, etc: make event optional anyway
2019-12-09exp: auto-disable smooth scrolling for repeat hotkey eventsAndrew Dolgov
2019-12-09pgup/pgdn; increase scroll distance to almost entire viewport height (from 90%)Andrew Dolgov
2019-12-06user css dialog: allow saving and applying CSS without closing the dialogAndrew Dolgov
2019-12-05force-disable headlines smooth scrolling when switching feedsAndrew Dolgov
enable smooth scrolling for article frame
2019-12-05pgup/pgdown hotkey normalization:Andrew Dolgov
- pgup/pgdown without modifier scroll headline buffer - shift+pgup/pgdown work similarly to shift+up/down but operating on pages
2019-12-04add hotkeys to scroll headlines/articles (whichever is active) by one pageAndrew Dolgov
2019-11-01implement app password checking / management UIAndrew Dolgov
2019-08-29setScore, selectionSetScore: check for numerical values properlyAndrew Dolgov
2019-07-30scroll handler: also invoke lazy load if last article in buffer is currently ↵Andrew Dolgov
active
2019-07-30lazy load (infinite scrolling) changes:Andrew Dolgov
1. invoke Headlines.loadMore() if last article row is close to becoming visible instead of relying on headlines-spacer offset to viewport 2. allow one final last lazy load request if incomplete buffer was received to permit some flexibility with unread counters possible changing while request was generated / serving remainder of articles
2019-07-12filter dialog: add inline regexp checkerAndrew Dolgov
2019-07-12add placeholder Filters.filterDlgCheckRegExpAndrew Dolgov
2019-05-20previous: remove unused debugging lineAndrew Dolgov
2019-05-20search dialog: display active query if searching alreadyAndrew Dolgov
2019-05-07Merge branch 'master' of ltGuillaume/ttrss into masterfox
2019-05-07_active_feed_id: set to undefined on startup to prevent unneeded Feed.open() ↵Andrew Dolgov
if reloadCurrent is called because of a non-default main toolbar value
2019-05-07fix read categories not being hidden when hide read feeds is enabledAndrew Dolgov
2019-05-07Allow to unregister plugin hooksltGuillaume
2019-05-07FeedStoreModel.getFeedUnread: return -1 when value is unsetAndrew Dolgov
2019-05-06restore feed from URL hash after feedlist initAndrew Dolgov
2019-05-06js: add PluginHost.HOOK_COUNTERS_PROCESSEDAndrew Dolgov
2019-05-06js: add PluginHost.HOOK_COUNTERS_RECEIVEDAndrew Dolgov
2019-05-06feed tree: set placeholder feed unread value to -1Andrew Dolgov
2019-04-14Fix button focus issuesMichael Kuhn
This change introduces derived classes for ComboButton, DropDownButton and Select that make sure that buttons do not remain focused after their menus are closed. This allows using hotkeys after closing them.
2019-04-13Fix focus issues with hotkeysMichael Kuhn
Since making use of keypress in addition to keydown, hotkeys did not work in certain scenarios, including clicking on the feed tree expanders or empty spaces of the toolbar. This issue is caused by dijit.Tree and dijit.Toolbar implementing the _KeyNavMixin, which explicitly stops propagation of keypress events. This change contains two main fixes plus a smaller hotfix: 1. It overrides _onContainerKeydown and _onContainerKeypress for fox.FeedTree (which inherits from dijit.Tree). 2. It adds fox.Toolbar, which overrides _onContainerKeydown, _onContainerKeypress and focus. This fixes hotkeys being swallowed and the first focusable child receiving focus when clicking on an empty space of the toolbar. 3. It adds the same handling of keydown and keypress to the prefs hotkey handler as is done in the main hotkey handler.
2019-04-12Add keyboard shortcut 'g r': Go to Recently readltGuillaume
2019-04-08FeedTree: add feed debugger to per-feed context menuAndrew Dolgov
2019-03-14Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2019-03-14fix feed icon upload not working, rework form to use FormData/ajaxAndrew Dolgov
2019-03-11Refactor hotkeys to use keypress instead of keydownMichael Kuhn
keydown returns the "raw" key in event.which. Depending on the keyboard layout, this may not be what is wanted. For example, on a German keyboard, Shift+7 has to be pressed to get a slash. However, event.which will be 55, which corresponds to "7". In the keypress event, however, event.which will be 47, which corresponds to "/". Sadly, several important keys (such as escape and the arrow keys) do not trigger a keypress event. Therefore, they have to be handled using a keydown event. This change refactors the hotkey support to make use of keypress events whenever possible. This will make hotkeys work regardless of the user's keyboard layout. Escape and arrow keys are still handled via keydown events. There should be only one change in behavior: I could not make Ctrl+/ work and therefore rebound the help dialog to "?".
2019-03-08Merge branch 'master' of git.fakecake.org:tt-rssAndrew Dolgov
2019-03-08css: insensitive -> text-mutedAndrew Dolgov
2019-03-07Headlines.click: open original article (and mark as read) on alt click on titleAndrew Dolgov