zulip/static/js
Yashashvi Dave 40590bb6b9 custom fields: Fix exception in rendering custom profile field template.
The function `settings_account.add_custom_profile_fields_to_settings`
called twice, which resulted in two templates objects being
rendered.

The function also didn't check whether settings overlay was open or
not when processing new events, and thus would throw an "undefined"
error if a custom profile field was editing while the overlay was not
open.

Fixes #9668.
2018-06-10 13:50:38 -07:00
..
portico help: Update default article heading on help pages. 2018-06-07 11:21:12 -07:00
stats eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
.eslintrc.json
activity.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
admin.js Keep track of which settings sections are open. 2018-06-06 09:42:33 -07:00
admin_sections.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
alert_words.js
alert_words_ui.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
archive.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
attachments_ui.js attachments: Implement frontend for real-time sync. 2018-05-04 16:22:27 -07:00
avatar.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
blueslip.js logging/errors/webpack: Improve error stack traces with blueslip. 2018-05-22 14:36:41 -07:00
bot_data.js botserver: Add outgoing webhook tokens to botserverrc. 2018-05-30 10:00:19 -04:00
buddy_data.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
buddy_list.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
channel.js
click_handlers.js Move panel click handler into settings_panel_menu.js. 2018-06-06 09:42:33 -07:00
colorspace.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
common.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
components.js toggler: Stop supporting payload target. 2018-06-06 09:42:33 -07:00
compose.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
compose_actions.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
compose_fade.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
compose_pm_pill.js compose: Add pills for typing in PM recipients. 2018-03-07 15:53:11 -08:00
compose_state.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
compose_ui.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
composebox_typeahead.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
condense.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
copy_and_paste.js desktop: Remove logic for legacy QT/webkit desktop app. 2018-05-15 16:00:14 -07:00
debug.js
dict.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
drafts.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
echo.js slash-commands: Suppress local echo for slash commands. 2018-05-20 14:42:09 -07:00
emoji.js emoji: Do selective local echo of emoticon conversions. 2018-03-27 17:16:55 -07:00
emoji_picker.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
favicon.js
feature_flags.js cleanup: Remove the legacy Dropbox file upload integration. 2018-04-11 11:39:48 -07:00
fenced_code.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
fetch_status.js Add fetch_status.has_found_newest(). 2018-05-03 12:44:30 -07:00
filter.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
floating_recipient_bar.js
gear_menu.js gear_menu: Remove now-unnecessary ensure_i18n call. 2018-05-30 09:13:12 -07:00
hash_util.js Add stream ids to urls for stream-related narrows. 2018-02-19 09:03:11 -08:00
hashchange.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
hotkey.js settings: Add better keyboard navigation for panel menus. 2018-06-06 09:42:33 -07:00
hotspots.js onboarding: Redesign intro_reply hotspot in bottom whitespace. 2018-05-23 14:22:19 -07:00
info_overlay.js info-overlay: Make toggler initialization less eager. 2018-06-04 09:02:58 -07:00
input_pill.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
integration_bot_widget.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
invite.js jquery-form: Remove use of jquery-form from invite-user form. 2018-05-30 03:14:39 +05:30
keydown_util.js left-sidebar: Fix opening of compose box on narrowing using hotkeys. 2018-06-09 12:53:24 -04:00
lightbox.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
lightbox_canvas.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
list_cursor.js refactor: Extract scroll_util.js. 2018-04-28 11:15:14 -07:00
list_render.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
list_util.js
loading.js display_settings: Change success/failure feedback interface. 2018-03-04 17:47:05 -08:00
local_message.js Extract local_message.js. 2018-05-16 09:30:49 -07:00
localstorage.js lint: Replace 'return undefined;' with 'return;'. 2018-03-13 08:22:42 -04:00
markdown.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
message_edit.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
message_events.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
message_fetch.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
message_flags.js refactor: Rename mark_message(s)_as_read to notify_server_message(s)_read. 2018-04-05 09:54:48 -07:00
message_list.js Add message_list.is_at_end() helper. 2018-05-28 16:49:57 -07:00
message_list_data.js Fix recent regressions with All Messages (muted topics). 2018-06-04 14:35:23 -07:00
message_list_view.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
message_live_update.js message_live_update: Fix double re-rendering of home_msg_list. 2018-04-02 18:58:51 -07:00
message_scroll.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
message_store.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
message_util.js message_list: Remove unused delay_render option. 2018-05-15 14:25:21 -07:00
message_viewport.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
muting.js
muting_ui.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
narrow.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
narrow_state.js Expand get_unread_ids() to all local narrows. 2018-05-31 08:44:18 -07:00
navigate.js hotkeys: Fix very recent regression with down key. 2018-05-28 16:49:57 -07:00
night_mode.js styles: Rename dark-mode to night-mode. 2018-03-28 10:41:26 -07:00
notifications.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
overlays.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
panels.js notifications: Check if localstorage is enabled. 2018-03-18 12:54:11 -07:00
people.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
pm_conversations.js Add pm_conversations.recent.get_strings(). 2018-02-12 09:34:59 -08:00
pm_list.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
pointer.js refactor: Rename mark_message(s)_as_read to notify_server_message(s)_read. 2018-04-05 09:54:48 -07:00
popovers.js user profile: Display local date format in user profile. 2018-06-06 15:06:26 -07:00
presence.js js: Reindent case clauses consistently. 2018-05-06 19:35:18 -07:00
reactions.js js: Standardize indentation of switch/case statements. 2018-05-06 19:35:18 -07:00
realm_icon.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
recent_senders.js recent senders: Use message ids instead of timestamps for sorting. 2018-02-08 18:39:10 -08:00
reload.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
reminder.js reminders: Add various design improvements for the UI/reminder msg. 2018-05-21 09:07:37 -07:00
resize.js right-sidebar: Add keyboard instructions shortcut in bottom-right corner. 2018-05-16 13:32:42 -07:00
rows.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
rtl.js
schema.js Add a schema checking concept to the web app. 2018-05-24 09:30:22 -07:00
scroll_bar.js right-sidebar: Add keyboard instructions shortcut in bottom-right corner. 2018-05-16 13:32:42 -07:00
scroll_util.js refactor: Extract scroll_util.js. 2018-04-28 11:15:14 -07:00
search.js js: Fix a typo in search.js. 2018-06-08 12:14:55 -07:00
search_suggestion.js browser-support: Replace occurrences of `.includes` in static/js/*. 2018-06-03 14:30:22 -07:00
sent_messages.js
server_events.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
server_events_dispatch.js custom fields: Fix exception in rendering custom profile field template. 2018-06-10 13:50:38 -07:00
settings.js settings: Add better keyboard navigation for panel menus. 2018-06-06 09:42:33 -07:00
settings_account.js custom fields: Fix exception in rendering custom profile field template. 2018-06-10 13:50:38 -07:00
settings_bots.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
settings_display.js settings: Remove ensure_i18n from display settings. 2018-05-30 09:00:41 -07:00
settings_emoji.js emoji: Clean up variable names for rendered template content. 2018-04-12 09:48:02 -07:00
settings_filters.js settings: Clean up repeating code in error callbacks. 2018-03-25 10:40:40 -07:00
settings_invites.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
settings_muting.js
settings_notifications.js settings_notifications: Remove now-unnecessary ensure_i18n. 2018-05-30 09:06:59 -07:00
settings_org.js org settings: Improve error handling status elements. 2018-06-06 09:00:35 -07:00
settings_panel_menu.js settings: Make the enter key go to panels. 2018-06-06 09:42:33 -07:00
settings_profile_fields.js custom fields: Fix exception in rendering custom profile field template. 2018-06-10 13:50:38 -07:00
settings_sections.js settings_ui: Move `settings_ui.strings` to top-level. 2018-05-30 23:36:16 +05:30
settings_streams.js static/js/settings_streams.js: Move delete_stream func to `stream_edit.js`. 2018-04-30 17:48:16 +05:30
settings_toggle.js settings: Add better keyboard navigation for panel menus. 2018-06-06 09:42:33 -07:00
settings_ui.js settings_ui: Move `settings_ui.strings` to top-level. 2018-05-30 23:36:16 +05:30
settings_user_groups.js user groups: Sanitize pill_container selector to avoid escaped strings. 2018-05-25 12:02:34 -07:00
settings_users.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
setup.js
socket.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
stream_color.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
stream_create.js streams: Add create and edit ui for is_announcement_only. 2018-05-30 14:22:15 -07:00
stream_data.js streams: Rename change_change_subscription_type to reference permissions. 2018-05-21 16:14:18 -07:00
stream_edit.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
stream_events.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
stream_list.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
stream_muting.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
stream_popover.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
stream_sort.js stream list: Use newer code for the list cursor. 2018-04-28 11:15:14 -07:00
submessage.js submessages: Add update_message() function. 2018-05-30 14:47:36 -07:00
subs.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
tab_bar.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
templates.js
tictactoe_widget.js Add tictactoe widget. 2018-05-16 15:13:33 -07:00
timerender.js page load: Make initializations more explicit. 2018-05-15 15:46:04 -07:00
top_left_corner.js pm_list: Do not expand pm_list for invalid emails in `pm-with`. 2018-05-28 11:29:54 -07:00
topic_data.js Fix regression with stream_has_topics(). 2018-05-21 12:58:04 -07:00
topic_generator.js eslint: Enable space-infix-ops rule. 2018-06-05 00:47:35 +05:30
topic_list.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
translations.js i18n: Fix reference error for localstorage. 2018-05-30 23:28:21 +05:30
transmit.js transmit.js: Add reply_message(). 2018-05-24 09:30:22 -07:00
tutorial.js narrow: Remove unnecessary select_first_unread option. 2018-04-22 21:33:33 -07:00
typeahead_helper.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
typing.js Add typing.initialize() to prevent tracebacks. 2018-03-16 09:23:23 -07:00
typing_data.js refactor: Add util.sorted_ids(). 2018-05-02 09:16:24 -07:00
typing_events.js search: Remove blueslip warnings for invalid emails in 'pm-with' filter. 2018-05-30 07:49:59 -04:00
typing_status.js
ui.js style: Remove redundant brackets from typeof operator. 2018-06-05 09:22:26 -07:00
ui_init.js refactor: Extract settings_panel_menu.js. 2018-06-06 09:42:33 -07:00
ui_report.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
ui_util.js ui_util: Move `place_caret_at_end` to ui_util module. 2018-01-23 15:00:11 -08:00
unread.js Add unread.get_missing_topics(). 2018-05-15 14:25:21 -07:00
unread_ops.js eslint: Add and enable `space-unary-ops` rule. 2018-06-05 00:47:35 +05:30
unread_ui.js message view: Add loading indicator to bankruptcy modal. 2018-06-06 15:06:05 -07:00
upload.js desktop: Remove logic for legacy QT/webkit desktop app. 2018-05-15 16:00:14 -07:00
upload_widget.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -07:00
user_events.js js: Fix a bunch of indentation issues found by eslint. 2018-05-06 16:25:02 -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_pills: Extract generic functions for typeahead and pill creation. 2018-05-23 12:07:16 -07:00
user_search.js buddy list: Fix and simplify up/down navigation. 2018-04-28 11:15:14 -07:00
util.js browser-support: Replace occurrences of `.includes` in static/js/*. 2018-06-03 14:30:22 -07:00
voting_widget.js poll widget: Handle unknown keys. 2018-05-31 12:11:32 -04:00
widgetize.js Add "zform" functionality to the web client. 2018-05-24 09:30:22 -07:00
zcommand.js slash commands: Refine /day and /night. 2018-06-02 09:40:12 -07:00
zform.js Add "zform" functionality to the web client. 2018-05-24 09:30:22 -07:00
zulip.js refactor: Avoid positional params for MessageList. 2018-05-15 14:25:21 -07:00