mattermost-mobile/app/components
Miguel Alatzar 19c493ff6e
[MM-15401] Fix setting of extension when caching files (#2762)
* Get extension from Content-Disposition first

* User ImageCacheManager.cache over getCacheFile

* Add unit tests for ImageCacheManager.getCacheFile

* Add unit tests for ImageCacheManager.cache

* Use exports and require to be able to mock isDownloading

* Chain mockReturnValueOnce calls

* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
..
__mocks__ [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
__snapshots__ [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
announcement_banner Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
at_mention Use of cached managed config in components (#2758) 2019-05-01 18:34:09 -04:00
autocomplete Add native module to reset TextInput to fix bad cursors in some Android keyboards (#2753) 2019-05-01 09:27:21 -04:00
autocomplete_selector MM-12845 Add widgets and interactive dialogs (#2353) 2018-11-23 12:30:12 -05:00
channel_intro Executing translation extraction script (#2703) 2019-04-09 15:24:43 -04:00
channel_link [MM-13295] Make channel link clickable for user who's not member of the public channel (#2466) 2019-02-20 01:45:04 +08:00
channel_loader Ensure the correct value for channelIsLoading is used (#2712) 2019-04-15 10:53:02 -07:00
client_upgrade_listener Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod (#2556) 2019-02-20 01:11:41 +05:30
combined_system_message [MM-13824] add one_you strings for better translatability in team/channel related messages. (#2604) 2019-03-01 13:15:02 -05:00
combined_user_activity_post Reorganize post state and make postsInChannel into a sparse array (#2693) 2019-04-15 17:20:23 -04:00
custom_list MM-13618 Adding bot tags. (#2669) 2019-03-26 16:59:45 -07:00
edit_channel_info Fix edit post (#2379) 2018-11-26 20:27:48 -03:00
emoji render text for non-existent emoji when post metadata is enabled (#2423) 2018-12-06 12:18:43 -05:00
emoji_picker Slide up panel for reaction list (#2285) 2018-11-02 13:21:43 -03:00
error_list add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
error_text Fix error text when intl object is not provided (#2373) 2018-11-24 00:00:09 +08:00
failed_network_action Add t() translation mark to i18nable strings and update translations (#2026) 2018-09-21 11:25:38 -03:00
file_attachment_list [MM-15401] Fix setting of extension when caching files (#2762) 2019-05-03 09:24:40 -07:00
file_upload_preview Add CSRF Header in File Upload and Profile Image Set Operations (#2686) 2019-04-04 10:43:54 -04:00
interactive_dialog_controller MM-12845 Add widgets and interactive dialogs (#2353) 2018-11-23 12:30:12 -05:00
layout/keyboard_layout MM-12424 Remove unused props from KeyboardLayout and simplify methods (#2203) 2018-10-02 17:12:21 -04:00
load_more_posts Use post metadata to prevent scroll pop (#2304) 2018-11-22 19:47:27 -03:00
markdown Use of cached managed config in components (#2758) 2019-05-01 18:34:09 -04:00
message_attachments MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
network_indicator MM-14630 Mark channel as read and viewed when opening brought from the background (#2658) 2019-03-19 19:58:23 -03:00
post Reorganize post state and make postsInChannel into a sparse array (#2693) 2019-04-15 17:20:23 -04:00
post_add_channel_member MM-14417: Add messaging for channel mentions of users not in constrai… (#2711) 2019-04-17 10:45:29 -04:00
post_attachment_image MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
post_attachment_opengraph MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
post_body MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
post_body_additional_content MM-14030 Don't show large gifs in posts (#2750) 2019-05-01 09:34:45 -04:00
post_header Reorganize post state and make postsInChannel into a sparse array (#2693) 2019-04-15 17:20:23 -04:00
post_list Use of cached managed config in components (#2758) 2019-05-01 18:34:09 -04:00
post_profile_picture MM-15161 show icon for bot instead of system icon in ephemeral post (#2740) 2019-05-01 09:08:50 -04:00
post_textbox Add native module to reset TextInput to fix bad cursors in some Android keyboards (#2753) 2019-05-01 09:27:21 -04:00
profile_picture MM-13618 Adding bot tags. (#2669) 2019-03-26 16:59:45 -07:00
progressive_image Dependencies update (#2576) 2019-02-20 17:17:04 -03:00
radio_button Add t() translation mark to i18nable strings and update translations (#2026) 2018-09-21 11:25:38 -03:00
reactions Fix opengraph and reactions for older servers (#2581) 2019-02-19 19:04:10 -03:00
refresh_list add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
retry_bar_indicator add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
root MM-11603 Add a retry screen when fetching teams fails (#2085) 2018-09-06 20:35:50 -03:00
safe_area_view Slide up panel for reaction list (#2285) 2018-11-02 13:21:43 -03:00
search_bar MM-14541 Fix search bar animation stutter in main search bar (#2672) 2019-04-22 19:01:17 -07:00
show_more_button Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
sidebars MM-14541 Fix search bar animation stutter in main search bar (#2672) 2019-04-22 19:01:17 -07:00
slide_up_panel Fix post menu rounded corners (#2472) 2018-12-28 08:35:18 -03:00
start Slide up panel for reaction list (#2285) 2018-11-02 13:21:43 -03:00
status_bar add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
status_icons add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
team_icon Set the file prefix in image_cache_manager (#2313) 2018-11-05 15:24:30 -03:00
user_status add opacity of 0.3 to circle stroke of offline status (#2233) 2018-10-09 20:46:49 +08:00
widgets/settings MM-13364 Fix text too light on dark themes in TextSetting widget (#2432) 2018-12-07 12:24:21 -03:00
app_icon.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
attachment_button.js [MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715) 2019-04-25 14:27:06 -07:00
attachment_button.test.js [MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715) 2019-04-25 14:27:06 -07:00
badge.js Fix alignment of count on channel drawer (#2569) 2019-02-13 20:57:26 +08:00
badge.test.js make circular badge on jewel for single-digit mention (#2422) 2018-12-06 12:11:42 -05:00
bot_tag.js MM-13618 Adding bot tags. (#2669) 2019-03-26 16:59:45 -07:00
button.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
channel_icon.js MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:50:38 -07:00
checkmark.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
conditional_touchable.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
deleted_post.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
fade.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
fade.test.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
formatted_date.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
formatted_markdown_text.js Update UX for post long press menu (#2325) 2018-11-14 17:29:09 -03:00
formatted_text.js fix warnings in running jest test (#2087) 2018-09-07 23:05:35 +08:00
formatted_time.js Fix Android timestamp when timezone is not enabled (#1982) 2018-08-08 14:24:26 -04:00
loading.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
no_results.js Add pinned post support (#2364) 2018-11-23 12:57:28 -03:00
paper_plane.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
post_list_retry.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
post_separator.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
profile_picture_button.js Dependencies update (#2576) 2019-02-20 17:17:04 -03:00
profile_picture_button.test.js MM-12354 Remove Profile Image (#2428) 2018-12-17 07:56:39 +08:00
remove_markdown.js MM-10012 Added Markdown rendering to expanded announcement banner (#1861) 2018-07-04 13:15:03 -04:00
reply_icon.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
send_button.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
send_button.test.js [MM-9454] Added fade to send button (#2677) 2019-04-29 07:54:00 -07:00
swiper.js Prevent drawer from swiping to teams when jump to channel is focused (#1902) 2018-07-09 18:32:48 -04:00
text_input_with_localized_placeholder.js Fix edit post (#2379) 2018-11-26 20:27:48 -03:00
tooltip.js MM-10717: Update longpress buttons when add reaction, edit post, or d… (#1779) 2018-06-21 08:43:17 -04:00
vector_icon.js MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:50:38 -07:00
video_controls.js add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00