zulip/static/js
Aastha Gupta 7485461cc6 notifications: Check if localstorage is enabled.
This checks for whether local storage is enabled and if it
is not enabled, then it will skip checking the value of
"dontAskForNotifications" key in the local storage.

This should eliminate an occasional JavaScript traceback we were
seeing in production.

Fixes #8721.
2018-03-18 12:54:11 -07:00
..
portico help: Use more consistent module name for perfectScrollbar. 2018-03-16 12:50:33 -07:00
stats stats: Add per-graph loading indicator 2017-12-13 14:44:28 -06:00
.eslintrc.json Change name of eslintrc file to .eslintrc.json 2016-11-29 08:58:39 -08:00
activity.js right-sidebar: Enable up and down arrow keys. 2018-02-12 15:38:23 -08:00
admin_sections.js org settings: Add framework for User groups page. 2018-01-06 11:50:52 -05:00
admin.js admin: Add a realm setting to disallow signups using disposable emails. 2018-03-11 22:05:58 -07:00
alert_words_ui.js urls: Change the method for adding alert words from PUT to POST. 2017-09-26 14:00:51 -07:00
alert_words.js Highlight alert words in mentions you send to yourself. 2017-10-12 14:03:36 -07:00
attachments_ui.js attachments_ui: Remove unnecessary export of bytes_to_size. 2018-03-15 18:06:04 -07:00
avatar.js user settings: Display avatar source. 2018-03-05 09:12:59 -08:00
blueslip.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
bot_data.js bots: Delete bot from bot_data set on realm_bot delete event. 2018-03-08 07:54:19 -08:00
channel.js middleware: Use a proper error code on CSRF failure. 2017-07-25 14:02:12 -07:00
click_handlers.js hotspots: Move the code for closing hotspot icon to hotspots.js. 2018-03-18 10:22:09 -07:00
colorspace.js Migrate JS modules to CommonJS style. 2016-12-07 16:11:52 -08:00
common.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
components.js tab-switcher: Switch tabs with left/right arrows. 2017-11-08 18:13:57 -08:00
compose_actions.js compose: Fix "New Topic" button behaviour auto-populates the current topic. 2018-03-16 12:01:24 -07:00
compose_fade.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
compose_pm_pill.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
compose_state.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
compose_ui.js message edit: Allow uploading files. 2018-03-05 10:42:38 -08:00
compose.js compose: Don't warn if mentioned stream members form a superset. 2018-03-09 10:46:41 -08:00
composebox_typeahead.js compose typeahead: Add all public streams including unsubscribed streams. 2018-03-14 11:10:43 -07:00
condense.js frontend: Simplify saving collapsed/uncollapsed flags. 2017-12-26 09:01:21 -05:00
copy_and_paste.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
custom_markdown.js Remove deprecated jQuery "delegate" function. 2017-07-24 10:47:16 -07:00
debug.js webpack: Move app_debug.js to webpack bundle. 2017-06-13 12:45:40 -07:00
dict.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
drafts.js drafts: Fix same day's timestamp when language is other than english. 2018-03-14 10:57:11 -07:00
dynamic_text.js js: Implement DynamicText class. 2017-05-11 17:23:53 -07:00
echo.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
emoji_picker.js Refactor perfect-scrollbar: Call ui methods in emoji_picker.js. 2018-03-16 12:47:44 -07:00
emoji.js emoji: Switch to 64px 256 color indexed sprite sheets. 2018-03-14 10:28:45 -07:00
favicon.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
feature_flags.js reminders: Hide message menu reminder's option behind features_flag. 2018-01-24 03:33:40 +05:30
fenced_code.js bugdown: Fix handling of nested fenced math blocks. 2017-11-22 12:19:43 -08:00
fetch_status.js Add FetchStatus class. 2018-03-09 14:20:58 -08:00
filter.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
floating_recipient_bar.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
gear_menu.js gear_menu: Fix traceback accessing i18n before it is initialized. 2017-06-02 14:03:56 -07:00
hash_util.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
hashchange.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
hotkey.js hotkey: Add 'delete' to delete focused draft. 2018-03-09 13:30:09 -08:00
hotspots.js hotspots: Fix real-time sync for dismissing hotspots. 2018-03-18 10:22:09 -07:00
input_pill.js node tests: Add tests for input_pill.js. 2018-03-07 15:53:11 -08:00
integration_bot_widget.js template context: Give better names to the URLs for the API. 2017-10-30 18:29:29 -07:00
invite.js invite: Update text of success message. 2017-12-19 17:46:36 -08:00
lightbox_canvas.js lightbox_canvas: Fix use of unsupported const. 2017-08-05 16:47:11 -07:00
lightbox.js bugdown: Add preview for vimeo videos. 2018-01-17 09:11:43 -05:00
list_render.js list_render: Add sorting reversal. 2017-11-01 13:26:40 -07:00
list_util.js Extract list_util.js for navigating lists. 2017-04-05 11:53:52 -07:00
loading.js display_settings: Change success/failure feedback interface. 2018-03-04 17:47:05 -08:00
localstorage.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
markdown.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
message_edit.js message editing: Move update msg-topic-edit-icon func to message_edit.js. 2018-03-06 07:17:28 -08:00
message_events.js messages: Make checking for status message consistent with backend. 2018-01-23 09:26:41 -05:00
message_fetch.js message_fetch: Use found_oldest flag from server. 2018-03-16 11:42:52 -07:00
message_flags.js Use throttle, not debounce, to "read" messages. 2017-12-26 09:01:21 -05:00
message_list_view.js message_viewport: Call set_message_offset() for prepending. 2018-03-16 11:44:20 -07:00
message_list.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
message_live_update.js avatar live updates: Do full re-render. 2017-02-22 22:46:44 -08:00
message_scroll.js refactor: Call message_scroll.hide_indicators() directly. 2018-03-09 14:20:58 -08:00
message_store.js refactor: Extract pm_conversations.recent. 2018-02-12 09:34:59 -08:00
message_util.js sending messages: Extract sent_messages.js. 2017-08-01 08:58:56 -07:00
message_viewport.js lint: Ban two spaces after comma in JS code. 2017-10-18 10:22:18 -07:00
muting_ui.js Inline muting_ui.mute_topic and unmute_topic. 2017-10-17 17:41:21 -07:00
muting.js Revert "muting.js: Track muted streams using stream id." 2017-05-17 07:06:32 -07:00
narrow_state.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
narrow.js Use msg_list.fetch_status instead of load_enabled. 2018-03-09 14:20:58 -08:00
navigate.js Have home key go to actual first message in the list. 2017-10-03 11:28:28 -07:00
night_mode.js night-mode: Add custom CSS through JS. 2017-11-29 23:06:11 -08:00
notifications.js electron_bridge: Send unread count to electron app on update. 2018-03-09 14:12:33 -08:00
overlays.js settings: When overlay modal opens, remove previous alert messages. 2018-01-23 14:38:59 -05:00
panels.js notifications: Check if localstorage is enabled. 2018-03-18 12:54:11 -07:00
people.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
pm_conversations.js Add pm_conversations.recent.get_strings(). 2018-02-12 09:34:59 -08:00
pm_list.js refactor: Extract pm_conversations.recent. 2018-02-12 09:34:59 -08:00
pointer.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
popovers.js popovers: Rename confusing my_email to user_popover_email. 2018-03-12 12:24:50 -07:00
presence.js presence: Change "unknown" to "offline". 2017-10-12 10:42:06 -07:00
reactions.js reactions: Migrate emoji_code to store id for realm emoji. 2018-03-09 13:46:27 -08:00
realm_icon.js Add size limit for uploading user avatars and realm icons. 2017-03-07 22:13:01 -08:00
recent_senders.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
reload.js reload: Handle errors with compose_actions.start(). 2018-03-07 15:53:11 -08:00
resize.js Refactor perfect-scrollbar: Call ui methods in resize.js. 2018-03-16 12:47:46 -07:00
rows.js js: Remove a few spurious arguments. 2017-08-22 09:37:17 -07:00
rtl.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
scroll_bar.js Refactor perfect-scrollbar: Call ui methods in scroll_bar.js. 2018-03-16 12:47:46 -07:00
search_suggestion.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
search.js eslint: Add and enforce space-in-parens lint rule. 2017-10-06 12:36:59 -07:00
sent_messages.js urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
server_events_dispatch.js user_groups: Fix real-time sync of user groups. 2018-03-14 10:12:14 -07:00
server_events.js local echo: Bypass message.flags array. 2017-12-26 09:01:21 -05:00
settings_account.js user settings: Fix user avatar not updated in settings page. 2018-03-13 10:57:36 -07:00
settings_bots.js org settings: Add setting to prevent users from adding bots. 2018-03-09 13:21:55 -08:00
settings_display.js settings_ui: Extend do_settings_change for other request methods also. 2018-03-15 17:06:45 -07:00
settings_emoji.js settings: Prevent multiple requests while adding custom emoji. 2018-03-11 16:17:47 -07:00
settings_filters.js org settings: Disable "Add filter" button when a request is in transit. 2018-03-15 13:56:15 -07:00
settings_invites.js settings: Show local time instead of UTC in invitations tab. 2017-12-20 07:08:46 -05:00
settings_lab.js settings: Remove autoscroll_forever setting. 2018-01-02 10:35:49 -05:00
settings_muting.js Extract settings_muting.js. 2017-04-06 11:28:36 -07:00
settings_notifications.js settings_ui: Extend do_settings_change for other request methods also. 2018-03-15 17:06:45 -07:00
settings_org.js org settings: Extend populate_data_for_request for selected property types. 2018-03-15 17:06:45 -07:00
settings_sections.js settings_ui: Move main function for new settings system to library code. 2018-03-04 18:26:27 -08:00
settings_streams.js deactivation-stream-modal: Make stream name a template variable. 2018-03-04 19:26:50 -08:00
settings_ui.js settings_ui: Extend do_settings_change for other request methods also. 2018-03-15 17:06:45 -07:00
settings_user_groups.js settings: Add save instructions below pill container on changes. 2018-03-15 17:29:12 -07:00
settings_users.js org settings: Hide table-list-data until page gets load. 2018-03-07 13:34:50 -08:00
settings.js org settings: Add setting to prevent users from adding bots. 2018-03-09 13:21:55 -08:00
setup.js Fix outerHeight to OR with 0 to not produce NaN. 2017-07-27 14:16:57 -07:00
socket.js local echo: Remove buggy restart-related code. 2017-07-18 12:03:16 -07:00
stream_color.js Revert "Make recipient bar styling more compact and clean." 2018-02-16 11:55:00 -08:00
stream_create.js stream_create: Fix use of "realm" in an error string. 2018-03-16 16:59:02 -07:00
stream_data.js stream settings: Allow realm admins to access all private stream subs. 2018-03-13 14:59:09 -07:00
stream_edit.js js/stream_edit.js: Remove function to update stream on subs add/remove. 2018-03-16 12:22:06 -07:00
stream_events.js stream_data: Move calls to update_calculated_fields to events layer. 2018-03-09 18:00:31 -08:00
stream_list.js Refactor perfect-scrollbar: Call ui methods in stream_list.js. 2018-03-16 12:47:47 -07:00
stream_muting.js ui-refactor: Rename modals.js to overlays.js. 2017-05-29 11:24:46 -07:00
stream_popover.js bankruptcy: Add UI widget to mark all messages as read. 2018-02-15 18:01:03 -08:00
stream_sort.js Fix issues with left-sidebar stream search and multiple words. 2017-09-15 00:22:59 -07:00
subs.js stream settings: Don't show add-subs-btn if user can't add subscribers. 2018-03-14 09:21:14 -07:00
tab_bar.js left sidebar: Change Home to All messages. 2017-11-28 15:42:58 -08:00
templates.js templates: Fix typo in error message. 2017-06-26 19:33:25 -04:00
timerender.js drafts: Add timestamps showing when last modified. 2018-02-19 09:55:50 -08:00
top_left_corner.js Extract top_left_corner.js. 2017-08-14 13:03:57 -07:00
topic_data.js Add topic_data.get_server_history(). 2017-08-08 17:07:09 -04:00
topic_generator.js Add topic_generator.get_next_unread_pm_string(). 2018-02-12 09:34:59 -08:00
topic_list.js Refactor perfect-scrollbar: Call ui methods in topic_list.js. 2018-03-16 12:47:46 -07:00
translations.js i18n: Flag emojiset type name string for translation. 2018-02-22 05:36:03 -08:00
transmit.js refactor: Extract transmit.js from compose.js. 2018-02-20 09:29:26 -08:00
tutorial.js urls: Move the json/tutorial_status endpoint to be an API-style route. 2017-10-09 15:13:33 -07:00
typeahead_helper.js compose typeahead: Add all public streams including unsubscribed streams. 2018-03-14 11:10:43 -07:00
typing_data.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_events.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing_status.js docs: Reorganize developer docs to improve navigation. 2017-11-16 09:45:08 -08:00
typing.js Add typing.initialize() to prevent tracebacks. 2018-03-16 09:23:23 -07:00
ui_init.js Add typing.initialize() to prevent tracebacks. 2018-03-16 09:23:23 -07:00
ui_report.js Revert "settings: Check if xhr response text include ':' or not." 2018-02-06 13:44:10 -08:00
ui_util.js ui_util: Move place_caret_at_end to ui_util module. 2018-01-23 15:00:11 -08:00
ui.js Refactor perfect-scrollbar: Call ui methods in emoji_picker.js. 2018-03-16 12:47:44 -07:00
unread_ops.js unread_ops: Add a quick comment explaining an interface. 2018-02-16 11:44:41 -08:00
unread_ui.js bug: Show the count in the bankruptcy modal. 2017-08-17 23:30:41 -04:00
unread.js refactor: Stop using flags array for unread counts. 2017-12-26 09:01:21 -05:00
upload_widget.js settings ui: Restrict file type for image file pickers. 2017-10-27 10:21:36 -07:00
upload.js message edit: Allow uploading files. 2018-03-05 10:42:38 -08:00
user_events.js user settings: Fix user avatar not updated in settings page. 2018-03-13 10:57:36 -07:00
user_groups.js user-groups: Update user_group_name_dict, when name/description is edited. 2018-03-15 10:09:28 -07:00
user_pill.js user_pill: Add Zephyr logic. 2018-03-07 15:53:11 -08:00
util.js markdown: Require double-asterisk around all mentions. 2018-02-16 11:45:08 -08:00
zulip.js night-mode: Add custom CSS through JS. 2017-11-29 23:06:11 -08:00