Commit Graph

2445 Commits

Author SHA1 Message Date
Reinaldo Neto 0974bbe6ff [FIX] Cannot read property 'render' of undefined on markdown (#4549) 2022-10-17 15:43:48 -03:00
Diego Mello b60577d8ee Bump version to 4.32.0 2022-10-17 15:43:48 -03:00
Diego Mello 61c64a3837
Merge pull request #4570 from RocketChat/beta
Merge 4.31.0 into master
2022-09-28 09:14:14 -03:00
Diego Mello e6e226635c Merge branch 'master' into beta
# Conflicts:
#	__tests__/containers/List/__snapshots__/List.stories.storyshot
#	__tests__/containers/SearchBox/__snapshots__/SearchBox.stories.storyshot
#	__tests__/containers/TextInput/__snapshots__/TextInput.stories.storyshot
#	android/app/build.gradle
#	android/build.gradle
#	app/containers/TextInput/TextInput.stories.tsx
#	app/containers/message/Audio.tsx
#	app/lib/methods/audioFile.ts
#	app/views/CreateChannelView/index.tsx
#	app/views/DefaultBrowserView/index.tsx
#	app/views/NotificationPreferencesView/index.tsx
#	app/views/RoomMembersView/components/ActionsSection.tsx
#	app/views/RoomMembersView/index.tsx
#	e2e/data.ts
#	e2e/data/data.cloud.ts
#	e2e/data/data.docker.ts
#	e2e/helpers/data_setup.ts
#	e2e/tests/assorted/07-changeserver.spec.ts
#	e2e/tests/assorted/11-deeplinking.spec.ts
#	e2e/tests/onboarding/05-login.spec.ts
#	ios/Podfile.lock
#	ios/RocketChatRN.xcodeproj/project.pbxproj
#	ios/RocketChatRN/AppDelegate.h
#	ios/RocketChatRN/AppDelegate.mm
#	ios/RocketChatRN/Info.plist
#	ios/ShareRocketChatRN/Info.plist
#	package.json
#	yarn.lock
2022-09-27 15:58:03 -03:00
Reinaldo Neto e48788c828
Regression: Inconsistent style on TextInput on iOS and Android (#4569)
* Regression: Inconsistent style on TextInput on iOS and Android

* tweak to height
2022-09-27 15:21:05 -03:00
Reinaldo Neto d2d1d787f2
Regression: Local search is returning wrong object (#4567) 2022-09-27 15:08:44 -03:00
Diego Mello e883795c5f
[FIX] Reply and deep link from push notifications not working on iOS (#4550) 2022-09-23 17:35:03 -03:00
Reinaldo Neto cbf9ae3d37
[FIX] Decrease space between sections on lists (#4543)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-23 17:24:37 -03:00
Reinaldo Neto ee1b09d5ec
Regression: Default Browser View title (#4556) 2022-09-23 17:22:21 -03:00
Gleidson Daniel Silva d1e2c3fe6d
[FIX] Fix filenames and servers url when downloading audio files (#4553) 2022-09-23 17:21:11 -03:00
Reinaldo Neto 5771dbd066
[FIX] SearchBox background and unify usage (#4519) 2022-09-22 23:03:02 -03:00
Reinaldo Neto e10de8b209
[FIX] Search in Rooms List crashes Android app (#4546)
* [FIX] Search in Rooms List crashes Android app

* back to previous search

* change the method/searchlocal
2022-09-22 22:39:52 -03:00
Reinaldo Neto 9d69c10bbd
Chore: Hooks app/views/LanguageView (#4537)
* Chore: Hooks app/views/LanguageView

* minor tweak app selector
2022-09-22 18:40:32 -03:00
Reinaldo Neto b3a286329c
Chore: Hooks app/views/UserNotificationPreferenceView (#4502)
* Chore: Hooks app/views/UserNotificationPreferenceView

* added trycatch and userId

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-22 18:31:23 -03:00
Reinaldo Neto 214e1cc009
[FIX] Apply thicker border width and remove fixed height on TextInput (#4503)
* [FIX] Apply thicker border width and remove fixed height on TextInput

* changed the last input border from hairline to 2

* update formtextinput storyshot test
2022-09-22 18:16:25 -03:00
Diego Mello dec5c4470c
Regression: Push notifications not working after update to Android 12 (#4532)
* Remove unnecessary method from custom push notification

* Use immutable

* Maybe
2022-09-22 17:39:27 -03:00
Diego Mello 18f359a8ef
Regression: Poor performance in messages list on Android (#4536)
* Create custom RefreshControl as a workaround

* Remove unnecessary FlatList rngh change
2022-09-22 09:49:59 -03:00
Reinaldo Neto 05c1798a58
[FIX] Decrease space between sections on List (#4520)
* [FIX] Decrease space between sections on List

* minor tweak listcontainer

* update test

* Small fixes for header/info

* Update tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-19 15:14:05 -03:00
Gleidson Daniel Silva e146cbae9f
Chore: Create useDebounce hook (#4470)
* create useDebounce hook

* fix types

* apply useDebounce hook

* migrate to use-debounce lib

* remove useless useDebounce
2022-09-16 12:19:07 -03:00
Reinaldo Neto aefb60b5d2
[FIX]Update profile name (#4513) 2022-09-16 12:04:25 -03:00
Diego Mello 92a63e6a39
Chore: Remove unused iOS permissions (#4524) 2022-09-15 13:41:55 -03:00
Diego Mello ac01acac20
Chore: Upgrade Expo to SDK 46 (#4463) 2022-09-13 16:59:31 -03:00
Diego Mello f0a1266e21
[FIX] Support Android SDK 31 (#4522) 2022-09-13 16:02:01 -03:00
Diego Mello cc28acd6ed
Bump version to 4.31.0 (#4523) 2022-09-13 13:19:34 -03:00
Gleidson Daniel Silva a97b15e1be [FIX] Big usernames during discussion creation bugs UI (#4499)
* fix multiselect itens style

* remove useless brackets

* remove scroll from the top of the list items
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva c413fbb692 Regression: Jitsi not leaving call properly (#4511) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 92b590431d [FIX] When creating a new user, "Custom Fields" are breaking functionality (#4501) 2022-09-12 14:51:31 -03:00
Reinaldo Neto fa971deabf Regression: Create private team and channel as default (#4493)
* Regression: Create private team and channel as default

* minor tweak
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva a92a6245fa [FIX] Remove the tmid parameter when it is empty (#4500)
* add custom fields after register

* remove tmid when it is null

* wip

* wip

* wip
2022-09-12 14:51:31 -03:00
Reinaldo Neto 9ca70c799d [FIX] System messages should be not italic (#4484) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 99d1bb6d8a Chore: Hooks app/views/ForgotPasswordView (#4485)
* Chore: Hooks app/views/ForgotPasswordView

* validating email and using hook forms

* using mode onCHange

* add return

* fix theme

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto bd117c401f Chore: Hooks app/views/SetUsernameView (#4488)
* Chore: Hooks app/views/SetUsernameView

* semantic change of loading state

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 64598cc5dd [FIX] Add loading prop on RoomActionsView to avoid double click (#4462) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva d161fc6221 [FIX] Wrong Team's icon on SelectTeam item's list (#4469) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 47c02308c0 Regression: Jump to message from search view (#4476) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 360ecc1f43 [IMPROVE] Redesign create room flow (#4381)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 9091fabcc6 [NEW] Unify members section (#4399)
* create useUserPermissions hook

* create CheckRadioButton component

* fix return

* create MembersSection component

* apply MembersSection and header filter

* fix re-render and testID

* fix detox tests

* rename to RadioButton

* move the component closer to the screen

* remove useUserPermissions

* remove theme prop

* migrate to hooks

* fix team permissions

* remove theme prop from UserItem

* remove options prop

* fix Member

* remove commented test

* fixes

* fix for room not joined

* add room members events

* adds empty option

* add members filter and pagination

* clear RoomMembersView

* remove unused styles

* Update app/views/RoomMembersView/index.tsx

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* wip

* Temp workaround for SearchBox background color

* Rename import

* Fix missing params for 5.0

* Fix e2e tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 2b80530e35 [IMPROVE] Remove show message in main thread preference (#4435)
* [IMPROVE] Remove show message in main thread preference

* default settings

* created the get

* fix compare server version

* fix E2E tests

* settings to logged user

* remove constant and get alsosendtochannel from user

* fix send to channel first message

* fix when the alsoSendThreadToChannel is checked

* added list picker user preference

* tweaks in messagebox tmid and detox

* added pt-br and deleted expectToBeVisible id

* reactive alsoSendThreadTOChannel

* fix the behavior when press or long press threads messages

* remove reply in thread from threads

* clean helpers detox

* tweak onMessageLongPress and onSubmit

* Remove unnecessary calculations inside ListPicker

* Fix long press logic

* Fix onReplyInit logic

* fix data_setup at detox for servers greater than 5.0

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-09-12 14:51:31 -03:00
Diego Mello e74f9da6aa [NEW] Use Inter font (#4459) 2022-09-12 14:51:31 -03:00
Diego Mello cdcb396251 [FIX] Jump to message stuck on loading animation (#4410) 2022-09-12 14:51:31 -03:00
Diego Mello 0055ce79a9 Chore: Update Storybook libs to v6 (#4439) 2022-09-12 14:51:31 -03:00
Reinaldo Neto 8d56c75fd5 [FIX] Pagination when search by members and fix the duplicated members in a Room's member's list (#4446)
* [FIX] Duplicate members in a Room's member's list

* fix search and pagination

* fix the pagination for server lower than 3.16

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 7da5801452 Chore: Hooks app/views/DefaultBrowserView (#4424)
* Chore: Hooks app/views/DefaultBrowserView

* fix type

* minor tweak

* item on new file

* minor tweaks

* minor tweak
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva f2d76167d5 [NEW] Persist audio files (#4448)
* downloads and store the audios instead of loading them

* remove unused function
2022-09-12 14:51:31 -03:00
Reinaldo Neto 8810f80b7e Chore: Hooks App/share (#4417)
* Chore: Hooks App/share

* getTheme to outside

* update types

Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
2022-09-12 14:51:31 -03:00
Reinaldo Neto 13ad685ecb Chore: Hooks app/views/SelectServerView (#4445)
* Chore: Hooks app/views/SelectServerView

* refactor row_height

* minor tweak
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 1e029407f8 [FIX] Add method and id to method calls (#4444)
* add method and id to method calls

* 🧹
2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva 496efc315d Chore: Migrate E2ESaveYourPasswordView to hooks (#4432) 2022-09-12 14:51:31 -03:00
Gleidson Daniel Silva ab58208139 Chore: Migrate Touch to hooks (#4422)
* migrate to hooks and fix types

* fix import and remove theme prop

* update tests

* fix touch file name

* wip

* rename

* change to touch

* remove button and change to touch
2022-09-12 14:51:31 -03:00
Diego Mello 1ba4ba669e [FIX] Requests being skipped after reconnecting on onboarding (#4429) 2022-09-12 14:51:31 -03:00