Commit Graph

238 Commits

Author SHA1 Message Date
Andrew Dolgov 5161460048 bind headlines menu to a selector to avoid remaking it unnecessarily 2017-02-13 23:36:58 +03:00
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 2017-02-09 23:04:34 +03:00
Andrew Dolgov 6358d70d5e reset local counter cache when feed count changes 2017-02-04 11:57:31 +03:00
Andrew Dolgov b1a80693b1 collapse_feedlist: also toggle splitter 2017-01-22 17:46:11 +03:00
Anders Kaseorg 88946d331a Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 16:52:27 -05:00
Andrew Dolgov 7fbc10c236 force-enable persist for feedTree 2017-01-21 22:21:46 +03:00
Andrew Dolgov 1c4f5e8390 add dependency on dojo/_base/html 2017-01-21 21:47:44 +03:00
Andrew Dolgov 6293d3717c add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
2017-01-07 15:29:17 +03:00
Andrew Dolgov d39a2f8005 switch modules to new dojo definition format 2016-08-10 13:40:24 +03:00
Andrew Dolgov 546b419f52 catch plugin JS errors 2016-08-10 12:23:35 +03:00
Andrew Dolgov 0dbc20a8d4 load dijit properly, duh 2016-08-10 11:49:05 +03:00
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 2016-08-10 10:01:05 +03:00
Andrew Dolgov 64c24ecb59 add hotkey for toggling VFEED_GROUP_BY_FEED preference 2016-07-26 15:55:00 +03:00
Andrew Dolgov b6b5554db4 normalize some html5 custom attributes 2016-03-22 23:43:32 +03:00
Andrew Dolgov 7c0d68f207 remove dismiss* functions 2016-03-22 10:28:34 +03:00
Andrew Dolgov 791877c39d fix catching up for grouped feeds 2015-09-03 16:41:04 +03:00
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
2015-08-12 14:09:46 +03:00
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
2015-07-07 15:59:32 +03:00
Andrew Dolgov 86b05f8661 better feed debugger ui for f D 2015-06-12 13:06:36 +03:00
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 2015-06-07 18:41:18 +03:00
Andrew Dolgov 669fc881f3 add error notification if trying to toggle widescreen in cdm 2015-03-06 15:51:54 +03:00
Andrew Dolgov 119ba03bd4 minor fixes for previous 2015-02-03 14:42:20 +03:00
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 2015-02-03 14:39:15 +03:00
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 2015-01-31 15:08:55 +03:00
Andrew Dolgov 98cbae8dfa hotkey actions: toggle_expand, collapse_article: check if element exists
before acting on it (closes #815)
2014-10-26 10:25:19 +04:00
Andrew Dolgov 38bc9dad22 mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones 2014-08-26 18:11:32 +04:00
Andrew Dolgov 89018afa13 assign stored content-insert height/width in switchPanelMode(); reset stored sizes on widescreen switch 2014-08-11 15:39:14 +04:00
Andrew Dolgov df63125dd7 handle_rpc_json: do not crash if net-alert is somehow unavailable 2014-03-14 14:05:32 +04:00
Andrew Dolgov 5c812c2ea4 Revert "add a less intimidating error message when backend times out and/or fails to return valid JSON"
This reverts commit 2ffe7a3b14.
2014-03-11 19:09:33 +04:00
Andrew Dolgov 2ffe7a3b14 add a less intimidating error message when backend times out and/or fails to return valid JSON 2014-03-11 13:59:14 +04:00
Andrew Dolgov d728015d48 minor css tweaks 2014-01-27 19:48:16 +04:00
Andrew Dolgov d44f3da4be default theme updates 2014-01-27 19:03:35 +04:00
Andrew Dolgov 3728377344 Revert "Firefox accessibility.typeaheadfind is triggered for multikey shortcuts."
breaks copy/paste in chrome

This reverts commit d7e4897b8e.
2013-09-27 15:14:20 +04:00
Derek Schrock d7e4897b8e Firefox accessibility.typeaheadfind is triggered for multikey shortcuts.
For multikey shortcuts Firefox accessibility.typeaheadfind is triggered.  Returning false will cause the default event from occuring and prevent the event from bubbling up.
2013-09-20 00:04:33 -04:00
Andrew Dolgov 1966e05457 workaround for resetting panel size cookies (closes #756) 2013-07-25 14:20:42 +04:00
Andrew Herron c65bd1027a Added alt and meta key handling to hotkeys 2013-07-02 22:36:29 +10:00
Andrew Herron d999bc3eb2 prevent accidental ctrl_key global 2013-07-02 22:29:19 +10:00
Jeffrey Tolar 3faad714e2 Add missing hotkey handler 2013-06-21 01:50:08 -05:00
Matt Haley a95e14fb4c Load selected feed after a short timeout
Avoid firing multiple server requests if the user is navigating up/down
the tree list with the keyboard. Instead, wait till the user has stopped
navigating for at least 250ms.
2013-06-13 22:39:26 -07:00
Andrew Dolgov b684a2e665 fix crash on feedlist collapse, do not use _COLLAPSED_FEEDLIST pref 2013-06-13 14:51:31 +04:00
Andrew Dolgov 15a829013c remove single-line excerpts in widescreen 3panel mode because it breaks layout 2013-06-06 10:15:17 +04:00
Andrew Dolgov d34a32a80e remove unnecessary bottom border from headlines-frame 2013-05-11 15:09:18 +04:00
Andrew Dolgov c73b739b25 save and restore UI panel configuration in cookies 2013-05-08 09:18:43 +04:00
Andrew Dolgov ea18cceaca remove splash before freshfeed is loaded 2013-05-02 09:48:38 +04:00
Andrew Dolgov 27372ddac6 fix editArticleTags() call broken on archived feed 2013-04-30 20:07:08 +04:00
supahgreg 8ceea119a8 Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated. 2013-04-27 11:10:21 -05:00
Andrew Dolgov 6bfc97da86 add automatic timezone (based on client tz offset) 2013-04-26 10:31:57 +04:00
Andrew Dolgov 204f9b186f remove cdmUnexpandArticle 2013-04-25 14:04:49 +04:00
Andrew Dolgov 8d388f321b add a simple JS-based hook host 2013-04-24 19:49:37 +04:00
Andrew Dolgov da76e61af8 catchupAllFeeds: do not call obsolete callback 2013-04-17 19:59:38 +04:00
supahgreg 3cc5a3cd43 minor typo fix in hash_get() 2013-04-16 20:08:17 -05:00
Andrew Dolgov 40fe2d7382 remove js-based player, better mp3 support detection for html5 audio 2013-04-16 15:44:38 +04:00
Andrew Dolgov 7e27c91409 remove RCHK 2013-04-07 00:52:39 +04:00
Sunjay Cauligi 8b35d17172 Added functionality for navigation without opening articles and toggling expansion of headlines 2013-04-05 18:57:05 -07:00
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 2013-04-01 11:14:27 +04:00
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 2013-04-01 10:47:41 +04:00
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 2013-04-01 10:09:22 +04:00
Andrew Dolgov 22af123269 make toggling combined mode work without reload 2013-03-30 19:55:52 +04:00
Andrew Dolgov 60b88b254c add hotkey toggle_cdm_expanded (f c) 2013-03-30 14:28:13 +04:00
Andrew Dolgov b9a06a0e39 retire frankly ridiculous sorting by score/title/date/default
keep defaul and oldest first instead of REVERSE_HEADLINES
2013-03-28 20:44:43 +04:00
Andrew Dolgov 67b9d740ae setActiveFeedId: assign feed/is-cat attributes to headlines-frame 2013-03-28 19:20:12 +04:00
Andrew Dolgov b6c2c963ad if hotkey is handled, return false 2013-03-27 16:34:06 +04:00
Daniel Andersson cee09850f1 Default scroll length closer to expected (i.e. browser default). 2013-03-27 12:17:04 +01:00
Philippe Mongeau d725f0ce99 move global hotkey_actions var to the top 2013-03-26 20:48:44 -04:00
Philippe Mongeau 9fabf9fc4a convert hotkey_action switch to a dict
this will permit plugins to register hockey actions.
2013-03-26 20:40:32 -04:00
Andrew Dolgov 4cdb81737a add a knob to disable reload on js change 2013-03-25 16:07:39 +04:00
Andrew Dolgov 99534a3dde remove page title stuff for the time being 2013-03-23 09:51:30 +04:00
Andrew Dolgov 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov b68dce191f Revert "fix tabs"
This reverts commit d6cb941459.
2013-03-23 09:48:07 +04:00
Andrew Dolgov d6cb941459 fix tabs 2013-03-22 09:40:02 +04:00
Richard Beales 8d051fa076 update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title 2013-03-21 20:24:26 +00:00
Richard Beales 96f19f11d7 Merge remote-tracking branch 'upstream/master' 2013-03-21 18:57:21 +00:00
Andrew Dolgov 3a693fa76f updateTitle: show counter before title 2013-03-21 22:17:32 +04:00
Andrew Dolgov c186beae48 switchPanelMode: don't try to do anything in cdm (closes #609) 2013-03-21 19:01:51 +04:00
Andrew Dolgov 16314ddafe implement basic auto-reload on some dependent file timestamp changing 2013-03-21 18:01:42 +04:00
Andrew Dolgov 2ccc7b8e07 add a e hotkey for embed_original 2013-03-21 16:57:36 +04:00
Richard Beales 04ed8b423a Merge remote-tracking branch 'upstream/master' 2013-03-20 07:26:49 +00:00
Andrew Dolgov 414191d428 make a separate headline button to collapse current article in
unexpanded cdm mode; modify a q hotkey to collapse article in unexpanded
mode and dismiss article in expanded mode
2013-03-20 10:22:15 +04:00
Richard Beales 05809dfdf7 Merge remote-tracking branch 'upstream/master' 2013-03-19 18:19:07 +00:00
Andrew Dolgov d2db81a5f6 improve hotkey buffer scrolling speed; bind viewport scrolling to shift-arrows 2013-03-19 19:14:28 +04:00
Andrew Dolgov 1d5cf085a3 implement mail plugin using mailto: links; deprecate mail plugin 2013-03-19 18:32:49 +04:00
Andrew Dolgov 4b74648909 remove two unnecessary hideOrShowFeeds calls 2013-03-19 16:46:27 +04:00
Andrew Dolgov 4f7d69e185 detect whether browser supports iframe.sandbox and allow iframes accordingly; allow object and embed elements 2013-03-19 12:49:55 +04:00
Andrew Dolgov 5b18c93622 tweak hotkey map notation to allow stuff like shift-arrows 2013-03-18 20:59:48 +04:00
Richard Beales ffbab555b8 Feature #446 - Allow customizing page title 2013-03-16 14:27:55 +00:00
Andrew Dolgov 4b27f0c06d add f C hotkey to toggle combined mode (closes #549) 2013-03-12 09:52:45 +04:00
Andrew Dolgov 4480b26e66 assign hash-stored feed_id/is_cat earlier on startup 2013-02-28 19:16:17 +04:00
Andrew Dolgov 535a4c7d16 only use hash feed/cat parameters on startup 2013-02-28 15:56:22 +04:00
Andrew Dolgov 524de8dcf6 Revert "headlines buffer: remove dijit-based RCHK elements"
This reverts commit f7945c99d0.
2013-02-28 15:48:09 +04:00
Andrew Dolgov f7945c99d0 headlines buffer: remove dijit-based RCHK elements 2013-02-28 15:04:33 +04:00
Andrew Dolgov 1b04a298ef store active feed id in url hash and restore on reload 2013-02-28 13:06:54 +04:00
Andrew Dolgov c22580b55f implement classic next/prev article movement behavior, bind to ctrl-arrows 2013-02-27 22:48:43 +04:00
Andrew Dolgov 88918ca637 remove server-side feedtree collapse implementation 2013-02-27 15:34:13 +04:00
Andrew Dolgov 8853f0ed5b switchPanelMode: fix typo 2013-02-07 00:12:22 +04:00
Andrew Dolgov 533bd7b73f switchPanelMode: cosmetic fixes 2013-02-06 20:23:40 +04:00
Andrew Dolgov 2d1282d4d1 remove top hello - feedback - preferences line 2013-02-06 20:14:06 +04:00
Andrew Dolgov 14501332e0 js: remove several commented out functions 2013-02-01 16:06:14 +04:00
Andrew Dolgov 5b55e9e25c js: simplify counter updating, remove some unused stuff 2013-02-01 13:09:43 +04:00
Andrew Dolgov 96f0a3e79d remove themes/ 2013-01-23 15:36:32 +04:00
Andrew Dolgov fd535b317c switchPanelMode: fix css manipulation for firefox 2013-01-23 15:28:59 +04:00
Andrew Dolgov 2cda431400 add a q shortcut; remove close_article button 2013-01-23 13:39:36 +04:00
Andrew Dolgov 8b83bf5fa1 implement fallback _SIMPLE_UPDATE_MODE 2013-01-22 19:56:46 +04:00
Andrew Dolgov 3fb401120a support ctrl key hotkeys 2013-01-22 13:00:20 +04:00
Andrew Dolgov e5e2cf3b88 add hack to support arbitrary key descriptions for hotkeys 2013-01-22 12:52:52 +04:00
Andrew Dolgov 7d8f56571b persist widescreen mode in session 2013-01-19 10:55:51 +04:00
Andrew Dolgov 6effae6dd8 add net-alert icon 2013-01-14 14:16:55 +04:00
Andrew Dolgov 1bcf8f456a add ability to toggle widescreen mode on the fly 2013-01-05 16:56:49 +04:00
Andrew Dolgov fe021c8b20 disable content dump on f D 2012-12-30 12:25:39 +04:00
Andrew Dolgov 4ba1f8bbdb properly return out of handled hotkey events 2012-12-28 15:46:49 +04:00
Andrew Dolgov 0b2f8843e5 block email_article action if mail plugin is not enabled 2012-12-28 15:44:22 +04:00
Andrew Dolgov b8cb4d08b3 help cleanup, use dijit dialog 2012-12-28 15:42:02 +04:00
Andrew Dolgov e218c5f56f main ui: action-based hotkey system, add swap_jk plugin 2012-12-28 10:46:53 +04:00
Andrew Dolgov a83b58f16d partial move to new hotkey system 2012-12-28 09:39:29 +04:00
Andrew Dolgov c4f5283052 move to dijit checkboxes in headlines/cdm list 2012-12-25 14:13:52 +04:00
Andrew Dolgov ac22075182 move digest to a separate plugin 2012-12-24 10:16:01 +04:00
Andrew Dolgov ca3bb6c75f add f-D debug feed update hotkey 2012-12-22 11:32:54 +04:00
Andrew Dolgov 48b55ef590 fix several feed-related hotkeys working on Uncategorized 2012-11-06 18:08:52 +04:00
Andrew Dolgov c0c2abbaa7 force refetch feed when clicking update/clicking on same feed in the tree 2012-10-25 13:15:14 +04:00
Andrew Dolgov 0ef32f48b2 unify child category counter display; remove include_children control 2012-10-11 12:46:33 +04:00
Andrew Dolgov 5482b38807 add hotkeys to select marked/published articles 2012-10-08 14:32:17 +04:00
Andrew Dolgov 8cdc185ba4 e shortcut: properly handle article selection 2012-09-10 01:34:28 +04:00
Andrew Dolgov 4f79e9aa65 clear cache in viewModeChanged() 2012-09-03 10:29:49 +04:00
Andrew Dolgov 3ea91b2d18 re-enable setting of include_children button on startup 2012-08-14 19:25:10 +04:00
Andrew Dolgov 973c4a649f make precache_headlines_idle() start slower 2012-08-14 19:03:34 +04:00
Andrew Dolgov 1354d17270 update dojo to 1.7.3 2012-08-14 18:59:18 +04:00
Andrew Dolgov 854a2ace86 change include_children to a togglebutton; add placeholder setting save in a session 2012-08-13 21:39:40 +04:00
Andrew Dolgov 09101297ee add toolbar checkbox to include subcategories to viewfeed() 2012-08-13 21:25:46 +04:00
Andrew Dolgov 2ecd2df560 sorta-kinda fix the feedlist 2012-08-13 18:56:55 +04:00
Andrew Dolgov 442456184c simplify catching up of feeds, do not reload headlines buffer on catchup unless on_catchup_show_next_feed is enabled (closes #442) 2012-03-29 15:03:48 +04:00
Andrew Dolgov 118f41806f do not try to load feedlist before receiving init-params 2012-01-31 16:01:43 +04:00
Andrew Dolgov 6802e1bedf fix help not loading on ? press 2011-12-26 13:26:43 +04:00
Andrew Dolgov 8484ce2258 experimental CSRF protection 2011-12-26 12:02:52 +04:00
Andrew Dolgov 0415037517 add jsmin stuff to index.php 2011-12-21 12:15:03 +04:00
Andrew Dolgov ab05e53813 remove about dialog 2011-12-14 15:52:40 +04:00
Andrew Dolgov 66be620a87 do not include keyboard help files into index and prefs.php 2011-12-14 15:51:27 +04:00
Andrew Dolgov 3f3630529e implement tiny-OOP routing 2011-12-13 00:20:53 +04:00
Andrew Dolgov f30ef1fa1b subop -> method 2011-12-12 22:46:25 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Renamed from tt-rss.js (Browse further)