zulip/static/js
Rishi Gupta d529a94e4d Add realm setting to time-limit editing of message content.
This is controlled through the admin tab and a new field in the Realms table.
Notes:
* The admin tab setting takes a value in minutes, whereas the backend stores it
  in seconds.
* This setting is unused when allow_message_editing is false.
* There is some generosity in how the limit is enforced. For instance, if the
  user sees the hovering edit button, we ensure they have at least 5 seconds to
  click it, and if the user gets to the message edit form, we ensure they have
  at least 10 seconds to make the edit, by relaxing the limit.
* This commit also includes a countdown timer in the message edit form.

Resolves #903.
2016-07-15 13:55:49 -07:00
..
src Ensure translations are loaded. 2016-06-20 11:31:28 -07:00
activity.js Add and use util.is_current_user helper function. 2016-06-07 21:58:44 -07:00
admin.js Add realm setting to time-limit editing of message content. 2016-07-15 13:55:49 -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 Add error message when user attempts to submit empty alert word. 2016-07-13 21:07:20 -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 Move respond_to_message to compose.js. 2016-06-29 13:04:02 -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 Move respond_to_message to compose.js. 2016-06-29 13:04:02 -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 [third] Replace jquery-caret with newer implementation. 2016-06-14 16:36:51 -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 report_error arguments translatable. 2016-06-23 16:23:01 -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 Separate unicode emojis from named emojis. 2016-06-30 15:48:02 -07:00
emoji.js Separate unicode emojis from named emojis. 2016-06-30 15:48:02 -07:00
favicon.js Move favicon-related functions to favicon.js 2014-03-14 20:48:55 -04:00
feature_flags.js Add realm setting to disable message editing. 2016-07-10 11:57:24 -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 Rename hashchange.zulip event to avoid jquery 1.8 interaction. 2016-07-08 11:09:09 -07:00
hotkey.js Move respond_to_message to compose.js. 2016-06-29 13:04:02 -07:00
initial_invite.js Unbreak sending invites from the first user. 2014-01-13 10:36:48 -05:00
invite.js Mention invite emails are printed in console in dev. 2016-06-23 17:07:11 -07: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 Add realm setting to time-limit editing of message content. 2016-07-15 13:55:49 -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 Rename hashchange.zulip event to avoid jquery 1.8 interaction. 2016-07-08 11:09:09 -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 realm setting to disable message editing. 2016-07-10 11:57:24 -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 Correctly narrow to stream using search box from subscription page. 2016-06-23 15:20:57 -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 Add realm setting to disable message editing. 2016-07-10 11:57:24 -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 Add realm setting to disable message editing. 2016-07-10 11:57:24 -07:00
settings.js Improve the alert messages for display settings. 2016-07-04 11:56:02 -07:00
setup.js Defer loading zxcvbn in main webapp until necessary. 2016-06-22 17:06:37 -07: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 Add ability to pin streams to top of the streams sidebar list. 2016-06-30 22:26:09 -07:00
subs.js Cache email address hint content. 2016-07-07 11:39:52 -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 timerender: Include year in message interstitials. 2016-07-12 18:26:42 -07:00
tutorial.js Remove use of $(document).data('events') to enable jQuery 1.8 upgrade. 2016-06-23 14:06:47 -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 Add realm setting to time-limit editing of message content. 2016-07-15 13:55:49 -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 Move respond_to_message to compose.js. 2016-06-29 13:04:02 -07:00