Gleidson Daniel Silva
674f0285f6
Chore: Migrate RoomItem to Hooks ( #4310 )
...
* migrate roomItem to ts and fix some types
* remove unnecessary verification
* fix types
* fix SubscriptionType
* review
* remove theme prop driling and change file to tsx
* Fix component not re-rendering
* Remove a few props from attrs
* Remove accessibilityLabel state
* Fix propsAreEqual
* Fix cleanup
* Remove ts-ignore
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-27 15:23:43 -03:00
Alex Junior
4b25fde8f6
Chore: Upgrade react-native-vector-icons from 8.1.0 to 9.1.0 ( #4175 )
...
* chore: upgrade `react-native-vector-icons` from 8.1.0 to 9.1.0
* all this storyshot added this `selectable: false`
* reversing file committed by mistake
* reverting the `cocoapods` version to the develop version.
* updating some snaps after merge with develop
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-27 15:15:15 -03:00
Gleidson Daniel Silva
58a15b23b5
[NEW] Basic support for Video Conf ( #4307 )
...
* create livechat video conf feature
* add handler to call url
* remove webview and change to openUrl
* Checking settings
* stash
* add action sheet on click init and ad more handlers
* fix logic and call to create a video conf
* change JitsiMeetView from InsideStack to ChatStack to remove modal animation
* fix error logic
* fix stack
* fix comma
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-27 15:04:20 -03:00
lingohub[bot]
fc0d7e2ed3
Language update from LingoHub 🤖 on 2022-06-27Z ( #4319 )
...
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>
2022-06-27 09:51:55 -03:00
Diego Mello
9151a1bfaf
Chore: Update gems ( #4318 )
2022-06-24 17:50:44 -03:00
Diego Mello
6e322ce44b
Chore: Resolve jpeg-js 0.4.4 ( #4317 )
2022-06-24 15:13:56 -03:00
Danish Ahmed Mirza
44ac06ad7d
[NEW] ImageViewer animations using new API from `react-native-gesture-handler` and `react-native-reanimated` v2 ( #4221 )
...
* Update ImageViewer to reanimated and RNGH v2 API
* Move styles outside the component
* Fix issues with pinch gesture
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 17:19:42 -03:00
Reinaldo Neto
8563453735
[FIX] Announcement field triggers password suggestion ( #4305 )
...
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 17:10:48 -03:00
Gleidson Daniel Silva
303d127949
[FIX] Change password not working on some cases ( #4312 )
...
* create iTotp enum
* migrate change user profile to method
* Fix minor i18n issues
* Use saveUserProfileMethod from Services
* Catch cancel event from TwoFactor modal
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-23 16:59:57 -03:00
Reinaldo Neto
bc09527d78
Chore: Migrate LoginServices to Hooks ( #4216 )
...
* Chore: Migrate LoginServices to Hooks
* fix lint
* change theme to colors
* back the separator as props
* refactor loginservice to folder
* refactor component login services
* Tests to LoginService's components
* finished loginservices
* Chore: Migrate LoginServices to Hooks
* fix lint
* change theme to colors
* back the separator as props
* refactor loginservice to folder
* refactor component login services
* Tests to LoginService's components
* finished loginservices
* fix location
* refactor TLoginStyle
* fix imports
* refactor lets to ref
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-06-23 09:56:15 -03:00
Gleidson Daniel Silva
a5a5c52058
Chore: Migrate containers/Toast to hooks ( #4309 )
2022-06-22 09:32:57 -03:00
Gleidson Daniel Silva
5f248ebeb5
[NEW] Delete my account ( #4219 )
...
* create new delete account button
Co-Authored-By: Danish Ahmed Mirza <danishmirza30602@gmail.com>
* change modal to action sheet
* better naming
* remove ? from translation
* update translations
* change to new figma layout
* fix export
* remove unused state
* add new text input to base input
* clean up
* update bottom sheet and create a mock
* remove unecessary bracket and fix type
* fix header
* migrate buttons to action sheet
* fix imports
* update yarn.lock
* add separator to styles
* add ternary verification
* minor tweaks: keyboard for landscape android tablet, interface IactionSheetProvider and remove navigation options to get ismasterdetail from redux, fix jest setup
* fix colors
* disconnect from sdk when delete the account
* update snapshot
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-06-22 09:24:25 -03:00
Reinaldo Neto
cd7e9e22f8
[FIX] Unresponsive status icons on Directory View and Share View ( #4303 )
2022-06-21 16:44:02 -03:00
Reinaldo Neto
9985e9baf3
[FIX] Remove servers offline from server list ( #4286 )
2022-06-21 16:40:29 -03:00
Danish Ahmed Mirza
a5a45f533b
[FIX] Rooms are losing the time after search ( #3722 )
...
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-21 16:35:51 -03:00
Reinaldo Neto
28ee43f817
[FIX] Avatar pixel size ( #4285 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-21 16:23:55 -03:00
Gleidson Daniel Silva
6b15ace933
[FIX] In some discussions you haven't joined yet, messages are not being loaded. ( #4269 )
...
* fix discussions not loadings
* Adds one more layer of verification to get the correct room type
2022-06-14 13:12:44 -03:00
Reinaldo Neto
fa90e4d456
Chore: Hooks - create usePermissions ( #4190 )
...
* Chore: Hooks - create custom hook usePermissions
* minor tweak
* Change usage of usePermissiosn on LivechatEditView
* Create getPermissionsSelector
* Simplify selector
* Simplify userRoles
* First render with permissions array length of false
* Move roles state closer to each other
* useSubscription (not working, but looking cool)
* at least it's working now
* working
* cleanup
* solve ts return
* Change it to useSubscriptionRoles only and check for diff on the state
* Remove IAppState
* Minor tweak to work properly useSubscriptionRoles
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-13 17:36:54 -03:00
Reinaldo Neto
a16c271f1f
Chore: Hooks - migrate RoomHeader to hook ( #4200 )
...
* roomHeader hook
* minor tweak
* Fix ts stuffs
* fix colors
* refactor
2022-06-13 17:16:20 -03:00
Gleidson Daniel Silva
74a82974f0
[FIX] Fix require cycle for appGroupPath ( #4298 )
...
* fix require cycle for appGroupPath
* add console log
2022-06-13 10:58:00 -03:00
Reinaldo Neto
79cd150231
[NEW] Option to show mentions badge ( #4265 )
...
* [IMPROVE] Option to show mentions badge
* fix the local database and mergeSubscriptions, missing the state in notificationPrefView
* finished the hideMentions
* fix the string version
2022-06-13 10:24:54 -03:00
Reinaldo Neto
a21c797886
[FIX] Searching for users when creating Discussions ( #4267 )
2022-06-13 10:15:22 -03:00
Danish Ahmed Mirza
5899b1f789
[NEW] Go to RoomView if the mentioned #channel is already joined ( #4204 )
...
* [NEW] Go to RoomView if the mentioned #channel is already joined
* Update stories and fix lint errors
* Use getSubscriptionByRoomId
* Fix channel name issue
* Use goRoom
* add jest-expo to jest preset
* update snapshot
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-10 17:33:48 -03:00
Gerzon Z
20a03611a7
[NEW] Call to Action buttons for Omnichannel ( #4060 )
...
* add: kebab and bottom sheet for omnichannel
* update: `RoomActionsView`
* chore: add canned responses to MessageBox
* chore: add omnichannel permissions to RightButtons
chore: missing changes to previous commit on RoomView
* chore: make icon available on first re-render after joining the room
* refactor: omnichannel permissions logic outside RightButtons
* refactor: extract omnichannel permissions' logic from RoomActionsView
* fix: omnichannel permissions on RightButton component
* add: omnichannelPermissions to RoomActions route props
* update: RoomView
* remove: setOmnichannelPermissions function
* refactor: `omnichannelPermissions` to object
* refactor: extract `on-hold` Omnichannel to `RoomView`
* add: `canPlaceLivechatOnHold` to `Omnichannel`s actions
* update: type for `showActionSheet`
* update: canned responses permission on
* fix: place on-hold permission not updating properly
* update: validation for on-hold
remove: unused variable
* remove: unnecessary param
* update: MessageBox
* fix: Omnichannel permissions on taking chat
* undo: comment on Reactotron
* Fix place chat on-hold
* fix setOptions in messageBox
* resolve lint
* change return to return to waiting line
* remove joined
* fix console.log
* fix kebab button
* fix subscription to room outside of db
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-06-09 11:42:12 -03:00
Diego Mello
d47320733a
[FIX] Form re-rendering on RoomInfoEditView when app receives newer data from stream ( #4220 )
2022-06-09 10:01:58 -03:00
Danish Ahmed Mirza
748e87acf3
Chore: Migrate containers/Avatar to hooks ( #4139 )
...
* Migrate containers/Avatar to hooks
* Migrate to `useSelector` hook and `useRef`
* Change user object prop to primitive type
* fix re-render and update snapshot
* fix lint
* update pods
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-06 12:33:36 -03:00
Alex Junior
614d9afe65
Chore: Evaluate helpers and utils - Typescript ( #4146 )
2022-06-06 11:17:51 -03:00
Alex Junior
e212a3c946
[IMPROVE] Redesign search box component ( #4195 )
...
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-06 10:53:02 -03:00
Danish Ahmed Mirza
02c1bc50b9
[NEW] Update room item animations ( #4024 )
...
* Upgrade react-native-gesture-handler to 2.3.0
* Update room item animations to reanimated v2
* Add Parallax animation on fav and hide buttons and additional swipe gesture to toggleFav
* Fix tests
* Ignore typescript error for setTimeout function
* Update pods
* Fix blank area on swiping all the way right/left
* Fix Action Buttons on devices with notch
* Update snapshot
* Use colors from useTheme
* Destructure props
* Proper types for nativeEvent and event
* Remove toggleFav gesture
* Clean bits
* Fix lint error
* Fix position of Room Action Buttons on MasterDetail
* Remove comment
* Update animations logic
* Add haptic feedback on swipe
* Add haptic feedback on unswipe gesture
* Update react-native-gesture-handler to 2.4.2
* update pods
* Migrating off RNGHEnabledRootView
* Update types to ReturnType<typeof setTimeout>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-06 10:23:49 -03:00
dependabot[bot]
c76a1e6a4c
Upgrade: Bump axios from 0.21.1 to 0.27.2 ( #4276 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.27.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.27.2/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-06-03 23:55:02 -03:00
dependabot[bot]
42efad9249
Upgrade: Bump ua-parser-js from 0.7.31 to 1.0.2 ( #4280 )
...
* Upgrade: Bump ua-parser-js from 0.7.31 to 1.0.2
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js ) from 0.7.31 to 1.0.2.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases )
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...1.0.2 )
---
updated-dependencies:
- dependency-name: ua-parser-js
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix the resolutions
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-06-03 23:30:24 -03:00
dependabot[bot]
7b2119fb01
Upgrade: Bump eslint-config-prettier from 8.3.0 to 8.5.0 ( #4248 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.3.0 to 8.5.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.3.0...v8.5.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-06-03 19:12:21 -03:00
dependabot[bot]
149ddb3c31
Upgrade: Bump i18n-js from 3.8.0 to 3.9.2 ( #4230 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-06-03 17:53:39 -03:00
dependabot[bot]
331acb15a6
Upgrade: Bump @react-native-community/cameraroll from 4.0.4 to 4.1.2 ( #4238 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-06-03 17:01:42 -03:00
dependabot[bot]
7cbd3afa35
Upgrade: Bump eslint-plugin-react from 7.20.3 to 7.30.0 ( #4233 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-06-03 16:37:47 -03:00
dependabot[bot]
0570dd9172
Upgrade: Bump reactotron-react-native from 5.0.0 to 5.0.2 ( #4275 )
2022-06-03 15:22:12 -03:00
dependabot[bot]
a15601ff0d
Chore(deps): Bump @rocket.chat/ui-kit from 0.31.11 to 0.31.13 ( #4261 )
2022-06-03 13:39:13 -03:00
dependabot[bot]
bc3484c61d
Chore(deps): Bump eventsource from 1.1.0 to 1.1.1 ( #4262 )
2022-06-03 13:30:42 -03:00
dependabot[bot]
64ae402fc4
Chore(deps): Bump plist from 3.0.2 to 3.0.5 ( #3977 )
2022-06-03 13:23:10 -03:00
dependabot[bot]
82c16e2938
Upgrade: Bump cross-fetch from 3.1.4 to 3.1.5 ( #4140 )
2022-06-03 13:21:14 -03:00
dependabot[bot]
953dc1cb9a
Upgrade: Bump url-parse and @types/url-parse ( #4228 )
2022-06-03 13:19:34 -03:00
dependabot[bot]
5e26c6bceb
Upgrade: Bump react-native-file-viewer from 2.1.4 to 2.1.5 ( #4236 )
2022-06-03 13:17:43 -03:00
dependabot[bot]
8c0367325d
Upgrade: Bump moment from 2.29.1 to 2.29.3 ( #4249 )
2022-06-03 12:58:53 -03:00
Gleidson Daniel Silva
329e74b720
[FIX] Unify attachment rendering logic ( #4260 )
...
* fix verification adding fields logic
* update snapshot
* Change order for both logics
* Cleanup
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-06-02 16:58:42 -03:00
Alex Junior
6220375f7b
Chore: upgrade react navigation to 6.0.10 version ( #4120 )
2022-06-01 16:46:37 -03:00
Reinaldo Neto
496d3f2ceb
[FIX] Search Message stops showing the correct result ( #4253 )
2022-05-31 14:37:42 -03:00
Gerzon Z
11c8510398
[FIX] User status update ( #3961 )
...
* update: `setCustomStatus` function
* update: `StatusView`'s `setCustomStatus`
* update: `setCustomStatus` function
* update: `StatusView`'s `setCustomStatus`
* refactor: `submit` function
remove: setCustomStatus
update: logEvent
* remove: failed request logic
* fix detox test
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2022-05-31 13:50:10 -03:00
Gleidson Daniel Silva
c85fd0ba99
Chore: Update react-native-fast-image from 8.2.0 to 8.5.11 ( #4210 )
...
* upgrade react-native-fast-image
* change import to react-native-fast-image
* bump version
* update path from lib
* fix import
2022-05-31 13:08:18 -03:00
Diego Mello
2e78d319e0
Bump version to 4.29.0 ( #4259 )
2022-05-30 19:14:21 -03:00
Gleidson Daniel Silva
f73500391b
Chore: create dependabot.yml config ( #4227 )
2022-05-27 15:21:08 -03:00