Commit Graph

1734 Commits

Author SHA1 Message Date
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
GleidsonDaniel b0c45bad90 chore: fix types and apply IAplicationState to types 2022-01-18 12:04:40 -03:00
GleidsonDaniel 048012f6a9 chore: remove mapDispatchToProps and continue ts migration 2022-01-18 11:39:24 -03:00
GleidsonDaniel aaffc6e006 chore: implements IAplicationState on type 2022-01-18 11:38:29 -03:00
GleidsonDaniel 953de7f521 chore: fix any interface and change null to empty string 2022-01-18 09:49:44 -03:00
GleidsonDaniel cda756be96 chore: migrate messages action to typescript 2022-01-17 18:48:56 -03:00
GleidsonDaniel 68a8bf942d chore: migrate redux module inviteUsers to typescript 2022-01-17 18:27:28 -03:00
Diego Mello e0dc8b2e13
Merge branch 'develop' into chore/migration-ts-redux-settings 2022-01-17 18:24:42 -03:00
Diego Mello 8fb35945d6
Merge branch 'develop' into chore/migration-ts-redux-users-typing 2022-01-17 18:19:14 -03:00
Diego Mello e9ab1e5531
Merge branch 'develop' into chore/migration-ts-redux-sortPreferences 2022-01-17 18:06:23 -03:00
Diego Mello 0ab29050bf
Merge branch 'develop' into origin/chore/migration-ts-redux-customEmoji 2022-01-17 18:06:20 -03:00
Diego Mello 9b2ea25533
Merge branch 'develop' into chore/migration-ts-redux-deep-linking 2022-01-17 18:06:11 -03:00
Diego Mello 49ac4c1f65
Merge branch 'develop' into chore/migration-ts-redux-encryption 2022-01-17 17:34:33 -03:00
Gerzon Z 79eeb5524d Remove unused import 2022-01-17 16:33:48 -04:00
Gerzon Z 23244e30b9 Fix lint 2022-01-17 16:19:48 -04:00
Gerzon Z 6c9a3f977e Minor tweaks 2022-01-17 16:15:58 -04:00
Gerzon Z 680476a9a7 Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-17 16:02:53 -04:00
Gerzon Z 89ae4304c4 add storybooks, update snapshots and DiscussionsView 2022-01-17 15:55:33 -04:00
GleidsonDaniel 01fca753b6 wip: add IRoles to IAplicationState interface 2022-01-17 15:29:37 -03:00
GleidsonDaniel 8d22b84253 chore: migrate redux module roles to typescript 2022-01-17 15:16:24 -03:00
Gerzon Z 2946c4724e
[FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Gerzon Z eb1712e5fb minor tweak 2022-01-17 10:47:15 -04:00
Danish Ahmed Mirza 11af3503b8
[FIX] Joining and leaving messages in teams (#3591)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 11:31:15 -03:00
GleidsonDaniel 1c5d442712 chore: fix error on error interface 2022-01-17 11:20:29 -03:00
Gerzon Z 18da04ba08 update definitions 2022-01-17 10:18:32 -04:00
Gerzon Z e010d804d5 Merge branch 'develop' into new.add-discusions-roomactionsview 2022-01-17 10:12:19 -04:00
GleidsonDaniel 89b9e17481 chore: migrate redux module room to typescript 2022-01-14 19:06:55 -03:00
GleidsonDaniel 635d6bf6f3 chore: add interface to IStateAplication 2022-01-14 18:03:16 -03:00
GleidsonDaniel 4249eef653 chore: migrate settings to typescript 2022-01-14 18:00:04 -03:00
Gerzon Z dc70bf617b Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView 2022-01-14 13:38:08 -04:00
GleidsonDaniel 400673e231 chore: migrate usersTyping to typescript 2022-01-14 14:19:08 -03:00
GleidsonDaniel c300730686 chore: migrate to typescript 2022-01-14 11:36:38 -03:00
GleidsonDaniel e153f55f7d chore: fix IPreference interface and organize import 2022-01-13 18:45:55 -03:00
GleidsonDaniel 3cc5a7b656 chore: migrate redux module sortPreferences to typescript 2022-01-13 18:45:14 -03:00
GleidsonDaniel ceb2b331ad chore: create IPreferences interface 2022-01-13 18:44:34 -03:00
GleidsonDaniel 506c9555ce chore: migrate customEmoji to typescript and add tests 2022-01-13 17:22:57 -03:00
GleidsonDaniel 2c2635e250 chore: migrate redux module encryption to typescript 2022-01-13 15:37:14 -03:00
GleidsonDaniel b327c6e55b chore: add more tests 2022-01-12 17:09:45 -03:00
GleidsonDaniel dbe8221d69 chore: migrate connect to ts and add tests 2022-01-12 17:08:45 -03:00
Gleidson Daniel Silva f1456ff786
Chore: Migrate notification/push to Typescript (#3587) 2022-01-12 15:42:37 -03:00
Diego Mello dbf4a847f0
[FIX] Lint not ignoring Markdown props (#3600) 2022-01-12 11:35:35 -03:00
Gerzon Z e68485bccd
[FIX] Message parser switch not updating field properly (#3576) 2022-01-12 11:05:30 -03:00
Reinaldo Neto bff99d5c0b
[FIX] RoomInfoView displaying different info depending on the origin (#3586)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-01-12 11:04:15 -03:00
Reinaldo Neto cd9ce58660
Chore: Migrate ThreadMessagesView to Typescript (#3538)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-01-12 10:53:06 -03:00
Reinaldo Neto a2b92f5e70
Chore: Migrate Utils Folder to Typescript (#3544)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-01-12 09:54:04 -03:00
Reinaldo Neto f7418791a2
Chore: Migrate DisplayPrefsView to Typescript (#3555) 2022-01-11 11:47:23 -03:00
Reinaldo Neto 905e12380a
[FIX] teams.removeMembers mobile usage (#3557) 2022-01-11 11:44:53 -03:00
Gleidson Daniel Silva 0eb862abdc
fix: Add height verification to fix modal dimension (#3573) 2022-01-11 11:35:06 -03:00
Reinaldo Neto 8d2226c279
[FIX] Roles rendering on dark theme (#3589) 2022-01-11 11:33:18 -03:00
Gleidson Daniel Silva 791ef4d423
Chore: Migrate lib user preferences to Typescript (#3578) 2022-01-11 11:23:43 -03:00
Reinaldo Neto 13af9d80ed
Chore: Migrate Model's folder to Typescript (#3564) 2022-01-11 10:51:48 -03:00
Gleidson Daniel Silva 01d22ed96b
Chore: Migrate Redux to Typescript PoC (#3565) 2022-01-11 10:48:01 -03:00
Reinaldo Neto 25885fc406
[FIX] Download video/quicktime in iOS (#3581) 2022-01-11 10:46:17 -03:00
Reinaldo Neto b75e192e20
[IMPROVE] Remove Omnichannel visitor's navigation history (#3534)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:29:48 -03:00
Reinaldo Neto 1ea6fe1133
Chore: Migrate SelectedUsersView to Typescript (#3520)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:28:59 -03:00
Reinaldo Neto 4ba589cfbe
Chore: Migrate ModalBlockView to Typescript (#3503)
* Chore: Migrate ModalBlockView to Typescript

* minor tweaks

* update the navigator

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:28:29 -03:00
Reinaldo Neto 4e15c25ef5
[FIX] Files screen stopped listing content on server 4.2 (#3541)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:27:43 -03:00
Reinaldo Neto a1cee02fb0
[NEW] Permission for uploading files (#3505)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:27:01 -03:00
Diego Mello 404c7cff07
[IMPROVE] Connection stability (#3531) 2021-12-07 17:05:30 -03:00
Diego Mello 838be232ff
[FIX] Certificate stops working after app update on iOS (#3537) 2021-12-07 10:57:11 -03:00
Gerzon Z 691bf1ef17
Chore: Migrate react-navigation to TypeScript (#3480)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
lingohub[bot] 4af97f192a
Language update from LingoHub 🤖 (#3529)
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 🚀

Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-02 15:38:33 -03:00
Reinaldo Neto 11f00fb5f7
Chore: Migrate TeamChannelsView to Typescript (#3532)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2021-12-02 10:58:49 -03:00
Reinaldo Neto 65f5b03bdf
Chore: Migrate ShareListView to Typescript (#3459)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-12-02 10:39:48 -03:00
Reinaldo Neto 17c70e73d3
Chore: Migrate StatusView to Typescript (#3527)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-02 10:36:46 -03:00
Reinaldo Neto ceeca5952d
Chore: Migrate ThemeView to Typescript (#3522)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-02 10:33:27 -03:00
Reinaldo Neto afaa185fe7
Chore: Migrate SetUsernameView to Typescript (#3526) 2021-12-02 10:29:01 -03:00
Reinaldo Neto e93a73d52d
Chore: Migrate SelectServerView to Typescript (#3521)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-02 10:27:44 -03:00
Reinaldo Neto 7da1b70829
Chore: Migrate SelectListView to Typescript (#3519) 2021-12-02 10:27:07 -03:00
Reinaldo Neto d83193a66d
Chore: Migrate SecurityPrivacyView to Typescript (#3518) 2021-12-02 10:26:34 -03:00
Reinaldo Neto 8d06b17995
Chore: Migrate ScreenLockedView to Typescript (#3515) 2021-12-02 10:26:02 -03:00
Reinaldo Neto 79feef179c
Chore: Migrate ScreenLockConfigView to Typescript (#3517)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-02 10:21:10 -03:00
Reinaldo Neto fa07bbec2f
Chore: Migrate NewMessageView to Typescript (#3502) 2021-12-02 10:20:19 -03:00
Anant Bhasin f69b82dae9
Tests: Make Detox work on Android (#3051) 2021-12-02 10:19:15 -03:00
Gerzon Z 2b7f589847
Merge branch 'develop' into new.add-discusions-roomactionsview 2021-11-23 12:02:43 -04:00
Diego Mello 010d88530c
[FIX] Display prefs showing wrong header icon on tablet (#3510) 2021-11-22 13:19:49 -03:00
Matheus Barbosa Silva 1ec4046a86
[FIX] Push notifications user preference not syncing correctly (#3494)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-18 14:46:11 -03:00
Reinaldo Neto cedca3f0bf
Chore: Migrate JitsiMeetView to Typescript (#3498)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:13:06 -03:00
Reinaldo Neto 7715f93faf
Chore: Migrate ForwardLivechatView to Typescript (#3497)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:09:20 -03:00
Reinaldo Neto da21f58293
Chore: Migrate ForgotPasswordView to Typescript (#3496)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:06:17 -03:00
Reinaldo Neto 049e3f164f
Chore: Migrate E2ESaveYourPasswordView to Typescript (#3493)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:05:35 -03:00
Reinaldo Neto 4ef0cfe581
Chore: Migrate E2EHowItWorksView to Typescript (#3492)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:04:48 -03:00
Reinaldo Neto c93e4420dc
Chore: Migrate E2EEnterYourPasswordView to Typescript (#3490)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:03:53 -03:00
Reinaldo Neto a22e9593b2
Chore: Migrate E2EEncryptionSecurityView to Typescript (#3489)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:02:57 -03:00
Reinaldo Neto 945fe235cd
Chore: Migrate MarkdownTableView to Typescript (#3500)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 17:00:40 -03:00
Reinaldo Neto afdc915499
Chore: Migrate AttachmentView to Typescript (#3483)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 16:59:53 -03:00
Reinaldo Neto bf2cad08b3
Chore: Migrate PickerView to Typescript (#3501)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-17 16:56:28 -03:00
Reinaldo Neto ccd1b6596e
Chore: Migrate DefaultBrowserView to Typescript (#3488)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-17 16:55:22 -03:00
Reinaldo Neto 2b3542d4ae
Chore: Migrate ShareView to Typescript (#3481) 2021-11-16 13:19:50 -03:00
Reinaldo Neto 8e55032118
Chore: Migrate UserNotificationPreferencesView to Typescript (#3469)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-16 13:16:29 -03:00
Alex Junior b223a711a2
Chore: Migrate MessagesView to Typescript (#3447)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-11-16 13:10:49 -03:00
Alex Junior 251b42ca54
[IMPROVE] Open Jitsi call even if server isn't found (#3442) 2021-11-16 13:04:33 -03:00
Alex Junior c216544cc4
[NEW] Preview or download attachments (#3470)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-16 12:59:58 -03:00
Reinaldo Neto 3249c54d03
Chore: Migrate CreateChannelView to Typescript (#3486)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-10 18:18:35 -03:00
Reinaldo Neto 138f0ab444
Chore: Migrate ChangePasscodeView to Typescript (#3482) 2021-11-10 17:50:38 -03:00
Reinaldo Neto 8b4e39d1cf
Chore: Migrate AddExistingChannelView to Typescript (#3474) 2021-11-10 17:41:13 -03:00
Reinaldo Neto 64f7b1f84f
Chore: Migrate SidebarView to Typescript (#3478)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-10 17:14:45 -03:00
Reinaldo Neto e17817ae06
Chore: Migrate AddChannelTeamView to Typescript (#3471)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-10 16:12:26 -03:00
Reinaldo Neto a6e87c1236
Chore: Migrate UserPreserencesView to Typescript
* chore: migrate the view UserPrederencesView to ts

Co-authored-by: Natilorens <nathalialorenacardoso@gmail.com>

* minor tweak

Co-authored-by: FranciscoHeronildo <heronildo.2010@hotmail.com>
Co-authored-by: Natilorens <nathalialorenacardoso@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-10 15:43:35 -03:00
Reinaldo Neto 0600c091d3
Chore: Migrate SearchMessagesView to Typescript
* Chore: Migrate SearchMessagesView to Typescript

* feat: minor tweak

* minor tweaks

* minor tweak

* minor tweak scrollPersist

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-10 14:56:19 -03:00
Reinaldo Neto a54d568f2f
Chore: Migrate ReadReceiptView to Typescript
* Chore: Migrate ReadReceiptView to Typescript

* feat: minor tweak

* refactor: minor tweak

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-10 14:43:20 -03:00
Gerzon Z 8e4d47cf7b
Chore: Migrate ProfileView to TypeScript
* Initial commit

* Fix module import

* Improve TextInput and KeyboardView interfaces and migrate scrollPersistTaps to TS

* update interfaces

* add new interfaces and extract them to their own file

* chore: migrate style.js to ts

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-11-10 12:10:34 -03:00
Alex Junior 7d15e2d309
Chore: Migrate NotificationPreferencesView to Typescript
* chore: migrate the view NotificationPreferencesView to ts

* chore: change the type of `room` to use Observable and Subscription
2021-11-10 11:55:37 -03:00
Alex Junior f52a017ff3
Chore: Migrate LanguageView to TypeScript
* chore: migrate the view LanguageView to ts

* chore: create the `ILanguageViewState` interface
2021-11-10 11:35:01 -03:00
Alex Junior 6746d674cc
Chore: Migrate InviteUsersEditView to TypeScript
* chore: migrate the view InviteUsersEditView to ts

* refactor: change some requestes after code review

* minor tweaks

Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2021-11-10 11:11:05 -03:00
Gerzon Z bd534f5fd4 Minor tweak 2021-11-04 15:44:52 -04:00
Gerzon Z 0a3bdb65bd Update index.tsx 2021-11-04 14:25:05 -04:00
Gerzon Z a1c8ce0c7f Minor tweak 2021-10-29 12:16:52 -04:00
Gerzon Z ffb17d603e Minor tweaks 2021-10-29 11:56:57 -04:00
Gerzon Z 47f7ee8c91
Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-27 10:42:17 -04:00
Diego Mello b2db7c8adf
[FIX] Different token types inside list items (#3458)
* Fix different token types inside list items

* Fixing more styles

* Update tests

Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-10-27 10:13:20 -03:00
Diego Mello e0a0a31257
[FIX] Markdown not rendering as preview for threaded messages (#3465)
* Use older preview logic

* Stories
2021-10-27 10:09:09 -03:00
Reinaldo Neto 2ab1bacdb3
[NEW] Direct link to a threaded conversation (#3406)
* [FIX] deeplinking to thread

* fix how to find threadId

* tmid as route params jumpToThreaId

* minor tweak

* minor tweak on logic

* E2E Test

* minor tweak

* wait for the return of the thread

* Minor refactor

* Fix e2e tests for docker

* popToRoot when focused and there is a jumpToThread

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-26 13:11:50 -03:00
Reinaldo Neto 72d50887a4
[FIX] Cannot read property 'error' of undefined when creating a channel (#3437) 2021-10-26 10:40:46 -03:00
Gerzon Z 87a99089ce
[FIX] NewServerView skipping WorkspaceView (#3455)
* Initial commit

* Fix interface

* Unrequired change on onPress/onSubmit
2021-10-26 10:39:13 -03:00
lingohub[bot] 0a44731229
Language update from LingoHub 🤖 (#3460)
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 🚀

Co-authored-by: Robot LingoHub <robot@lingohub.com>
2021-10-26 10:36:41 -03:00
Gerzon Z f911100c44 Fix lint 2021-10-20 18:28:09 -04:00
Gerzon Z 5dc0a0a05f Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-20 18:10:30 -04:00
Reinaldo Neto 27db881962
Chore: Migrate NewServerView to Typescript (#3431)
* Chore: Migrate NewServerView to Typescript

* fix one alert lgtm

* Item.tsx

* export interface and try to rewrite write instead action

* minor tweak

* minor tweak

* refactor: change the type of username to connectServer

* refactor scaling

* minor tweak

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-20 15:04:15 -03:00
Reinaldo Neto 744893fa31
Chore: Migrate AuthenticationWebView to Typescript (#3441)
* Chore: Migrate AuthenticationWebView to Typescript

* minor tweak

* added @types/url-parser
2021-10-20 15:00:35 -03:00
Gerzon Z 30a84a9292
Chore: Migrate SettingsView to TypeScript (#3430) 2021-10-20 14:56:52 -03:00
Gerzon Z 839645e42c
Chore: Migrate RegisterView to TypeScript (#3417)
* start migration to typescript

* update interface for RegisterView and TextInput

* Update types TextInput

* Minor tweak

* Update TextInput interface

* Minor change

* Update FormContainer.tsx

* Minor tweaks

* style: adding ts-ignore to fix later

* Minor tweak

* update storyshots

* Update TextInput interface

* Minor tweak

* Update snapshots

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 14:53:35 -03:00
Reinaldo Neto 7728997e3e
Chore: Migrate InviteUsersView to Typescript (#3426)
* Chore: Migrate InviteUsersView to ts

* minor tweaks

* minor tweak

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-20 14:49:48 -03:00
Gerzon Z 9922fdd7e5
Chore: Migrate LoginView to TypeScript (#3423)
* Initial commit

* Update interface

* Minor tweaks

* Update FormContainer.tsx

* Minor tweaks

* update snapshots

* Update TextInput interface

* Update snapshots

* Merge branch 'develop' into chore.migrate-loginview-ts

* Minor tweak
2021-10-20 14:45:47 -03:00
William Reiske 467a1a5217
[IMPROVE] Pull down to refresh read receipts (#3427)
* [FEATURE] Pull down to refresh read receipts

This commit introduces a new feature to allow users to pull down to refresh read receipts.

* Support pull down to refresh when we renderEmpty

This adds support for the pull-down refresh to work when there are no read receipts yet.

* Removed extra new lines added while debugging.

* Minor polishing

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 14:02:55 -03:00
Reinaldo Neto 15ccb73f37
[NEW] Flow to resend email confirmation from mobile (#3439)
* [NEW] Flow to resend email confirmation from mobile

* Hooks

* theme

* minor tweak

* refactor: improving withTheme ts

* minor tweaks

Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-20 13:42:44 -03:00
Reinaldo Neto 42c69f0c06
[FIX] Make sure messages are loading properly (#3227)
* [FIX] Conditional to compare the server version and filter or not the system messages

* instead of lowerThanOrEqualTo using lowerThan

* To do a reactive message list

* minor tweaks

Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 13:35:28 -03:00
Reinaldo Neto 1889918875
[FIX] Disable swipe when room is not joined (#3319)
* [FIX] swipe when the user is joined and not when isn't

* Added a new conditional to check if is swipeble or not

* Minor tweaks

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 13:34:38 -03:00
Gerzon Z 76a99519ec
[NEW] Support new message parser (#3313)
* Add message parser to profile view and db

* Add md to db

* Remove changes to Xcode project

* Remove message-parser lib and add enable message parser field to User model

* Fix message parser

* Remove admin enableMessageParserEarlyAdoption

* Add NewMarkdown component

* Remove NewMarkdown component and add specific components for new message parser

* Add new parser components

* Fix BigEmoji

* Updated components and added more Code components

* update components and add storybooks

* Update Code component and add it to storybooks

* Update Mention component

* Minor tweaks

* Add server message parser validation

* Renamed folder, add @rocket.chat/message-parser, migrate some files to TypeScript

* Migrate components to TypeScript and fix styling

* Change interfaces and add TaskListComponent and styles

* Fix new markdown and styles

* Fix inlinecode

* Stop using server setting

* Use enableMessageParserEarlyAdoption on mapStateToProps

* Remove React.FC

* add link to bold, italic and strike

* Update parser components

* Fix missing components

* Minor tweak

* Fix lint and add getCustomEmojis

* Fix customEmojis

* Update emojis

* Minor tweak

* disconnect markdown from store

* Use @rocket.chat/message-parser@0.30.0

* Fix link style

* Unify lists and styles

* Remove style prop

* Use big emoji as a normal token

* Remove unnecessary memo

* Fix code styles

* Update tests

* Conditionally create renderer

* Use Context instead of prop drill

* Fix Link component

* Fix plain text regression and update tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 13:32:58 -03:00
Reinaldo Neto 2d392425ff
[FIX] Unnecessary navigation on server forced logout (#3428) 2021-10-14 16:38:32 -03:00
Gerzon Z 8e064a54e6 Fix lint 2021-10-13 17:12:02 -04:00
Gerzon Z 35d869df85 Update types and onCancelSearchPress 2021-10-13 17:09:50 -04:00
Gerzon Z 086d13b4ef Remove no-non-null-assertion 2021-10-13 11:59:16 -04:00
Gerzon Z 0242fb14f8 Fix en.json 2021-10-13 11:54:25 -04:00
Gerzon Z 714608cc36 Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-13 11:46:50 -04:00
Alex Junior 8af82df7ff
[FIX] Reverting changes applied by Prettier on i18n folder (#3410)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-07 15:41:37 -03:00
Reinaldo Neto fb71b60d54
Chore: Migrate LegalView to typescript (#3425)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-06 17:36:46 -03:00
Reinaldo Neto 27dd007874
[NEW] Display preferences screen (#3318)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-06 17:30:10 -03:00
Gerzon Z dcb79b18a4
Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-06 11:17:05 -04:00
Gerzon Z 1d40c3ba7e Update snapshots 2021-10-06 11:16:29 -04:00
Reinaldo Neto aba0e49194
Chore: Migrate WorkspaceView to Typescript (#3416)
* [CHORE] WorkspaceView migration to Typescript

* minor tweak
2021-10-05 17:48:04 -03:00
Gerzon Z da7f954996
Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-05 14:37:34 -04:00
Gerzon Z a226cad57c Undo changes, add timeFormat prop 2021-10-05 12:00:00 -04:00
Reinaldo Neto da6af286c6
[IMPROVE] Check permission to create a room (#3233)
* [IMPROVE] Check permission to create new message, channels, teams

* Show or not the button to create at RoomListView

* Check permission for each button inside NewMessageView

* Check permission to create private or public channel

* Minor tweak

* Refactor to create a function tuserHasRolePermission

* Refactor to use only one function at rocketchat to check the user permission

* Minor tweaks

* Reactive create channel

* reactive new message view, and handleHasPermission out of constructor

* handleHasPermission to didMount in roomListView

* remove console.log

* Call the function in componentDidMount

* Changed === to dequal, to check array

Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-05 10:59:40 -03:00
Reinaldo Neto 2a19054bf6
[IMPROVE] Add pagination to search messages (#3212)
* [FIX] Pagination in SearchMessage through the javascript

* Minor tweak

* Remove unnecessary state update

* Fix inconsistent value update

* Minor change

* Fixed searchMessages to work with new value of count

* minor tweak

* minor tweak

* minor tweak

* Fix encrypted search

* Added Offset to lib/rocketchat and fixed the search

* fixed the debounce in  search message view

* Needed to compare server version to lower than 3.17.0

Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Levy Costa <levycosta471@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-10-05 10:58:21 -03:00
Reinaldo Neto 62562ebba9
Chore: Migrate AuthLoadingView to Typescript (#3424)
* chore: Migrate AuthLoadingView from js to tsx

* minor tweak
2021-10-05 10:54:08 -03:00
Gerzon Z 89a2381a1e test commit 2021-10-04 18:03:28 -04:00
Gerzon Z eedfd42162 Minor tweak 2021-10-04 13:19:01 -04:00
Gerzon Z f9dc2a975f Merge branch 'develop' into new.add-discusions-roomactionsview 2021-10-04 13:14:07 -04:00
Reinaldo Neto d19f1245e6
[FIX] Searching for Online and All users for server's version less than 3.16.0 (#3407)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-01 17:37:50 -03:00
Reinaldo Neto 8916a195a8
[FIX] Toggle password visibility button not working (#3404)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-01 17:36:59 -03:00
Diego Mello 8de6adcf79
Chore: Update WatermelonDB to 0.23.0 (#3386) 2021-10-01 17:35:13 -03:00
Gerzon Z f196a7afaf
Chore: Update Reanimated to 2.2.2 (#3341)
* Update reanimated to 2.2.0

* Podfile and Manifest

* Update MainApplication.java

* Merge develop to branch

* Update yarn.lock

* Run yarn

* Other fixes

* Fix for Android build https://github.com/software-mansion/react-native-reanimated/issues/2412#issuecomment-917958173

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-01 17:34:25 -03:00
Reinaldo Neto 5bb5d54327
[FIX] Fetch members on RoomMembersView (#3403)
* [FIX] Fetch members on RoomMembersView

* needed to add a conditional to the response

* result back properly from rocketchat lib

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-09-28 16:34:14 -03:00
Reinaldo Neto c5df938768
[FIX] Room Actions buttons not showing after taking a channel from Omnichannel Queue (#3399)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-09-28 16:33:25 -03:00