Gleidson Daniel
a0887c6d9d
set quality and remove editing
2022-09-20 20:08:09 -03:00
Gleidson Daniel
f537920626
remove default param
2022-09-15 15:49:46 -03:00
Gleidson Daniel
553237caaf
fix for gifs
2022-09-15 15:25:39 -03:00
Gleidson Daniel
a01559a10d
fix for one file
2022-09-15 14:44:31 -03:00
Gleidson Daniel
b7a68d61ff
remove react-native-image-crop-picker
2022-09-15 14:31:14 -03:00
Gleidson Daniel
ff2ff5ccd8
create pickImageFromLibrary method
2022-09-15 14:24:30 -03:00
Gleidson Daniel
03b0487680
fix pickImageAndVideoFromLibrary
2022-09-15 10:13:02 -03:00
Gleidson Daniel Silva
cc2b78b4fd
Merge branch 'develop' into expo-image-picker
2022-09-14 14:58:18 -03:00
Gleidson Daniel Silva
cbc6892084
[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-08-26 10:21:25 -03:00
Reinaldo Neto
ccbc84f9a8
[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-08-25 16:53:19 -03:00
Diego Mello
ba15bc9fe6
[NEW] Use Inter font ( #4459 )
2022-08-23 16:32:51 -03:00
Gleidson Daniel
7ab2727946
finish methods of pick images and videos
2022-08-23 10:32:28 -03:00
Gleidson Daniel
70e6ae40cf
implements method pickImageFromCamera
2022-08-23 09:00:06 -03:00
Diego Mello
17be449d4e
[FIX] Jump to message stuck on loading animation ( #4410 )
2022-08-19 18:14:37 -03:00
Diego Mello
e723990e82
Chore: Update Storybook libs to v6 ( #4439 )
2022-08-19 16:53:40 -03:00
Gleidson Daniel Silva
6b3006d29f
[NEW] Persist audio files ( #4448 )
...
* downloads and store the audios instead of loading them
* remove unused function
2022-08-19 10:24:29 -03:00
Gleidson Daniel Silva
585e5a0592
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-08-17 10:32:21 -03:00
PetMoln
c6e31df3e4
[FIX] Can't connect to RC through Gitlab Oauth ( #4421 )
...
[FIX] Can't connect to RC through Gitlab Oauth
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-08-12 09:35:55 -03:00
Gleidson Daniel Silva
2b08b683d7
Chore: Upgrade React Native to 0.68.2 ( #4316 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-08-08 18:02:08 -03:00
Gleidson Daniel Silva
41dbbf4d4b
Chore: Migrate NotificationPreferencesView to hooks ( #4327 )
...
* add none option
* create showErrorAlertWithEMessage function
* migrate NotificationPreferencesView to hooks and improves overall
* change icon to right
* fix navigation options
* remove none
* fix types
* remove memo
* cleaning
* switching to destructuring
* add observe for hideUnreadStatus
* fix desktop options
* remove unused options
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2022-08-01 13:35:05 -03:00
Gleidson Daniel Silva
a965465af3
[FIX] Add support to non ascii url characters on ios devices ( #4364 )
...
* add support to non ascii url caracters on ios
* rename module and add tests
* remove last slice
2022-07-28 10:36:40 -03:00
Reinaldo Neto
fe7722ca10
[IMPROVE] Support for tag request close when is obligatory to close Omnichannel's Channel ( #4353 )
...
* [IMPROVE] Support for tag request close
* clean up
* refactor isObrigatory and value
* fix obligatory
* removed onSubmitEditing
* create closelivechatview
* Refactor Close Omnichannel from ActionSheet to a new Screen
* Fix navigation
* fix screen title
* back to before actionsheetwithinput
* added string in pt-br
* refactor canSubmit
* fix the method closeRoom
* comment of server's version
* some tweaks
* Update app/lib/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2022-07-15 17:06:27 -03:00
Gleidson Daniel Silva
e39919094e
[FIX] User status update ( #4333 )
2022-07-06 17:05:13 -03:00
Alex Junior
1027b6c9e6
[IMPROVE] Use UI Elements from react-navigation ( #4314 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-07-06 10:23:02 -03:00
Reinaldo Neto
18c44178d7
[IMPROVE] Migrate away from react-native-prompt-android to action sheet ( #4300 )
...
* Chore: Migrate away from react-native-prompt-android to action sheet
* fix header provile view with action sheet
* finished change password
* Close livechat and removed closeRoom dispatch
* remove lib react-native-prompt-android
* fix right buttons
* fix profile view in tablets
* fix action and room action for tablets
* remove onSubmitEditing
* fix keyboard for android tablet in landscape
* create base for actionSheet containers
* migrate EnterPasswordSheet to base
* migrate to base component
* fix colors and copy
* remove secure entry
* fix onSubmit
* fix android animation
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-06-27 16:03:24 -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
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
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
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
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
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
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
Gleidson Daniel Silva
be19da54a3
Chore: Evaluate StatusView - TypeScript ++hooks ( #4075 )
...
* move statusview to your specific folder
* create showToast helper
* migrate StatusView to hooks
* fix type
* add peer deep to useEffect
* fix lint
* fix error message
2022-05-17 09:42:31 -03:00
Gleidson Daniel Silva
6dfce40c90
Chore: Create useAppSelector hook ( #4189 )
...
* create useAppSelector hook
* migrate useSelector to useAppSelector
2022-05-13 12:01:34 -03:00
Gleidson Daniel Silva
0a7082e2fe
Chore: Evaluate RocketChat v3 ( #4155 )
...
* remove roomSub from rocketchat
* remove _setUser
* remove this.activeUsersSubTimeout and IRocketChat imports
* remove this from connect
* remove rocketchat and comment abort controler
* fix lint
Co-authored-by: Alex Junior <alexalexandrejr@gmail.com>
2022-05-13 11:52:37 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Gleidson Daniel Silva
305f360b40
[FEAT]: Request current passcode before enter "Screen lock" screen ( #4052 )
...
* move auth to handleLocalAuthentication function
* add support to close ScreenLockedView
* create useServer hook
* add check to verify if you have a password before entering the screen
* fix import
2022-05-03 17:29:00 -03:00
Reinaldo Neto
888bcae48e
Chore: Evaluate RoomMembersView - TypeScript ( #4116 )
...
* Chore: Evaluate RoomMembersView - TypeScript
* evaluate show action sheet
* fix tsubscriptionmodel
2022-05-02 21:48:08 -03:00
Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Reinaldo Neto
8012031cd3
[NEW] On-Hold chats for Omnichannel ( #4051 )
...
* [NEW] Implementing On-Hold Livechat for Omnichannel
* added onHold to database
* list header title open livechats
* update rooms list view
* remove placeOnHold after clicked
* fix mesasgebox reactive to on hold
* navigate to roomslistview
* minor tweaks
* for grouping too
* fix chat on-hold when the agent is fully
* show on hold system messages
2022-04-20 17:53:11 -03:00
Reinaldo Neto
b75ac1de8b
[IMPROVE] Support Omnichannel icons ( #3959 )
...
* [IMPROVE] Support Channel Icons for Omnichannel
* Prop drilling sourceType
* create a column for source in WatermelonDB
* Add sms icon
* start of fetching
* removed usefetch
* custom icon to RoomHeader, RoomActions, RoomInfo
* minor tweak in interface
* fix margin
* add connected to sourceType
* make ts happy
* minor tweak
* fix storyshot
* refactor omnichannel source interface
* minor tweak roomActionsview
* Added storyshot
* minor tweak
* fix storyshot
* fix display extended without avatar
* fix connected object
* wip android build
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-14 23:27:36 -03:00
Gerzon Z
99ea5d8e2a
Chore: TypeScript migration - move `notifications/push` to `lib/notifications` ( #3999 )
...
* chore: move `notifications/push` to `lib/notifications/push`
* update: move `lib/notifications/push` to `lib/notifications`
* remove: push.ios.ts
2022-04-12 12:37:28 -04:00
Alex Junior
b0d408ebc8
Chore: add eslint-plugin-react-hooks lib ( #4021 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-11 15:01:43 -03:00
Gleidson Daniel Silva
e525392713
Chore: Move services and methods away from rocketchat folder ( #4033 )
...
* move services to lib
* move methods to lib
* fix imports
2022-04-07 13:53:07 -03:00
Gleidson Daniel Silva
d38c17bcd8
Chore: Create app/lib/store folder ( #4028 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 11:19:54 -03:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Gleidson Daniel Silva
474ea98a3b
Chore: Create app/lib/navigation folder ( #4027 )
...
* change Navigation to appNavigation and move to navigation folder
* change ShareNavigation to shareNavigation and move to navigation folder
* fix navigation import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-07 10:22:19 -03:00