Commit Graph

928 Commits

Author SHA1 Message Date
Reinaldo Neto 3e5b833759
[FIX] Param privacy when editing room info (#3962) 2022-03-25 10:02:09 -03:00
Alex Junior ddfa8b1ca4
[FIX] Navigate to team from directory (#3953) 2022-03-24 18:52:35 -03:00
Reinaldo Neto 4d3c440892
Chore: Evaluate Passcode - TypeScript (#3931)
* Chore: Migrate containers: Passcode to Typescript

* minor tweak

* minor tweak
2022-03-22 21:43:59 -03:00
Alex Junior cbe2b23e27
Chore: Clean LoginServices - TypeScript (#3935) 2022-03-22 19:14:42 -03:00
Gleidson Daniel Silva 2fb7d917a7
Chore: Evaluate ActionSheet - TypeScript (#3927) 2022-03-22 17:44:27 -03:00
Gerzon Z e8d23791d3
Chore: Evaluate TextInput - TypeScript (#3908)
* update `TextInput` component

update: ActivityIndicator

* remove: `any`

* update: `TextInput` on `UIKit`

* Fix returnKeyType

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-22 14:01:54 -04:00
Alex Junior e00580d84e
Chore: Clean ThreadDetails - TypeScript (#3924) 2022-03-22 11:16:41 -03:00
Alex Junior 6f31a00e90
Chore: Clean Check component - TypeScript (#3919)
* chore: clear Check component

* chore: update tests
2022-03-22 10:53:09 -03:00
Alex Junior 571afcaab8
Chore: Clean TwoFactor - Typescript (#3912)
* chore: clean TwoFactor

* minor tweak

* minor refactor

* chore: removing console log
2022-03-22 10:44:07 -03:00
Gerzon Z b0580bf547
[NEW] Redesign quoted messages (#3883) 2022-03-21 17:44:06 -03:00
Gleidson Daniel Silva 1a3d2fbc10
Chore: StatusBar theme and style props (#3906)
* chore: clean status bar and remove useless theme

* mend

* wip

* remove unused props
2022-03-21 16:10:11 -03:00
Gerzon Z 38b2b08278
Chore: Evaluate ActivityIndicator - TypeScript (#3914)
* update: `BackgroundContainer` and `ActivityIndicator`

* update: return type for `RCActivityIndicator`

* update: return type for `BackgroundContainer`
2022-03-17 22:37:10 -04:00
Gerzon Z a1e33c4a69
Chore: evaluate Header components - TypeScript (#3918)
* update: Header components
2022-03-17 15:25:31 -04:00
Alex Junior 11a809a065
Chore: Migrate REST API - getThreadsList to Typescript (#3895)
* chore: add rest api return

* chore: removing sort param
2022-03-16 23:24:22 -03:00
Gerzon Z a754983ac8
Chore: Dehydrate share extension from rocketchat.js (#3753)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-16 17:40:32 -03:00
Reinaldo Neto 823d4c658c
Chore: Migrate methods/actions to Typescript and refactor UiKit folder (#3716)
* Chore: Migrate methods/actions to Typescript

* tweak in actions

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

* refactor sdk.current

* interface and uikit done

* refactor interface, index and utils from UiKit

* minor tweak

* minor tweak

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-16 16:07:49 -03:00
Alex Junior b9967fda9f
Chore: Migrate REST API - saveAutoTranslate to Typescript (#3892) 2022-03-15 21:54:43 -03:00
Alex Junior ccdbd9543c
Chore: Migrate REST API - getRoomInfo to Typescript (#3823)
* chore: add rest api return

* chore: add rest api return
2022-03-15 21:04:10 -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 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
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
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
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
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
Reinaldo Neto 004f4ab0ee
Chore: Migrate REST API - getTagsList to Typescript (#3854) 2022-03-07 23:30: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
Reinaldo Neto 261b380818
Chore: Migrate REST API - usersAutoComplete to Typescript (#3845) 2022-03-07 12:32:51 -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
Gleidson Daniel Silva 82439159a5
Chore: Migrate REST API - removeUserFromRoom to Typescript (#3837) 2022-03-07 09:44:11 -03:00
Reinaldo Neto cbfa7bf43a
Chore: Migrate RoomInfoView to Typescript (#3778)
* Chore: Migrate RoomInfoView to Typescript

* tweak in avatar

* tweak with SubscriptionType

* minor tweak package

* Chore: Migrate RoomInfoView to Typescript

* tweak in avatar

* tweak with SubscriptionType

* minor tweak package

* react.reactelement | null

* minor tweak

* minor tweak livechatvisitor

* remove console.log

* Tweaks
2022-03-03 18:46:53 -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
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 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
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
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