Alex Junior
4a84e47cfa
Chore: Evaluate TextInput component ( #4181 )
...
* changing from `containers/TextInput` to `containers/TexInput/FormTextInput`
* changing from `presentation/TextInput` to `containers/TexInput/index`
* update storybook
* update status view after merge with develop
* removing `app/containers/__snapshots__/TextInput.stories.storyshot` in favor from `app/containers/TextInput/__snapshots`
2022-05-18 16:17:42 -03:00
Reinaldo Neto
1a52c7dc57
Chore: Evaluate AddChannelTeamView - TypeScript ( #4170 )
2022-05-17 10:39:21 -03:00
Reinaldo Neto
f5051e189d
Chore: Evaluate ModalBlockView - TypeScript ( #4124 )
2022-05-17 10:22:41 -03:00
Gleidson Daniel Silva
be19da54a3
Chore: Evaluate StatusView - TypeScript ++hooks ( #4075 )
...
* move statusview to your specific folder
* create showToast helper
* migrate StatusView to hooks
* fix type
* add peer deep to useEffect
* fix lint
* fix error message
2022-05-17 09:42:31 -03:00
Gerzon Z
f9394b66e3
Chore: evaluate `RoomsListView` ( #4147 )
2022-05-16 15:14:04 -03:00
Alex Junior
5cd4186f64
[IMPROVE] Place time after username on message ( #4177 )
2022-05-15 15:29:07 -03:00
Gleidson Daniel Silva
6dfce40c90
Chore: Create useAppSelector hook ( #4189 )
...
* create useAppSelector hook
* migrate useSelector to useAppSelector
2022-05-13 12:01:34 -03:00
Gleidson Daniel Silva
0a7082e2fe
Chore: Evaluate RocketChat v3 ( #4155 )
...
* remove roomSub from rocketchat
* remove _setUser
* remove this.activeUsersSubTimeout and IRocketChat imports
* remove this from connect
* remove rocketchat and comment abort controler
* fix lint
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-05-13 11:52:37 -03:00
Gleidson Daniel Silva
f99ec9f8e3
[FIX] iOS Share Extension not loading on development ( #4187 )
...
* remove deviceToken from constructor
* remove old patch to verify if is running on shareExtension
* add share extension verification
* Remove imports from `/notifications/` just to test the share extension
* Revert "Remove imports from `/notifications/` just to test the share extension"
This reverts commit b3492abad413a5a8a6cf3cd027e33044c437c627.
* changes from constructor to a plain function
* update pods
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-13 11:37:02 -03:00
Gerzon Z
311b346347
Chore: evaluate `InviteUsersView` ( #4100 )
2022-05-13 10:02:01 -03:00
Gerzon Z
4d4a5cffd9
Chore: evaluate `MarkdownTableView` ( #4104 )
2022-05-13 09:57:19 -03:00
Reinaldo Neto
81c6ffce40
Chore: Evaluate RoomInfoView - TypeScript ( #4107 )
...
* Chore: Evaluate RoomInfoView - TypeScript
* refactor interfaces
2022-05-11 15:20:59 -03:00
Reinaldo Neto
fe84090703
Chore: Evaluate ShareView - TypeScript ( #4087 )
2022-05-11 14:59:29 -03:00
Reinaldo Neto
59be3b68b8
Chore: Evaluate AddExistingChannelView - TypeScript ( #4169 )
2022-05-11 14:38:49 -03:00
Reinaldo Neto
fb11932d0b
Chore: Evaluate AuthenticationWebView - TypeScript ( #4158 )
2022-05-11 13:59:57 -03:00
Reinaldo Neto
390516a5b4
Chore: Evaluate AttachmentView - TypeScript ( #4161 )
2022-05-11 13:42:03 -03:00
Reinaldo Neto
5970d29ee7
Chore: Evaluate AdminPanelView - TypeScript ( #4162 )
2022-05-11 13:33:27 -03:00
Alex Junior
1d452ed9e6
Chore: Evaluate MessagesView - TypeScript ( #4113 )
2022-05-10 23:22:17 -03:00
Gerzon Z
e233058e22
Chore: evaluate `RoomInfoEditView` ( #4095 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:26:06 -03:00
Gerzon Z
c9fd7973f0
Chore: evaluate `LegalView` ( #4097 )
...
* chore: evaluate LegalView
* remove: `options` from `LegalView` on OutsideStack
* remove: `mapStateToProps` in favor of `useSelector`
2022-05-10 18:19:57 -03:00
Gerzon Z
9320d1e05e
Chore: evaluate SettingsView ( #4090 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-10 18:19:06 -03:00
Alex Junior
e0bfdee70c
[IMPROVE] Create edited component for edited messages ( #4048 )
2022-05-10 14:40:08 -03:00
Gerzon Z
6623044344
Chore: Evaluate `TeamChannelsView` ( #4088 )
...
* update: `TeamChannelsView`'s interfaces
* update: `TeamChannelsView`'s route params and types
* update: `teamChannels` type
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-05-09 10:21:09 -03:00
Alex Junior
abbb97cd84
Chore: Evaluate ThreadMessagesView - TypeScript ( #4084 )
2022-05-06 23:34:58 -03:00
Alex Junior
55d66c85db
Chore: Evaluate ProfileView - Typescript ( #4091 )
2022-05-06 23:11:07 -03:00
Alex Junior
1346154b65
Chore: Evaluate SidebarView - Typescript ( #4089 )
2022-05-06 22:19:27 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Gerzon Z
88b4a3f672
Chore: evaluate `ThemeView` ( #4086 )
...
* chore: evaluate `ThemeView`
* update: `IThemeViewProps` to extend `IBaseScreen`
* update: `ThemeView` interface
* update: dependency array
* update: use `useLayoutEffect` instead
2022-05-05 11:24:36 -04:00
Gleidson Daniel Silva
305f360b40
[FEAT]: Request current passcode before enter "Screen lock" screen ( #4052 )
...
* move auth to handleLocalAuthentication function
* add support to close ScreenLockedView
* create useServer hook
* add check to verify if you have a password before entering the screen
* fix import
2022-05-03 17:29:00 -03:00
Danish Ahmed Mirza
2077671761
Chore: Migrate containers/Loading to `reanimated` v2 and Hooks ( #4073 )
...
* Chore : Clean `Loading` component and migrate to reanimated v2
* Remove theme prop
* Use colors from useTheme and PixelRatio for image
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-05-03 17:15:16 -03:00
Samay Kothari
9d0b659097
[FIX] Messages showing URL preview on Room Actions ( #4065 )
...
* using database query instead of Rocketchat search api to get message search results
* getting search data from server then converting it into the format as required for message rendering
* fixing some redundant changes
* remove ts-ignore
* removing redundant statements
* url preview is visible when we see messages in pinned, mentions and starred messages
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-05-03 15:52:56 -04:00
Gerzon Z
b006fc4358
Chore: evaluate `JitsiMeetView` ( #4103 )
2022-05-03 14:17:00 -04:00
Gerzon Z
d720b5aca9
Chore: evaluate `ForgotPasswordView` ( #4106 )
2022-05-03 12:33:35 -04:00
Gerzon Z
d277788dc4
Chore: evaluate `AuthLoadingView` ( #4102 )
...
* chore: evaluate `AuthLoadingView`
* remove: `mapStateToProps`, `connect` and interface
2022-05-03 12:25:18 -04:00
Gerzon Z
0dc34f1eca
Chore: evaluate `DefaultBrowserView` ( #4105 )
2022-05-03 12:12:43 -04:00
Gerzon Z
784b016736
chore: evaluate `LoginView` ( #4098 )
2022-05-03 12:05:01 -04:00
Gerzon Z
99409d1af4
chore: evaluate `NewServerView` ( #4101 )
2022-05-03 11:48:02 -04:00
Gerzon Z
5dea514751
chore: evaluate `PickerView` ( #4096 )
2022-05-03 11:13:53 -04:00
Gerzon Z
ed63f69a2d
chore: evaluate `SendEmailConfirmationView` ( #4093 )
2022-05-03 11:06:02 -04:00
Gerzon Z
edfeeb80d3
Chore: Unsupported system messages ( #4047 )
...
* chore: unsupported system messages
* add: Livechat's ignored system messages
* add: `IGNORED_LIVECHAT_SYSTEM_MESSAGES`
* add: support for Livechat's system messages
* remove: `console.log`
2022-05-03 10:27:20 -04:00
Gleidson Daniel Silva
06a0c4f730
Regression: Fix badge count logic on iOS ( #4154 )
...
* fix badge count logic
* set count default value
2022-05-03 08:53:18 -03:00
Reinaldo Neto
bd55fe44ba
Chore: Evaluate NewMessageView - TypeScript ( #4115 )
...
* Chore: Evaluate NewMessageView - TypeScript
* minor tweak
2022-05-02 23:43:30 -03:00
Reinaldo Neto
5d29fcad53
Chore: Evaluate RegisterView - TypeScript ( #4114 )
2022-05-02 23:21:43 -03:00
Reinaldo Neto
d24e59669a
Chore: Evaluate ScreenLockConfigView - TypeScript ( #4094 )
2022-05-02 23:14:49 -03:00
Reinaldo Neto
57154101bd
Chore: Evaluate SecurityPrivacyView - TypeScript ( #4092 )
2022-05-02 23:06:37 -03:00
Reinaldo Neto
5f1ac0b523
Chore: Evaluate SetUsernameView - TypeScript ( #4082 )
2022-05-02 22:53:19 -03:00
Reinaldo Neto
1118ae6fae
Chore: Evaluate UserNotificationPreferencesView - TypeScript ( #4079 )
2022-05-02 22:45:31 -03:00
Reinaldo Neto
3ce32bbfd8
Chore: Evaluate UserPreferencesView - TypeScript ( #4078 )
2022-05-02 22:34:56 -03:00
Reinaldo Neto
82bca54575
Chore: Evaluate WorkspaceView - TypeScript ( #4077 )
2022-05-02 22:27:33 -03:00
Reinaldo Neto
83fb5ce7fb
Chore: Evaluate LivechatEditView - TypeScript ( #4125 )
2022-05-02 22:19:28 -03:00
Reinaldo Neto
21a6fcee87
Chore: Evaluate SelectServerView - TypeScript ( #4118 )
2022-05-02 22:13:03 -03:00
Reinaldo Neto
10c4fddd61
Chore: Evaluate ShareListView - TypeScript ( #4117 )
2022-05-02 22:06:19 -03:00
Reinaldo Neto
888bcae48e
Chore: Evaluate RoomMembersView - TypeScript ( #4116 )
...
* Chore: Evaluate RoomMembersView - TypeScript
* evaluate show action sheet
* fix tsubscriptionmodel
2022-05-02 21:48:08 -03:00
Reinaldo Neto
fe1b8b75bd
Chore: Evaluate CannedResponsesListView - TypeScript ( #4149 )
2022-05-02 21:30:20 -03:00
Reinaldo Neto
243d016bf1
Chore: Evaluate CannedResponseDetail - TypeScript ( #4150 )
2022-05-02 21:23:03 -03:00
Reinaldo Neto
93c3c5f3a9
Chore: Evaluate RoomActionsView - TypeScript ( #4148 )
2022-05-02 20:13:39 -03:00
Reinaldo Neto
a84d4e9534
Chore: Evaluate RoomView - TypeScript ( #4134 )
...
* Chore: Evaluate RoomView - TypeScript
* fix messagebox and list refs
* fix the refs
* refactor other refs
* remove any from privates
* storyshot tweak
2022-05-02 19:58:23 -03:00
Reinaldo Neto
cb1dabbc16
Chore: Evaluate CreateDiscussionView - TypeScript ( #4133 )
2022-05-02 19:48:29 -03:00
Alex Junior
d99b31849a
Chore: Evaluate Icon - Typescript ( #3982 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-02 16:21:15 -03:00
Alex Junior
b63f514df7
Chore: Evaluate NotificationPreferencesView - Typescript ( #4099 )
2022-05-02 15:24:17 -03:00
Alex Junior
43e9964b7b
Chore: Evaluate Create Channel - TypeScript ( #4144 )
2022-05-02 15:11:41 -03:00
Alex Junior
1efd6a9a65
Chore: Evaluate AutoTranslate- TypeScript ( #4145 )
2022-05-02 14:59:49 -03:00
Reinaldo Neto
ee3e569512
Chore: Evaluate ReadReceiptView - TypeScript ( #4123 )
2022-05-02 11:17:55 -03:00
Reinaldo Neto
8ac38a2e04
Chore: Evaluate SelectedUsersView - TypeScript ( #4121 )
2022-05-02 10:09:10 -03:00
Reinaldo Neto
e5f140e231
Chore: Evaluate SelectListView - TypeScript ( #4119 )
...
* Chore: Evaluate SelectListView - TypeScript
* minor tweak
2022-05-02 09:40:19 -03:00
Reinaldo Neto
8896370a6c
Chore: Evaluate DiscussionsView - TypeScript ( #4129 )
2022-05-02 09:23:57 -03:00
Reinaldo Neto
a1e672df0e
Chore: Evaluate DisplayPrefsView - TypeScript ( #4127 )
...
* Chore: Evaluate DisplayPrefsView - TypeScript
* minor tweak
2022-05-02 09:12:41 -03:00
Reinaldo Neto
f04b15a432
Chore: Evaluate ForwardLivechatView - TypeScript ( #4126 )
...
* Chore: Evaluate ForwardLivechatView - TypeScript
* minor tweaks
2022-05-02 09:03:55 -03:00
Reinaldo Neto
a27d63c22e
Chore: Evaluate DirectoryView - TypeScript ( #4130 )
2022-05-02 08:53:47 -03:00
Gerzon Z
744ee27e18
Regression: Omnichannel icons ( #4136 )
...
* fix: Omnichannel icons
* update: `RoomItem.storyshot`
2022-04-29 13:08:19 -04:00
Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Gerzon Z
08271f6114
Regression: Users search on `CreateDiscussionView` ( #4112 )
...
* fix: users search on `CreateDiscussionView`
* chore: increased readability for `getUsers` function
2022-04-26 14:15:29 -04:00
Gerzon Z
8a75dcf87b
Chore: evaluate `RoomItem` ( #4023 )
...
* chore: evaluate `RoomItem`
* update: `RoomItem.storyshot`
* update: interfaces for RoomItem components
* update: UnreadBadge import and RoomItem interfaces
* remove: `avatarSize` from interfaces
* update: `RoomItem.storyshot`
2022-04-20 17:37:54 -04:00
Gerzon Z
aab4e4b12a
[FIX] Avatar's size on display mode change ( #4042 )
...
* fix: avatar's size
* update snapshot
* update: snapshots
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-20 17:02:18 -04:00
Reinaldo Neto
8012031cd3
[NEW] On-Hold chats for Omnichannel ( #4051 )
...
* [NEW] Implementing On-Hold Livechat for Omnichannel
* added onHold to database
* list header title open livechats
* update rooms list view
* remove placeOnHold after clicked
* fix mesasgebox reactive to on hold
* navigate to roomslistview
* minor tweaks
* for grouping too
* fix chat on-hold when the agent is fully
* show on hold system messages
2022-04-20 17:53:11 -03:00
Gleidson Daniel Silva
a4090782f5
Regression: Fix setBadgeCount import ( #4074 )
2022-04-20 11:42:59 -03:00
Reinaldo Neto
21c8de56ea
[IMPROVE] Accept user avatar url from external provider ( #4002 )
...
* [IMPROVE] Accept url to user avatar from external provider
* fix avatar sidebar
2022-04-18 21:52:02 -03:00
Reinaldo Neto
3c53d48a3e
[FIX] Omnichannel chat is broken the first time is taken ( #4037 )
...
* [FIX] Omnichannel chat is broken the first time is taken
* refactor how to get a room from db
2022-04-18 16:35:50 -03:00
Reinaldo Neto
0a67cb8096
[IMPROVE] Visibility of the “incoming chats” in queue ( #4039 )
...
* [IMPROVE] Visibility of the “incoming chats” in queue
* fix the custom icon for rtl
* fix thumb colors
* clean queue empty
* added alert to confirm enable omnichannel
* switch to normal
* fix storyshot because was added a new props to list item
* fix height container
* minor tweak
* minor tweak
* fix title
2022-04-15 00:11:36 -03:00
Reinaldo Neto
064920e61b
Chore: Evaluate UnreadBadge to Typescript ( #4018 )
...
* Chore: Evaluate UserItem to Typescript and moved from presentation to container
* minor tweak
2022-04-14 23:51:59 -03:00
Reinaldo Neto
b75ac1de8b
[IMPROVE] Support Omnichannel icons ( #3959 )
...
* [IMPROVE] Support Channel Icons for Omnichannel
* Prop drilling sourceType
* create a column for source in WatermelonDB
* Add sms icon
* start of fetching
* removed usefetch
* custom icon to RoomHeader, RoomActions, RoomInfo
* minor tweak in interface
* fix margin
* add connected to sourceType
* make ts happy
* minor tweak
* fix storyshot
* refactor omnichannel source interface
* minor tweak roomActionsview
* Added storyshot
* minor tweak
* fix storyshot
* fix display extended without avatar
* fix connected object
* wip android build
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-14 23:27:36 -03:00
Reinaldo Neto
25c37c1a60
Chore: Migrate i18n to Typescript ( #3988 )
...
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* Chore: Migrate i18n to Typescript and fix the Left and Right actions in RoomItem
* remove fix to roomItem
* update storyshot
* fix removed itens
* fix changes requested
* interface for i18n, added resolveJsonModule to tsconfig.json
* tweak at error alert
* fix storyshot
* refactor comments
* create function isTranslated
* fix accessibilityLabel
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-14 17:30:41 -03:00
Diego Mello
397cd3d9b8
[FIX] Stop showing native push notification when in foreground ( #4059 )
2022-04-14 15:24:04 -03:00
Reinaldo Neto
e28f7ac4b6
[FIX] Send upload inside a thread ( #4053 )
2022-04-14 14:40:37 -03:00
Reinaldo Neto
456d017475
Chore: Migrate REST API - getSupportedLanguagesAutoTranslate to Typescript ( #4020 )
2022-04-14 14:29:32 -03:00
Alex Junior
ef81796cd3
Chore: Evaluate KeyboardView - TypeScript ( #4014 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-13 17:43:56 -03:00
Gerzon Z
99ea5d8e2a
Chore: TypeScript migration - move `notifications/push` to `lib/notifications` ( #3999 )
...
* chore: move `notifications/push` to `lib/notifications/push`
* update: move `lib/notifications/push` to `lib/notifications`
* remove: push.ios.ts
2022-04-12 12:37:28 -04:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Gerzon Z
4aeb21148d
[FIX] Searching for users when creating discussions not returning data correctly ( #4034 )
2022-04-12 10:48:28 -03:00
Alex Junior
c6e0751581
[FIX] Force mime type when the image does not have a filename ( #4006 )
2022-04-11 15:17:28 -03:00
Alex Junior
b0d408ebc8
Chore: add eslint-plugin-react-hooks lib ( #4021 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-11 15:01:43 -03:00
Reinaldo Neto
53eb251476
Chore: Evaluate UserItem - TypeScript ( #3983 )
...
* Chore: Evaluate UserItem - TypeScript
* fix storyshot
* minor tweaks
* tweaks on comments
* fix storyshot
* move useritem from presentation to containers
* remove comments
2022-04-08 23:43:31 -03:00
Reinaldo Neto
8268beeb67
[FIX] Create a discussion from NewMessageView ( #4003 )
...
* [FIX] Create a discussion from NewMessageView
* fix the itemData.value to any
* minor tweak
2022-04-08 19:53:48 -03:00
Reinaldo Neto
ec952b058a
Chore: Upgrade @types/react-native to 0.64.2 ( #4026 )
...
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* Chore: Upgrade @types/react-native to 0.64.2
* minor tweak in comment
* minor tweak
* fix accessibility within bordelessbutton
2022-04-08 11:27:10 -03:00
Gerzon Z
8043ca2cf9
[FIX] Queue Omnichannel rooms shouldn't show header buttons ( #4031 )
2022-04-07 16:35:37 -04:00
Gerzon Z
349e10e328
Chore: TypeScript Migration - evaluate DirectoryItem ( #4016 )
...
* chore: evaluate DirectoryItem
* chore: move `DirectoryItem` to `containers`
* update: `themes` import
2022-04-07 16:25:25 -04:00
Gleidson Daniel Silva
5494037f78
Chore: Upgrade react-native-notifications to 4.2.4 ( #3958 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 16:14:04 -03:00
Gerzon Z
cd0c8abced
Chore: evaluate ServerItem - TypeScript Migration ( #4015 )
...
* chore: evaluate ServerItem
* update: IServerInfo interface
* chore: move `ServerItem` to `containers` folder
* update: `ServerItem` import on Storybook
* update: `themes` import
2022-04-07 13:07:16 -04:00
Gleidson Daniel Silva
e525392713
Chore: Move services and methods away from rocketchat folder ( #4033 )
...
* move services to lib
* move methods to lib
* fix imports
2022-04-07 13:53:07 -03:00
Gerzon Z
13a2962fa2
Chore: evaluate getUserSelector ( #4013 )
...
* update: type for user
* update: LanguageView's user type
* update: UserNotificationPreferencesView's user
* chore: set `enableMessageParserEarlyAdoption` as non-optional
2022-04-07 12:27:45 -04:00
Gleidson Daniel Silva
d38c17bcd8
Chore: Create app/lib/store folder ( #4028 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 11:19:54 -03:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Gleidson Daniel Silva
474ea98a3b
Chore: Create app/lib/navigation folder ( #4027 )
...
* change Navigation to appNavigation and move to navigation folder
* change ShareNavigation to shareNavigation and move to navigation folder
* fix navigation import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 10:22:19 -03:00
Gleidson Daniel Silva
7d2ae5ea7c
Chore: Evaluate helpers and methods - Typescript ( #4030 )
...
* move userPreferences to methods folder
* create formatAttachmentUrl file
* create compareServerVersion file
* create generateLoadMoreId file
2022-04-07 10:13:19 -03:00
Diego Mello
9a11fb2797
[FIX] Add token expired verification ( #3964 )
2022-04-06 17:35:53 -03:00
Gleidson Daniel Silva
2eba327396
Chore: Evaluate lib/rocketchat structure and files ( #3986 )
...
* create TSubscription type
* move logoutOtherLocations to restApis
* mvoe getUserInfo to restApi
* move constants to lib folder
* change Rocketchat methods to sdk methods
* move toggleFavorite to restApis
* move functions to rocketchat folder
* delete old rocketchat file :)
* fix imports
* fix lint and return types
* Fix subscribe to rooms not getting called
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-04 16:15:29 -03:00
Alex Junior
488074b4ae
Chore: Evaluate Message - TypeScript ( #3944 )
...
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-01 18:52:38 -03:00
Alex Junior
3b3cd67d78
Chore: Clean ReactionsModal - TypeScript ( #3926 )
2022-04-01 12:32:17 -03:00
Gleidson Daniel Silva
5bd060b7b2
Chore: Add `colors` prop to useTheme hook ( #3993 )
...
* create react-native-appearance mock
* create base for colors theme
* mend
* export TColors prop
* update snapshot
2022-03-31 20:04:29 -03:00
Gleidson Daniel Silva
cfe352dfbc
Chore: Clean SafeAreaView - Typescript ( #3907 )
...
* chore: clean SafeAreaView
* fix type
* update supported types
2022-03-31 19:46:11 -03:00
Gleidson Daniel Silva
e0459aed89
Chore: Evaluate MessageBox - TypeScript ( #3936 )
...
* chore: migrate buttons
* chore: migrate CommandsPreview
* chore: migrate Mention
* chore: migrate Some files
* chore: migrate RecordAudio
* fix lint
* fix context value
* fix MessageBox types
2022-03-31 19:39:24 -03:00
Gleidson Daniel Silva
64b594f9ae
Chore: clean RoomHeader ( #3923 )
2022-03-31 19:29:14 -03:00
Diego Mello
4416f82665
Chore: Properly type MessageActions ( #3930 )
2022-03-31 09:38:20 -03:00
Reinaldo Neto
c483abfa60
[FIX] Omnichannel's "Availability" toggle button is hard to interact with on Android devices ( #3952 )
...
* first commit
* change touchable to touch
2022-03-30 19:17:01 -03:00
Gerzon Z
49c92cfa7b
[FIX] `AttachedActions`'s button ( #3989 )
...
* fix: `AttachedActions`'s button
* fix: text color
* update: `Message.storyshot`
2022-03-30 17:55:57 -04:00
Diego Mello
2af88a5544
[FIX] Not properly fetching users presence on some startup situations ( #3967 )
2022-03-30 18:27:53 -03:00
Alex Junior
5a3ffe5136
[FIX] Animation to show all login services options ( #3985 )
...
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-03-29 20:56:50 -03:00
Reinaldo Neto
40cb3b1ae7
Chore: Evaluate UiKit - TypeScript ( #3939 )
...
* Chore: Evaluate UiKit - TypeScript
* minor tweak
2022-03-29 17:06:50 -03:00
Gerzon Z
1c70ffc614
Chore: Evaluate `Avatar` - TypeScript ( #3929 )
...
* update: `Avatar` component
remove: non-null assertion from ThreadMessagesView Item
* remove: `this.mounted` from `Avatar` component
update: navParam on MessageAvatar component
2022-03-29 12:23:45 -04:00
Gerzon Z
93c9d2efdf
Chore: use `@react-native-clipboard/clipboard` ( #3950 )
...
* add: @react-native-clipboard/clipboard
* create jest.setup.js file and centralizes all mocks on these folder for jest
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-03-29 12:09:44 -04:00
Alex Junior
228d64f00c
[FIX] User status missing translate ( #3960 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-28 19:52:20 -03:00
Gleidson Daniel Silva
d9d9d35928
[FIX] Update navToRoom press verification ( #3974 )
2022-03-28 14:43:57 -03:00
Gleidson Daniel Silva
f3cf4f1e7f
[FIX] Adds a check to see if the collapsed property exists. ( #3973 )
...
* Adds a check to see if the collapsed property exists.
* 👀
* update snapshot
* revert
* revert yarn.lock
2022-03-28 12:08:18 -03:00
Diego Mello
902827422b
Chore: Properly type Status ( #3911 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 17:05:49 -03:00
Reinaldo Neto
70cb252d1b
Chore: Migrate containers: List to Typescript ( #3921 )
...
* Chore: Migrate containers: List to Typescript
* minor tweak
* fix storyshot List - item flatlist
* fix IListContainer
* fix type of childrens
* minor tweak
2022-03-25 15:09:02 -03:00
Reinaldo Neto
744712b8d5
Chore: Migrate containers: FormContainer to Typescript ( #3922 )
...
* Chore: Migrate containers: FormContainer to Typescript
* minor tweak
* theme fix
* fix react.reactelement[]
* minor tweak
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-25 14:55:20 -03:00
Reinaldo Neto
6418803517
Chore: Evaluate Markdown - TypeScript ( #3948 )
2022-03-25 14:20:09 -03:00
Gerzon Z
d5ac663199
[FIX] Drawer failing to open/close on ProfileView ( #3963 )
2022-03-25 11:35:25 -03:00
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
Gerzon Z
f9064bf5af
Chore: Evaluate HeaderButton - TypeScript ( #3925 )
...
* update: `HeaderButton` components
* update: types
* fix types
* fix lint and update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-03-24 15:55:01 -04:00
Gerzon Z
8ea183373e
[FIX] Audio thumb's size ( #3945 )
...
* update: Audio component
2022-03-23 10:49:45 -04:00
Gerzon Z
9a17ce91a8
[FIX] "Sent an attachment" text on media preview for threads ( #3947 )
...
* update: `Content` component
* update: `Message` snapshots
2022-03-23 10:37:11 -04: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
f90f1a326f
Chore: Clean MessageErrorActions - TypeScript ( #3928 )
2022-03-22 11:29:45 -03:00
Alex Junior
e00580d84e
Chore: Clean ThreadDetails - TypeScript ( #3924 )
2022-03-22 11:16:41 -03:00
Alex Junior
e1038af2f8
Chore: Clean InAppNotification - TypeScript ( #3920 )
2022-03-22 11:01:55 -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
lingohub[bot]
e750104d96
Language update from LingoHub 🤖 on 2022-03-21Z ( #3940 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-21 18:08:00 -03:00
Gerzon Z
b0580bf547
[NEW] Redesign quoted messages ( #3883 )
2022-03-21 17:44:06 -03:00
Reinaldo Neto
82acb917fc
[FIX] Wrong param sent to system message ( #3943 )
...
* [FIX] Display added user to team
* tweak when remove members from team too
* update storyshot
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-03-21 17:25:40 -03:00
Gleidson Daniel Silva
2ff48471d6
chore: Evaluate SearchBox ( #3909 )
2022-03-21 16:23:59 -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
Gleidson Daniel Silva
8a12924904
[FIX] Messages not loading for unjoined channels ( #3904 )
...
* Fix message loading for unjoined channels
* Update updateMessages.ts
* log -> console.log
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-03-21 15:57:23 -03:00
Reinaldo Neto
0582cdfa61
Chore: Migrate REST API - e2eFetchMyKeys to Typescript ( #3942 )
2022-03-21 13:56:38 -03:00
Reinaldo Neto
8af1d1ceb5
Chore: Migrate containers: Loading to Typescript ( #3915 )
2022-03-18 12:02:04 -03:00
Reinaldo Neto
fae46f565b
Chore: Migrate containers: Toast to Typescript ( #3913 )
2022-03-18 11:25:03 -03:00
Gleidson Daniel Silva
75f3f90913
[NEW] Collapsible Message ( #3879 )
...
* create new collapsible component
* create collapsible tests and update snapshot
* fix quote :)
* update snapshot
* add support to color
* add collapsed prop
* fix some styles
* fix tests
* wip
* clean
* add CollapsibleQuote story
* better style
* update snapshots
* add better tests
* remove testID
* update storyshot
2022-03-18 07:01:30 -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
334b1bad7b
Chore: Evaluate BackgroundContainer - TypeScript ( #3917 )
...
* update: `BackgroundContainer`
* remove: `theme` from `IBackgroundContainer`
* update: return type for `BackgroundContainer`
2022-03-17 17:21:19 -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
e792f2a49b
Chore: Migrate REST API - registerPushToken to Typescript ( #3902 )
2022-03-16 17:04:16 -03:00
Reinaldo Neto
8efba39370
Chore: Migrate REST API - removePushToken to Typescript ( #3903 )
2022-03-16 16:46:23 -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
f98f2a46d9
Chore: Migrate REST API - getRoomMembers to Typescript ( #3899 )
2022-03-15 22:37:49 -03:00
Alex Junior
4cfadbc97b
Chore: Migrate REST API - getSyncThreadsList to Typescript ( #3896 )
2022-03-15 22:25:48 -03:00
Alex Junior
9650c98b4f
Chore: Migrate REST API - runSlashCommand to Typescript ( #3893 )
2022-03-15 22:14:50 -03:00
Alex Junior
b9967fda9f
Chore: Migrate REST API - saveAutoTranslate to Typescript ( #3892 )
2022-03-15 21:54:43 -03:00
Alex Junior
4666bdf9d5
Chore: Migrate REST API - sendEmailCode to Typescript ( #3905 )
2022-03-15 21:43:44 -03:00
Alex Junior
0023f0e195
Chore: Migrate REST API - sendEmailCode to Typescript ( #3891 )
2022-03-15 21:29:48 -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
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
Danish Ahmed Mirza
1d04e9379f
[FIX] Mention from suggestions concatenates to query string on autocomplete ( #3696 )
...
* [FIX] Mention suggestion concatenate to query string
* Add function to get regexp and its tests in separate files
* Update getRegexp.ts
* Update file names
* Try new regex
* One regex for all mention types
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-03-15 16:33:43 -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
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
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
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
4bd9dc0e09
Chore: Migrate REST API - removeTeamRoom to Typescript ( #3819 )
2022-03-04 11:00:17 -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
Alex Junior
c6824e7fcf
Chore: Migrate REST API - merge v1/user in v1/users ( #3827 )
2022-03-04 10:18:07 -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
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
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
Diego Mello
51ed83a33e
[IMPROVE] Team system messages feedback ( #3771 )
...
* almost there
* Update stories
2022-02-23 17:31:14 -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
219462ba3d
Chore: Migrate redux module login to typescript ( #3647 )
...
* chore: migrate redux module login to typescript
chore: update redux module login tests
* update workers
* wip
* fix type
* remove partial
* add more status
* migrate the rest of the stuff to typescript
* fix tests and types
* fix types and tests
2022-02-18 10:53:36 -03:00
Gleidson Daniel Silva
d73886bd60
Chore: Migrate redux module room to typescript ( #3636 )
...
* chore: migrate redux module room to typescript and remove dispatch on dependencies
* chore: add tests to redux module room
* chore: create ERoomType and use on implemention
* chore: update enum name
* fix test id
2022-02-18 10:46:19 -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
5ac4700d51
Chore: Migrate Markdown to Typescript ( #3558 )
...
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-17 12:27:01 -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
5e60f58bb3
Chore: Migrate redux actions/enterpriseModules to TS ( #3698 )
...
* migrate enterpriseModules to TS
* update test file
2022-02-16 18:10:09 -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
Gleidson Daniel Silva
97f8271127
Chore: Migrate app/commands to typescript ( #3697 )
2022-02-16 14:36:45 -03: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
Gerzon Z
78da41d4f7
Chore: Migrate selector/login to TS ( #3731 )
...
* migrate selector/login to TS
* Fix lint errors
* set aliases for returns
2022-02-16 12:09:38 -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
lingohub[bot]
71a50875d3
Language update from LingoHub 🤖 on 2022-02-14Z ( #3730 )
...
* Language update from LingoHub 🤖
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
* remove draft gl
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-15 16:17:19 -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
Gleidson Daniel Silva
7a5a085067
Chore: Fix rocketchat interface ( #3705 )
2022-02-09 16:47:59 -03:00
Gleidson Daniel Silva
d874012e61
Fix reactotron multiple connections ( #3622 )
2022-02-09 16:02:14 -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
f78a763dfb
[FIX] Disable tap gesture on call messages ( #3694 )
2022-02-08 09:47:23 -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
Reinaldo Neto
d894c6aab8
Regression: Prevent duplicated .jpg on file upload ( #3658 )
...
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* refactored comment
2022-02-07 13:52:09 -03:00
Gerzon Z
d246c2c6e8
Regression: Message press navigating to empty RoomView ( #3680 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-07 11:41:29 -04:00
Reinaldo Neto
0289ba716d
Chore: Migrate LivechatEditView to Typescript ( #3499 )
...
* Chore: Migrate LivechatEditView to Typescript
* refactor: minor tweak
* refactor: fix the interfaces for input
* refactor: fix lint erros
* minor tweak with new navigation types
* function
* iroom tweak
* livechateditview tweak
* TextInput tweak
* refactor: update new types and interfaces for use ISubscription
* refactor to default useState type
* change the component name in SearchBox
* changed state type
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-07 12:18:37 -03:00
Reinaldo Neto
6933278fd5
Chore: Migrate CannedResponsesListView to Typescript ( #3553 )
...
* Chore: Migrate CannedResponsesListView to TS
* Moved IcannedResponse to definitions and fixed the index
* Chore: Migrate CannedResponseDetail to TS
* minor tweaks
* refactor: update new types and interfaces for use ISubscription
* fix lint error and canned responses's dropdown
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-04 19:15:01 -03:00
Reinaldo Neto
b95cad71eb
Chore: Remove Non-null assertion operator in ThreadMessagesView ( #3632 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-04 17:47:05 -03:00
Reinaldo Neto
6168926600
Merge branch 'develop' into chore.console-error
2022-02-04 15:13:05 -03:00
Gleidson Daniel Silva
d7c32b71c3
Chore: Migrate redux module createDiscussion to typescript ( #3604 )
...
* chore: migrate createDiscussion to ts and add tests
* chore: add TActionCreateDiscussion to TApplicationActions
* fix types
* update types
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:51:18 -03:00
Gleidson Daniel Silva
6fa35cd748
Chore: Migrate redux module app to typescript ( #3598 )
...
* chore: migrate activeUsers reducer and action to TS
* chore: init types folder and set redux and BaseScreen interface
* chore: remove mapDispatchToProps to use dispatch prop and clear some types
* chore: type selectedUsers action and reducer and improvement in the code of other files
* chore: move IUser to base types
* chore: move state props to ISelectedUsersViewProps
* chore: create mocketStore
* chore: remove applyAppStateMiddleware
* test: create activeUser and selectedUser tests
* test: add more selectedUsers tests
* chore: fix action type
* chore: move types to definition folder and fix imports
* chore: remove unused const
* chore: migrate redux tests to reducer folder and add eslint jest plugin
* chore: exprot initial state and then import on tests
* chore: move interfaces to reducer and import on screen
* chore: set eslint-plugin-jest version to 24.7.0
* chore: fix IUser import
* chore: update interfaces and types names
* chore: update definitions
* chore: update IBaseScreen definitions
* chore: init reducer/app migration to ts
* chore: add tests and migrate RootEnum
* wip: migrate fixed consts to RootEnum
* chore: remove redux action inferences
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:27:10 -03:00
Gleidson Daniel Silva
7ad900a515
Chore: Migrate redux module createChannel to typescript ( #3602 )
...
* chore: migrate createChannel to ts and add tests
* chore: fix naming
* chore: add more types and remove mapDispatchToProps from components
* remove todo
* update tests
* chore: migrate interface to reducer and fix errors on return
* chore: insert IApplicationState to mapStateToProps state type
* Remove spread
* fix type
* fix import and state type
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-02 15:02:02 -03:00
Gleidson Daniel Silva
c442a8473d
Chore: Migrate redux module share to typescript ( #3612 )
...
* chore: migrate redux module share to typescript
* chore: fix types
* chore: update types
* chore: migrate redux module share to typescript
* remove double import
* chore: fix import
2022-02-02 14:46:05 -03:00
Gleidson Daniel Silva
03459147ed
Chore: Migrate redux module permissions to typescript ( #3630 )
2022-02-02 14:01:31 -03:00
Gerzon Z
f8a37fe082
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-02-01 11:27:57 -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
67541baf95
Add missing DiscussionsView snapshot
2022-01-31 17:49:37 -04:00
Gerzon Z
5134ddef6a
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-31 17:38:17 -04:00
Gerzon Z
89613bb85b
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-31 17:32:49 -04:00
Gerzon Z
350a20d3cd
remove console.log
2022-01-31 17:21:26 -04:00
Gleidson Daniel Silva
2f7ff43ea0
[FIX] StoryShots not working for async rendered components ( #3677 )
2022-01-31 18:15:44 -03:00
Gerzon Z
a093af38fe
test
2022-01-31 10:27:16 -04:00
Gerzon Z
5a320a806c
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-28 10:59:02 -04:00
Gerzon Z
173cff0ddf
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-27 09:25:49 -04:00
Gerzon Z
b594488ad9
Remove console.log
2022-01-27 09:21:46 -04:00
Gleidson Daniel Silva
8b29e27494
Merge branch 'develop' into chore/migration-ts-redux-connect-v2
2022-01-26 16:55:47 -03:00
Gerzon Z
ae31612343
test
2022-01-26 15:35:28 -04:00
Gerzon Z
ec6f9fa0df
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-26 14:34:08 -04:00
Gleidson Daniel Silva
f7f0bf1c69
Merge branch 'develop' into chore/migration-ts-redux-deep-linking
2022-01-26 13:58:15 -03:00
Gleidson Daniel Silva
f23850beea
Merge branch 'develop' into chore/migration-ts-redux-users-typing
2022-01-26 13:44:06 -03:00
Gleidson Daniel Silva
2b3f67f801
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences
2022-01-26 13:33:04 -03:00
Gerzon Z
2889a1cc0f
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-26 11:53:43 -04:00
GleidsonDaniel
eae0267278
fix types
2022-01-26 11:44:41 -03:00
Gleidson Daniel Silva
f15bc0f219
Merge branch 'develop' into origin/chore/migration-ts-redux-customEmoji
2022-01-26 11:35:53 -03:00
Gerzon Z
30b8becac1
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-26 10:29:41 -04:00
Gleidson Daniel Silva
52f379807b
Merge branch 'develop' into chore/migration-ts-redux-encryption
2022-01-26 11:27:12 -03:00
Gerzon Z
66968b46fe
Fix lint
2022-01-26 10:20:23 -04:00
Gerzon Z
9db97aa033
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-26 10:16:06 -04:00
Gleidson Daniel Silva
f5b44d80e1
Merge branch 'develop' into chore/migration-ts-redux-messages
2022-01-26 11:12:37 -03:00
GleidsonDaniel
cbe1af6f63
chore: add as string to fix type
2022-01-26 11:00:21 -03:00
Gleidson Daniel Silva
cbca46ab55
Merge branch 'develop' into chore/migration-ts-redux-invite-links
2022-01-26 10:42:05 -03:00
Gleidson Daniel Silva
b72d469079
Merge branch 'develop' into chore/migration-ts-redux-roles
2022-01-26 10:31:13 -03:00
Gleidson Daniel Silva
2b22463a55
Merge branch 'develop' into chore/migration-ts-redux-rooms
2022-01-26 10:16:42 -03:00
Gleidson Daniel Silva
2704f44c84
Merge branch 'develop' into chore/migration-ts-redux-connect-v2
2022-01-26 09:56:22 -03:00
Gleidson Daniel Silva
9c53932b56
Merge branch 'develop' into chore/migration-ts-redux-deep-linking
2022-01-26 09:53:02 -03:00
Gleidson Daniel Silva
40ffc01c3d
Merge branch 'develop' into chore/migration-ts-redux-invite-links
2022-01-26 09:52:22 -03:00
Gleidson Daniel Silva
22d619b676
Merge branch 'develop' into chore/migration-ts-redux-roles
2022-01-26 09:52:20 -03:00
Gleidson Daniel Silva
8305d3dd6d
Merge branch 'develop' into chore/migration-ts-redux-users-typing
2022-01-26 09:52:14 -03:00
Gleidson Daniel Silva
cfbb3c8d27
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences
2022-01-26 09:52:12 -03:00
Gleidson Daniel Silva
5130786ac8
Merge branch 'develop' into origin/chore/migration-ts-redux-customEmoji
2022-01-26 09:52:08 -03:00
Gleidson Daniel Silva
56ea4393ba
Merge branch 'develop' into chore/migration-ts-redux-encryption
2022-01-26 09:52:06 -03:00
Gleidson Daniel Silva
87d43ac9cd
Merge branch 'develop' into chore/migration-ts-redux-messages
2022-01-26 09:52:04 -03:00
Gleidson Daniel Silva
46af969a2a
Merge branch 'develop' into chore/migration-ts-redux-rooms
2022-01-26 09:51:28 -03:00
Gleidson Daniel Silva
30f3ed905f
Merge branch 'develop' into chore/migration-ts-redux-settings
2022-01-26 09:51:16 -03:00
Reinaldo Neto
588fdf9650
Chore: Change console.log to console.error when logging error
2022-01-26 00:06:00 -03:00
Gerzon Z
e0d7cbbaca
Minor tweak
2022-01-24 15:20:25 -04:00
Gerzon Z
4f9460b8b2
Remove style.ts
2022-01-24 15:18:59 -04:00
Gerzon Z
5d84468561
Minor tweaks
2022-01-24 15:12:09 -04:00
Gerzon Z
bce775d88d
Fix navigation logic and update interfaces
2022-01-24 14:35:06 -04:00
Gerzon Z
ce8a208e42
Update interfaces and minor tweaks to DiscussionsView screen and components
2022-01-24 13:40:39 -04:00
Gerzon Z
0a6e5d3fb0
Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView
2022-01-24 11:51:31 -04:00
Diego Mello
ea9a2da90a
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-21 13:07:49 -03:00
Gerzon Z
85a33038e2
Merge branch 'chore.migrate-redux-server-to-ts' of https://github.com/RocketChat/Rocket.Chat.ReactNative into chore.migrate-redux-server-to-ts
2022-01-20 17:07:30 -04:00
Gerzon Z
757b2c739b
update action definition
2022-01-20 17:07:11 -04:00
Gerzon Z
efb9835306
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-20 17:00:34 -04:00
Gerzon Z
2bcf2ef495
update interface
2022-01-20 17:00:04 -04:00
Diego Mello
782bdda2c7
[IMPROVE] Convert HEIC images to JPG and remove compression ( #3633 )
2022-01-20 15:24:27 -03:00
Diego Mello
ddd0a84530
Send missing params to selectServerRequest
2022-01-20 14:45:40 -03:00
GleidsonDaniel
4fad0cafad
chore: update settings value types
2022-01-20 14:41:04 -03:00
Gerzon Z
06ba2d172b
Merge branch 'develop' into chore.migrate-redux-server-to-ts
2022-01-20 11:06:54 -04:00
Gerzon Z
89c844d798
update tests
2022-01-20 11:06:12 -04:00
Diego Mello
6be5b7ed95
Merge branch 'develop' into new.add-discusions-roomactionsview
2022-01-20 10:06:40 -03:00
Reinaldo Neto
e91bb90543
[FIX] Threads' pagination not working ( #3631 )
2022-01-19 17:54:12 -03:00
Reinaldo Neto
44d2b4b0e1
[FIX] makeThreadName asserting undefined as non-null ( #3628 )
2022-01-19 17:41:21 -03:00
Gleidson Daniel Silva
9d25636cf4
[FIX] App crashes when opening a notification while app is closed ( #3629 )
2022-01-19 17:37:06 -03:00
Gerzon Z
64780dee6f
add tests
2022-01-19 12:30:45 -04:00
Gerzon Z
a75d372026
Migrate redux server action/reducer to ts
2022-01-18 11:59:43 -04:00