Rocket.Chat.ReactNative/app/definitions
Reinaldo Neto c9f4ca1197
feat: add media auto-download (#5076)
* feat: media auto-download view

* media auto download view completed and saving the settings in mmkv

* audio download preference

* audio auto download when the user who sent the audio is the same logged on mobile

* creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done

* minor tweak audio show play button after download

* refactor audioFile to handleMediaDownload and fixed the audio download

* desestructured params to download too

* image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local

* add the possibility to cancel image download and clear local images

* refactor blur component

* video download and auto download, also keeped the behavior to download unsuportted videos to the gallery

* add the possibility to start downloading a video, then exit the room, back again to room and cancel the video previously downloading

* remove the custom hook for autoDownload

* remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name

* send messageId to video

* introducing the reducer to keep the downloads in progress

* create a media download selector

* remove all the redux stuff and do the same as file upload

* video download behavior

* done for image and audio

* fix the try catch download media

* clean up

* image container uiKit

* fix lint

* change rn-fetch-blob to expo-filesystem

* add pt-br

* pass the correct message id when there is an attachment on reply

* refactor some changes requested

* fix audio and move the netInfo from autoDownloadPreference to redux

* variable isAutoDownloadEnable name and handleMediaDownload getExtension

* message/Image refactored, change the component to show the image from FastImage to Image

* refactor handleMediaDownload and deleteMedia

* minor tweak

* refactor audio

* refactor video

* fix the type on the messagesView(the view of files)

* minor tweak

* fix the name of searchMediaFIleAsync's result

* minor tweak, add the default behavior, add the OFF as label

* minor tweaks

* verify if the media auto download exists on settings view

* fix media auto download view layout and minor tweak wifi

* avoid auto download from reply

* minor tweak at comment

* tweak list.section

* change the name to netInfoState and Local_document_directory

* remove mediaType and refactor audio and image

* separate blurview

* thumbnail video and video behavior

* add Audio to i18n and minor tweak

* set the blur as always dark and add the possibility to overlay

* don't need to controle the filepath in the view

* fix the loading in image and video at begin

* save the file with a similar filename as expected

* removed the necessity of messageId or id

* minor tweak

* switch useLayoutEffect to useEffect

* avoid onpress do some edge case because of cached at video

* minor tweak

* tweak at audio comment extension

* minor tweak type userpreferences

* remove test id from mediaAutoDownloadView

* change action's name to SET_NET_INFO_STATE

* caching and deleting video's thumbnails

* remove generate thumbnail

* minor tweak in image

* update camera-roll and save the file from local url

* remove local_cache_directory and deleteThumbnail

* update blur to fix error on android

* fix blur is hiding the file description

* avoid download unsupported video

* return void when it is loading the audio
2023-08-07 11:02:30 -03:00
..
redux feat: Add caller and ringer to video conf calls (#5046) 2023-07-03 21:03:39 -03:00
rest feat: forward message (#5110) 2023-08-04 11:09:36 -03:00
ERoomType.ts Chore: Migrate redux module room to typescript (#3636) 2022-02-18 10:46:19 -03:00
IAssetsFavicon512.ts Chore: Evaluate WorkspaceView - TypeScript (#4077) 2022-05-02 22:27:33 -03:00
IAttachment.ts feat: add media auto-download (#5076) 2023-08-07 11:02:30 -03:00
ICannedResponse.ts Chore: Evaluate CannedResponsesListView - TypeScript (#4149) 2022-05-02 21:30:20 -03:00
ICertificate.ts Chore: Migrate logout to Typescript (#3688) 2022-02-09 17:37:08 -03:00
ICredentials.ts Chore: Evaluate AuthenticationWebView - TypeScript (#4158) 2022-05-11 13:59:57 -03:00
ICustomEmojiDescriptor.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
IDDPMessage.ts Chore: Migrate subscriptions/rooms to TS (#3748) 2022-03-03 21:23:11 -03:00
IDataSelect.ts Chore: Evaluate SelectListView - TypeScript (#4119) 2022-05-02 09:40:19 -03:00
IEmoji.ts [IMPROVE] Redesign emoji picker (#4328) 2022-10-21 15:27:55 -03:00
IInvite.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ILivechatAgent.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ILivechatDepartment.ts Chore: Evaluate CannedResponsesListView - TypeScript (#4149) 2022-05-02 21:30:20 -03:00
ILivechatDepartmentAgents.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ILivechatEditView.ts Chore: update `theme` type (#4025) 2022-04-12 12:27:05 -04:00
ILivechatMonitor.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ILivechatTag.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ILivechatVisitor.ts Chore: Evaluate RoomInfoView - TypeScript (#4107) 2022-05-11 15:20:59 -03:00
ILoggedUser.ts feat: add bio and nickname to profile view (#5060) 2023-08-01 14:34:05 -03:00
IMention.ts Chore: Migrate ThreadMessagesView to Typescript (#3538) 2022-01-12 10:53:06 -03:00
IMessage.ts feat: quotes on E2EE Messages (#4880) 2023-03-23 19:47:05 -03:00
INotification.ts Chore: Upgrade react-native-notifications to 4.2.4 (#3958) 2022-04-07 16:14:04 -03:00
IPermission.ts Chore: Migrate getPermissions to Typescript (#3720) 2022-02-17 10:06:31 -03:00
IPreferences.ts Chore: Move constants away from rocketchat folder - Typescript (#4022) 2022-04-07 11:10:03 -03:00
IProfile.ts feat: add bio and nickname to profile view (#5060) 2023-08-01 14:34:05 -03:00
IReaction.ts [IMPROVE] Add `All` tab in Reactions List (#4409) 2022-09-29 16:42:04 -03:00
IRocketChatRecord.ts Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
IRole.ts Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers (#3868) 2022-03-14 21:11:34 -03:00
IRoom.ts Chore: Migrate NotificationPreferencesView to hooks (#4327) 2022-08-01 13:35:05 -03:00
ISearch.ts Chore: Evaluate CreateDiscussionView - TypeScript (#4133) 2022-05-02 19:48:29 -03:00
IServedBy.ts Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
IServer.ts Chore: evaluate ServerItem - TypeScript Migration (#4015) 2022-04-07 13:07:16 -04:00
IServerHistory.ts Chore: Migrate Database to Typescript (#3580) 2022-02-01 10:39:09 -03:00
ISetting.ts Chore: Add REST API definitions from server (#3721) 2022-02-14 13:20:29 -03:00
ISettings.ts Chore: Migrate method getSettings to typescript (#3703) 2022-02-18 11:49:47 -03:00
ISlashCommand.ts Chore: Migrate REST API - getCommandPreview and executeCommandPreview to Typescript (#3897) 2022-03-15 11:41:23 -03:00
ISpotlight.ts Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
ISubscription.ts feat: case insensitive for non-ASCII text on main search (#3309) 2023-05-29 12:03:24 -03:00
ITeam.ts Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
ITheme.ts Chore: Migrate Utils Folder to Typescript (#3544) 2022-01-12 09:54:04 -03:00
IThread.ts feat: quotes on E2EE Messages (#4880) 2023-03-23 19:47:05 -03:00
IThreadMessage.ts feat: quotes on E2EE Messages (#4880) 2023-03-23 19:47:05 -03:00
ITotp.ts [FIX] Change password not working on some cases (#4312) 2022-06-23 16:59:57 -03:00
IUpload.ts [FIX] Quote message and reply with image (#4715) 2023-01-05 15:23:11 -03:00
IUrl.ts Chore: Evaluate Message - TypeScript (#3944) 2022-04-01 18:52:38 -03:00
IUser.ts Chore: Hooks app/views/UserNotificationPreferenceView (#4502) 2022-09-22 18:31:23 -03:00
IVideoConference.ts feat: Add caller and ringer to video conf calls (#5046) 2023-07-03 21:03:39 -03:00
TChangeAvatarViewContext.ts feat: Change Avatar View (#4746) 2023-04-10 11:59:00 -03:00
TUserStatus.ts [NEW] Presence Cap (#4900) 2023-02-14 10:47:56 -03:00
index.ts chore: migrate PickerView to hooks (#5002) 2023-06-30 11:01:01 -03:00
navigationTypes.ts chore: Upgrade React Native to 0.71.7 (#4984) 2023-05-18 18:09:33 -03:00
utils.ts [NEW] Video conf message block (#4619) 2022-11-24 08:37:08 -03:00