summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
AgeCommit message (Collapse)Author
2019-05-06restore feed from URL hash after feedlist initAndrew 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-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 "?".
2018-12-16rework git update checking to be initiated by frontend, outside of runtime ↵Andrew Dolgov
info output
2018-12-11requestIdleCallback: remove hard dependency for nowAndrew Dolgov
2018-12-11remove old fatalError(), move everything to App.ErrorAndrew Dolgov
update exception dialog css
2018-12-11bring back frontend sanity check w/ App.checkBrowserFeatures()Andrew Dolgov
2018-12-10sync article selected status via mutation observerAndrew Dolgov
remove all rchk-related hacks
2018-12-10add Headlines.renderAgain() to switch between combined/expanded modes fasterAndrew Dolgov
2018-12-09add qmcToggleNightMode to actions dropdownAndrew Dolgov
2018-12-09add hotkey (a N) to toggle night.cssAndrew Dolgov
2018-12-08add PluginHost.HOOK_INIT_COMPLETE (and make no_title_counters use it)Andrew Dolgov
2018-12-08switchPanelMode: allow modifying layout in combined mode so that widescreen ↵Andrew Dolgov
status won't be initially lost if starting in cdm
2018-12-08render article on the client using headlines dataAndrew Dolgov
2018-12-05rename main toolbar elements to be more consistentAndrew Dolgov
2018-12-03fix collapse_sidebar hotkey actionAndrew Dolgov
2018-12-03plugins: mail, mailto: remove code from global contextAndrew Dolgov
2018-12-03refactor error reporting to AppBase; keep exception_error() for now as a shimAndrew Dolgov
2018-12-03remove cookie set checkAndrew Dolgov
2018-12-03remove some plugin JS code out of global contextAndrew Dolgov
2018-12-03rework dojo singleton modules to better work with phpstorm completion (ugh) ↵Andrew Dolgov
- declare() is not needed there anyway remove event.observe from login form (not needed) load pluginhost via amd
2018-12-02move Utils to AppBase where it belongsAndrew Dolgov
2018-12-02add AppBase as a shared ancestor for main and prefs app objectsAndrew Dolgov
remove event.observe stuff from startup, unneeded
2018-12-02update notify_* calls to use NotifyAndrew Dolgov
2018-12-02move some more stuff out of common.jsAndrew Dolgov
rework client-side cookie functions a bit limit dojo cachebust based on server scripts modification time remove param_escape()
2018-12-02set use strict on JS modules; remove some mostly useless stuff like ↵Andrew Dolgov
get_minified_js()
2018-12-02split main objects to dojo modulesAndrew Dolgov
2018-12-02split several utility objects into separate dojo modulesAndrew Dolgov
2018-12-02remove obsolete row selection functionsAndrew Dolgov
move getUrlParam() to Utils
2018-12-02Feeds: shorten some method namesAndrew Dolgov
finally rename "view as rss"
2018-12-02Headlines: shorten selectArticlesAndrew Dolgov
2018-12-02Article, Headlines: shorten several method namesAndrew Dolgov
2018-12-02fix some minor linter problemsAndrew Dolgov
2018-12-01move some more shared stuff to CommonDialogs, Filters, and UtilsAndrew Dolgov
2018-12-01addLabel -> CommonDialogsAndrew Dolgov
2018-12-01migrate tt-rss.js contents to AppAndrew Dolgov
2018-12-01further effocts to wrap JS stuff into objectsAndrew Dolgov
2018-12-01js-ification: start on some common dialogsAndrew Dolgov
2018-12-01even more objectification of JSAndrew Dolgov
2018-12-01further objectificationAndrew Dolgov
2018-12-01further objectification of JS codeAndrew Dolgov
2018-12-01WIP reshuffling of JS global context into separate logical objectsAndrew Dolgov
2018-12-01viewfeed: remove (tons of) obsolete codeAndrew Dolgov
2018-12-01minor refactoring: normalize some function names; cleanup; etcAndrew Dolgov
2018-12-01reduce headlines scrolling timeoutAndrew Dolgov
2018-12-01rate-limit headlinesScrollHandler via timeout instead of distance scrolledAndrew Dolgov
minor floating title cleanup
2018-12-01refactor selection toggle functions; other minor cleanupAndrew Dolgov
2018-12-01isCdmMode -> isCombinedModeAndrew Dolgov