Commit Graph

210 Commits (2fa3e019f1790f29115d7b394acbc187c0544e7f)

Author SHA1 Message Date
Andrew Dolgov fd752a79af finish xhrPost migration of js/ 6 years ago
Andrew Dolgov 7e8be97b66 remove duplicated code from hotkey actions handler
more xhrPost() refactoring
6 years ago
Andrew Dolgov 560b9fdd26 use xhrPost in more places 6 years ago
Andrew Dolgov 0d27227359 use xhrPost in more places; various minor cleanup 6 years ago
Andrew Dolgov 1b91bb4564 don't compare result with undefined seq 6 years ago
Andrew Dolgov 4508e3103d some more eslint-related stuff 6 years ago
Andrew Dolgov 8572e0108a declare globals with let 6 years ago
Andrew Dolgov 424e28db6b eslint-related fixes 6 years ago
Andrew Dolgov a3e2f1a9c3 define custom dojo modules with define() instead of require(), update startup module dependencies 6 years ago
wn_ a972ab45bd strict js: various var fixes 7 years ago
Andrew Dolgov 7560e54e39 switchPanelMode: strict-mode fix for article_id 7 years ago
wn_ ad04bbf81d strict js: fix more dialog vars 7 years ago
Andrew Dolgov 3009ecc44f initial for JS strict mode 7 years ago
Andrew Dolgov 0518510814 remove some obsolete stuff, fix minor issues found by code analyzer 7 years ago
Andrew Dolgov 22adcd7466 request counters less times during startup, delay initial request in feedlist_init() a bit 7 years ago
Andrew Dolgov 267bcee32c quickAddFeed: fix legacy feed_id type being passed to newrule 7 years ago
Andrew Dolgov 46b433933e hotkey_handler: one more tiny tweak 8 years ago
Andrew Dolgov a97e8cddf7 hotkey_handler: cleanup things a bit 8 years ago
Andrew Dolgov 0ae7de6d91 hotkey_handler: return true on prefix handled 8 years ago
Andrew Dolgov 0a79531696 hotkey_handler: stop propagation of handled prefix/action events 8 years ago
Andrew Dolgov e0a957b3f6 use try/catch block in updatefeedlist
remove reporting function from exception dialog
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
Andrew Dolgov 5161460048 bind headlines menu to a selector to avoid remaking it unnecessarily 8 years ago
Andrew Dolgov 3188e863b3 handle_rpc_json: fix netalert button never appearing on JSON parse error 8 years ago
Andrew Dolgov 6358d70d5e reset local counter cache when feed count changes 8 years ago
Andrew Dolgov b1a80693b1 collapse_feedlist: also toggle splitter 8 years ago
Anders Kaseorg 88946d331a Replace all setTimeout strings with functions
This fixes a cross-site scripting vulnerability.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
8 years ago
Andrew Dolgov 7fbc10c236 force-enable persist for feedTree 8 years ago
Andrew Dolgov 1c4f5e8390 add dependency on dojo/_base/html 8 years ago
Andrew Dolgov 6293d3717c add toggle_sidebar plugin, remove obsolete toggle button
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
8 years ago
Andrew Dolgov d39a2f8005 switch modules to new dojo definition format 8 years ago
Andrew Dolgov 546b419f52 catch plugin JS errors 8 years ago
Andrew Dolgov 0dbc20a8d4 load dijit properly, duh 8 years ago
Andrew Dolgov ee5170424e dojo: main UI: load stuff asynchronously 8 years ago
Andrew Dolgov 64c24ecb59 add hotkey for toggling VFEED_GROUP_BY_FEED preference 8 years ago
Andrew Dolgov b6b5554db4 normalize some html5 custom attributes 9 years ago
Andrew Dolgov 7c0d68f207 remove dismiss* functions 9 years ago
Andrew Dolgov 791877c39d fix catching up for grouped feeds 9 years ago
Andrew Dolgov 6b0a17ad8b viewfeed: switch to hash-based arguments
viewfeed: remove (obsolete) method parameter
add shortcut to debug viewfeed() query
9 years ago
Andrew Dolgov 9090b874ab simplify search, remove search_mode as useless
remove dialog to select by tags, simplify browsing by tag query
9 years ago
Andrew Dolgov 86b05f8661 better feed debugger ui for f D 10 years ago
Andrew Dolgov 415a3b50c9 fix some minor typos and stuff 10 years ago
Andrew Dolgov 669fc881f3 add error notification if trying to toggle widescreen in cdm 10 years ago
Andrew Dolgov 119ba03bd4 minor fixes for previous 10 years ago
Andrew Dolgov efcc5d365d add placeholder update checker using git changesets 10 years ago
Andrew Dolgov ed775e4e8d remove obsolete code related to version checking and tarball updater plugin 10 years ago
Andrew Dolgov 98cbae8dfa hotkey actions: toggle_expand, collapse_article: check if element exists
before acting on it (closes #815)
10 years ago
Andrew Dolgov 38bc9dad22 mail plugin: use dijit.form.ComboBox to allow random email input instead of only predefined ones 10 years ago
Andrew Dolgov 89018afa13 assign stored content-insert height/width in switchPanelMode(); reset stored sizes on widescreen switch 10 years ago
Andrew Dolgov df63125dd7 handle_rpc_json: do not crash if net-alert is somehow unavailable 11 years ago
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.
11 years ago
Andrew Dolgov 2ffe7a3b14 add a less intimidating error message when backend times out and/or fails to return valid JSON 11 years ago
Andrew Dolgov d728015d48 minor css tweaks 11 years ago
Andrew Dolgov d44f3da4be default theme updates 11 years ago
Andrew Dolgov 3728377344 Revert "Firefox accessibility.typeaheadfind is triggered for multikey shortcuts."
breaks copy/paste in chrome

This reverts commit d7e4897b8e.
11 years ago
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.
11 years ago
Andrew Dolgov 1966e05457 workaround for resetting panel size cookies (closes #756) 11 years ago
Andrew Herron c65bd1027a Added alt and meta key handling to hotkeys 12 years ago
Andrew Herron d999bc3eb2 prevent accidental ctrl_key global 12 years ago
Jeffrey Tolar 3faad714e2 Add missing hotkey handler 12 years ago
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.
12 years ago
Andrew Dolgov b684a2e665 fix crash on feedlist collapse, do not use _COLLAPSED_FEEDLIST pref 12 years ago
Andrew Dolgov 15a829013c remove single-line excerpts in widescreen 3panel mode because it breaks layout 12 years ago
Andrew Dolgov d34a32a80e remove unnecessary bottom border from headlines-frame 12 years ago
Andrew Dolgov c73b739b25 save and restore UI panel configuration in cookies 12 years ago
Andrew Dolgov ea18cceaca remove splash before freshfeed is loaded 12 years ago
Andrew Dolgov 27372ddac6 fix editArticleTags() call broken on archived feed 12 years ago
supahgreg 8ceea119a8 Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated. 12 years ago
Andrew Dolgov 6bfc97da86 add automatic timezone (based on client tz offset) 12 years ago
Andrew Dolgov 204f9b186f remove cdmUnexpandArticle 12 years ago
Andrew Dolgov 8d388f321b add a simple JS-based hook host 12 years ago
Andrew Dolgov da76e61af8 catchupAllFeeds: do not call obsolete callback 12 years ago
supahgreg 3cc5a3cd43 minor typo fix in hash_get() 12 years ago
Andrew Dolgov 40fe2d7382 remove js-based player, better mp3 support detection for html5 audio 12 years ago
Andrew Dolgov 7e27c91409 remove RCHK 12 years ago
Sunjay Cauligi 8b35d17172 Added functionality for navigation without opening articles and toggling expansion of headlines 12 years ago
Andrew Dolgov 1c9bda915b move several methods from dlg; fix displayed tags not updated after editing 12 years ago
Andrew Dolgov fb54e3b188 remove xml stuff from backend/dlg 12 years ago
Andrew Dolgov a2a3d5a3aa add (disabled) per-feed view_settings handling placeholder 12 years ago
Andrew Dolgov 22af123269 make toggling combined mode work without reload 12 years ago
Andrew Dolgov 60b88b254c add hotkey toggle_cdm_expanded (f c) 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 67b9d740ae setActiveFeedId: assign feed/is-cat attributes to headlines-frame 12 years ago
Andrew Dolgov b6c2c963ad if hotkey is handled, return false 12 years ago
Daniel Andersson cee09850f1 Default scroll length closer to expected (i.e. browser default). 12 years ago
Philippe Mongeau d725f0ce99 move global hotkey_actions var to the top 12 years ago
Philippe Mongeau 9fabf9fc4a convert hotkey_action switch to a dict
this will permit plugins to register hockey actions.
12 years ago
Andrew Dolgov 4cdb81737a add a knob to disable reload on js change 12 years ago
Andrew Dolgov 99534a3dde remove page title stuff for the time being 12 years ago
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.
12 years ago
Andrew Dolgov b68dce191f Revert "fix tabs"
This reverts commit d6cb941459.
12 years ago
Andrew Dolgov d6cb941459 fix tabs 12 years ago
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 12 years ago
Richard Beales 96f19f11d7 Merge remote-tracking branch 'upstream/master' 12 years ago
Andrew Dolgov 3a693fa76f updateTitle: show counter before title 12 years ago
Andrew Dolgov c186beae48 switchPanelMode: don't try to do anything in cdm (closes #609) 12 years ago
Andrew Dolgov 16314ddafe implement basic auto-reload on some dependent file timestamp changing 12 years ago
Andrew Dolgov 2ccc7b8e07 add a e hotkey for embed_original 12 years ago
Richard Beales 04ed8b423a Merge remote-tracking branch 'upstream/master' 12 years ago
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
12 years ago