Rocket.Chat.ReactNative/app/lib/methods/helpers
Reinaldo Neto 7934141d31
fix: Cannot read property 'protocol' of undefined (#5377)
* add the buildUrlImage mirroring the web and added unit tests

* add the comments

* rename the file buildImageURL

* minor tweak iurl definition

* remove the old logic of tmp.image and user only the buildImageUrl

* add the url polyfill to work properly on react native

* minor tweak unit test

* refactor isValidUrl

* fix the e2e tests
2023-12-13 12:50:03 -03:00
..
fileUpload Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
log [IMPROVE] Redesign emoji picker (#4328) 2022-10-21 15:27:55 -03:00
navigation regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
shortnameToUnicode chore: add large_blue_circle emoji (#5324) 2023-11-09 11:09:25 -03:00
askAndroidMediaPermissions.ts fix: call media permissions in android 13+ (#5326) 2023-11-20 13:07:33 -03:00
buildImageURL.test.ts fix: Cannot read property 'protocol' of undefined (#5377) 2023-12-13 12:50:03 -03:00
buildImageURL.ts fix: Cannot read property 'protocol' of undefined (#5377) 2023-12-13 12:50:03 -03:00
buildMessage.ts Chore: Move constants away from rocketchat folder - Typescript (#4022) 2022-04-07 11:10:03 -03:00
closeLivechat.ts [IMPROVE] Support for tag request close when is obligatory to close Omnichannel's Channel (#4353) 2022-07-15 17:06:27 -03:00
compareServerVersion.ts Chore: Evaluate helpers and methods - Typescript (#4030) 2022-04-07 10:13:19 -03:00
debounce.ts chore: migrate AuthenticationWebView to hooks (#5054) 2023-10-18 14:13:42 -03:00
deviceInfo.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
ensureSecureProtocol.test.ts [FIX] Links do not work if protocol is not set in url prefix (#4899) 2023-03-18 12:31:04 -03:00
ensureSecureProtocol.ts [FIX] Links do not work if protocol is not set in url prefix (#4899) 2023-03-18 12:31:04 -03:00
events.ts fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -03:00
fetch.ts feat: Supported Versions (#5185) 2023-10-19 10:38:57 -03:00
findSubscriptionsRooms.ts feat: capability to enable/disable writing in rooms read only (#5298) 2023-11-17 15:48:32 -03:00
formatAttachmentUrl.ts fix: handle cdnPrefix without protocol (#5373) 2023-12-11 12:35:33 -03:00
generateLoadMoreId.ts Chore: Evaluate helpers and methods - Typescript (#4030) 2022-04-07 10:13:19 -03:00
getAvatarUrl.test.ts fix: possibility to use the External Provider URI with query (#4956) 2023-04-10 15:08:15 -03:00
getAvatarUrl.ts fix: handle cdnPrefix without protocol (#5373) 2023-12-11 12:35:33 -03:00
getRoomIdFromJitsiCall.test.ts fix: Calls with jwt not working on ios and fix media permission on iOS (#5075) 2023-06-06 18:53:48 -03:00
getRoomIdFromJitsiCall.ts fix: Calls with jwt not working on ios and fix media permission on iOS (#5075) 2023-06-06 18:53:48 -03:00
goRoom.ts feat (Android): mobile ringer (#5286) 2023-11-24 09:46:58 -03:00
handleIgnore.ts [IMPROVE] Add ignore user to user profile (#4600) 2022-10-13 18:29:55 -03:00
helpers.ts feat: enable navigate to my own profile from messages (#5293) 2023-11-08 15:03:53 -03:00
image.ts feat: Change Avatar View (#4746) 2023-04-10 11:59:00 -03:00
index.ts fix: call media permissions in android 13+ (#5326) 2023-11-20 13:07:33 -03:00
info.ts Chore: Migrate NotificationPreferencesView to hooks (#4327) 2022-08-01 13:35:05 -03:00
isReadOnly.ts feat: capability to enable/disable writing in rooms read only (#5298) 2023-11-17 15:48:32 -03:00
isValidEmail.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
isValidUrl.ts fix: Cannot read property 'protocol' of undefined (#5377) 2023-12-13 12:50:03 -03:00
layoutAnimation.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
localAuthentication.ts [IMPROVE] Use Android 12 SplashScreen API (#4479) 2022-10-04 10:36:05 -03:00
media.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
mergeSubscriptionsRooms.ts feat: capability to enable/disable writing in rooms read only (#5298) 2023-11-17 15:48:32 -03:00
normalizeMessage.ts fix: handle the attachment when the value is null (#5130) 2023-07-14 14:17:48 -03:00
notifications.ts feat: Add caller and ringer to video conf calls (#5046) 2023-07-03 21:03:39 -03:00
openLink.ts [FIX] Links do not work if protocol is not set in url prefix (#4899) 2023-03-18 12:31:04 -03:00
parseQuery.ts Chore: Migrate methods/helpers/parseQuery to Typescript (#3742) 2022-02-16 12:20:55 -03:00
parseUrls.test.ts fix: Cannot read property 'protocol' of undefined (#5377) 2023-12-13 12:50:03 -03:00
parseUrls.ts fix: Cannot read property 'protocol' of undefined (#5377) 2023-12-13 12:50:03 -03:00
protectedFunction.js Chore: Start Typescript migration (#3279) 2021-09-13 17:41:05 -03:00
random.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
review.ts feat: Change Avatar View (#4746) 2023-04-10 11:59:00 -03:00
room.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
scrollPersistTaps.ts [FIX] Can't close the keyboard after entering data in one text box on the screen (#4910) 2023-03-16 16:17:24 -03:00
server.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
showToast.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00
sslPinning.ts Chore: Bump patches (#4679) 2022-11-16 10:26:37 -03:00
theme.ts regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
url.ts Chore: Evaluate helpers and utils - Typescript (#4146) 2022-06-06 11:17:51 -03:00