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
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
Alex Junior
1d452ed9e6
Chore: Evaluate MessagesView - TypeScript ( #4113 )
2022-05-10 23:22:17 -03:00
Alex Junior
55d66c85db
Chore: Evaluate ProfileView - Typescript ( #4091 )
2022-05-06 23:11:07 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03: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
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
888bcae48e
Chore: Evaluate RoomMembersView - TypeScript ( #4116 )
...
* Chore: Evaluate RoomMembersView - TypeScript
* evaluate show action sheet
* fix tsubscriptionmodel
2022-05-02 21:48:08 -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
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
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
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
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
Diego Mello
397cd3d9b8
[FIX] Stop showing native push notification when in foreground ( #4059 )
2022-04-14 15:24:04 -03:00
Reinaldo Neto
456d017475
Chore: Migrate REST API - getSupportedLanguagesAutoTranslate to Typescript ( #4020 )
2022-04-14 14:29:32 -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
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
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
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
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
Diego Mello
2af88a5544
[FIX] Not properly fetching users presence on some startup situations ( #3967 )
2022-03-30 18:27:53 -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
Gerzon Z
b0580bf547
[NEW] Redesign quoted messages ( #3883 )
2022-03-21 17:44:06 -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
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
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