Andrew Dolgov
c26f58d8a5
fix some php8 warnings
3 years ago
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
3 years ago
Andrew Dolgov
2843b99171
minor filter UI layout fix
3 years ago
Andrew Dolgov
810afdaf5a
prevent creation of filter rules matching no feeds
3 years ago
Andrew Dolgov
3b8d69206c
deal with filter actions UI
3 years ago
Andrew Dolgov
94560132dd
for the most part, deal with filter rules UI
3 years ago
Andrew Dolgov
b4e96374bc
more filter stuff
3 years ago
Andrew Dolgov
590b1fc39e
a few more methods shuffled around
3 years ago
Andrew Dolgov
be91355c20
first for filter frontend overhaul
3 years ago
Andrew Dolgov
91e7969383
replace a few more controls to new style
3 years ago
Andrew Dolgov
24c79d91c2
controls_compat: comment out most of them
3 years ago
Andrew Dolgov
f58c49beaa
replace a few more controls to new style
3 years ago
Andrew Dolgov
bdbbdbb0ed
rework controls to accept parameters as array
3 years ago
Andrew Dolgov
627af2c236
amend previous to fix actual underlying problem (double escaping)
3 years ago
Andrew Dolgov
1f5d81b77c
use a few more control helpers for checkboxes
3 years ago
Andrew Dolgov
1f43d7916c
replace print_hidden with hidden_tag
3 years ago
Andrew Dolgov
26d6b84a57
add namespaced controls with unified naming; deprecated old-style control shortcuts
3 years ago
Andrew Dolgov
70e293bccb
pref-filters: fix some warnings
3 years ago
Andrew Dolgov
8e79f1717d
prefs: unify naming
3 years ago
Andrew Dolgov
020f062a76
feeds: unify naming
3 years ago
Andrew Dolgov
0fbf109912
* remove users/filters toolbar edit button (just click on it)
...
* fix title of edit filter dialog always showing create filter
3 years ago
Andrew Dolgov
15fd23c374
use shortcut echo syntax for php templates
3 years ago
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