Sumukha Hegde
9ce374dc2d
[CHORE] Refactor mention tracking logic ( #2997 )
...
* [Improvement] Improve mentions
This PR focuses on improving command, emoji, channel and user mentions.
* [Tests] Added e2e tests for mention improvement
* [Improvement] Modify slash command mention logic.
Added slash command with argument preview
Slash command should show only if the message bigins with /
* Return data on search for empty text
* Minor fixes
* Update e2e tests
* Minor fix
* [FIX] allow command mentioning in between text
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-07 15:56:16 -03:00
Diego Mello
a56dade12b
[FIX] Messagebox's placeholder color is too bright ( #2968 )
2021-03-05 13:21:18 -03:00
Gung Wah
98890df773
[CHORE] Use shortcut syntax for get collections ( #2932 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:25:51 -03:00
Gerzon Z
d6da8665c6
[IMPROVEMENT] Remove lodash.isEqual ( #2893 )
...
* Added dequal and react-fast-compare as substitutes to lodash.isEqual
* Update ReplyPreview.js
* Remove react-fast-compare
* Removed deep-equal and upgrade babel-eslint dev dependency
* Fix avatar
* Fix Messagebox
* Fix CreateDiscussionView
* ModalBlockView
* NewMessageView
* ProfileView
* RoomInfoEditView
* ServerDropdown
* Return local search as object instead of observable
* SelectedUsersView
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:01:45 -03:00
yash-rajpal
0d5e50eb4b
[FIX] Real name setting ignored on reply preview ( #2908 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-18 15:53:46 -03:00
Gerzon Z
ba3de14a7b
[FIX] App compressing videos on iOS ( #2915 )
...
* Update index.js
* Update index.js
2021-02-18 15:50:36 -03:00
yash-rajpal
4b96d308a7
[FIX] Messagebox missing style for text color ( #2786 )
...
* Changing auxilaryTintColor
* Changed Placeholder color to BodyText color
* added color prop
* eslint changes
* used array for styles
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-01-20 14:47:50 -03:00
Diego Mello
b77603c729
[FIX] Messagebox tracking lost on pop gesture navigation ( #2799 )
...
* Use setTimeout instead of InteractionManager
* Update tracking lib
2021-01-15 11:14:25 -03:00
Djorkaeff Alexandre
5d4e820988
[FIX] Empty space on Messagebox ( #2704 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-14 13:30:25 -03:00
Diego Mello
7b4be8bddf
[FIX] Messages overlapping and emoji keyboard not opening ( #2670 )
...
* Replace keyboard libs for react-native-ui-lib
* Apply Jitsi branch
* Require keyboard on bundle
* Update ui-lib
* chore: update deps
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-12-01 08:58:51 -03:00
Djorkaeff Alexandre
10ba9d5138
[NEW] Support RTL ( #2656 )
...
* wip: RTL (iOS)
* wip: RTL (Android)
* wip: reload bundle when change between RTL languages
* fix: Stack Animation on Android
* fix: update snapshot
* fix: Swipe Room Actions in RTL mode
* fix: snapshots
* Move isRTL to i18n
* Fix styling
* Update tests
* Update pods
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-30 18:47:05 -03:00
Djorkaeff Alexandre
080b8cc3fc
[FIX] Storybook not able to import Avatar ( #2607 )
...
* [FIX] Storybook not able to import Avatar
* Fix lint
* Mock Date.now
* Fix RU translation
* isLegacy -> serverVersion
* Remove change avatar from room info edit for servers below 3.6
* Mock for storyshots only
* lint
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 13:53:44 -03:00
Djorkaeff Alexandre
f0541c90d4
[FIX] 'Send to channel' when replying as a quote ( #2606 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 10:39:53 -03:00
Diego Mello
6271b885ee
[NEW] Threads ( #2567 )
...
* [IMPROVEMENT] Mentions layout without background
* Fix RoomItem
* Fix tests
* Smaller messagebox
* Messagebox colors tweak
* Beginning header buttons refactor
* Add HeaderButtons
* item with title
* Refactor
* Remove lib
* Refactor
* Update snapshot
* Send to channel on messagebox
* Add tshow
* Add showMessageInMainThread to login.user reducer
* Filter threads on main channel based on user setting
* Send tshow
* Add tunread
* Move unread colors logic away from UnreadBadge component so it can be used on other components
* Export UnreadBadge on index
* Add empty test
* Refactor
* Update tests
* Lint
* Thread unread user and group on RoomItem
* Thread badge working
* Started ThreadMessagesView.Item
* Fix separator
* Reactivity working
* Lint
* custom emojis aren't necessary
* Basic filter layout
* Filtering layout
* Refactor
* apply filter
* DropdownItemHeader
* default all
* few fixes
* No data found
* Fixes list performance issues
* Use locale on date formats
* Fixed minor styles
* Thread badge
* Refactor getBadgeColor
* Fix send to channel background color
* starting search threads
* Fix lint and tests
* Bump to 4.12.0 just for testing :)
* Search input layout
* query
* starting threads header
* fix unnecessary tlm on tmid messages
* Fix thread header
* lint
* Fix thread header on ShareView
* Add e2e tests
* Fix subscriptions sort
* Update stories and minor fixes
* Fix button sizes on Messagebox
* Remove comment
* Unnecessary conditional
* Add showMessageInMainThread to user collection
* Fix thread header
* Fix thread messages not working on tablet
* Reset Messagebox.tshow after sending a message
* Allow to send to channel when replying to a thread from main channel
* Unnecessary theme prop
* Address comments
* Remove re-render
* Fix scroll indicator bug
* Fix style
* Minor i18n fix
* Fix dropdown height
* I18n ptbr
* I18n
2020-10-30 14:35:07 -03:00
Djorkaeff Alexandre
f7e2388017
[FIX] iOS uploads always cropping as squares ( #2516 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-10-30 12:54:44 -03:00
Djorkaeff Alexandre
734039191f
[FIX] Avatar cache invalidation ( #2311 )
...
* [WIP] Avatar cache invalidation
* [WIP] Avatar container
* [IMPROVEMENT] Avatar container
* [CHORE] Improve code
* Allow static image on Avatar
* Fix avatar changing while change username (#1583 )
Co-authored-by: Prateek93a <prateek93a@gmail.com>
* Add default props to properly update on Sidebar and ProfileView
* Fix subscribing on the wrong moment
* Storyshots update
* RoomItem using Avatar Component
* use iife to unsubscribe from user
* Use component on avatar container
* RoomItem as a React.Component
* Move servers models to servers folder
* Avatar -> AvatarContainer
* Users indexed fields
* Initialize author and check if u is present
* Not was found -> User not found (turn comments more relevant)
* RoomItemInner -> Wrapper
* Revert Avatar Touchable logic
* Revert responsability of LeftButton on Tablet Mode
* Prevent setState on constructor
* Run avatarURL only when its not static
* Add streams RC Version
* Move entire add user logic to result.success
* Reorder init on RoomItem
* onPress as a class function
* Fix roomItem using same username
* Add avatar Stories
* Fix pick an image from gallery on ProfileView
* get avatar etag on select users of create discussion
* invalidate ci cache
* Fix migration
* Fix sidebar avatar not updating
Co-authored-by: Prateek93a <prateek93a@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-10-30 10:12:02 -03:00
Diego Mello
2d22089e19
[FIX] Local database searches using non-latin characters ( #2462 )
...
* [FIX] Local database searches using non-latin characters
* Add tests
2020-09-15 10:01:43 -03:00
Diego Mello
ccb36f1f56
[FIX] Change some icons ( #2419 )
2020-08-21 15:11:10 -03:00
Youssef Muhamad
95e2ccb846
[NEW] Log remaining events ( #2368 )
...
* Change NAVIGATE_TO for GO_TO to reduce event size
* Log RA JitsiMeet events and join / terminate
* Log more RoomView events
* Log slash commands and handle fail
* Log RoomActions events
* Change from GO_TO to just GO
* Log RoomInfoEdit events
* Log InviteUsers and InviteUsersEdit events
* Log AutoTranslate events
* Log NotificationPreferences events
* Log remaining routes from RoomActions
* Log RoomAction toggle block user
* Fix command event
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-05 10:15:56 -03:00
Youssef Muhamad
363cd13207
[NEW] Log events from Room, Settings and Edit status ( #2206 )
...
* Create method to track user event to isolate the logic to improve future refactoring
* Track Onboarding view
* Track NewServer view
* Refactor track method due to firebase already send the current screen
* Track default login and all the oAuth options
* Track default sign up in RegisterView
* Change trackUserEvent signature and update all the files
* Track the remaining login services
* track add server, change server and search
* Track SidebarView and refactor to use react-navigation
* Track profile events and handle exceptions
* Track create channel flux
* Track send message to user via NewMessageView
* Track create direct message flux
* Handle failure of create channel and group in the saga
* Track create discussion flux
* Track navigate to directory and its actions
* Track read, favorite and hide a channel, handling its errors
* Track all channels sorting and grouping
* Resolve requests to improve the importing logs and events
* Remove unused events file
* Remove unused events file
* log proposed Room events
* Log proposed Message actions events
* Log EditStatus proposed events
* Log Settings proposed events
* Leave a bugsnag breadcrumb when logging an event
* Move all logEvent to the top of code block and log remaining fail events
* Move all the non-logic-dependent logEvent to the top of code block
* Move all non-logic and non-data dependent logEvent to the top of code block
* Improve the logging of sidebar events
* Improve events from onboarding and newserver
* Improve events from login and register view, and log enter with apple
* Improve NewMessageView events
* Improve CreateChannel events
* Improve CreateDiscussion and SelectedUsers create group events
* Improve RoomsList events and log trivial events
* Improve ProfileView events
* Remove single line function body for the sidebarNavigate
* Improve SettingsView events
* Log more events from ScreenLockConfigView
* Navigate to Status and AdminPanel View using the defined sidebarNavigate method
* Improve StatusView events
* Improve RoomView events
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-30 16:51:13 -03:00
Diego Mello
c37eb99e55
[FIX] Missing icons ( #2353 )
2020-07-29 18:02:51 -03:00
Diego Mello
74ecab858f
[CHORE] Update icon names ( #2318 )
2020-07-27 16:53:33 -03:00
Diego Mello
9882ace694
Update dependencies ( #2301 )
...
* Update RN to 0.63.0-rc.1
* Updating
* Fix keyboard
* Fix native stuff on Messagebox
* Update to RN 0.63.1
* Update pods
* Update patches
* Update minors
* Majors
* Remove base-64 in favour of js-base64
* others
* Pods
* Flipper
* Yarn
* Fix setInput
2020-07-20 13:35:17 -03:00
Djorkaeff Alexandre
cbe51e2d18
[IMPROVEMENT] Clear image cache when clear cache ( #2300 )
...
* [IMPROVEMENT] Clear image cache when clear cache
* use fork instead
* react-native-fast-image -> @rocket.chat/react-native-fast-image
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-17 14:39:06 -03:00
Diego Mello
bbe15b7e41
[FIX] MessageBox not being shown on ShareView when Preview is a video ( #2283 )
...
* Wrap video preview with ScrollView so Messagebox is shown properly
* Fix border color
2020-07-14 13:43:15 -03:00
Heng Sok
d3ab125dd4
[FIX] Messages hidden behind MessageBox ( #2281 )
2020-07-13 13:43:08 -03:00
Djorkaeff Alexandre
e1153deb57
[FIX] Command previews crashing when API returns an error ( #2254 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 13:42:49 -03:00
Djorkaeff Alexandre
83fbb8c304
[FIX] Emoji keyboard not showing custom and frequently used emojis on Share Extension ( #2251 )
2020-07-08 13:19:41 -03:00
Neil Agarwal
2ec2a52f45
[IMPROVEMENT] Expo-av audio recorder ( #2195 )
...
* [NEW] MessageBox: Expo-av audio recorder
* Refactor MessageBox to accommodate recording button even when recording
* Rename Recording.js -> RecordAudio.js as we could implement video recording in the future
* RecordAudio: Introduce cancel and send buttons
* RecordAudio: Introduce recorderBusy state, refactor MessageBox, remove useless SafeAreaView
* RecordAudio: Better audio quality 🎉 , stop recording on unmount
* RecordAudio: Use FileSystem from expo-file-system instead of RNFetchBlob
* chore: flush out react-native-audio
* fix(MessageBox): bring back some missed styles during refactor
* refactor(RecordAudio): use class component
* refactor(RecordAudio): recorder busy to class property, styling changes
* recorder initialisation changes
* fix(RecordAudio): missing await in isRecordingPermissionGranted
* fix(RecordAudio): set isRecording = false on cancel/finish, refactor perms
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-06 16:23:46 -03:00
Djorkaeff Alexandre
f4118b6312
[REGRESSION] Audio Recording ( #2240 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-03 11:32:22 -03:00
Djorkaeff Alexandre
6abfbf615f
[FIX] Send thread attachment ( #2242 )
2020-07-03 11:07:29 -03:00
Youssef Muhamad
68e9e1455b
[FIX] Handle TypeErrors on navigationRef and draftMessage due to null properties ( #2232 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-02 14:10:11 -03:00
Djorkaeff Alexandre
07e9bcb776
[NEW] Send multiple attachments ( #2162 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-26 17:22:56 -03:00
Ezequiel de Oliveira
36b37eb747
[CHORE] Create DimensionsContext ( #2098 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-17 14:35:58 -03:00
Djorkaeff Alexandre
893acdcd3a
[NEW] Action Sheet ( #2114 )
...
* [WIP] New Action Sheet
* [NEW] Header Indicator
* [IMPROVEMENT] Header Logic
* [NEW] Use EventEmitter to show ActionSheet for while
* [FIX] Animation
* [IMPROVEMENT] Use provider
* [FIX] Add callback
* [FIX] Message Actions
* [FIX] Add MessageActions icons
* [NEW] MessageErrorActions
* [IMPROVEMENT] OnClose
* [FIX] Adjust height
* [FIX] Close/Reopen
* [CHORE] Remove react-native-action-sheet
* [CHORE] Move ActionSheet
* [FIX] Reply Message
* [IMPROVEMENT] Hide ActionSheet logic
* [WIP] Custom MessageActions Header
* [IMPROVEMENT] MessageActions Header
* [IMPROVEMENT] Enable Scroll
* [FIX] Scroll on Android
* Move to react-native-scroll-bottom-sheet
* Stash
* Refactor actions
* Revert some changes
* Trying react-native-modalize
* Back to HOC
* ActionSheet style
* HOC Header
* Reaction actionSheet
* Fix messageBox actions
* Fix add reaction
* Change to flatListProps
* fix modalize android scroll
* Use react-native-scroll-bottom-sheet
* [NEW] BottomSheet dismissable & [FIX] Android not opening
* [NEW] Show emojis based on screen width
* [WIP] Adjust to content height
* [IMPROVEMENT] Responsible
* [IMPROVEMENT] Use alert instead actionSheet at NewServerView
* [FIX] Handle tablet cases
* [IMPROVEMENT] Remove actionSheet of RoomMembersView
* [IMPROVEMENT] Min snap distance when its portrait
* [CHORE] Remove unused Components
* [IMPROVEMENT] Remove duplicated add-reaction
* [IMPROVEMENT] Refactor Icon Package
* [IMPROVEMENT] Use new icons
* [FIX] Select message at MessageActions before getOptions
* [FIX] Custom header height
* [CHORE] Remove patch & [FIX] Tablet bottom sheet
* [FIX] Use ListItem height to BottomSheet Height
* Some fixes
* [FIX] Custom MessageActions header
* [FIX] Android height adjust
* [IMPROVEMENT] Item touchable & [FIX] Respect pin permission
* [IMPROVEMENT] More than one snap point
* some size fixes
* improve code
* hide horizontal scroll indicator
* [FIX] Focus MessageBox on edit message
* [FIX] Ripple color
* [IMPROVEMENT] Backdrop must keep same opacity after 50% of the screen
* [TEST] Change animation config
* [IMPROVEMENT] BackHandler should close the ActionSheet
* [CHORE] Add react-native-safe-area-context
* [FIX] Provide a bottom padding at notch devices
* [IMPROVEMENT] Improve backdrop input/output range
* [FIX] Weird Android Snap behavior
* [PATCH] React-native-scroll-bottom-sheet
* [CI] Re-run build
* [FIX] Landscape android
* [IMPROVEMENT] Cover 50% of the screen at the landscape mode
* [FIX] Adjust emoji content to width size
* [IMPROVEMENT] Use hooks library
* [IMPROVEMENT] Close the actionSheet when orientation change
* deactivate safe-area-context for while
* [REVERT] Re-add react-native-safe-area-context (3.0.2)
* [IMPROVEMENT] Use focused background
* [TESTS] E2E Tests updated to new BottomSheet
* [NEW] Add cancel button
* [FIX] Cancel button at android
* [IMPROVEMENT] Use cancelable bottom sheet at room members view
* [IMPROVEMENT] Use better function names
* [IMPROVEMENT] Use getItemLayout
* [FIX][TEMP] Animation
* Review
* Build
* Header keyExtractor
* Rename function
* Tweak animation
* Refactoring
* useTheme
* Refactoring
* TestIDs
* Refactor
* Remove old lib
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-15 16:35:45 -03:00
Diego Mello
98ed84ba5c
[CHORE] Update react-navigation to v5 ( #2154 )
...
* react-navigation v5 installed
* compiling
* Outside working
* InsideStack compiling
* Switch stack
* Starting room
* RoomView header
* SafeAreaView
* Slide from right stack animation
* stash
* Fix params
* Create channel
* inapp notification
* Custom status
* Add server working
* Refactor appStart
* Attachment
* in-app notification
* AuthLoadingView
* Remove compat
* Navigation
* Outside animations
* Fix new server icon
* block modal
* AttachmentView header
* Remove unnecessary code
* SelectedUsersView header
* StatusView
* CreateDiscussionView
* RoomInfoView
* RoomInfoEditView style
* RoomMembersView
* RoomsListView header
* RoomView header
* Share extension
* getParam
* Focus/blur
* Trying to fix inapp
* Lint
* Simpler app container
* Update libs
* Revert "Simpler app container"
This reverts commit 1e49d80bb49481c34f415831b9da5e9d53e66057.
* Load messages faster
* Fix safearea on ReactionsModal
* Update safe area to v3
* lint
* Fix transition
* stash - drawer replace working
* stash - modal nav
* RoomActionsView as tablet modal
* RoomStack
* Stop showing RoomView header when there's no room
* Custom Header and different navigation based on stack
* Refactor setHeader
* MasterDetailContext
* RoomView header
* Fix isMasterDetail rule
* KeyCommands kind of working
* Create channel on tablet
* RoomView sCU
* Remove withSplit
* Settings opening as modal
* Settings
* StatusView headerLeft
* Admin panel
* TwoFactor style
* DirectoryView
* ServerDropdown and SortDropdown animations
* ThreadMessagesView
* Navigate to empty RoomView on server switch when in master detail
* ProfileView header
* Fix navigation issues
* Nav to any room info on tablet
* Room info
* Refactoring
* Fix rooms search
* Roomslist commands
* SearchMessagesView close modal
* Key commands
* Fix undefined subscription
* Disallow navigate to focused room
* isFocused state on RoomsListView
* Blur text inputs when focus is lost
* Replace animation
* Default nav theme
* Refactoring
* Always open Attachment with close modal button
* ModalContainer backdrop following themes
* Screen tracking
* Refactor get active route for in-app notification
* Only mark room as focused when in master detail layout
* Lint
* Open modals as fade from bottom on Android
* typo
* Fixing tests
* Fix in-app update
* Fixing goRoom issues
* Refactor stack names
* Fix unreadsCount
* Fix stack
* Fix header animation
* Refactor ShareNavigation
* Refactor navigation theme
* Make sure title is set
* Fix create discussion navigation
* Remove unused variable
* Create discussions from actions fixed
* Layout animation
* Screen lock on share extension
* Unnecessary change
* Admin border
* Set header after state callback
* Fix key commands on outside stack
* Fix back button pressed
* Remove layout animations from Android
* Tweak animations on Android
* Disable swipe gesture to open drawer
* Fix current item on RoomsListView
* Fix add server
* Fix drawer
* Fix broadcast
* LayoutAnimation instead of Transitions
* Fix onboarding back press
* Fix assorted tests
* Create discussion fix
* RoomInfoView header
* Drawer active item
2020-06-15 11:00:46 -03:00
Djorkaeff Alexandre
c0c4affd80
[IMPROVEMENT] Refactor icon package ( #2146 )
...
* [IMPROVEMENT] Refactor Icon Package
* some size fixes
2020-06-05 10:28:58 -03:00
Djorkaeff Alexandre
3b18712bc7
Revert "[FIX] Autocomplete position on Android ( #2106 )" ( #2136 )
...
This reverts commit e8c38d6f6f
.
2020-05-20 09:47:41 -03:00
Djorkaeff Alexandre
e8c38d6f6f
[FIX] Autocomplete position on Android ( #2106 )
...
* [FIX] Autocomplete position on Android
* [FIX] Set selection to 0 when needed
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-18 15:22:01 -03:00
Diego Mello
61afa86c0e
[NEW] Passcode and biometric unlock ( #2059 )
...
* Update expo libs
* Configure expo-local-authentication
* ScreenLockedView
* Authenticate server change
* Auth on app resume
* localAuthentication util
* Add servers.lastLocalAuthenticatedSession column
* Save last session date on background
* Use our own version of app state redux
* Fix libs
* Remove inactive
* ScreenLockConfigView
* Apply on saved data
* Auto lock option label
* Starting passcode
* Basic passcode flow working
* Change passcode
* Check if biometry is enrolled
* Use fork
* Migration
* Patch expo-local-authentication
* Use async storage
* Styling
* Timer
* Refactor
* Lock orientation portrait when not on tablet
* share extension
* Deep linking
* Share extension
* Refactoring passcode
* use state
* Stash
* Refactor
* Change passcode
* Animate dots on error
* Matching passcodes
* Shake
* Remove lib
* Delete button
* Fade animation on modal
* Refactoring
* ItemInfo
* I18n
* I18n
* Remove unnecessary prop
* Save biometry column
* Raise time to lock to 30 seconds
* Vibrate on wrong confirmation passcode
* Reset attempts and save last authentication on local passcode confirmation
* Remove inline style
* Save last auth
* Fix header blink
* Change function name
* Fix android modal
* Fix vibration permission
* PasscodeEnter calls biometry
* Passcode on the state
* Biometry button on PasscodeEnter
* Show whole passcode
* Secure passcode
* Save passcode with promise to prevent empty passcodes and immediately lock
* Patch expo-local-authentication
* I18n
* Fix biometry being called every time
* Blur screen on app inactive
* Revert "Blur screen on app inactive"
This reverts commit a4ce812934adcf6cf87eb1a92aec9283e2f26753.
* Remove immediately because of how Activities work on Android
* Pods
* New layout
* stash
* Layout refactored
* Fix icons
* Force set passcode from server
* Lint
* Improve permission message
* Forced passcode subtitle
* Disable based on admin's choice
* Require local authentication on login success
* Refactor
* Update tests
* Update react-native-device-info to fix notch
* Lint
* Fix modal
* Fix icons
* Fix min auto lock time
* Review
* keep enabled on mobile
* fix forced by admin when enable unlock with passcode
* use DEFAULT_AUTO_LOCK when manual enable screenLock
* fix check has passcode
* request biometry on first password
* reset auto time lock when disabled on server
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-05-08 14:04:37 -03:00
Diego Mello
ce51982bb0
Update all dependencies ( #2008 )
...
* Android RN 62
* First steps iOS
* Second step iOS
* iOS compiling
* "New" build system
* Finish iOS
* Flipper
* Update to RN 0.62.1
* expo libs
* Hermes working
* Fix lint
* Fix android build
* Patches
* Dev patches
* Patch WatermelonDB: https://github.com/Nozbe/WatermelonDB/pull/660
* Fix jitsi
* Update several minors
* Update dev minors and lint
* react-native-keyboard-input
* Few updates
* device info
* react-native-fast-image
* Navigation bar color
* react-native-picker-select
* webview
* reactotron-react-native
* Watermelondb
* RN 0.62.2
* Few updates
* Fix selection
* update gems
* remove lib
* finishing
* tests
* Use node 10
* Re-enable app bundle
* iOS build
* Update jitsi ios
2020-05-08 13:37:49 -03:00
Djorkaeff Alexandre
a937e6a6ac
[IMPROVEMENT] Keep screen awake while recording/playing some audio ( #2089 )
...
* [IMPROVEMENT] Keep screen awake while recording/playing some audio
* [FIX] Add expo-keep-awake mock
2020-05-08 09:55:26 -03:00
Djorkaeff Alexandre
2ea6d34fd1
[FIX] Recorded audio on Android doesn't play on iOS ( #2073 )
...
* react-native-video -> expo-av
* remove react-native-video
* Add audio mode
* update mocks
* [FIX] Loading bigger than play/pause
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:54:27 -03:00
Djorkaeff Alexandre
6c2bc1c635
[FIX] Show slash commands when disconnected ( #2078 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:05:31 -03:00
Djorkaeff Alexandre
d8c8817f04
[NEW] Custom Status ( #1811 )
...
* [NEW] Custom Status
* [FIX] Subscribe to changes
* [FIX] Improve code using Banner component
* [IMPROVEMENT] Toggle modal
* [NEW] Edit custom status from Sidebar
* [FIX] Modal when tablet
* [FIX] Styles
* [FIX] Switch to react-native-promp-android
* [FIX] Custom Status UI
* [TESTS] E2E Custom Status
* Fix banner
* Fix banner
* Fix subtitle
* status text
* Fix topic header
* Fix RoomActionsView topic
* Fix header alignment on Android
* [FIX] RoomInfo crashes when without statusText
* [FIX] Use users.setStatus
* [FIX] Remove customStatus of ProfileView
* [FIX] Room View Thread Header
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 17:19:01 -03:00
Djorkaeff Alexandre
475ccbd9c7
[NEW] Create discussions ( #1942 )
...
* [WIP][NEW] Create Discussion
* [FIX] Clear multiselect & Translations
* [NEW] Create Discussion at MessageActions
* [NEW] Disabled Multiselect
* [FIX] Initial channel
* [NEW] Create discussion on MessageBox Actions
* [FIX] Crashing on edit name
* [IMPROVEMENT] New message layout
* [CHORE] Update README
* [NEW] Avatars on MultiSelect
* [FIX] Select Users
* [FIX] Add redirect and Handle tablet
* [IMPROVEMENT] Split CreateDiscussionView
* [FIX] Create a discussion inner discussion
* [FIX] Create a discussion
* [I18N] Add pt-br
* Change icons
* [FIX] Nav to discussion & header title
* Fix header
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 16:50:27 -03:00
Diego Mello
005e1ac46b
[FIX] Detox tests ( #1790 )
2020-03-03 17:27:38 -03:00
Djorkaeff Alexandre
98e65d69d4
[FIX] Keyboard tracking loses input ref ( #1784 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:52:50 -03:00
Djorkaeff Alexandre
c583e0c8f5
[IMPROVEMENT] Remove useMarkdown ( #1774 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-27 15:34:20 -03:00
phriedrich
48e512db1e
[IMPROVEMENT] Honor "Message_AudioRecorderEnabled" ( #1764 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 18:02:09 -03:00
Diego Mello
290c53efa9
[FIX] Stop logging react-native-image-crop-picker ( #1745 )
2020-02-17 13:05:47 -03:00
Diego Mello
d970952086
[REVERT] Show emoji keyboard on Android ( #1738 )
2020-02-17 09:14:56 -03:00
Djorkaeff Alexandre
88c0ba6aff
[FIX] Messages Overlapping (Android) and MessageBox Scroll (iOS) ( #1720 )
2020-02-13 17:44:57 -03:00
Djorkaeff Alexandre
836683591c
[IMPROVEMENT] Send tmid on slash commands and media ( #1698 )
2020-02-11 12:56:06 -03:00
Diego Mello
3683b8936a
[IMPROVEMENT] Use reselect ( #1696 )
2020-02-11 11:09:14 -03:00
Djorkaeff Alexandre
b87472f10b
[NEW] UiKit Beta ( #1497 )
2020-02-11 11:01:35 -03:00
Djorkaeff Alexandre
7dffa14b77
[NEW] Request review ( #1627 )
2020-02-03 15:28:18 -03:00
Diego Mello
16652241a8
[FIX] Draft messages not working with themed Messagebox ( #1525 )
2020-01-07 10:58:47 -03:00
Diego Mello
7df6afdcd3
[FIX] Emoji parser not working on Hermes ( #1445 )
2019-12-11 16:00:38 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Djorkaeff Alexandre
a0dc2bad4a
[NEW] Tablet support ( #1300 )
2019-11-25 17:01:17 -03:00
Diego Mello
fcb420a773
[FIX] Remove some unnecessary re-renders on Messagebox ( #1341 )
2019-10-30 11:14:41 -03:00
Calebe Rios
c304904380
[FIX] Pass isFocused as a function to Messagebox ( #1309 )
2019-10-28 17:51:46 -03:00
Diego Mello
79a936d331
[FIX] Record audio message throws exception when FileSystem.getInfoAsync is called ( #1272 )
2019-10-04 10:38:57 -03:00
Djorkaeff Alexandre
67fb14fa9d
[FIX] Messages preview issues ( #1257 )
2019-10-02 09:41:51 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Diego Mello
3ee97881f3
[FIX] Messagebox onChangeText issues ( #1252 )
...
* Stop ongoing debounces on messagebox unmount
* Immediately change send icon, but keep debouncing others
* Make CustomEmoji stateless function
* Fix mentions keyExtractor
2019-09-27 16:17:29 -03:00
Diego Mello
dc08dec572
[FIX] Change messagebox icon immediate on change text ( #1241 )
2019-09-26 13:53:50 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Djorkaeff Alexandre
58389dfdca
[FIX] Regex on run slash command ( #1223 )
2019-09-25 19:14:20 -03:00
Diego Mello
2e5c4b9b73
[FIX] Slash commands not cleaning is typing and not using state ( #1233 )
2019-09-25 18:32:13 -03:00
vitorandos
94346634ae
[CHORE] Use React Fragment shorthand ( #1212 )
2019-09-24 17:26:56 -03:00
Diego Mello
319ca7f044
[FIX] Unify upload check ( #1229 )
2019-09-24 17:16:59 -03:00
Djorkaeff Alexandre
32a681036e
[CHORE] Use JoyPixels ( #1164 )
...
* react-emojione -> emoji-toolkit
* Change to toUnicode()
* Fix ascii emoji on joypixels
* Revert unnecessary modify
* Fix some emojis
* Fix custom emojis (Android)
* Update Snapshot
2019-09-16 17:50:51 -03:00
Diego Mello
9ba37107c7
[CHORE] Migrate to Watermelon ( #1171 )
...
* Install
* Create subscriptions
* Subscription observing and sorting
* Saving last message
* Stash
* Stash
* stash
* Stash
* Rooms list listing :)
* Animated set state
* Search working
* Fix load rooms on login
* stash db class
* set active db with path
* Remove db on logout
* stash
* Created updateMessages
* Inserting/updating threads
* Persisting thread messages
* Removed unused list
* Loading messages from watermelon
* Debounce updates and rerender message
* optional fields
* Fix realm conflict issues
* Fix some render issues
* stash
* List mount
* stash
* fix message id
* Fix tmsg
* - Save subscription.rid as id on watermelon and _id as _id
- Send room as param to room view
* Throttle room updates
* stash
* comment removeClippedSubviews
* Fetch thread name
* try/catch updateMessages
* Show loading while RoomView.init is still running
* stash
* Fix updateMessages
* Threads
* Delete message
* Permalink
* Pin
* Star
* Report
* MessageActions refactor
* Edit message
* Reply message
* Add reaction
* Auto translate
* Fix connection issues
* Mark message as error if something happened on the call
* Error actions
* get custom emoji
* Always run console.log when __DEV__
* Try to create serversDB
* Don't call updateMessages. Execute that entire logic for one message id instead.
* Refactor update messages
* ServersDB User [Realm -> Watermelon]
* Fix models
* Custom emojis
* Custom emojis on emoji picker
* Frequently used emojis
* Fix add reaction on message
* stash
* Fix
* Read messages
* Fix thread
* Fetch thread header
* Follow/unfollow thread
* Fix thread
* Upload file
* Thread tweak
* Realm -> Watermelon [Share Extension]
* Add RoomsUpdatedAt to Servers Table
* Settings
* Settings
* Fix logout
* SendFileMessage ServersDB
* ServersDB on serverDropdown
* Remove serversDB from Realm
* Load thread messages
* Delete message
* Improve getSettings
* Improve
* Remove subscription
* Remove update
* Update room via socket
* Small refactor
* Fix logout and improve migration
* Refactor updateMessages
* Improve migration
* Remove unnecessary update
* Revert remove runAfterInteractions
* Fix serverDropdown
* Fix merge
* Init room actions Watermelon
* Room actions Watermelon
* Remove realm on room members
* Room swipe -> Watermelon
* Fix hideChannel
* Get roles watermelon
* Get permissions watermelon
* Users typing + memory db
* Auto translate watermelon
* New Message View
* Selected Users View
* try/catch
* Get Slash Commands watermelon
* Slash Commands message box
* Custom emojis message box
* Get rooms message box
* Room info view
* Room info edit
* Save active users
* Small refactor
* Message Actions
* hasPermission await
* last hasPermission fix
* Active users on redux
* Add user roles
* Users typing on redux and remove memory db
* Fix saga delay
* Fix few issues
* Fix slash commands preview
* Draft message
* Add muted
* Unread count watermelon
* Remove realm
* Fiz RoomItem rerenders
* Remove realm config
* Rerender status update on RoomItem
* Refactor RoomsListView
* Fix load missed messages
* Fix room update
* Message refactor
* Fixing lint
* removeClippedSubviews on iOS only
* Added few interaction managers
* Fix few rerenders
* Fix RoomItem status typo
* Fix RoomView.SCU
* Fix broadcast
* Fix user status on RoomActionsView
* Fix RocketChat.hasPermission
* Fix database inconsistencies
* Fix few update issues
* Add rxjs and remove with observables
* Fix tests
* Remove subscriptions
* Fix RoomsListView SCU
* Change database structure and set all schemas to 1
* Fix RoomsListView search
* Fixed errors, removed rerenders and added animation
* Fixed a few errors
* Fix lint
* Fix issues caught by LGTM
* fix ios build
* Fix load unjoined channel messages
* Log on database path on startup
* Fix join channel
* Remove react-native-realm-path
* Set user status on login.user reducer
* Fix status not rendering on RoomsListView
* Fix few reducers
* Fix users going offline
* Never use "watermelon" term directly. Replaced by "database"
* Fix custom emoji
* Creating room from app must update roomUpdatedAt
* Log subscribeRoom start
* Fix room subscribe right after creating a DM
* Refactor is read only on messages actions
* Fix typo
* Fix typo
* Review
* Fix schema
* Fix muted & freq emoji & unpin & unstar
* Remove throttleTime to room info & fix reset on edit room
* Fix openServerDropdown spec & Fix unarchive
* Fix MessageAction
* Refactor RoomInfoEditView
* Remove unnecessary condition
* Remove unnecessary condition
* Remove unnecessary condition
* Remove get database
* Rename Command.js to SlashCommand.js
* Create sanitizer util
* Fix indentation
* Create subscription.t index
* Refactor queries on RoomsListView
* Create subscription.name index
* Fix getPermissions
* Fix indentation
* Add missing await
* Fix rocketchat.hasPermission
* Unnecessary change
* Star, pin e delete message refactored
* Refactor customEmojis reducer
* Remove code
* Remove logs
* Remove throttle
* Call this.init on foreground focus on RoomView
* Bump servers schema migration
* Always mark message as sent after a success
* Fetch only messages needed on updateMessages
* Just leave a comment for now
* Fetch only subscriptions returned by fetch
* Set room param on RoomView header in find room
* Update kotlin
* Fix auto translate constructor
* Fix few setState on constructor
* Fix empty room image blinking while mounting
* Improve fetch/persist execution for custom emojis, permissions and settings
* Query only user tapped on RoomMembersView
* Fix typo on canOpenRoom
2019-09-16 17:26:32 -03:00
Djorkaeff Alexandre
c7791b9a38
[FIX] Fix calls to bugsnag.notify ( #1165 )
2019-08-30 09:43:23 -03:00
Djorkaeff Alexandre
c78732729d
[IMPROVEMENT] Markdown refactored ( #1151 )
2019-08-27 09:25:38 -03:00
IlarionHalushka
59a71ffaef
[CHORE] Bugsnag logging setup ( #1145 )
...
* initial bugsnag setup
* upload sourcemaps to bugsnag during ios-build job
* fix: spacing in config.yml
* add yarn global add react-native
* add separate step: Upload sourcemaps to Bugsnag
* add brew install watchman
* install react-native-cli, remove install watchman
* upload source maps for android build
* add yarn add global react-native react-native-cli for android-build ci job
* add working_directory to android-build
* install npm i -g react-native react-native-cli
* add Install Node step to android-build job
* export path to node to bash_profile
* add step Install React Native CLI to android build job
* use yarn generate-source-maps in ci; exchange firebase log -> bugsnag log
* implement send(toggle) crash reports button
* move BUGSNAG_API_KEY to config file; remove generated source maps files
* unlink bugsnag
* add ios/Pods files connected to Bugsnag; fix ci android build job
* export firebase analytics also from /utils/log
* use `log(e)` instead of `log(error)`
* API Key changes
* pod install
* Fix iOS build
* Simulate error
* lint
* Add navigation
* Use projectRoot
* Revert project root
* - Don't run on forks
- Upload dSYMs
* Remove error sim
* Remove automatic dSYMs upload
* Remove fastlane-plugin-bugsnag
2019-08-23 10:18:47 -03:00
Diego Mello
ba232547f1
[CHORE] Update to react-native 0.60.4 ( #1095 )
...
* Update to 0.59.10
* stash
* stash
* patch RN
* Try to fix openURL
* Fix compile Share Extension
* Minor fixes
* build ios
* tracking view working and added postinstall
* SafeAreaView vertical never
* tracking view patch
* Android build working
* Android notifications working
* Lint and tests
* Fix android build
* Add tools:replace="android:appComponentFactory"
* Android build
* Update vector icons
* Update webview
* Remove jsc
* Update document picker
* Firebase
* jetify on postinstall
* Patch expo-haptics
* CI
* Migrate packages manually
* Disable ci cache
* Revert "Disable ci cache"
This reverts commit 4740d861021f667f0223d7351a1da6f90cc2e417.
* CI
* audio
* adapter
* notifications
* Try RN directly
* Fix gradle
* Revert patches
* Restore cache
* update redux and lodash
* eslint-config-airbnb@17.1.1 eslint-plugin-jsx-a11y@6.2.3
* ejson@2.2.0 react-native-webview@6.7.0 semver@6.3.0 snyk@1.210.0
* codecov@3.5.0 eslint-plugin-react@7.14.3 eslint-plugin-react-native@3.7.0 react-dom@16.8.6
* Update react-redux and remove decorators
* Update redux-saga and reactotron libs
* Husky
* Storybook libs
* react-native-webview@6.8.0 markdown-it-flowdock@0.3.8 react-native-unimodules@0.5.3
* Removed regenerator-runtime
* react-native-picker-select
* react-navigation-header-buttons
* Remove comments
* react-native-notifications
* Fix rnn android build
2019-08-07 10:51:34 -03:00
Djorkaeff Alexandre
8cfdf868ed
[FIX] Empty white list enables all media types upload ( #1080 )
...
* Create utils to media (canUpload)
* Fix variable name
2019-07-29 15:26:18 -03:00
Diego Mello
ec987b1a75
[FIX] Empty white list enables all media types upload ( #1077 )
2019-07-29 13:48:40 -03:00
Djorkaeff Alexandre
d80dd0e2ce
[FIX] Share Extension issues ( #1064 )
2019-07-29 13:33:28 -03:00
pranavpandey1998official
b4a062e574
[NEW] File upload ( #882 )
2019-07-18 14:25:18 -03:00
pranavpandey1998official
725d85588b
[NEW] Video support ( #801 )
2019-07-18 14:07:37 -03:00
Djorkaeff Alexandre
13859fa17d
[CHORE] Switch to react-native-localize ( #1043 )
2019-07-16 11:30:29 -03:00
pranavpandey1998official
481458285b
[IMPROVEMENT] Use Rest API for file upload ( #1005 )
...
* removed rn-fetch-blob and use native XMLHttpRequest instead
* removed unnessary changes
* fix android bug
* fix android bug
* added tmid support
* fix bug
* fixed isssue with cacel model
* fix problems with audio
* done requested changes
* fix bug with android
2019-06-28 16:07:20 -03:00
pranavpandey1998official
82afb63327
[NEW] Slash commands ( #886 )
...
* setup database
* added getSlashCommands to loginSucess
* added slash command first prototype
* added preview feture for commands that have preview enabled
* address requested changes
* added preview options for other types of files too
* address changes
* done requested changes
* undone un-nessary changes
* done suggested changes
* fixed lint
* done requested changes
* fixed lint
* fix e2e
2019-06-10 15:36:56 -03:00
Djorkaeff Alexandre
bd9f4aa219
[FIX] Stop mention tracking when messagebox is empty ( #957 )
2019-06-03 13:56:16 -03:00
Diego Mello
3126442794
[FIX] Reply preview showing the entire message ( #947 )
2019-05-31 11:43:21 -03:00
Djorkaeff Alexandre
957182bf55
[FIX] App crash with backspace on input message ( #906 )
...
* Fix - App crash with backspace on input message
* Improving code to fix backspace bug
* Fix destructuring undefined
* Improvement code to fix backspace bug
2019-05-30 14:19:26 -03:00
Djorkaeff Alexandre
29286e98a8
[IMPROVEMENT] Share channel ( #908 )
...
* Generate and share permalink to rooms
* Create constant to share type
* Fix unnecessary await
* Remove unnecessary test
* Revert delete e2e test
2019-05-29 18:19:12 -03:00
Diego Mello
a148e6d15d
[FIX] Analytics error events ( #930 )
2019-05-28 13:18:46 -03:00
Diego Mello
9d79580946
[IMPROVEMENT] Messagebox typing and buttons refactor ( #920 )
...
* Debounce onChangeText
* Refactor FilesActions
* Clear input asap
* Different buttons on iOS/Android
* Minor fragment refactor
* Import emoji keyboard on android only
2019-05-27 13:19:39 -03:00
Diego Mello
60418b75a4
Message render performance ( #880 )
...
- Refactored Message component to use React.memo and re-render only what's necessary
- Added a test mode to toggle markdown parse by long press drawer (it'll be removed in the next release)
2019-05-20 17:43:50 -03:00
Diego Mello
a243b1ccd7
Tweaks on sequential threads messages layout ( #858 )
...
* Tweaks on sequential threads messages
* Update tests
* Fix quote
* Prevent from deleting thread start message when positioned inside the thread
* Remove thread listener from RightButtons
* Fix error on thread start parse
* Stop parsing threads on render
* Check replied thread only if necessary
* Fix messages don't displaying
* Fix threads e2e
* RoomsListView.updateState slice
* Stop fetching hidden messages on threads
* Set initialNumToRender to 5
2019-05-03 10:33:38 -03:00
Diego Mello
5744114d7d
[FIX] Threads ( #838 )
...
Closes #826
Closes #827
Closes #828
Closes #829
Closes #830
Closes #831
Closes #832
Closes #833
2019-04-24 15:36:29 -03:00
Diego Mello
0266cc2e01
Room item layout ( #835 )
2019-04-18 17:57:35 -03:00
Diego Mello
9cf81bbab9
[NEW] Threads ( #798 )
2019-04-17 14:01:03 -03:00
Diego Sampaio
1d9acdb700
[NEW] Discussions ( #696 )
2019-04-08 09:35:28 -03:00
pranavpandey1998official
46a36d7764
[NEW] Draft message per room ( #772 )
2019-04-01 11:45:17 -03:00