zulip/static/js
Michael Cordover 53e23743ca Refactor hotkey logic.
Place all hotkey names into a set of three objects in hotkeys.js:

 * hotkeys_shift_insensitive
   These are keys where the behaviour is the same whether they are
   pressed with shift or not.

 * hotkeys_no_modifiers
   These are keys where the event should only be fired when shift
   is not being pressed.

 * hotkeys_shift
   These are keys where the event should only be fired when the key
   is pressed simultaneously with shift.

Each object is a dictionary of key value pairs, with the key being
the keyscan code (e.which) for the key. This is normally the ASCII
key code. The value is an object with two properties, name (which
is the event name) and message_view_only, a boolean. Hotkeys with
message_view_only set to true will not be fired when the home tab
is obscured.
2016-06-13 15:43:49 -07:00
..
src Fix Handlebars translations. 2016-06-06 09:30:56 -07:00
activity.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
admin.js Mark strings translatable. 2016-06-13 09:03:56 -07:00
alert_words.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
alert_words_ui.js Replace json/set_alert_words with REST style route. 2016-04-11 21:38:22 -07:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js lint: Require folding of } on same line in else if statements. 2016-06-09 14:05:34 -07:00
blueslip.js Add a detailed description to event loop errors 2014-02-10 17:08:11 -05:00
bot_data.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
channel.js Make reload save options required explicit arguments. 2015-11-30 08:49:39 -08:00
click_handlers.js Fix save in topic edit also saving message content edit box. 2016-06-07 12:55:58 -07:00
colorspace.js Modify crumbbar style to look like an arrowbar 2014-02-18 12:50:29 -07:00
common.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
compose.js Mark strings translatable. 2016-06-13 09:03:56 -07:00
compose_fade.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
composebox_typeahead.js Seperate extract PM recipients as function. 2016-06-11 11:22:22 -07:00
condense.js Fix collapsing messages in narrowed views. 2016-03-20 16:58:57 -07:00
copy_and_paste.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
custom_markdown.js Mark strings translatable. 2016-06-13 09:03:56 -07:00
debug.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
dict.js Create blueslip error for undefined keys in Dict. 2013-09-11 18:07:37 -04:00
echo.js Move get_private_message_recipient to message_store.js 2016-05-27 01:03:21 -07:00
emoji.js Fix emoji urls interaction with i18n. 2016-06-13 09:10:11 -07:00
favicon.js Move favicon-related functions to favicon.js 2014-03-14 20:48:55 -04:00
feature_flags.js Remove now-unused og_zuliper_emails variable. 2015-09-19 23:37:48 -07:00
fenced_code.js Tolerate spaces after language in markdown fences. 2014-03-06 10:15:20 -05:00
filter.js lint: Require folding of } on same line in else if statements. 2016-06-09 14:05:34 -07:00
floating_recipient_bar.js Created floating_recipient_bar.js (with code from ui.js). 2014-03-14 20:48:58 -04:00
gear_menu.js Move scroll_to_selected to navigate.js. 2016-05-27 01:03:21 -07:00
hashchange.js Created floating_recipient_bar.js (with code from ui.js). 2014-03-14 20:48:58 -04:00
hotkey.js Refactor hotkey logic. 2016-06-13 15:43:49 -07:00
initial_invite.js Unbreak sending invites from the first user. 2014-01-13 10:36:48 -05:00
invite.js Unconditionally subscribe new users to the notification stream if it is public. 2014-01-23 17:06:26 -05:00
loading.js Moved loading_indicator functions to loading.js. 2014-03-14 20:48:52 -04:00
localstorage.js Add a localstorage.js module 2014-01-23 16:28:58 -05:00
message_edit.js lint: Require space after // in JS comments. 2016-06-09 13:44:24 -07:00
message_flags.js Replace /json/update_message_flags with REST style route. 2016-04-11 21:38:22 -07:00
message_list.js Add subscribe button in narrowed view when stream has no messages. 2016-05-18 20:06:30 -07:00
message_list_view.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
message_store.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
muting.js Update unread counts for streams when muting topics. 2016-03-27 13:49:52 -07:00
muting_ui.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
narrow.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
navigate.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
notifications.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
people.js people.js remove: Fix case-sensitive email matching. 2016-06-07 21:58:45 -07:00
pointer.js Move recenter_view to viewport.js. 2016-05-27 01:03:21 -07:00
popovers.js lint: Require folding of } on same line in else if statements. 2016-06-09 14:05:34 -07:00
referral.js Move resizing code to resize.js. 2014-03-14 20:48:55 -04:00
reload.js Move narrowed_msg_list to message_list.js. 2016-04-26 10:25:11 -07:00
resize.js lint: Require folding of } on same line in else if statements. 2016-06-09 14:05:34 -07:00
rows.js Fix topic edits that are initiated from the FRB. 2014-03-14 20:48:55 -04:00
scroll_bar.js Created scroll_bar.js (with code taken from ui.js). 2014-03-14 20:48:56 -04:00
search.js Remove jquery.highlight 2014-01-15 16:07:20 -05:00
search_suggestion.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
server_events.js Make default_streams web controllable. 2016-06-09 15:24:32 -07:00
settings.js Add UserProfile flag to control whether we have a left side userlist. 2015-09-19 23:22:59 -07:00
setup.js Remove {show,destroy}_first_run_message. 2014-03-14 20:48:54 -04:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
socket.js tests: Defer sockjs object creation when in testing 2014-03-11 13:06:20 -04:00
stream_color.js Fix stream color changes 2014-03-03 14:46:38 -07:00
stream_data.js Move recent_subjects to stream_data. 2016-06-07 17:50:16 -07:00
stream_list.js lint: Require folding of } on same line in else if statements. 2016-06-09 14:05:34 -07:00
subs.js Mark strings translatable. 2016-06-13 09:03:56 -07:00
tab_bar.js update old messages' stream-color text class 2014-02-18 12:50:31 -07:00
templates.js [third] Integrate i18next with Handlebars 2016-05-19 22:58:25 -07:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Fix emoji urls interaction with i18n. 2016-06-13 09:10:11 -07:00
typeahead_helper.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
ui.js Move recenter_view to viewport.js. 2016-05-27 01:03:21 -07:00
unread.js lint: Require folding of } on same line as else statements. 2016-06-09 14:02:49 -07:00
util.js Add validation for private message recipients. 2016-06-11 11:24:45 -07:00
viewport.js Move recenter_view to viewport.js. 2016-05-27 01:03:21 -07:00
zulip.js Add warning at top of zulip.js about adding new things. 2016-06-10 10:22:24 -07:00