Alex Junior
c216544cc4
[NEW] Preview or download attachments ( #3470 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-11-16 12:59:58 -03:00
Reinaldo Neto
744893fa31
Chore: Migrate AuthenticationWebView to Typescript ( #3441 )
...
* Chore: Migrate AuthenticationWebView to Typescript
* minor tweak
* added @types/url-parser
2021-10-20 15:00:35 -03:00
Gerzon Z
76a99519ec
[NEW] Support new message parser ( #3313 )
...
* Add message parser to profile view and db
* Add md to db
* Remove changes to Xcode project
* Remove message-parser lib and add enable message parser field to User model
* Fix message parser
* Remove admin enableMessageParserEarlyAdoption
* Add NewMarkdown component
* Remove NewMarkdown component and add specific components for new message parser
* Add new parser components
* Fix BigEmoji
* Updated components and added more Code components
* update components and add storybooks
* Update Code component and add it to storybooks
* Update Mention component
* Minor tweaks
* Add server message parser validation
* Renamed folder, add @rocket.chat/message-parser, migrate some files to TypeScript
* Migrate components to TypeScript and fix styling
* Change interfaces and add TaskListComponent and styles
* Fix new markdown and styles
* Fix inlinecode
* Stop using server setting
* Use enableMessageParserEarlyAdoption on mapStateToProps
* Remove React.FC
* add link to bold, italic and strike
* Update parser components
* Fix missing components
* Minor tweak
* Fix lint and add getCustomEmojis
* Fix customEmojis
* Update emojis
* Minor tweak
* disconnect markdown from store
* Use @rocket.chat/message-parser@0.30.0
* Fix link style
* Unify lists and styles
* Remove style prop
* Use big emoji as a normal token
* Remove unnecessary memo
* Fix code styles
* Update tests
* Conditionally create renderer
* Use Context instead of prop drill
* Fix Link component
* Fix plain text regression and update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-20 13:32:58 -03:00
Alex Junior
f5058a51c0
Chore: Update Expo libs ( #3433 )
...
* chore: update the libraries `expo-av` and `expo-keep-awake`
* chore: update the library `expo-file-system`
* chore: update the library `expo-haptics`
* chore: update the library `expo-local-authentication`
* chore: update the library `expo-video-thumbnails`
* chore: update the library `expo-web-browser`
* chore: update the library `expo-apple-authentication`
* chore: update the library `react-native-unimodules`
2021-10-14 16:37:29 -03:00
Alex Junior
dffa634beb
Chore: Remove eslint-config-airbnb ( #3409 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-06 18:11:07 -03:00
Alex Junior
ada2aed90b
Chore: Update Android SDK TARGET to 30 ( #3363 )
2021-10-06 17:35:19 -03:00
Diego Mello
8de6adcf79
Chore: Update WatermelonDB to 0.23.0 ( #3386 )
2021-10-01 17:35:13 -03:00
Gerzon Z
f196a7afaf
Chore: Update Reanimated to 2.2.2 ( #3341 )
...
* Update reanimated to 2.2.0
* Podfile and Manifest
* Update MainApplication.java
* Merge develop to branch
* Update yarn.lock
* Run yarn
* Other fixes
* Fix for Android build https://github.com/software-mansion/react-native-reanimated/issues/2412#issuecomment-917958173
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-10-01 17:34:25 -03:00
Diego Mello
9ed6a3ee5a
Fix: @rocketchat/sdk not fetching correct commit ( #3384 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-09-15 11:56:56 -03:00
Alex Junior
69a67ea998
Chore: Start Typescript migration ( #3279 )
2021-09-13 17:41:05 -03:00
Diego Mello
2c31fc2b84
Chore: Update Jitsi to 3.6.0 ( #3292 )
...
* Fix RN deps
* Update react-native-jitsi-meet
* Working on iOS from Jitsi source
* Dependencies installed
* Temp android
* Kinda working android
* Working on iOS with our SDK
* Use our maven repo
* Fix temp maven url
* Cleanup
* Fix maven url
* Bring chat back
* Add activity indicator
* Update react-native-jitsi-meet
* Fix loading on iOS
* Clear gradle cache
* Try 3.6.0
* Dummy change to update gradle cache
* Point to merged forks
* update pod commit
2021-08-30 11:27:02 -03:00
Gerzon Z
0a55467858
Regression: Orientation lock on Android not working ( #3345 )
...
* Update MainApplication.java
* Update MainApplication.java
* Downgrade react-native-orientation-locker
* Pods
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-08-27 16:56:48 -03:00
Diego Mello
fb0a4ed266
Chore: Update Bugsnag ( #3300 )
...
* Remove bugsnag-react-native
* Really remove bugsnag from android
* Install @bugsnag/react-native
* Logging error on Android correctly
* Cleanup
* Fix bugsnag mock
* iOS builds
* Fix CI mistake
* Upload dSYMs to Bugsnag
* Upload source maps automatically on iOS
* Cleanup
* Enable Bugsnag on share extension
* Add test error
* Use large macos
* Bump to 4.19.0 temporarily to test on TestFlight official
* Use temp keys
* Fix upload source maps for Official iOS build
* Remove tests
* Set version back to 4.18.0
2021-07-28 17:36:06 -03:00
Diego Mello
91f770cd37
Chore: Update React Native to 0.64.2 ( #3245 )
...
* Update non-dev patches
* Update dev patches
* Update minors
* Update dev minors
* Update few non semver
* Cookies
* datepicker, netinfo, base64 and bootsplash
* Patch cookies
* Update navigation
* Device info
* mocha
* localize
* react-native-picker-select
* vector icons, xregexp, popover
* try save husky
* document picker
* Remove emotion dev
* Downgrade some libs and make sure jest is passing
* Update storybook to stable
* mocha, axios, bootsplash
* Update lint job to node 15
* Update android image to api 29 and xcode to 12.4
* building
* Fix lint
* Get rid of Storybooks errors
* Patch react-native-simple-crypto
* Remove pods from git
* Stash simple crypto
* Stash Flipper
* Remove single crypto patch
* Add manage-pods command
* Update Xcode to 12.5.0
* Fix E2E tests
* Cleanup podfile
* Fix Storybook
* Remove RN patch
* Fix iOS build release
* Fix cocoapods cache on CI
* Try to fix pods using bundle
* Update gems
* Add app_store_connect_api_key env to CI
* APP_STORE_CONNECT_API_KEY -> APP_STORE_CONNECT_API_BASE64
* Rollback to older usage of app_store_connect_api_key
* tmp
* Run manage-pods on TestFlight
* Use Podfile instead of Podfile.lock for cache
* Increase no_output_timeout from 20 minutes to 40
* Restore node modules on upload-to-testflight
* Add pod install to docs
2021-07-21 12:50:39 -03:00
Diego Mello
3d5e69b8a1
Chore: Update dependencies ( #3206 )
...
* Update non-dev patches
* Update dev patches
* Update minors
* Update dev minors
* Update few non semver
* Cookies
* datepicker, netinfo, base64 and bootsplash
* Patch cookies
* Update navigation
* Device info
* mocha
* localize
* react-native-picker-select
* vector icons, xregexp, popover
* try save husky
* document picker
* Remove emotion dev
* Downgrade some libs and make sure jest is passing
* Update storybook to stable
* mocha, axios, bootsplash
* Update lint job to node 15
2021-07-20 10:23:29 -03:00
Gerzon Z
3f4fa04f04
[CHORE] Update Detox to 18.10.0 ( #3052 )
...
* Updated detox and 5 tests
* Update e2e cases for Detox v18, update setUserStatus and added SET_STATUS_FAIL
* Downgrade mocha
* Exclude arm64 from building and update tests cases
* Update more tests cases, add registeringUser4
* Update more test files and add room-actions-scrollview testID
* Update package.json
* Remove unused username from test file and update 08-roominfo test file
* Fixing
* Mark as unread
* Fixing flaky tests
* Minor fixes
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-19 11:31:43 -03:00
Gerzon Z
b2c200a5d1
[IMPROVEMENT] Message attachment colors ( #2860 )
...
* Added convertStrToHex function and updated Reply component
* Removed convertStrtToHex function and added attachmentBackground
* Added color2k, removed transparent view and applied transparentize to backgroundColor
* Added stories
* Update Reply stories
* Update Reply stories
* Fix lint
* Update Reply stories
* Fix props
* Move tests to Message stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:13:44 -03:00
Diego Mello
cc8dc6a75a
[FIX] Deep linking and other connectivity issues ( #2894 )
...
* Navigate from push notification only if necessary
* Use JS SDK branch
* Stop reconnecting if it's already connected
* Fix RoomsListView forever loading after tapping push notification of another server
* Execute fewer operations on app/index
* Remove roomsRequest call from onForeground
* Apply check and reopen
* Stop opening in-app notification when the app is on backgorund
* Connecting tweaks
* Fix deep linking not working if the app is on background
* Force reset yarn cache
* Upgrade JS SDK
* Remove listener on unmount
* Fix resume on Android after back button is pressed
* Fix local authentication resume
* Fix back button android
* Change JS SDK branch
2021-03-05 13:10:21 -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
Billy Newman
3532cb349c
[FIX] Webview not falling back to default auth challenge when no cert is provided ( #2918 )
...
* [FIX] Android - fallback to default auth challenge handling when no cert is provided
* If a certificate auth challenge is requested on Android the webview will hang if no certificate is loaded.
To prevent this, fallback to default Android behavior and cancel the challenge with request.cancel()
* No client certificate case defaults to super implementation
* Update react-native-webview
* Downgrade to previous dependency version
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Jan Garaj <jan.garaj@gmail.com>
2021-02-22 18:36:10 -03:00
Diego Mello
acd5f04314
[FIX] Share extension memory issues on iOS ( #2845 )
...
* Remove unnecessary class prop
* Stop rendering servers when there's only one
* Map and alloc only necessary columns from query
* Fetch servers count instead of all servers records
* Fetch only needed servers
* Separators
* Remove renderContent
* Minor fix
* Refactor query
* Smaller avatars in memory
* Fix getItemLayout
* Add topic
* Load less pods
* tests
* Import only used functions from lodash
* Fix pods
* Import only used functions from semver
* Fix media sharing
* Update pods
* Disables preview and thumb on iOS
* Update expo-video-thumbnail
* Unnecessary change
2021-02-01 14:18:55 -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
Diego Mello
32b1b36e48
[FIX] Share Extension hitting memory limit on iOS ( #2788 )
...
* [FIX] Disallow swipe to dismiss on share extension
* Limit query to 20 and clean up props
* Remove rn-extension-share branch pointer
* Test new branch
* Remove branch
2021-01-13 17:22:44 -03:00
Diego Mello
a2bf0f013f
[FIX] Unable to save attachment on iOS ( #2743 )
...
* Fix rn-fetch-blob's document dir without forward slash
* Update camera roll
2020-12-24 10:12:31 -03:00
Diego Mello
df701a52a4
[CHORE] Update React Native to 0.63.4 ( #2737 )
2020-12-22 15:50:23 -03:00
Diego Mello
c9c8bdecd0
[REGRESSION] Re-enable Jitsi Chat ( #2687 )
...
* Fix main jitsi
* Fix iOS
* Clear build.gradle cache
* Don't restore gradle
* cache is back
* Use master
* Point to react-native-jitsi-meet#master
2020-12-04 19:18:55 -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
155fc04aca
[NEW] Support client certificates for SSL (two-way authentication) (Android) ( #2624 )
...
* wip: Android SSL Pinning
* Use own SSLPinningModule
* wip: Use Rocket.Chat own react-native
* wip: Fresco Images using custom OkHttpClient
* wip: react-native-webview onReceivedClientCertRequest
* feat: Save Images of a SSL Pinning protected server
* chore: SSLPinning package as a interface to iOS & Android implementations
* chore: update glide
* feat: load images under a client ssl certificate protected server
* chore: remove patch
* feat: Audio & Video under a SSL Client protected server
* fix: Unpin certificate when change server
* feat: Fast Image as a patch
* chore: update fast-image
* Fix merge
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-30 14:00:06 -03:00
Diego Mello
de81fa3464
[FIX] F-Droid build for store ( #2557 )
...
* [FIX] F-Droid build for store
* Trying to make Override custom push notifications on play build only
* Use play sourceSets
* Change version code
* Fix react-native-config-reader
* [FIX] F-Droid build for store
* Trying to make Override custom push notifications on play build only
* Use play sourceSets
* Change version code
* Fix react-native-config-reader
* Remove react-native-device-info Google dependencies / Use LIBRE_BUILD of react-native-jitsi-meet
* Invalidate CI Cache
* Set specific jitsi-meet-sdk
* Specify 2.10.0-libre
* jitsi-meet using an url based on play build
* update react-native-jitsi-meet
* react-native-device-info foss
* undo some unnecessary changes
* Fix notifications
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-11-09 17:14:35 -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
Luis
892470617d
[FIX] Update react native CLI to support white labeling with XCode 12 ( #2560 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-03 14:25:05 -03:00
Djorkaeff Alexandre
f4f416c6fa
[IMPROVEMENT] Jitsi lean ( #2534 )
...
* 2.10.2
* update jitsi sdk
* use our own react-native-jitsi-meet
* use own android jitsi sdk
* remove jsc reference
* use self-builded ios sdk
* update react-native-jitsi-meet
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-03 11:18:15 -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
Diego Mello
81bb89da6c
[IMPROVEMENT] Support badge number on header buttons ( #2566 )
...
* Beginning header buttons refactor
* Add HeaderButtons
* item with title
* Refactor
* Remove lib
* Refactor
* Update snapshot
* Refactor
* Update tests
* Lint
2020-10-30 13:15:58 -03:00
Djorkaeff Alexandre
46e3db97e8
[NEW] Channel avatars ( #2504 )
...
* [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
* Format Avatar URL to use RoomId.
Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* edit room avatar
* invalidate cache of room images
* reinit avatar if something change
* read avatar cache on search
* room avatar changed system message
* add avatar by rid test
* update snapshot
* etag cache on select channel
* reset room avatar
* increase caching to have a better image quality
* fix lgtm warn
* invalidate ci cache
* get avatar etag on select users of create discussion
* invalidate ci cache
* Fix migration
* Fix sidebar avatar not updating
* Remove outdated comment
* Tests
Co-authored-by: Prateek93a <prateek93a@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
2020-10-30 10:51:04 -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
2b3a5f805b
[CHORE] Reset yarn cache ( #2512 )
2020-09-30 16:31:59 -03:00
Djorkaeff Alexandre
60dc128c63
[NEW] E2E Encryption push (iOS) ( #2463 )
...
* link pods to notification service
* push encryption poc
* decrypt room key poc
* read user key from mmkv and cast into a pkcs
* push decrypt poc (iOS)
* expose needed watermelon methods
* watermelon -> database
* indent & simple-crypto update
* string extensions
* storage
* toBase64 -> toData
* remove a forced unwrap
* remove unused import
* database driver
* improvement
* folder structure & watermelon bridge
* more improvement stuff
* watermelon -> database
* reuse database instance
* improvement
* database fix: bypass watermelon cache
* some code improvements
* encryption instances
* start api stuff
* network layer
* improve notification service
* improve folder structure
* watermelon patch
* retry fetch logic
* rocketchat class
* fix try to decrypt without a roomKey
* fallback to original content that is translated
* some fixes to rocketchat logic
* merge develop
* remove unnecessary extension
* [CHORE] Improve reply notification code (iOS)
* undo sign changes
* remove mocked value
* import direct from library
* send message request
* reply notification with encrypted message working properly
* revert apple sign
* fix api onerror
* trick to display sender name on group notifications
* revert data.host change
* fix some multithread issues
* use sendername sent by server
* small improvement
* Bump crypto lib
* Update ios/NotificationService/NotificationService.swift
* add experimental string
* remove trailing slash
* remove trailing slash on reply
* fix decrypt messages
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-24 15:34:13 -03:00
Djorkaeff Alexandre
0195506549
[NEW] E2E Encryption push (Android) ( #2481 )
...
* poc push encryption android
* eof
* format code
* react-native-simple-crypto update
* prevent find sub twice
* remove storage and use ejson storage
* invalidate yarn cache
* Bump crypto and fix db path
* Fix google-services path
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-24 11:00:50 -03:00
Diego Mello
7b67ae4757
Update WatermelonDB to 0.19.0 ( #2469 )
...
* [FIX] Jitsi breaking changes
* Update yarn cache
* Update watermelon to 0.19
2020-09-16 15:48:23 -03:00
Diego Mello
709c7aaaea
[FIX] Jitsi breaking changes ( #2468 )
...
* [FIX] Jitsi breaking changes
* Update yarn cache
2020-09-16 10:32:33 -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
334140df0d
[IMPROVEMENT] Show errors on server enter ( #2449 )
...
* Catching errors
* [IMPROVEMENT] Show errors on server enter
* "Not rc server" instead of "invalid or insecure url" msg
2020-09-11 13:30:28 -03:00
Djorkaeff Alexandre
3c9017a62d
[NEW] E2E Encryption ( #2394 )
...
* Add E2EKey to Subscription Model
* Install react-native-simple-crypto
* Install bytebuffer
* Add translations
* CreateChannel Encrypted toggle
* Request E2E_Enabled setting
* Add some E2E API methods
* POC E2E Encryption
* Garbage remove
* Remove keys cleaner
* Android cast JWK -> PKCS1
* Initialize E2E when Login Success
* Add some translations
* Add e2e property to Message model
* Send Encrypted messages
* (iOS) PKCS1 -> JWK & e2e.setUserPublicAndPrivateKeys
* (Android) PKCS1 -> JWK & e2e.setUserPublicAndPrivateKeys
* Create an encrypted channel
* Fix app crashing on RoomsList
* Create room key
* Set Room E2E Key (Android)
* Edit room encrypted
* Show encrypted icon on messages
* logEvents
* Decrypt pending subscriptions & messages
* Handle user cancel e2e password entry
* E2ESavePasswordView
* Update Snapshot
* Add encrypted props to message on Send
* Thread messages encryption
* E2E -> Encryption
* Share Extension: Share encrypted text
* (POC) Search messages on Encrypted room
* Provide room key to new users
* Request roomKey on stream-notify-room-users
* Add e2eKeyId to Room Model
* (WIP) E2E Encryption Screens
* Remove encryption subscription file
* Move E2E_Enable to Server Model
* Encryption List Banner
* Move Encryption init to Sagas
* Show banner only when enabled
* Use RocketChat/react-native-simple-crypto
* Search on WM only when is an Encrypted channel
* (WIP) Encryption Banner
* Encryption banner
* Patch -> Fork
* Improve send encrypted message
* Update simple-crypto
* Not decrypt already decrypted messages
* Add comments
* Change eslint disable to inline
* Improve code
* Remove comment
* Some fixes
* (WIP) Encryption Screens
* Improve sub find
* Resend an encrypted message
* Fix comment
* Code improvements
* Hide e2e buttons on features if it is not enabled
* InApp notifications of a encrypted room
* Encryption stop logic
* Edit encrypted message
* DB batch on decryptPending
* Encryption ready client
* Comments
* Handle getRoomInstance errors
* Multiple messages decrypt
* Remove unnecessary try/catch
* Fix decrypt all messages history
* Just add a questionmark
* Fix some subscriptions missing decrypt
* Disable request key logic
* Fix unicode emojis
* Fix e2ekey request
* roomId -> subscription
* Decrypt subscription after merge
* E2ERoom -> EncryptionRoom
* Fix infinite loading
* Handle import key errors
* Handle request key errors
* Move e2eRequestRoomKey to Rocket.Chat
* WIP handshake when key should be requested
* Add search messages explanation
* Remove some TODO and update comments
* Improvements
* Dont show message hash to user
* Handle key request & prevent multiple calls
* Request E2EKey on decryptSubscription that doesn't exists on database yet
* Insert decrypted subscription
* Fix crash after login
* Decrypt sub when receive the key
* Decrypt pending messages of a room
* Encrypted as a switch
* Buffer to Base64 URI Safe
* Add a relevant comment
* Prevent import key without a privateKey
* Prevent create a new instance when client is not ready
* Update simple-crypto & remove replace trick
* More comments
* Remove useless comment
* Remove useless try/catch
* I18n all E2E screens
* E2ESavePassword -> E2ESaveYourPassword
* Prevent multiple views on message when is not encrypted
* Fix encryption toggle not working sometimes
* follow some suggestions
* dont rotate icons
* remove unnecessary condition
* remove unreachable event
* create channel comment
* disable no-bitwise rule for entire file
* loadKeys -> persistKeys
* getMasterKey -> generateMasterKey
* explicit difference between E2EKey & e2eKeyId
* roomId -> rid
* group columns
* Remove server selector
* missing log events
* remove comment
* use stored public key
* update simple-crypto & remove base64-js patch
* add some logs
* remove unreachable condition
* log errors
* handle errors on provide key directly on subscription
* Downgrade RocketChat/react-native-simple-crypto
* improve get room instance
* migration of older apps
* check encrypted status before send a message
* wait client ready
* use our own base64-js
* add more jest tests
* explain return
* remove unncessary stop
* thrown error to caller
* remove superfluous checks
* use Encryption property
* change ready state logic
* ready -> establishing
* encryption.room -> encryptionRoom
* EncryptionRoom -> Room
* add documentation
* wait establishing before provide a room key
* remove superfluous condition
* improve error handling logic
* fallback e2ekey set
* remove no longer necessary check
* remove e.g.
* improve getRoomInstance
* import from index
* use batch
* fix a comment
* decrypt tmsg
* dont show hash when message is encrypted
* Fix detox
* Apply suggestions from code review
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-11 11:31:38 -03:00
Djorkaeff Alexandre
8e4eb49b2e
[CHORE] Use Rocket.Chat JS SDK's official repo ( #2440 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-31 17:45:21 -03:00
Djorkaeff Alexandre
91a2e9b181
[CHORE] App Group path as a iOS constant ( #2439 )
...
* [FIX] Chrome debugging
* Remove rn-fetch-blob
2020-08-31 17:29:44 -03:00
Ezequiel de Oliveira
15c12f8901
[FIX] Logout from custom oauth ( #2377 )
...
* New field in table of users
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Saving when the user logged in with email and password
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Saving login method info
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Ask for the user to clear cookies
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Fix lint
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Removing loginMethod from redux and add I18n
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Using async/await instead of then/catch
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Fix lint
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Pods
* Added dismissText on showConfirmationAlert
* Fix iOS
* Rename function
* I18n tweaks
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-25 17:04:18 -03:00
Govind Dixit
b80d8a0eca
[NEW] Add to F-Droid ( #2171 )
...
* create play and foss build
* update package.json to generate each build
* check1
* requested changes
* initial commit
* Update config.yml
* minor changes
* remove bugsnag from foss build
* remove bugsnag tasks from foss job
* fix stuck screen
* fixes
* update
* fix lint
* finalise 🚀
* requested changes
* share app for fdroid
* update
* use negation for builds
* requested change
* update share app
* fix issues due to latest sync
* add extra line
* fix lint
* update
* update
* fix bugsnag issue
* Update config.yml
* Fix store url
* Foss release instead of debug
* Add hold for foss
* Fix build
* requested changes
* update name and icons
* update
* fix
* Revert "Bump version to 4.11.0 (#2392 )"
This reverts commit ea287980d9
.
* finalise
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-24 09:24:10 -03:00
Snyk bot
15f174b47b
[Snyk] Security upgrade lodash from 4.17.19 to 4.17.20 ( #2416 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-LODASH-590103
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-21 16:33:07 -03:00
Djorkaeff Alexandre
e2f17a5a23
[NEW] Encrypt user credentials and preferences ( #2247 )
...
* install react-native-mmkv-storage
* wip ios migration
* change all js rn-user-defaults -> react-native-mmkv-storage
* remove all rn-user-defaults native references (iOS)
* android migration from rn-user-defaults to react-native-mmkv-storage
* ios app group accessible mmkv
* handle get errors
* remove access of credentials from legacy native apps
* remove data of user defaults
* remove no longer necessary import
* js mmkv encryption
* run migration only once
* reply from notification android
* fix app group key access at native level ios
* encrypt user credentials using a specific key
* ios encrypt with random key
* use a random key at the first encryption
* encrypt migrated data on js land
* remove unused function
* reply notifications ios should be working
* use fix instanceID
* android ejson retrieve encrypted data
* remove encryption migrated data for a while
* encryption working between app and share extension
* fix patch react-native-notifications
* ssl pinning working using mmkv encrypted data
* improve react-native-notifications
* run encrypt migration data only once
* fix build
* fix patches magic string
* fix mmkv id
* mmkv -> userPreferences
* fix instance id on android migration
* cast our oldest sharedPreferences string into an object
* revert log remove
* create currentServer Rocket.Chat key
* wrap mmkv api class
* change the get logic
* move userPreferences to lib
* move encrypt migrated data to userPreferences class
* check if the new object is new before insert
* invalidate ci yarn cache
* fix sort migration from android shared preferences
* fix splashscreen forever
* invalidate yarn cache
* invalidate yarn cache
* fix patch
* Minor change
* fix android notifications looking for wrong mmkv instance
* Fix some issues on iOS mmkv native access
* Remove unnecessary code
* Fix notification reply and ssl pinning
* WIP NotificationService use MMKV credentials
* Add KeychainGroup
* Notification idOnly get credentials from mmkv
* Some fixes
* Invalidate yarn cache
* Pods
* Use MMKVAppExtension on NotificationService
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-19 14:14:22 -03:00
Djorkaeff Alexandre
b68b0b84df
[NEW] Push notification data privacy ( #2213 )
...
* [WIP] Notification Service
* [WIP] Android push notification privacy
* [WIP] Retry request when it fails (iOS)
* [WIP] Override notification bundle
* [CHORE] Remove unnecessary import
* [WIP] Check notification Type (iOS)
* [WIP] Change to notification endpoint
* eof
* fix unwrap conditional value
* turn run request synchronous
* fix bundle info
* eof
* remove extra tab
* undo unnecessary change
* remove not working code for a while
* fix notification title
* change endpoint and received/sent data
* message-id-only working properly on android
* notification privacy working on ios
* invalidate circleCI yarn cache
* Fix provisioning profiles
* fix notification service version
* fix unwrap nil
* compatibility older servers android
* show received notification when cant fetch content from server
* undo some android changes
* prevent group & reply fallback notifications
* dont show more than one fallback notification by server
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-28 10:43:43 -03:00
Diego Mello
c91cd0b963
[CHORE] Update react-native-firebase ( #2336 )
...
* Remove firebase
* Install firebase/app
* Install analytics
* Crashlytics
* Android
* Fix mocks
* Edit scheme to Debug build configuration
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-24 10:19:17 -03:00
dependabot[bot]
7491df6109
Bump codecov from 3.6.5 to 3.7.1 ( #2323 )
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.6.5 to 3.7.1.
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.5...v3.7.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 16:42:54 -03:00
Diego Mello
a5c81b2687
Revert "[CHORE] Update commonmark.js " ( #2331 )
2020-07-22 11:04:33 -03:00
Diego Mello
9dbe10bcf8
[IMPROVEMENT] Native sort and limit queries ( #2249 )
...
* Update WatermelonDB to 0.18.0
* Low onEndReachedThreshold
* Query experiment
* QUERY_SIZE
* Query or fetch data
* Reorder class functions
* Reset variables
* Hide system messages
* Change this.count behaviour
* Starting on RoomsListView
* unsubscribeQuery
* onEndReached
* Separate queries
* Reusable where clause
* Refactoring
* Refactor RoomItem to accept item as prop
* Comment RoomItem tests just so jest passes
* Fix alert and status
* onPress
* Unnecessary diff
* react-fast-compare
* Native limit on ShareListView
* Tweak item description
* Lint
* Fix on foreground crash
* Suggested changes
2020-07-20 13:44:54 -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
dependabot[bot]
52b82e5809
Bump lodash from 4.17.16 to 4.17.19 ( #2310 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.16 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.16...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 14:55:53 -03:00
Djorkaeff Alexandre
ff8899c39f
[CHORE] Update commonmark libs ( #2306 )
...
* [CHORE] Update commonmark fork and relateds
* [CHORE] Update commonmark.js
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-17 14:53:13 -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
Dan Caseley
3f83daa31a
[TESTS] Test in docker ( #2290 )
...
* Add docker env with orchestration
* Update detox, update mocha config format
* One simulator at a time - mocha won't run parallel
* Docker runner, with test changes to match RC data
* Better error trapping in infrastructure control script
* Swap user provisioning from Mongo to RC API to work against existing servers
* Add docker to e2e readme
* Stop using example.com for emails
* Default detox to the tests directory
* Add working configs for both run scenarios
* Add some optional forcing of data.js version for Docker
2020-07-15 13:28:34 -03:00
Diego Mello
8a24eb0722
[NEW] Sign in with Apple ( #2282 )
...
* Add expo-apple-authentication
* Button
* Create new provisioning profiles
* Login with Apple
* Change provisioning profile
* Button color based on theme
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-14 13:07:45 -03:00
Snyk bot
ab9b0b0f9c
fix: package.json & yarn.lock to reduce vulnerabilities ( #2275 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-JPEGJS-570039
- https://snyk.io/vuln/SNYK-JS-LODASH-567746
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-13 13:47:18 -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
ff74f6ec9e
[NEW] Omnichannel Status Toggle ( #2217 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-26 17:45:21 -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
Ezequiel de Oliveira
2632ef50f5
[IMPROVEMENT] Use react-native-notifier for in-app notifications ( #2139 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-16 17:32:30 -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 1e49d80bb4
.
* 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
Diego Mello
ec7417c29c
[CHORE] Update WatermelonDB to 0.16.2 ( #2166 )
...
* [CHORE] Update WatermelonDB to 0.16.2
* Patch watermelon
2020-06-05 12:58:14 -03:00
Diego Mello
d1e751bf12
[TESTS] Update and separate E2E tests ( #2126 )
...
* Tests passing until roomslist
* create room
* roominfo
* change server
* broadcast
* profile
* custom status
* forgot password
* working
* room and onboarding
* Tests separated
* config.yml refactor
* Revert "config.yml refactor"
This reverts commit 0e984d3029
.
* CI
* lint
* CI refactor
* Onboarding tests
* npx detox
* Add all tests
* Save brew cache
* mac-env executor
* detox-test command
* Update readme
* Remove folder
2020-05-20 13:33:40 -03:00
Diego Mello
bfce5c8c87
[FIX] Android build ( #2094 )
2020-05-08 16:07:13 -03:00
Djorkaeff Alexandre
9e89316e2a
[NEW] Livechat ( #2004 )
...
* [WIP][NEW] Livechat info/actions
* [IMPROVEMENT] RoomActionsView
* [NEW] Visitor Navigation
* [NEW] Get Department REST
* [FIX] Borders
* [IMPROVEMENT] Refactor RoomInfo View
* [FIX] Error while navigate from mention -> roomInfo
* [NEW] Livechat Fields
* [NEW] Close Livechat
* [WIP] Forward livechat
* [NEW] Return inquiry
* [WIP] Comment when close livechat
* [WIP] Improve roomInfo
* [IMPROVEMENT] Forward room
* [FIX] Department picker
* [FIX] Picker without results
* [FIX] Superfluous argument
* [FIX] Check permissions on RoomActionsView
* [FIX] Livechat permissions
* [WIP] Show edit to livechat
* [I18N] Add pt-br translations
* [WIP] Livechat Info
* [IMPROVEMENT] Livechat info
* [WIP] Livechat Edit
* [WIP] Livechat edit
* [WIP] Livechat Edit
* [WIP] Livechat edit scroll
* [FIX] Edit customFields
* [FIX] Clean livechat customField
* [FIX] Visitor Navigation
* [NEW] Next input logic LivechatEdit
* [FIX] Add livechat data to subscription
* [FIX] Revert change
* [NEW] Livechat user Status
* [WIP] Livechat tags
* [NEW] Edit livechat tags
* [FIX] Prevent some crashes
* [FIX] Forward
* [FIX] Return Livechat error
* [FIX] Prevent livechat info crash
* [IMPROVEMENT] Use input style on forward chat
* OnboardingSeparator -> OrSeparator
* [FIX] Go to next input
* [NEW] Added some icons
* [NEW] Livechat close
* [NEW] Forward Room Action
* [FIX] Livechat edit style
* [FIX] Change status logic
* [CHORE] Remove unnecessary logic
* [CHORE] Remove unnecessary code
* [CHORE] Remove unecessary case
* [FIX] Superfluous argument
* [IMPROVEMENT] Submit livechat edit
* [CHORE] Remove textInput type
* [FIX] Livechat edit
* [FIX] Livechat Edit
* [FIX] Use same effect
* [IMPROVEMENT] Tags input
* [FIX] Add empty tag
* Fix minor issues
* Fix typo
* insert livechat room data to our room object
* review
* add method calls server version
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:36:10 -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 a4ce812934
.
* 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
a6bca99393
[FIX] UIKit crashing when UIKitModal receive update event ( #2088 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 09:56:11 -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
c578f1bbe8
[IMPROVEMENT] Change server while connecting/updating ( #1981 )
...
* [IMPROVEMENT] Change server while connecting
* [FIX] Not login/reconnect to previous server
* [FIX] Abort all fetch while connecting
* [FIX] Abort sdk fetch
* [FIX] Patch-package
* Add comments
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-05 10:11:28 -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
ee0e7bb9d1
[FIX] Investigate app losing connection issues ( #1890 )
...
* [WIP] Reopen without timeOut & ping with 5 sec & Fix Unsubscribe
* [FIX] Remove duplicated close
* [FIX] Use no-dist lib
* [FIX] Try minor fix
* [FIX] Try reopen connection when app was put on foreground
* [FIX] Remove timeout
* [FIX] Build
* [FIX] Patch
* [FIX] Snapshot
* [IMPROVEMENT] Decrease time to reopen
* [FIX] Some fixes
* [FIX] Update sdk version
* [FIX] Subscribe Room Once
* [CHORE] Update sdk
* [FIX] Subscribe Room
* [FIX] Try to resend missed subs
* [FIX] Users never show status when start app without network
* [FIX] Subscribe to room
* [FIX] Multiple servers
* [CHORE] Update SDK
* [FIX] Don't duplicate streams on subscribeAll
* [FIX] Server version when start the app offline
* [FIX] Server version cached
* [CHORE] Remove unnecessary code
* [FIX] Offline server version
* [FIX] Subscribe before connect
* [FIX] Remove unncessary props
* [FIX] Update sdk
* [FIX] User status & Unsubscribe Typing
* [FIX] Typing at incorrect room
* [FIX] Multiple Servers
* [CHORE] Update SDK
* [REVERT] Undo some changes on SDK
* [CHORE] Update sdk to prevent incorrect subscribes
* [FIX] Prevent no reconnect
* [FIX] Remove close on open
* [FIX] Clear typing when disconnect/connect to SDK
* [CHORE] Update SDK
* [CHORE] Update SDK
* Update SDK
* fix merge develop
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-03 15:03:53 -03:00
Diego Mello
6982d7676a
[NEW] Two Factor authentication via email ( #1961 )
...
* First api call working
* [NEW] REST API Post wrapper 2FA
* [NEW] Send 2FA on Email
* [I18n] Add translations
* [NEW] Translations & Cancel totp
* [CHORE] Totp -> TwoFactor
* [NEW] Two Factor by email
* [NEW] Tablet Support
* [FIX] Text colors
* [NEW] Password 2fa
* [FIX] Encrypt password on 2FA
* [NEW] MethodCall2FA
* [FIX] Password fallback
* [FIX] Wrap all post/methodCall with 2fa
* [FIX] Wrap missed function
* few fixes
* [FIX] Use new TOTP on Login
* [improvement] 2fa methodCall
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-04-01 17:32:24 -03:00
Diego Mello
80c3c8ee4f
[CHORE] Use storyboard on splash screen ( #1939 )
...
* Update react-native-bootsplash
* iOS
* Fix android
2020-03-26 10:21:21 -03:00
dependabot[bot]
f7e459c87f
Bump acorn from 5.7.3 to 5.7.4 ( #1876 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 17:49:24 -03:00
Djorkaeff Alexandre
1a3551169f
[IMPROVEMENT] Create App Group property on Info.plist ( #1858 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-11 16:06:55 -03:00
Diego Mello
a7d7ff4bb9
[FIX] Mentions ( #1829 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-05 13:30:13 -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
b166d59cbd
[FIX] Markdown Line Break ( #1783 )
2020-02-27 15:24:40 -03:00
Djorkaeff Alexandre
a9e61c5d8b
[FIX] HTTP Basic Auth ( #1753 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 09:58:13 -03:00
Djorkaeff Alexandre
aaca4ad268
[NEW] Jitsi JWT added to URL ( #1746 )
2020-02-18 11:06:14 -03:00
Diego Mello
6a40d4cefb
[CHORE] Memory leaks investigation ( #1675 )
2020-02-17 16:06:18 -03:00
Diego Mello
d970952086
[REVERT] Show emoji keyboard on Android ( #1738 )
2020-02-17 09:14:56 -03:00
Diego Mello
a62dfef3fa
[FIX] Different sourcemaps generation for Hermes ( #1724 )
...
* [FIX] Different sourcemaps generation for Hermes
* Upload sourcemaps after build
2020-02-14 16:12:06 -03:00
Djorkaeff Alexandre
88c0ba6aff
[FIX] Messages Overlapping (Android) and MessageBox Scroll (iOS) ( #1720 )
2020-02-13 17:44:57 -03:00
Diego Mello
952dc761ab
[CHORE] Update react-native-image-crop-picker ( #1712 )
2020-02-13 16:25:28 -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
Diego Mello
20b9679bf8
[CHORE] Update RN to 0.61.5 ( #1638 )
...
* [CHORE] Update RN to 0.61.5
* [CHORE] Update react-native patch
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-01-30 10:50:56 -03:00
Djorkaeff Alexandre
e92d171a2b
[FIX] Jitsi with Hermes Enabled ( #1523 )
2020-01-07 10:28:35 -03:00
Djorkaeff Alexandre
66d21408b6
[NEW] Image Viewer ( #1479 )
2019-12-18 18:13:11 -03:00
Djorkaeff Alexandre
5f0389c7de
[NEW] Reply notification ( #1448 )
2019-12-17 13:27:13 -03:00
Diego Mello
cf98d794fd
[FIX] Few fixes on themes ( #1477 )
2019-12-17 11:08:06 -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
ea296d1007
[FIX] Take a video ( #1437 )
2019-12-04 09:14:27 -03:00
Djorkaeff Alexandre
a0dc2bad4a
[NEW] Tablet support ( #1300 )
2019-11-25 17:01:17 -03:00
Diego Mello
cfd63a6480
Update patch and minor deps ( #1386 )
2019-11-18 14:52:08 -03:00
Diego Mello
44415c881f
[CHORE] Remove react-native-scrollable-tab-view fork ( #1352 )
2019-10-31 20:04:13 -03:00
Diego Mello
93356341b9
[UPDATE DEPS] Update RN to 0.61.3 ( #1345 )
2019-10-31 13:21:59 -03:00
Diego Mello
ab1b6fbcc3
[UPDATE DEPS] react-navigation and react-navigation-stack ( #1337 )
2019-10-29 15:14:22 -03:00
Diego Mello
1b5f565b08
[CHORE] Remove memoize-one ( #1284 )
2019-10-08 10:22:43 -03:00
Djorkaeff Alexandre
08dac6ff86
[FIX] China shouldn't use CallKit ( #1274 )
2019-10-07 10:38:59 -03:00
Diego Mello
b795a2fd59
[FIX] Audio player track and thumb not rendering on Android ( #1273 )
2019-10-04 10:38:35 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Djorkaeff Alexandre
d9f7ff836d
[CHORE] Update react-native-jitsi-meet to 2.0.1 ( #1249 )
2019-09-27 16:16:03 -03:00
Djorkaeff Alexandre
3dd47519fe
[CHORE] Update react-native-reanimated to 1.3.0 ( #1246 )
2019-09-27 14:18:11 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Diego Mello
11249f962a
Update React Native to 0.61.1 ( #1236 )
...
* Update React Native to 0.61.1
* Update patch to SSL Pinning
* Revert storybook
2019-09-26 11:59:27 -03:00
Djorkaeff Alexandre
0ff47f477a
[CHORE] Update react-native-jitsi-meet ( #1235 )
2019-09-25 19:13:39 -03:00
Djorkaeff Alexandre
e86205c74e
[FIX] 👍 emoji ( #1202 )
2019-09-24 17:48:20 -03:00
Djorkaeff Alexandre
69839d59cd
[CHORE] Revert react-navigation-drawer ( #1227 )
2019-09-24 14:37:13 -03:00
Djorkaeff Alexandre
99aea22579
[NEW] Jitsi integration ( #1196 )
...
* 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
* Jitsi config (iOS)
* removeClippedSubviews on iOS only
* Added few interaction managers
* Create jitsiBaseURL
* Call buttons
* Fix few rerenders
* Fix RoomItem status typo
* Fix RoomView.SCU
* Fix broadcast
* Fix user status on RoomActionsView
* Jitsi config (Android)
* 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
* Call Jitsi method
* Create onlyAudio option (iOS)
* Create onlyAudio option (Android)
* Fixed errors, removed rerenders and added animation
* Fixed a few errors
* Fix lint
* Fix issues caught by LGTM
* fix ios build
* Revert patch
* jitsiTimeout
* Self-builded Android SDK
* 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 jitsiTimeout
* Fix custom emoji
* Fix duplicated call messsage
* Creating room from app must update roomUpdatedAt
* Log subscribeRoom start
* Fix room subscribe right after creating a DM
* Fix jest
* Move self-builded sdk to node_modules
* 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
* Fix send message
* Create migration - jitsi_timeout
* Fixes & Update e2e tests
* Add translations pt-br
* Bind callJitsi on RocketChat
* Remove unnecessary mocks
* Remove listeners when call finished
* Use gradlew instead self-builded sdk
* Fix lastmessage call username
* Add react-native-background-timer
* Fix background interval
* Remove unnecessary timeout
* Clear timeout in case there's one active
* Add catch to method call
2019-09-18 14:32:12 -03:00
dependabot[bot]
9663ac8f62
Bump mixin-deep from 1.3.1 to 1.3.2 ( #1198 )
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-09-17 16:26:06 -03:00
dependabot[bot]
18dae3e565
Bump js-yaml from 3.12.1 to 3.13.1 ( #1200 )
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.12.1 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases )
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.1...3.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-09-17 16:25:37 -03:00
dependabot[bot]
225ac46e15
Bump eslint-utils from 1.3.1 to 1.4.2 ( #1199 )
...
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils ) from 1.3.1 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases )
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-09-17 16:25:21 -03:00
Diego Mello
2887ff04e7
[CHORE] Update navigation lib ( #1201 )
...
* Bump react-navigation
* Bump react-native-screens
* Bump react-navigation-drawer and react-native-gesture-handler
* Update mocks
* Add supportLibVersion
2019-09-17 16:24:47 -03:00
Djorkaeff Alexandre
adb8c7b379
[FIX] Delete push token when logout ( #1173 )
...
* Fix delete push token
* Update @rocket.chat/sdk
2019-09-17 14:17:55 -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
2515295fc6
[NEW] Support client certificates for SSL (two-way authentication) ( #1125 )
2019-09-02 13:19:05 -03:00
Diego Mello
48cdd3b511
[FIX] Patch expo-av crashing with java.lang.IllegalArgumentException: Receiver not registered ( #1161 )
...
* [FIX] Patch expo-av crashing with java.lang.IllegalArgumentException: Receiver not registered
* Fix ci cache
* Try if condition
2019-09-02 13:15:56 -03:00
Djorkaeff Alexandre
0ac1028865
Update commonmark.js ( #1154 )
2019-08-28 10:33:32 -03:00
Djorkaeff Alexandre
c78732729d
[IMPROVEMENT] Markdown refactored ( #1151 )
2019-08-27 09:25:38 -03:00
IlarionHalushka
664563bd6f
[IMPROVEMENT] Use expo video player ( #1132 )
2019-08-26 13:56:39 -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
pranavpandey1998official
857d23ee88
[IMPROVEMENT] Tap on avatar/username/channel to show info ( #1097 )
...
* added feature to tab on mentions and avtar
* fixed lint
* removed room param from roomActionView
* removed room param from roomActionView
* Update tests
2019-08-22 15:08:07 -03:00
Diego Mello
5bb477d00e
[FIX] Handle disconnect and reconnect properly ( #1131 )
2019-08-14 08:16:59 -03:00
Diego Mello
047a0ddf8d
[FIX] Remove console on production builds ( #1124 )
...
* [FIX] Remove console on production builds
* Add react-native-markdown-renderer patch
* Update react-native-notifications
* Increase maxHeapSize
2019-08-13 10:03:46 -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 4740d86102
.
* 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
Diego Mello
d250f77a5d
Merge branch 'master' into develop ( #1079 )
2019-07-29 14:34:07 -03:00
Djorkaeff Alexandre
d80dd0e2ce
[FIX] Share Extension issues ( #1064 )
2019-07-29 13:33:28 -03:00
Djorkaeff Alexandre
18ef6c5430
[NEW] Share extension ( #942 )
2019-07-18 14:44:02 -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
Diego Mello
346fa3cf61
Load views as needed ( #1056 )
2019-07-17 10:37:20 -03:00
Djorkaeff Alexandre
13859fa17d
[CHORE] Switch to react-native-localize ( #1043 )
2019-07-16 11:30:29 -03:00
Diego Mello
3c264bc5df
[FIX] Android build ( #1027 )
...
* [FIX] Android build
* CircleCI error
2019-07-01 14:12:19 -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
Diego Mello
3b43cb3fb7
[IMPROVEMENT] Use haptics rather than vibration ( #1016 )
...
* Install expo-haptics
* Use expo-haptics rather than RN's Vibration module
2019-06-28 14:07:17 -03:00