summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
AgeCommit message (Collapse)Author
2021-03-06reduce overhead in hash set/getAndrew Dolgov
2021-02-21prevent creation of filter rules matching no feedsAndrew Dolgov
2021-02-19fix some eslint-related stuffwip-no-prototypeAndrew Dolgov
2021-02-19bring back hash functionsAndrew Dolgov
2021-02-18initial for RIP prototype/scriptaculousAndrew Dolgov
2021-02-12silence (or fix) a bunch of eslint warningsAndrew Dolgov
2021-02-12* OPML import: don't reload everything, just feed treeAndrew Dolgov
* dialogs: use auto-destroying dialog for almost all dialogs instead of destroying them manually * some general dialog-related cleanup
2020-06-04fix various minor issues reported by eslintAndrew Dolgov
2020-06-04unify prefs/main App objects, remove fake classes, use single static App ↵Andrew Dolgov
object instead
2020-06-04don't use declare() for static objects with no inheritance because ↵Andrew Dolgov
apparently it's not actually needed by AMD
2020-06-02move isCombinedMode to AppBase so we wouldn't crash in preferencesAndrew Dolgov
2020-05-22- RIP smooth scrolling and associated hacksAndrew Dolgov
- attempt to make Headlines.move() / Article.cdmMoveToId() behave a bit more intuitively
2020-05-17implement keyboard-related changes discussed in ↵Andrew Dolgov
https://community.tt-rss.org/t/changing-the-amount-of-scroll-by-arrow-key/3452/7
2020-05-09add hotkey "\" to cancel current searchAndrew Dolgov
2020-05-03Allow setting Insert (45) and Delete (46) as hotkeysltGuillaume
These are not reported via keypress either, so handle them via keydown.
2020-02-28source validationtextarea in main UIAndrew Dolgov
2020-02-28af_readability: allow get full text button to work as a toggle; in cdm, ↵Andrew Dolgov
scroll to article after embedding
2020-02-27update toggle_embed_original hotkey to invoke readability embed instead of ↵Andrew Dolgov
removed embed_original plugin
2020-01-24onViewModeChanged: set view mode value as a custom body attributeAndrew 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-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-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-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-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-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