Commit Graph

134 Commits (8464c619e413b4aabacb802e1afe49a7c960506a)

Author SHA1 Message Date
Andrew Dolgov 17413078a7 pref feeds: index cleanup, split into several methods, use tabs to maximize space for feed tree, persist feed tree state 3 years ago
Andrew Dolgov 9684ce5c4b minor fixes re: previous 3 years ago
Andrew Dolgov b112198991 pref filters index: markup cleanup 3 years ago
Andrew Dolgov 3268364693 more dialog-related cleanup 3 years ago
Andrew Dolgov 8f8675a26a * filters: remove duplicate code, overall cleanup
* check if some tres exist before trying to reload them
3 years ago
Andrew Dolgov 0f7af07c6e edit filter dialog: cleanup 3 years ago
Andrew Dolgov bf6d0f2817 various dialog-related fixes; stop referring to many dialogs by name; move filter test initial dialog to client side 3 years ago
Andrew Dolgov 3b52cea811 move some old-style handlers to new callback ones 3 years ago
Andrew Dolgov 1eb1629d9e pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both 3 years ago
Andrew Dolgov 73e697a0df fix some warnings in prefs (filters, users) 3 years ago
Andrew Dolgov 403dca154c initial WIP for php8; bump php version requirement to 7.0 3 years ago
wn a1f8d6941b Remove duplicate block in 'classes/pref/filters.php'.
Also a minor tweak to getting the search filter.
4 years ago
Andrew Dolgov d1ee30d1ba prevent horizontal scrolling in filter editor dialog if rules are very long 4 years ago
Andrew Dolgov 215f388992 move timestamp-related stuff to a separate class 4 years ago
Andrew Dolgov fa653f5a43 prefs: show disabled filters properly on mysql 4 years ago
Andrew Dolgov 2996a3942f prefs: show root of filter tree as enabled so it's not grayed out 4 years ago
Andrew Dolgov f24ece85a6 add validationtextarea control, use it for filter match editor 4 years ago
Andrew Dolgov 8645f36c5b filter test dialog: pass contents via xhr POST 4 years ago
Andrew Dolgov e8523733b0 filter dialog: add inline regexp checker 5 years ago
Andrew Dolgov 86a014f23b add placeholder Filters.filterDlgCheckRegExp 5 years ago
Michael Kuhn e38fcd6dea Fix button focus issues
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.
5 years ago
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.
5 years ago
Andrew Dolgov 19f162dbe3 css: insensitive -> text-muted 5 years ago
Andrew Dolgov b9309b1822 filters: show inverse status in list 5 years ago
Andrew Dolgov 335147e572 dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
5 years ago
Andrew Dolgov 4e253add8c UI: add some more info links to relevant wiki pages; minor layout updates 5 years ago
Andrew Dolgov 063b4f535a filter rule & label dialog updates 5 years ago
Andrew Dolgov 4d9141d762 simplify dlgSec-related markup 5 years ago
Andrew Dolgov 51b069a1ee display filter tree rules as a list 6 years ago
Andrew Dolgov 5f1b39f7dc filter tree: don't crash on search, also search by filter titles 6 years ago
Andrew Dolgov 8c49689fda filter test results: remove table bloat 6 years ago
Andrew Dolgov a68b150601 remove separate classes for various panels, unify under .panel
remove a few other unnecessary css classes/ids
6 years ago
Andrew Dolgov 3e4326e34d add ttrss_filters2.last_triggered (bump schema version) 6 years ago
Andrew Dolgov 4aa11fe78d set some alt-info buttons; fix missing default submit for create filter dialog 6 years ago
Andrew Dolgov 0a41c1a6e1 update label rendering (and editor) 6 years ago
Andrew Dolgov 6befff30d7 updates for flat theme (mostly disable old dijit overrides) 6 years ago
Andrew Dolgov 31e79317b3 normalize various font sizes and families between prefs & main UI
change some dialogs layout a bit to maybe become more readable
6 years ago
Andrew Dolgov f26d404890 prefs: move other tree-related functions to respective trees 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 1e2d4410d3 move some more shared stuff to CommonDialogs, Filters, and Utils 6 years ago
Andrew Dolgov 195180b64d minor refactoring: normalize some function names; cleanup; etc 6 years ago
Andrew Dolgov 4fa64e8446 filter dialog: remove placeholder 6 years ago
Andrew Dolgov e794e434da filter dialog: add tooltip re: filter syntax 6 years ago
Andrew Dolgov 67bf38afda savefeedorder, savefilterorder: do not use clean() on json payload 7 years ago
Andrew Dolgov 121ac0481f filter rule/action dialogs: set default action 7 years ago
Andrew Dolgov 6fb5ce5e35 add some primary dialog actions; update css 7 years ago
Andrew Dolgov 5f7be9957f filter,label dlg: use default action 7 years ago
Andrew Dolgov e6532439d6 force strip_tags() on all user input unless explicitly allowed 7 years ago
Andrew Dolgov 7c6f7bb0aa fix some minor issues found by code analyzer 7 years ago