Gleidson Daniel Silva
1aab65ef92
Chore: Migrate REST API - readThreads to Typescript ( #3866 )
...
* chore: migrate readThreads to typescript
* fix imports
2022-03-15 16:53:24 -03:00
Reinaldo Neto
07094aabe6
Chore: Migrate REST API - getServerInfo to Typescript ( #3900 )
2022-03-15 14:33:29 -03:00
Reinaldo Neto
ee336a84a3
Chore: Migrate REST API - getDirectory to Typescript ( #3898 )
2022-03-15 13:47:40 -03:00
Reinaldo Neto
2cc4b9c1ba
Chore: Migrate REST API - getCommandPreview and executeCommandPreview to Typescript ( #3897 )
2022-03-15 11:41:23 -03:00
Alex Junior
8a1f81d707
Chore: Migrate REST API - getCommandPreview to Typescript ( #3894 )
2022-03-14 23:16:53 -03:00
Reinaldo Neto
6d543c28d9
Chore: Migrate REST API - createGroupChat to Typescript ( #3885 )
...
* Chore: Migrate REST API - createGroupChat 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:43:59 -03:00
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
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
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
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
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
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
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
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
Gleidson Daniel Silva
1ef9f57f3d
Chore: Migrate REST API - hideRoom to Typescript ( #3832 )
2022-03-07 09:57:57 -03:00
Gleidson Daniel Silva
82439159a5
Chore: Migrate REST API - removeUserFromRoom to Typescript ( #3837 )
2022-03-07 09:44:11 -03:00
Gleidson Daniel Silva
256bf0eaee
Chore: Migrate REST API - deleteRoom to Typescript ( #3834 )
2022-03-07 09:33:58 -03:00
Gleidson Daniel Silva
892e919768
Chore: Migrate REST API - leaveRoom to Typescript ( #3833 )
...
* chore: add rest api type
* remove any
2022-03-07 09:20:12 -03:00
Gleidson Daniel Silva
58418fc5c2
Chore: Delete unused function getUserRoles ( #3836 )
2022-03-07 09:03:51 -03:00
Alex Junior
a9f074d20a
chore: add rest api return ( #3826 )
2022-03-05 00:40:41 -03:00
Alex Junior
f69ef6e59b
chore: add rest api return ( #3829 )
2022-03-05 00:28:36 -03:00
Alex Junior
70c15343e8
chore: add rest api return ( #3825 )
2022-03-05 00:17:24 -03:00
Alex Junior
4989e6cb5c
chore: add rest api return ( #3824 )
2022-03-05 00:08:26 -03:00
Alex Junior
0444e9b846
Chore: Migrate REST API - updateJitsiTimeout to Typescript ( #3822 )
...
* chore: add rest api return
* chore: add rest api return
2022-03-04 23:29:12 -03:00
Gleidson Daniel Silva
cbb1d0f3cf
Chore: Migrate REST API - forgotPassword to Typescript ( #3818 )
2022-03-04 11:18:06 -03:00
Gleidson Daniel Silva
9265dc345d
Chore: Migrate REST API - updateGroupKey to Typescript ( #3817 )
2022-03-04 11:08:36 -03:00
Gleidson Daniel Silva
2e95a3c9a7
Chore: Migrate REST API - e2eSetRoomKeyID to Typescript ( #3816 )
2022-03-04 10:51:39 -03:00
Gleidson Daniel Silva
a7ecc1e427
Chore: Migrate REST API - toggleRead to Typescript ( #3820 )
2022-03-04 10:38:05 -03:00
Reinaldo Neto
4c490576fa
Chore: Migrate REST API - e2eRequestSubscriptionKeys to Typescript ( #3813 )
2022-03-03 23:12:36 -03:00
Alex Junior
3a7ec74e5a
Chore: Migrate subscriptions/room to TS ( #3752 )
...
* chore: initial commit
* chore: fix readMessages
* chore: removing some `any`
* chore: removing some `any`
* chore: removing some `any`
* chore: fix erros after merge develop inside this branch
* chore: minor tweak
* chore: applying changes requested
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-03 21:49:20 -03:00
Alex Junior
765e526bbf
Chore: Migrate subscriptions/rooms to TS ( #3748 )
...
* chore: migrate subscriptions rooms to ts
* chore: adding a TODO to remember this problem
* chore: removing unnecessary todos
* chore: minor tweak after develop updates
* chore: migrate message service to ts
* chore: minor tweaks
* chore: minor tweak
* chore: minor tweak after merge develop into this branch
* chore: minor tweak after merge with dev
* minor tweak
2022-03-03 21:23:11 -03:00
Reinaldo Neto
b06be5a2ac
Chore: Migrate methods/loadSurroundingMessages to Typescript ( #3733 )
...
* Chore: Migrate methods/loadSurroundingMessages to Typescript
* tweaks
* tweak
* tweak
* tweaks to make ts happy
* instead as IMessage is optional u
* enum to MessageTypeLoad
* minor tweaks
2022-03-03 17:25:03 -03:00
Reinaldo Neto
16fd64b260
Chore: Migrate REST API - saveRoomSettings to Typescript ( #3787 )
2022-03-03 15:15:06 -03:00
Reinaldo Neto
9751cc4426
Chore: Migrate REST API - toggleBlockUser to Typescript ( #3808 )
2022-03-03 14:52:00 -03:00
Gerzon Z
399cdac452
Chore: Migrate REST API - teamListRoomsOfUser to TS ( #3805 )
...
* migrate REST API `teams.listRoomsOfUser` to TypeScript
* update: `rooms` type on `teams.listRoomsOfUser`
* update: if-conditionals on `RoomActionsView`
2022-03-03 00:58:14 -04:00
Alex Junior
214cf52cf9
Chore: Server API types - teams.updateRoom ( #3774 )
...
* chore: type the API call `teams.updateRoom`
* chore: creating the interface `IServerTeamUpdateRoom`
* chore: minor tweak after merge
2022-03-02 23:22:59 -03:00
Alex Junior
7de686b0e8
Chore: Server API types - user.setPreferences ( #3781 )
...
* chore: implementing type for test api - user.setPreferences
* chore: minor tweak
2022-03-02 22:53:44 -03:00
Gerzon Z
4ba7f16b71
Chore: Migrate REST API - deleteMessage to TS ( #3802 )
...
* Migrate REST API `chats.delete` to TypeScript
2022-03-02 17:45:05 -04:00
Gerzon Z
e8a80d391b
Chore: Migrate REST API - convertTeamToChannel to TS ( #3800 )
...
* Migrate REST API `teams.convertToChannel` to TypeScript
2022-03-02 17:29:30 -04:00
Reinaldo Neto
af3a6c5da1
Chore: Migrate REST API - toggleArchiveRoom to Typescript ( #3791 )
...
* Chore: Migrate REST API - toggleArchiveRoom to Typescript
* minor tweak
* removed success param
* minor tweak
2022-03-02 18:19:07 -03:00
Gerzon Z
718ae48e83
Chore: Migrate REST API - removeTeamMember to TS ( #3799 )
...
* Migrate REST API `teams.removeMember` to TypeScript
2022-03-02 16:39:04 -04:00
Gerzon Z
270f6e0fef
Chore: Migrate REST API - addRoomsToTeam to TS ( #3797 )
...
* Migrate REST API `teams.addRooms` to TypeScript
2022-03-02 16:28:58 -04:00
Gerzon Z
1da4f01dcb
Chore: Migrate REST API - createTeam to TS ( #3788 )
...
* Migrate `teams.create` REST API to TypeScript
2022-03-02 16:17:42 -04:00
Gerzon Z
529c9f0b00
Chore: Migrate REST API - register to TS ( #3796 )
...
* Migrate `user.register` to TypeScript
2022-03-02 16:08:56 -04:00
Reinaldo Neto
d506de9f23
Chore: Migrate REST API - e2eGetUsersOfRoomWithoutKey to Typescript ( #3793 )
...
* Chore: Migrate REST API - e2eGetUsersOfRoomWithoutKey to Typescript
* Update app/definitions/rest/v1/e2e.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-02 16:53:41 -03:00
Reinaldo Neto
79f585a361
Chore: Migrate REST API - createChannel to Typescript ( #3786 )
...
* Chore: Migrate REST API - createChannel to Typescript
* removed success
* iserverroomitem
2022-03-02 16:40:27 -03:00
Reinaldo Neto
0521c291f2
Chore: Migrate REST API - getRoutingConfig to Typescript ( #3794 )
...
* Chore: Migrate REST API - getRoutingConfig to Typescript
* minor tweak
2022-03-02 16:32:11 -03:00
Reinaldo Neto
1c5f8b1731
Chore: Migrate REST API - sendConfirmationEmail to Typescript ( #3807 )
2022-03-02 16:19:34 -03:00
Reinaldo Neto
cb8d4be7eb
Chore: Migrate REST API - getDepartmentInfo to Typescript ( #3795 )
2022-03-02 16:00:51 -03:00
Gerzon Z
c5023eaeea
Chore: Migrate REST API - convertChannelToTeam to TS ( #3792 )
...
* migrate channels.convertToTeam and groups.convertToTeam to ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-02 13:44:42 -04:00
Gerzon Z
71b184d38a
Chore: Migrate REST API - markAsUnread to TS ( #3801 )
...
* Migrate `subscriptions.unread` to typescript
2022-03-02 13:06:30 -04:00
Gerzon Z
5f92a509d1
Chore: Migrate loadThreadMessages to TS ( #3718 )
...
* Migrate loadThreadMessages to TypeScript
* Update interfaces
2022-03-02 11:41:15 -04:00
Diego Mello
6626510f50
Chore: Migrate RoomActionsView to Typescript ( #3750 )
2022-03-02 11:49:43 -03:00
Diego Mello
6b3730ce43
Chore: Migrate RoomView to Typescript ( #3754 )
2022-03-02 11:18:01 -03:00
Gleidson Daniel Silva
4172d563b7
Chore: Server API types POC - loadMessagesForRoom ( #3765 )
...
* create interface and implements base types
* fix some types
* Update app/lib/methods/updateMessages.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* fix date type
* apply types changes
* fix type
* fix date value
* fix types
* typescript things...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-25 18:32:03 -03:00
Gleidson Daniel Silva
4224f4d9d0
Chore: Migrate to TS RommInfoEditView ( #3766 )
...
* initial commit
* fix last types
* fix import
* fix lint
2022-02-25 18:24:08 -03:00
Alex Junior
91de74ed9f
Chore: Migrate views/RoomListView to typescript ( #3758 )
...
* chore: migrating RoomListView to ts
* chore: migrating RoomListView to ts
* chore: implementing types for RoomListView
* chore: change ChatsStackParamList for fix RoomListView errors
* chore: minor tweak
* chore: minor tweak
* chore: fix setTimeout type
* chore: applying changes requested
* chore: minor tweak
2022-02-25 15:59:39 -03:00
Gleidson Daniel Silva
88131e3bfb
Chore: Migrate RoomMembersView to Typescript ( #3769 )
...
* chore: migrate RoomMembersView to ts
* fix goRoom item interface
2022-02-25 13:43:42 -03:00
Gleidson Daniel Silva
00d9ed1972
Chore: create definitions for e2e.setUserPublicAndPrivateKeys api call ( #3775 )
2022-02-24 18:59:57 -03:00
Alex Junior
6b5efcec82
chore: removing unused function getTeamInfo ( #3773 )
2022-02-24 14:28:17 -03:00
Gleidson Daniel Silva
531ad9b9b4
fix: fix mergeSubscriptionsRooms ( #3770 )
2022-02-23 15:55:38 -03:00
Gleidson Daniel Silva
b5d964095e
Chore: Migrate method canOpenRoom to Typescript ( #3650 )
...
* chore: migrate canOpenRoom to ts
* chore: update rocketchat types
* change types to Isubscription types
2022-02-22 17:00:33 -03:00
Alex Junior
cbfca132c5
Chore: Migrate methods/getThreadName to typescript ( #3707 )
...
* chore: change getThreadName to typescript
* chore: change types after merge develop into current
* chore: minor tweak
2022-02-22 13:01:35 -03:00
Gerzon Z
c5cc192dc9
Chore: Migrate methods/enterpriseModules to TS ( #3706 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:07:54 -03:00
Gerzon Z
e58bdb8fe7
Chore: Migrate sendMessage to TS ( #3712 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:04:01 -03:00
Gleidson Daniel Silva
753dec9e27
Chore: Migrate to Typescript mergeSubscriptionRooms and findSubscriptionsRooms ( #3747 )
...
* fix fromJSONValue type
* migrate findSubscription and mergeSubscription to typescript
* chore: fix subscription param returning null
2022-02-21 16:41:49 -03:00
Alex Junior
f27ddf2e22
chore: migrate getFileUrlFromMessage to ts ( #3734 )
2022-02-21 15:19:40 -03:00
Alex Junior
6f27126f5e
Chore: Migrate methods/loadNextMessages to typescript ( #3719 )
...
* feat: update loadNextMessages to ts
* minor tweak
* chore: minor tweaks after merge with developer
2022-02-21 15:04:17 -03:00
Reinaldo Neto
afb91b49db
[FIX] Differ to Last Session Authenticated ( #3667 )
...
* [FIX] Differ to Last Session Authenticated
* Added timesync
* [FIX] Differ to Last Session Authenticated
* Added timesync
* timesync tweaks
* refactor diffLastLocalSession and saveLastLocalAuthentication
* did a race
* Update comment in app/utils/localAuthentication.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* refactor getServerTimeSync and when use this route
* tweak
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-21 13:38:49 -03:00
Alex Junior
17c63c717b
Chore: Migrate methods/sendFileMessage to typescript ( #3683 )
...
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
2022-02-21 13:06:57 -03:00
Alex Junior
a3a4b66810
Chore: Migrate methods/loadMessagesForRoom to Typescript ( #3701 )
...
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-02-21 11:40:57 -03:00
Alex Junior
113cfb043e
Chore: Migrate methods/getRoles to Typescript ( #3741 )
...
* chore: migrate getRoles to ts
* chore: removing unused const
* chore: minor tweak
* Type batch
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-21 11:26:10 -03:00
Gleidson Daniel Silva
bdd1ce4abf
Chore: Migrate loadMissedMessages to typescript ( #3704 )
...
* chore: migrate loadMissedMessages to typescript
* remove loaderItem
* remove this from functions
2022-02-21 10:59:44 -03:00
Gerzon Z
5e39cc0ba5
Chore: Migrate getUsersPresence to TS ( #3717 )
...
* migrate getUsersPresence to ts
* use sdk and remove this context from getUsersPresence
2022-02-18 22:31:38 -04:00
Gerzon Z
8237b3e673
Chore: Migrate getSlashCommands to TS ( #3711 )
...
* migrate getSlashCommands to TS
* use sdk and update getSlashCommands
* minor tweak
* Remove implicit anys
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-18 22:19:33 -04:00
Gerzon Z
1cfa45eeec
Chore: Migrate methods/getRoomInfo to TS ( #3695 )
...
* migrate getRoomInfo to TS
* update room type
* update types
* Fix lint error
2022-02-18 22:09:05 -04:00
Gerzon Z
4e24b7cd82
[FIX] getRooms request using param with wrong name ( #3761 )
2022-02-18 17:49:46 -04:00
Gerzon Z
8bb248890c
Chore: Migrate getCustomEmojis to TS ( #3724 )
...
* update customEmoji interface and getCustomEmoji
* add sdk
* updated emojiCustom rest definition
* minor refactor
* update params object
2022-02-18 12:20:16 -04:00
Gleidson Daniel Silva
370798f100
Chore: Migrate method getSettings to typescript ( #3703 )
...
* chore: migrate getSettings to typescript and and some types
* chore: remove this and add current to code
* chore: add current
2022-02-18 11:49:47 -03:00
Gleidson Daniel Silva
eb38761a37
Chore: Migrate methods/callJitsi to typescript ( #3660 )
...
* chore: migrate callJitsi to typescript
* change fixed string to type
* wip
* wip
* back to old times :)
* back to typescript
2022-02-17 15:45:21 -03:00
Reinaldo Neto
9ec598407d
[FIX] Add search and fix pagination for omnichannels departments ( #3621 )
...
* [FIX] Search and pagination for omnichannels departments
* pagination complete
* minor tweak
* renamed a param and workaround for a ux bug
* fix style of flatlist and search as header scrollable
* stick the header
* Merge branch 'fix.forward-department-list' of https://github.com/RocketChat/Rocket.Chat.ReactNative into fix.forward-department-list
* refactor pagination
* fix value type
* refactor render search
* refactor layout
* make ts happy
2022-02-17 11:57:30 -03:00
Diego Mello
a58b27e4f1
Chore: Migrate getPermissions to Typescript ( #3720 )
...
* Migrating...
* Fix IPermission
* Playing with types
* Remove `as const`
* Fix lint
* Fix test
* Apply sdk
* Fix lint and autocomplete
2022-02-17 10:06:31 -03:00
Gerzon Z
86cc8a7d16
Chore: Migrate buildMessage to TS ( #3732 )
...
* migrate buildMessage to TS
* Fix lint
* minor tweak
* minor tweaks
2022-02-16 20:07:24 -04:00
Gerzon Z
88172f0aa9
Chore: Migrate database/services and database/utils to TS ( #3708 )
...
* migrate database services and utils to ts
* Migrate tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-16 18:19:04 -04:00
Gerzon Z
352a718631
Chore: Migrate lib/encryption folder to TypeScript ( #3639 )
...
* Initial commit
* add types/bytebuffer, add type definitions to params and update interfaces
* add more types and type assertions
* update types
* change bang operator by type assertion and update class variables definitions
* add types for deferred class
* minor tweaks on types definitions
* add ts-ignore
* Update encryption.ts
* update deferred and encryption
* update encryption.ts
* Update room.ts
* update toDecrypt type
* initialize sessionKeyExportedString
* remove return types
2022-02-16 17:14:28 -04:00
Reinaldo Neto
9b369e548e
Chore: Migrate methods/helpers/parseQuery to Typescript ( #3742 )
...
* Chore: Migrate methods/helpers/parseQuery to Typescript
* tweak in example
2022-02-16 12:20:55 -03:00
Gleidson Daniel Silva
941a21dac6
Chore: Migrate helpers/parseUrls to Typescript ( #3735 )
2022-02-16 12:17:25 -03:00
Diego Mello
f51ec9ef0c
Chore: Migrate updateMessages to Typescript ( #3715 )
2022-02-16 12:02:17 -03:00
Gerzon Z
ed716396d0
Chore: Migrate methods/getRooms to TS ( #3702 )
...
* migrate getRooms to TS
* add sdk and set any types
* Moved the new variable around and added ts-ignore to follow the pattern from /services/restApi.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-16 11:48:15 -03:00
Gerzon Z
7634297439
Chore: Migrate methods/getSingleMessage to TS ( #3700 )
...
* migrate getSingleMessage to TS
* minor tweak
2022-02-16 11:42:32 -03:00
Diego Mello
1ffa592201
Chore: dehydrate small server requests away from rocketchat.js ( #3740 )
2022-02-15 15:50:55 -03:00
Diego Mello
c7f4e5531c
[IMPROVE] Add support for ephemeral messages inside threads ( #3687 )
2022-02-15 15:46:17 -03:00
Diego Mello
765c5c50f8
Chore: Move some methods to SDK ( #3736 )
2022-02-14 16:23:13 -03:00
Gleidson Daniel Silva
7866ec3f33
Chore: Add REST API definitions from server ( #3721 )
...
* create first definitions
* chore: implements get and post types
* fix lint
* add ts-ignore
* add teams.removeRoom method
* Remove unused endpoints
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-14 13:20:29 -03:00
Diego Mello
88d33b42c2
[FIX] Remove deprecated database methods and other database operations ( #3686 )
...
* Fix PK error on subscriptions/room
* Instead of checking for pending update, wrap the call on a try catch and return null in case of error
* Generate delete operations before create/update to prevent errors
* Apply same logic on encryption
* Fix database operations on getRoles
* Fix a few database issues found on Bugsnag on ThreadMessagesView
* Run prettier :(
2022-02-10 17:16:10 -03:00
Gerzon Z
a01d281032
Chore: Migrate lib/rocketchat.js to TS - structure PoC ( #3661 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-02-10 09:10:42 -03:00
Gleidson Daniel Silva
977cfd2863
[FIX] Inject Redux store to prevent/remove require cycles ( #3691 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-09 18:16:20 -03:00
Diego Mello
ab9d568528
[NEW] Stream to get individual presence updates ( #3606 )
...
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-02-09 17:44:53 -03:00
Diego Mello
7d23385555
Chore: Migrate logout to Typescript ( #3688 )
2022-02-09 17:37:08 -03:00
Diego Mello
5997c7ae6b
[IMPROVE] Keep biometry option from last session ( #3668 )
...
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-02-08 13:44:34 -03:00
Danish Ahmed Mirza
38be5ce54f
[FIX] Unnecessary login dispatch on adding new server ( #3693 )
2022-02-08 09:07:10 -03:00
Gerzon Z
6839a6e548
Chore: Migrate readMessages to TS ( #3669 )
...
* Migrate readMessages to TS
* Update IRocketChat interface
2022-02-07 14:54:19 -04:00
Gerzon Z
2d1b093666
Chore: Migrate lib/utils to TypeScript ( #3637 )
...
* Migrate utils to TypeScript
* Add @types/semver
* Refactor compareServerVersion(currentVersion, oldVersion, func) to compareServerVersion(current, func, oldVersion)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-07 14:44:04 -04:00
Gerzon Z
9caff40a2e
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-02-01 09:49:39 -04:00
Reinaldo Neto
f88bdfb97c
Chore: Migrate Database to Typescript ( #3580 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-01 10:39:09 -03:00
Gerzon Z
e010d804d5
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-17 10:12:19 -04:00
Reinaldo Neto
905e12380a
[FIX] teams.removeMembers mobile usage ( #3557 )
2022-01-11 11:44:53 -03:00
Gleidson Daniel Silva
791ef4d423
Chore: Migrate lib user preferences to Typescript ( #3578 )
2022-01-11 11:23:43 -03:00
Reinaldo Neto
b75e192e20
[IMPROVE] Remove Omnichannel visitor's navigation history ( #3534 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:29:48 -03:00
Reinaldo Neto
4e15c25ef5
[FIX] Files screen stopped listing content on server 4.2 ( #3541 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:27:43 -03:00
Reinaldo Neto
a1cee02fb0
[NEW] Permission for uploading files ( #3505 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:27:01 -03:00
Diego Mello
404c7cff07
[IMPROVE] Connection stability ( #3531 )
2021-12-07 17:05:30 -03:00
Gerzon Z
691bf1ef17
Chore: Migrate react-navigation to TypeScript ( #3480 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
Gerzon Z
2b7f589847
Merge branch 'develop' into new.add-discusions-roomactionsview
2021-11-23 12:02:43 -04:00
Alex Junior
251b42ca54
[IMPROVE] Open Jitsi call even if server isn't found ( #3442 )
2021-11-16 13:04:33 -03:00
Gerzon Z
5dc0a0a05f
Merge branch 'develop' into new.add-discusions-roomactionsview
2021-10-20 18:10:30 -04:00
Reinaldo Neto
15ccb73f37
[NEW] Flow to resend email confirmation from mobile ( #3439 )
...
* [NEW] Flow to resend email confirmation from mobile
* Hooks
* theme
* minor tweak
* refactor: improving withTheme ts
* minor tweaks
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-20 13:42:44 -03:00