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
Andrew Dolgov
8ff3cbb32e
filters: remove sql_bool_to_bool()
...
checkbox_to_sql_bool: return ints (???)
7 years ago
Andrew Dolgov
bfccff11c4
filter rule saving fix
7 years ago
Andrew Dolgov
b5bf9a0ff3
remove long forgotten stuff related to feed debugging actionbar
7 years ago
Andrew Dolgov
da9ea57d1c
checkbox to sql bool related changes, some more boolean fixes
7 years ago
Andrew Dolgov
248c62a1cc
filters: fix limit/offset for test dialog
7 years ago
Andrew Dolgov
f594717d18
filters: use PDO
7 years ago
Andrew Dolgov
edefcec19d
filters/edit: properly parse feed-specific legacy format filter rules
7 years ago
Andrew Dolgov
be61f1c45c
filters dialog: do not break markup on long feed names
7 years ago
Andrew Dolgov
7b994e4bec
filters: when adding rule select all feeds by default
7 years ago
Andrew Dolgov
02f3992a5a
Revert "Revert "filters: support matching on multiple feeds/categories""
...
This reverts commit f5d174bda9
.
7 years ago
Andrew Dolgov
f5d174bda9
Revert "filters: support matching on multiple feeds/categories"
...
This reverts commit 0bf7e007bb
.
7 years ago
Andrew Dolgov
0bf7e007bb
filters: support matching on multiple feeds/categories
...
opml: update filter export/import for new format
7 years ago
Andrew Dolgov
e6c886bf66
wrap rssfuncs into rssutils class
7 years ago
Andrew Dolgov
a230bf88a9
move to Article:
...
+ static function purge_orphans($do_output = false) {
move to Feeds
+ static function getGlobalUnread($user_id = false) {
+ static function getCategoryTitle($cat_id) {
+ static function getLabelUnread($label_id, $owner_uid = false) {
7 years ago
Andrew Dolgov
86a8351ca2
move the following to Feeds:
...
+ static function catchup_feed($feed, $cat_view, $owner_uid = false, $mode = 'all', $search = false) {
+ static function getFeedArticles($feed, $is_cat = false, $unread_only = false,
+ static function subscribe_to_feed($url, $cat_id = 0,
+ static function getFeedIcon($id) {
+ static function getFeedTitle($id, $cat = false) {
+ static function getCategoryUnread($cat, $owner_uid = false) {
+ static function getCategoryChildrenUnread($cat, $owner_uid = false) {
7 years ago
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
7 years ago
Andrew Dolgov
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
7 years ago
Andrew Dolgov
328118d12e
use print_hidden() for hidden dojo form fields
8 years ago
Andrew Dolgov
967f0619c7
force ngettext() count argument type to string
8 years ago
Andrew Dolgov
4f100ece19
pref_filters: sort rules by reg_exp when displaying index
9 years ago