zulip/static/js
Kevin Mehall 0a3a22cb3d Support authenticated upload URLs.
Trac #1734

This is implemented by bouncing uploaded file links through a view
that checks authentication and redirects to an expiring S3 URL.

This makes file uploads return a domain-relative URI. The client converts
this to an absolute URI when it's in the composebox, then back to relative
when it's submitted to the server.

We need the relative URI because the same message may be viewed across
{staging,www,zephyr}.zulip.com, which have different cookies.

(imported from commit 33acb2abaa3002325f389d5198fb20ee1b30f5fa)
2013-10-24 17:01:06 -04:00
..
activity.js Set focus-related flags correctly after a server reload 2013-09-16 12:29:34 -04:00
admin.js Maintain a list of people in the realm. 2013-09-09 12:13:33 -04:00
alert_words_ui.js Settings page changes 2013-10-22 23:28:46 -07:00
alert_words.js Remove transitional feature_flags.alert_words flag. 2013-10-15 09:57:19 -04:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
blueslip.js blueslip: Send the log back to the server when reporting errors 2013-10-22 15:39:17 -04:00
colorspace.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
common.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
compose_fade.js Fix @-mention "not subscribed" warning for all_public_streams bots. 2013-10-18 14:55:32 -04:00
compose.js Support authenticated upload URLs. 2013-10-24 17:01:06 -04:00
composebox_typeahead.js Don't autocomplete mentions while message editing 2013-09-27 13:32:02 -04: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
emoji.js Show realm emoji in typeahead and update the list via events. 2013-08-23 21:39:29 -04:00
feature_flags.js Add tools for collecting data on message sending times. 2013-10-23 14:05:01 -04:00
filter.js Decode operand in filter.js in operator-aware way 2013-10-02 12:11:15 -04:00
hashchange.js Add administrative panel to allow for user deactivations etc. 2013-08-13 14:20:18 -04:00
hotkey.js Add expectOne() check when hitting enter to expand 2013-09-11 14:13:17 -04:00
initial_invite.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
invite.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
landing-page.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
message_edit.js Respect enter-to-send in edit box 2013-09-27 13:52:14 -04:00
message_list_view.js Don't display subscribe/unsubscribe notices in home view. 2013-10-23 18:51:46 -04:00
message_list.js Ignore summarized messages when calculating rendering windows. 2013-10-21 11:48:57 -04:00
message_tour.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
metrics.js Rename our custom JS events to use Zulip, not Zephyr. 2013-07-29 12:11:26 -04:00
muting_ui.js Add muted_topic style to the topics stylebar. 2013-09-30 16:52:19 -04:00
muting.js Handle undefined keys in muting.is_topic_muted 2013-09-11 16:47:36 -04:00
narrow.js Enable summarization only for the right narrows. 2013-10-21 11:48:56 -04:00
navigate.js Restore centering when using the down arrow (or "j"). 2013-08-05 16:10:01 -04:00
notifications_bar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
notifications.js Don't receive notifications for messages on muted topics. 2013-10-18 14:38:31 -04:00
onboarding.js Check the 'Get our apps' checkbox if you click any of the links to the apps page 2013-09-19 13:23:35 -04:00
popovers.js Remove transitional feature_flags.muting flag. 2013-10-15 09:57:19 -04:00
referral.js Add retractable left sidebar. 2013-08-23 14:16:51 -07:00
reload.js [schema] Collect data on when users are active on site. 2013-09-10 13:25:59 -04:00
rows.js Make narrowing click handlers work more generally. 2013-08-27 15:46:33 -04:00
search_suggestion.js Autocomplete emails in sender: completion 2013-10-07 14:55:58 -04:00
search.js Move parse/unparse from narrow to Filter. 2013-08-22 14:53:00 -04:00
settings.js Use POST with method=PATCH when sending a bot edit 2013-10-24 10:22:06 -04:00
setup.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
socket.js Disallow XHR streaming when running the test suite 2013-10-22 18:45:11 -04:00
stream_color.js Add a test for stream_color.js (pick_color). 2013-08-09 12:29:02 -04:00
stream_data.js Avoid reloading subscribers when opening Streams page. 2013-10-22 15:51:18 -04:00
stream_list.js Remove subs.reload_subscriptions(). 2013-10-22 15:51:19 -04:00
subs.js Remove subs.reload_subscriptions(). 2013-10-22 15:51:19 -04:00
summary.js Extract mark_summarized(). 2013-08-13 11:26:12 -04:00
tab_bar.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
templates.js Don't wait for DOM ready to register Handlebars helpers 2013-08-27 15:32:20 -04:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Show desktop apps alert when tutorial completes 2013-09-19 13:23:35 -04:00
typeahead_helper.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
ui.js [schema] Add a config option for enabling/disabling push notifications 2013-10-24 14:54:30 -04:00
unread.js [important] Fix stacktrace in unread.js. 2013-09-29 22:42:33 -04:00
util.js Add a .expectOne method to jQuery objects. 2013-09-04 16:44:33 -04:00
viewport.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
zulip.js Add muting_enabled option to MessageList. 2013-09-23 10:53:06 -04:00