Commit Graph

9505 Commits (4a2a90c980bb7436150ed82556fdb6f4db3ff138)
 

Author SHA1 Message Date
Michael Kuhn 4a2a90c980 Fix focus issues with hotkeys
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.
6 years ago
fox 7e55340295 Merge branch 'master' of ltGuillaume/tt-rss into master 6 years ago
ltGuillaume 3d8c6967da Add keyboard shortcut 'g r': Go to Recently read 6 years ago
ltGuillaume 4c72d3b4fc Add keyboard shortcut 'g r': Go to Recently read 6 years ago
Andrew Dolgov 6fbf349155 add hidden _SKIP_SESSION_UA_CHECKS tunable 6 years ago
Andrew Dolgov c7ad4ad2d4 import_export: use default ts_lang if user one is unset 6 years ago
Andrew Dolgov dee1614d0a db_prefs: return null if requested key is unset 6 years ago
Andrew Dolgov e31e9ae04d db_prefs: don't report missing prefs if die_on_error is false 6 years ago
Andrew Dolgov 9e200f2cf0 schema: update version to 138 6 years ago
Andrew Dolgov d32e191ad7 import_export: set tsvector_combined using DEFAULT_SEARCH_LANGUAGE on import 6 years ago
Andrew Dolgov ed22473272 feed editor: use DEFAULT_SEARCH_LANGUAGE as a default per-feed dropdown value 6 years ago
Andrew Dolgov c936cc3a1f use DEFAULT_SEARCH_LANGUAGE to generate tsvector index if per-feed language is not specified, also use it as default value on search form for convenience 6 years ago
Andrew Dolgov 6768b3a4a3 schema: add DEFAULT_SEARCH_LANGUAGE 6 years ago
Andrew Dolgov d7282ec292 import_export: prevent form closing before doing anything; update markup 6 years ago
Andrew Dolgov cc2ac3a86c FeedTree: add feed debugger to per-feed context menu 6 years ago
Andrew Dolgov 1a484ec3f5 feedparser: remove horrible hacks for feeds with broken encoding 6 years ago
fox cb0c81729d Merge branch 'master' of Greg-T/tt-rss into master 6 years ago
Greg-T 2c2f74a104 PDO error in cleanup_tags repaired
Changes :
- add PDO::PARAM_INT to a value in a PDO query
- switch limit to limit_part to respect semantic here (cleanup by packages)
6 years ago
Andrew Dolgov 656475ec78 digest text mode excerpt: use ellipsis fit for plain text 6 years ago
Andrew Dolgov 4e1eeb0488 digest text mode: fix article excerpt source 6 years ago
Andrew Dolgov 59d0e35b7d Merge branch 'master' of git.fakecake.org:tt-rss 6 years ago
Andrew Dolgov b583ca12fb Merge branch 'weblate-integration' 6 years ago
Andrew Dolgov 671f4cee65 domdocument: remove old meta charset unicode hacks, replace with shorter xml preamble utf8 hack (on loadhtml where it makes sense)
af_readability: better (?) charset hack for non-unicode pages
6 years ago
Andrew Dolgov 3bd3324e5a update: add option to send digests 6 years ago
Andrew Dolgov 6ae0a3dd3e share: further improve og:description excerpt logic, minor layout stuff 6 years ago
Andrew Dolgov 74e8661351 share: decode entities in metadata fields so that length limits would make more sense 6 years ago
Andrew Dolgov 9f52327b34 feedlist: adjust star position 6 years ago
Andrew Dolgov 01b2f0a24f support "picture" tags in articles 6 years ago
fox e35c656b38 Merge branch 'hotkeys-keypress-bugfix' of suraia/tt-rss into master 6 years ago
Michael Kuhn bbb8a2e873 Fix missed hotkeys in googlereaderkeys plugin 6 years ago
himori kim 24c12e6114 Translated using Weblate (Korean)
Currently translated at 65.6% (484 of 738 strings)

Translation: Tiny Tiny RSS/messages
Translate-URL: https://weblate.tt-rss.org/projects/tt-rss/messages/ko/
6 years ago
Andrew Dolgov 375c4c28a0 Merge branch 'master' of git.fakecake.org:tt-rss 6 years ago
Andrew Dolgov eab568065f enable excerpt for text digest 6 years ago
Andrew Dolgov 33a2d5f8e4 update_rss_feed: set basic feed info if site_url is blank 6 years ago
Andrew Dolgov 4438f27f73 Merge branch 'master' of git.tt-rss.org:fox/tt-rss 6 years ago
Andrew Dolgov b1bb7c6001 Merge branch 'master' of git.fakecake.org:tt-rss 6 years ago
Andrew Dolgov 019f4578bc fix feed icon upload not working, rework form to use FormData/ajax 6 years ago
fox e0dabf318b Merge branch 'Add_set_basic_feed_info_to_af_comics' of rodneys_mission/tt-rss into master 6 years ago
Rodney Stromlund 7daf009a7f Add set_basic_feed_info hook to af_comics to fix GoComics title and url. 6 years ago
fox 63d7705b7f Merge branch 'hotkeys-keypress' of suraia/tt-rss into master 6 years ago
Michael Kuhn e74f7bde22 Refactor hotkeys to use keypress instead of keydown
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 "?".
6 years ago
Andrew Dolgov 355723ca59 ttrss_zoom: limit maximum width to make text more readable 6 years ago
Andrew Dolgov 08183fcd27 set key length to 255 on mysql 6 years ago
Andrew Dolgov 32f9fda33d add composite key on ttrss_feeds (feed_url & owner_uid) 6 years ago
fox 95e70320a6 Merge branch 'to_combined' of suraia/tt-rss into master 6 years ago
Andrew Dolgov 241d646fba batch subscribe: stop dialog from being submitted twice 6 years ago
Michael Kuhn dd9e93384e Fix to_address being logged twice 6 years ago
Andrew Dolgov a34509c8ae Merge branch 'master' of git.fakecake.org:tt-rss 6 years ago
Andrew Dolgov 19f162dbe3 css: insensitive -> text-muted 6 years ago
Andrew Dolgov 900cdbbb31 Headlines.click: open original article (and mark as read) on alt click on title 6 years ago