Commit Graph

252 Commits (9f734c90506a6e5916589d7c8f39c45ff40f6273)

Author SHA1 Message Date
Andrew Dolgov 812a6c9f16 auth_internal: fix indents 5 years ago
Andrew Dolgov 249130e58d implement app password checking / management UI 5 years ago
Andrew Dolgov 88cd9e586e add placeholder UI plumbing for app passwords 5 years ago
Andrew Dolgov 904ecc31e2 allow using OTP without GD 5 years ago
Andrew Dolgov 2820f41a4b add notification for OTP being disabled 5 years ago
Andrew Dolgov ef514bc4bd add notifications for mail and password changes
update and shorten some other message templates
5 years ago
Andrew Dolgov 6825aaff55 update SSL certificate wiki link 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.
6 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.
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 19f162dbe3 css: insensitive -> text-muted 6 years ago
Andrew Dolgov a130da2d1a add layout hack to unify heights of plugin fieldsets 6 years ago
Andrew Dolgov 8819272db1 prefs-set -> prefs 6 years ago
Andrew Dolgov cbd119c7a3 pref-prefs: fix markup 6 years ago
Andrew Dolgov 52d77dee62 plugin list: update layout 6 years ago
Andrew Dolgov 335147e572 dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
6 years ago
Andrew Dolgov 7dbf63693b prefs small update 6 years ago
Andrew Dolgov c2fa0c4416 try to organize preferences better, shorten some descriptions 6 years ago
Andrew Dolgov 4e253add8c UI: add some more info links to relevant wiki pages; minor layout updates 6 years ago
Andrew Dolgov 4db13b8a17 simplify preference layout, remove some unnecessary css classes 6 years ago
Andrew Dolgov 3880a17e57 pref-prefs: rework personal info tab, remove ugly table markup 6 years ago
Andrew Dolgov 734af3357d fix user plugins not saving properly in non-default profiles 6 years ago
Andrew Dolgov b6a021461d add night_base so that output files would generate properly, etc 6 years ago
Andrew Dolgov be49b77b14 Revert "use codeflask for user css editor"
This reverts commit daa43e0572.
6 years ago
Andrew Dolgov 66d3dcbc7d update user css info line 6 years ago
Andrew Dolgov daa43e0572 use codeflask for user css editor 6 years ago
Andrew Dolgov 703351c79e remove theme supports-version etc checking 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 4fdcc923f0 prefs: reload on user theme change 6 years ago
Andrew Dolgov 15d05e8a26 night.css: do not import default less theme statically
remove themes/default.php (not needed)
compact.css: fixes
6 years ago
Andrew Dolgov 4aa11fe78d set some alt-info buttons; fix missing default submit for create filter dialog 6 years ago
Andrew Dolgov 814e49f8f7 add icons to accordion panels in preferences
fix typo in pref-prefs closing panel tag
6 years ago
Andrew Dolgov 19e24b4fe2 force cast profile id to integer when assigning to session variable 6 years ago
Andrew Dolgov f3e6e12d46 various minor updates re: icons 6 years ago
Andrew Dolgov b16c57d29c replace plugin.png with scalable icon 6 years ago
Andrew Dolgov 6befff30d7 updates for flat theme (mostly disable old dijit overrides) 6 years ago
Andrew Dolgov f81df37c36 wrap plugin list into border container, like prefs (2) 6 years ago
Andrew Dolgov 0880100f6a wrap plugin list into border container, like prefs 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 197e80add6 fix several issues related to profile being set to a non-numeric value 6 years ago
Andrew Dolgov 4d4034091a prefs: Prefs global -> Helpers 6 years ago
Andrew Dolgov 526389b2d3 update notify_* calls to use Notify 6 years ago
Andrew Dolgov 58e54282d3 prefs: move more global functions into matching classes 6 years ago
Andrew Dolgov f26d404890 prefs: move other tree-related functions to respective trees 6 years ago
Andrew Dolgov e23b6e397d prefs: store active tab for reload, remove most old table row functions 6 years ago
Andrew Dolgov 874560db54 remove obsolete row selection functions
move getUrlParam() to Utils
6 years ago
Andrew Dolgov 9563e3bcd6 remove expandable CDM headlines 6 years ago
Andrew Dolgov ef129fed2a some more xhrPost refactoring (batchEditSave WIP) 6 years ago
Andrew Dolgov d4fef36237 rewrite per-feed/global strip images to strip media 6 years ago
Andrew Dolgov 310c18e6bb move OTPHP to vendor/; additionally move Base32 class to OTPHP namespace 6 years ago
tsia 551f3c2c85 fixed "reset to defaults" in preferences 7 years ago
Francesco Turco 1a7277570b fix two-factor authenticaton 7 years ago
Andrew Dolgov d0cce0c7a4 isdefaultpassword: use method_exists() to check for check_password 7 years ago
simonp 5f19596651 Fix typo from previous pull request 7 years ago
Benjamin Collet 44c6a04b61 Check if the auth module supports check_password() method before using it 7 years ago
Andrew Dolgov 9390ddeae2 fix single user mode login failing because of isdefaultpassword() 7 years ago
Andrew Dolgov 1bf468ba1a pref-prefs: set button classes 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 7c0eb1b621 add defaultPasswordWarning nag dialog 7 years ago
Andrew Dolgov 187abfe732 main classes: remove sql_bool_to_bool() kludge 7 years ago
Andrew Dolgov e4291ba12f otpenable: use pdo prepare() 7 years ago
Andrew Dolgov 7039370368 pref-prefs: PDO 7 years ago
Andrew Dolgov 667d32fd26 remove obsolete forum plugin links
mention how to enable system plugins in the UI
7 years ago
Andrew Dolgov e130b283a7 db prefs: ignore cache when preference requested for specified UID (in case cached value of a different profile is stored)
prefs: show (and set) enabled plugins for default profile only
7 years ago
Andrew Dolgov ea79a0e033 remove some redundant php closing tags 8 years ago
Andrew Dolgov 1bfe1d7b31 simplify error handling
* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations
8 years ago
Jérémy DECOOL ba2853caac Prevent target='_blank' vulnerability on dynamic link 8 years ago
Andrew Dolgov 328118d12e use print_hidden() for hidden dojo form fields 8 years ago
Andrew Dolgov 22387de225 preferences: set themes dropdown to default if selected theme is missing 8 years ago
Andrew Dolgov e432b8fbe2 implement cache-busting for default theme.css
night theme: small fixes
8 years ago
Andrew Dolgov 312742db6e updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins 9 years ago
Andrew Dolgov 5bdcb8fd78 remove option ALLOW_DUPLICATE_POSTS as confusing/useless 9 years ago
Andrew Dolgov 583f163f40 don't init plugins when loading everything to make a list, duh 9 years ago
Andrew Dolgov b87744534a add plugin-based filter actions (see example plugin in attic)
bump schema
9 years ago
Andrew Dolgov fb8a032a6b minor textarea fixes 9 years ago
Andrew Dolgov e79e274fc8 add styles for several other dijit elements 9 years ago
Andrew Dolgov 5956f312b7 add a bit more visible separate infobox for password change results 9 years ago
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 10 years ago
Andrew Dolgov b9634eb8b8 support loading themes from themes.local 10 years ago
Andrew Dolgov e6c826fa2f remove AUTO_ASSIGN_LABELS (confusing, idiots keep enable it and complain of the results) 10 years ago
Andrew Dolgov f6cbe9a5a0 require version information in all additional themes 10 years ago
Andrew Dolgov 78744d48d7 add FEEDS_SORT_BY_UNREAD to blacklist (removed) 11 years ago
Andrew Dolgov 4a80c57c50 remove some unused code reported by phpmd 11 years ago
Andrew Dolgov ab85ad89b3 otp: use application name in provisioning uri 11 years ago
Andrew Dolgov 06a39024dd plugin list: fix system plugins image position 11 years ago
Andrew Dolgov 2f20dd58d2 integrate silk icons by Mark James 11 years ago
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
12 years ago
Andrew Dolgov 8429af52be adjust previous patch phrasing a bit 12 years ago
Mike Frysinger 5bac322258 document the date format string
I assumed the format string was related to strftime except all of the
fields looked really weird.  After digging in the code, this string is
actually used with php's date().  Add a note for this so other people
can jump quickly to the relevant documentation (which is useful for
non-php peeps who have no idea what this is).
12 years ago
Andrew Dolgov 11334fdf6c make appearance of some preference panes more similar 12 years ago
Rasmus Lerdorf 6f7798b643 Fixing bugs found by static analysis 12 years ago
Andrew Dolgov 8d090a910b use css nth-child instead of old even/odd class hacks for normal mode 12 years ago
Andrew Dolgov bd02d29e1b prefs: update some descriptions to be more consistent 12 years ago
Andrew Dolgov 7b149552cb remove language selector from the login form, store language in the database per-user 12 years ago
Andrew Dolgov e57a1507ae do not use session cookie lifetime for additional cookies 12 years ago
Andrew Dolgov a845a3d5e5 otp: display notice if GD is missing 12 years ago
Andrew Dolgov 48ed517e8d pref_prefs: remove second argument from the constructor 12 years ago
Andrew Dolgov 1ffe3391f9 make pluginhost a singleton 12 years ago
Andrew Dolgov 52d88392da move db-prefs to OO 12 years ago
Andrew Dolgov d9c85e0f11 classes: use OO DB interface 12 years ago
Andrew Dolgov a42c55f02b fix blank character after opening bracket in function calls 12 years ago
Andrew Dolgov 72ff013729 fix pluginhost created without dbh 12 years ago
Andrew Dolgov 6322ac79a0 remove $link 12 years ago
Andrew Dolgov 2cbdc95bb0 add a separate tab for the logger 12 years ago
Andrew Dolgov 9deca86d96 require entering current one time code to enable otp 12 years ago
Andrew Dolgov 4e53956add implement error log viewer 12 years ago
Andrew Dolgov 723bcdb213 update description of DEFAULT_UPDATE_INTERVAL (2) 12 years ago
Andrew Dolgov 3ddbefabef update description of DEFAULT_UPDATE_INTERVAL 12 years ago
Andrew Dolgov bf87833884 fix prefs reset not working properly 12 years ago
Andrew Dolgov 29c8fa080e add language dropdown to prefs 12 years ago
Andrew Dolgov 122e9d788e add a dropdown button action to save and exit prefs (closes #660) 12 years ago
Andrew Dolgov 8ef9645da0 pref-prefs: add help for USER_CSS_THEME 12 years ago
Andrew Dolgov 9db8e60784 update pref descriptions 12 years ago
Andrew Dolgov 5f462963a0 remove blank string gettext invocations 12 years ago
Andrew Dolgov dfad9d7a36 pref-prefs: don't use schema-defined help/desc/section names 12 years ago
Andrew Dolgov f17cac6b26 retire DEFAULT_ARTICLE_LIMIT, infinite scrolling is fast enough to make it superfluous 12 years ago
Andrew Dolgov 9d76e75451 move editPrefProfiles to pref-prefs 12 years ago
Andrew Dolgov 00e347410e move customizeCSS to pref-prefs 12 years ago
Andrew Dolgov 5d40efc9b0 add ability to select CSS files in themes/ 12 years ago
Andrew Dolgov 8aa01d7989 disable SORT_HEADLINES_BY_FEED_DATE; replace with a toolbar newest first order 12 years ago
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
12 years ago
Andrew Dolgov 6deafe90db modify notify/warn/error boxes css 12 years ago
Andrew Dolgov bb5e1a328d enable 4th field in plugin->about() to serve as a more info link 12 years ago
Andrew Dolgov 65f85248ce pref-prefs: mention tt-rss forums as a plugin source 12 years ago
Andrew Dolgov 33b3db3372 for consistency, show hotkey-toggleable options relating to headlines list in preferences 12 years ago
Andrew Dolgov 744a1b0080 disable show additional preferences checkbox as repeatedly confusing 12 years ago
Tomas Chvatal 9a73994c5e Allow translation of notices in prefs. 12 years ago
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 12 years ago
Andrew Dolgov 451ff72289 rework pref-prefs to use checkboxes 12 years ago
Andrew Dolgov f4c02a157a fix warning when saving plugins with 0 plugins enabled (closes #542) 12 years ago
Andrew Dolgov 81c54e3d8d only allow clearing data of active plugins 12 years ago
Andrew Dolgov 96f0a3e79d remove themes/ 12 years ago
Andrew Dolgov 5d9abb1e11 add plugin storage table to schema; add ability to clear plugin data 12 years ago
Andrew Dolgov 0f28f81f89 move authentication modules to plugins/ 12 years ago
Andrew Dolgov 699daf5856 add several HOOK_PREFS_TAB_SECTION hook points 12 years ago
Andrew Dolgov 65d1e2501b plugins web list style tweaks 12 years ago
Andrew Dolgov 23be0bd3fb hide example plugins from the admin page 12 years ago
Andrew Dolgov d2a421e3cb more work on user-selectable plugins; properly process system and user plugins 12 years ago
Andrew Dolgov de612e7a38 experimental support for per-user plugins (bump schema) 12 years ago
Andrew Dolgov 5cedb389d2 split self-updater gui to updater/ plugin 12 years ago
Andrew Dolgov 6065f3ad63 add support for plugins in prefs 12 years ago
Andrew Dolgov d1e31c7a74 Revert "only enable OTPHP on php version 5.3+"
This reverts commit 1835f145a8.
12 years ago
Andrew Dolgov 1835f145a8 only enable OTPHP on php version 5.3+ 12 years ago
Andrew Dolgov 3ca8af7fd8 require entering password before enabling/disabling otp 12 years ago
Andrew Dolgov 973392b9f5 pref-prefs/otpqrcode: do not show image if otp is enabled 12 years ago
Andrew Dolgov fb70f26ed9 implement one time passwords using TOTP 12 years ago
Andrew Dolgov f9ebb32ca0 hide more obscure preferences under "show more" checkbox in pref-prefs,
bump schema
12 years ago
Andrew Dolgov 808dd053c6 implement web-based self updater (closes #395) 12 years ago
Andrew Dolgov 1280612515 self-update: update up to date prompt 12 years ago