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