Commit Graph

2234 Commits

Author SHA1 Message Date
Reinaldo Neto de8a7f1ce0
Chore: Migrate REST API - addUsersToRoom to Typescript (#3884)
* Chore: Migrate REST API - addUsersToRoom to Typescript

* Update app/lib/rocketchat/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>

* minor tweak

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 21:29:48 -03:00
Reinaldo Neto db5c7d94aa
Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers (#3868)
* Chore: Migrate REST API - getRoomRoles to Typescript and fix getRoomMembers

* change GetRoomRoles local
2022-03-14 21:11:34 -03:00
Reinaldo Neto d18d91dd74
Chore: Migrate REST API - emitTyping to Typescript (#3886) 2022-03-14 12:55:32 -03:00
Reinaldo Neto 307ae1295f
Chore: Migrate REST API - e2eResetOwnKey to Typescript (#3888)
* Chore: Migrate REST API - e2eResetOwnKey to Typescript

* Update app/lib/rocketchat/services/restApi.ts

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-14 11:56:49 -03:00
Reinaldo Neto 6ff2fc37d0
Chore: Migrate REST API - editMessage to Typescript (#3887)
* Chore: Migrate REST API - editMessage to Typescript

* minor tweak
2022-03-14 11:18:53 -03:00
Alex Junior 654e3c226e
[FIX] ReactNativeUiLib are not installed after run pod install (#3882)
* fix ReactNativeUiLib not installed when run pod install

* committing Podfile.lock
2022-03-14 10:59:13 -03:00
Reinaldo Neto 7bf0de5825
Chore: Migrate REST API - getReadReceipts to Typescript (#3877) 2022-03-14 10:32:22 -03:00
Reinaldo Neto cfb10ada60
Chore: Migrate REST API - editLivechat to Typescript (#3878) 2022-03-14 10:23:20 -03:00
Diego Mello 58c9e98e49
[FIX] Fix synchronization of removed subscriptions (#3768)
When a subscription is removed from the server via another client, when the
mobile app is relaunched the subscriptions were not being removed properly.
Changed the logic to use the subscriptionResult.remove array from the server
and the _id property to fix.

Co-authored-by: Christian King <cking@vonix.io>
2022-03-11 11:19:23 -03:00
Diego Mello 65c9aec2b4
[FIX] Issues after reconnecting (#3815) 2022-03-11 11:12:25 -03:00
Alex Junior d73da2942b
Chore: Migrate REST API - getFiles to Typescript (#3873) 2022-03-10 12:29:33 -03:00
Alex Junior b5f8f6f305
Chore: Migrate REST API - searchMessages to Typescript (#3874) 2022-03-10 12:17:49 -03:00
Alex Junior 69cf9b638e
Chore: Migrate REST API - getMessages to Typescript (#3875) 2022-03-10 12:00:50 -03:00
Reinaldo Neto 4dc43313ab
Chore: Migrate REST API - getUsernameSuggestion to Typescript (#3872) 2022-03-10 10:44:55 -03:00
Reinaldo Neto 61b8f3e40a
Chore: Migrate REST API - setAvatarFromService to Typescript (#3871) 2022-03-10 10:17:22 -03:00
Reinaldo Neto c4124af73a
Chore: Migrate REST API - resetAvatar to Typescript (#3870) 2022-03-10 09:37:54 -03:00
Reinaldo Neto 5d28453201
Chore: Migrate REST API - getAvatarSuggestion to Typescript (#3869) 2022-03-10 09:25:25 -03:00
Alex Junior 4ea8d613a9
Chore: Migrate REST API - getUserPreferences to Typescript (#3830) 2022-03-09 21:16:20 -03:00
Alex Junior cd00366613
Chore: Update react-native-mmkv-storage to 0.6.12 (#3634)
* chore: updating mmkv library

* feat: updating android ejson to use the getSecureKey new version

* feat: updating IOS files to use the getSecureKey new version

* feat: changing all mmkv methods to use sync calls

* feat: changing mmkv methods from Screen lock

* feat: changing all mmkv methods from login, ssl certificate and change/add server

* feat: changing all mmkv methods from login, ssl certificate and change/add server

* feat: changing all mmkv methods from logout

* feat: changing all mmkv methods from e2e

* fix: small fix at encryption and server drop down

* feat: changing all mmkv methods from set theme

* feat: changing all mmkv methods from openLink

* fix: setting up mmkv to works property on Android

* fix: fix an error to set the theme when open the app

* refactor: change the react-native branch (temporary)

* refactor: removing all `Async` from mmkv functions name

* refactor: removing await from unnecessary functions, removing console.log and update cocoapods

* refactor: removing unnecessary undefined from methods

* feat: creating a custom hook for mmkv

* refactor: changing the fetchPasscode to use the useUserPreferences hook

* refactor: changing setTheme from app/index

* refactor: small fix on setTheme

* chore: update mmkv to 0.6.11

* chore: update mmkv to 0.6.11

* chore: minor tweak

* chore: update mmkv to 0.6.12

* chore: mock NativeModules

* chore: fix test mmkv

* chore: removing custom MMKV JSI module, since is no more necessary after 0.6.11 version

* feat: removing some async calls from mmkv after update from develop

* feat: creating a function to get the initialTheme

* feat: removing unnecessary try/catch

* fix: fixing the blink white when open the app

* feat: changing useMMKVStorage to create from mmkv lib

* test: creating a mock for mmkv create function

* chore: fix errors on tablet

* minor tweak
2022-03-09 16:41:26 -03:00
Reinaldo Neto 60ecbe284c
Chore: Migrate REST API - saveUserProfile to Typescript (#3863)
* Chore: Migrate REST API - saveUserProfile to Typescript

* minor tweak
2022-03-09 15:10:36 -03:00
Alex Junior b962925121
chore: add rest api return (#3865) 2022-03-09 14:04:25 -03:00
Alex Junior abd9722133
chore: add rest api return (#3864) 2022-03-09 13:49:52 -03:00
Diego Mello 7a9cdde474
[FIX] Merge subscription and room logic using unparsed data (#3859) 2022-03-08 18:17:05 -03:00
Gerzon Z 80918f56fa
Chore: Dehydrate login methods from rocketchat.js (#3759)
* dehydrate login methods from rocketchat.js
2022-03-08 14:54:26 -04:00
Gerzon Z 15f573a703
Chore: Migrate REST API - getTeamListRoom to TS (#3840)
* add: `teams.listRooms` types

* add: `PaginatedResult<T>` to `teams.ts`
2022-03-08 13:59:17 -04:00
Alex Junior b2bd71e83e
Chore: Server API types - chat.getDiscussions (#3776)
* chore: implementing type for test api - getDiscussions

* Fix DiscussionDetails count usage

* chore: update getDiscussions to use IMessageFromServer

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-08 14:09:45 -03:00
Diego Mello 09f73aee3d
Chore: Create IServerRoom and IServerSubscription (#3782) 2022-03-08 13:25:27 -03:00
Reinaldo Neto 679a628f75
Chore: Migrate REST API - getAgentDepartments to Typescript (#3855) 2022-03-08 12:04:41 -03:00
Reinaldo Neto c758fa5c9f
Chore: Migrate REST API - getCustomFields to Typescript (#3856)
* Chore: Migrate REST API - getCustomFields to Typescript

* minor tweak
2022-03-08 11:37:38 -03:00
Reinaldo Neto 9becdf564e
Chore: Migrate REST API - getListCannedResponse to Typescript (#3858) 2022-03-08 11:30:45 -03:00
Gleidson Daniel Silva e2612eb455
Chore: Migrate search and localSearch methods to Typescript (#3751)
* chore: migrate search to typescript

* fix types

* fix type

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-08 11:24:21 -03:00
Gerzon Z d7c46a27d0
Chore: Migrate REST API - getChannelInfo to TS (#3839)
* add: type for REST API `channels.info`

* add: `ts-ignore` to `RoomActionsView`
2022-03-08 09:46:33 -04:00
Diego Mello fe33a4a6b0
Chore: Remove Teams migration (#3857) 2022-03-08 10:15:03 -03:00
Gleidson Daniel Silva d19ce3b3e4
Chore: Migrate REST API - e2eRequestRoomKey to Typescript (#3814) 2022-03-08 09:52:16 -03:00
Gerzon Z 8decd0f4b6
Chore: Migrate normalizeMessage to TS (#3743)
* migrate normalizeMessage to ts

* fix: missing null validations and type aliases
2022-03-07 22:54:34 -04:00
Reinaldo Neto 004f4ab0ee
Chore: Migrate REST API - getTagsList to Typescript (#3854) 2022-03-07 23:30:13 -03:00
Reinaldo Neto 8a01552b4b
[FIX] Hardcoded E2E password for Detox workflow (#3809)
* [FIX] Removed account from E2E Data and create a file responsible for this account

* Updated e2e/README.md

* minor tweak

* Update e2e/README.md

Co-authored-by: Gerzon Z. <gerzonzcanario@gmail.com>

Co-authored-by: Gerzon Z. <gerzonzcanario@gmail.com>
2022-03-07 20:26:13 -03:00
Reinaldo Neto b7e523a267
Chore: Migrate ee/omnichannel folder to Typescript (#3749)
* Chore: Migrate ee/omnichannel folder to Typescript

* omnichannelstatus and queue list

* boolean searching and react.ref

* test initi

* test and refactor interfaces

* minor tweak

* minor tweaks
2022-03-07 18:16:20 -03:00
Diego Mello 091055a255
[FIX] Condensed layout cutting text on smaller text sizes (#3831) 2022-03-07 17:48:45 -03:00
Reinaldo Neto 45c0e0630c
Chore: Migrate REST API - getRoomCounters to Typescript (#3842)
* Chore: Migrate REST API - getRoomCounters to Typescript

* minor tweak
2022-03-07 13:48:33 -03:00
Reinaldo Neto e3f4e9797d
Chore: Migrate REST API - returnLivechat to Typescript (#3843) 2022-03-07 13:39:02 -03:00
Reinaldo Neto 4d6f21647e
Chore: Migrate REST API - joinRoom to Typescript (#3835)
* Chore: Migrate REST API - joinRoom to Typescript

* join to discussion
2022-03-07 13:07:40 -03:00
Alex Junior 637d69bb17
chore: add rest api return (#3848) 2022-03-07 12:52:22 -03:00
Alex Junior 518ad5f64e
chore: add rest api return (#3847) 2022-03-07 12:40:38 -03:00
Reinaldo Neto 261b380818
Chore: Migrate REST API - usersAutoComplete to Typescript (#3845) 2022-03-07 12:32:51 -03:00
Alex Junior 9652692af5
chore: add rest api return (#3844) 2022-03-07 12:23:28 -03:00
Reinaldo Neto b21d044f13
Chore: Migrate REST API - spotlight to Typescript (#3821)
* Chore: Migrate REST API - spotlight to Typescript

* minor tweak
2022-03-07 12:16:20 -03:00
Alex Junior d43da089bf
Chore: Migrate REST API - setUserStatus to Typescript (#3828)
* chore: add rest api return

* chore: add rest api return
2022-03-07 12:00:39 -03:00
Alex Junior c72b524ac0
chore: add rest api return (#3849) 2022-03-07 11:47:06 -03:00
Alex Junior ec7538abfd
chore: add rest api return (#3850) 2022-03-07 11:08:45 -03:00