Commit Graph

1248 Commits

Author SHA1 Message Date
Youssef Muhamad 639d667838
[NEW] Toggle analytics events (#2422)
* Create flow to toggle analytics events on memory

* Persist toggle analytics events

* Update crash report to contemplate analytics events

* Minor tweaks

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-11 14:34:11 -03:00
Ezequiel de Oliveira d37678b354
[NEW] Show server history (#2421)
* Add dropdown

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Adding new table to serverSchema

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Saving if not exists

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* list of visited servers finished

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix lint

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Rename ServerLinks to ServersHistory

* Refactor

* Save username

* Sort servers desc

* ServerInput

* Item

* Refactor

* Layout tweaks

* Layout

* query by text

* Small refactor

* Redirecting to login

* Save username for oauth

* Fix keyboard persist

* Add tests

* Unnecessary yield

* Stop rendering FlatList logic when there's no servers on history

* Dismiss keyboard and autocomplete when tapped outside server TextInput

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-11 14:10:16 -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 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
Diego Mello 7172c028cc
[IMPROVEMENT] Move toggle and inquiry to Enterprise Edition license (#2426)
* [IMPROVEMENT] Move toggle and inquiry to Enterprise

* Move inquiry stream to ee

* Emit inquiry subscribe

* imports to ee last

* Add readme to ee

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-08-28 16:41:08 -03:00
Djorkaeff Alexandre 0351276e30
[FIX] Logout from custom oauth when using password (#2435)
* [FIX] Logout from custom oauth when using password

* Remove an useless const

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-28 12:54:15 -03:00
Djorkaeff Alexandre 7c61455ca3
[FIX] Crashlytics reportError not working after #2171 (#2436) 2020-08-28 12:53:33 -03:00
Diego Mello 1d38ff0831
[FIX] Detox tests (#2433)
* Spotlight issues

* Fix room tests

* Fix roomactions tests
2020-08-26 16:28:16 -03:00
Diego Mello 78514969fb
[FIX] Wrong merge resolution after #2171 (#2431) 2020-08-26 11:26:19 -03:00
Ezequiel de Oliveira 664ddb4daa
[FIX] Apply theme on Directory description (#2428)
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-26 11:10:26 -03:00
Ezequiel de Oliveira 212281795e
[FIX] Verify useRealName setting on files screen (#2427)
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-26 11:06:14 -03:00
Ezequiel de Oliveira e9bb24ee38
[FIX] Wrong date and time shown in file section (#2409)
* Adding missing prop to item object

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Resolving the missing date in the files section in a more elegant way

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Using ts attribute always inside of an item object

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-25 17:09:52 -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
Djorkaeff Alexandre 77ecd12d71
[FIX] App can't reopening a room in some cases (#2429) 2020-08-25 14:44:16 -03:00
Youssef Muhamad 67ecab7169
[NEW] Logout from other logged in locations (#2386)
* Logout from other logged in locations

* Add UI feedback for the request result

* Refactor request to use the proper REST API

* Change backgroundColor

* I18n

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-25 13:51:49 -03:00
Diego Mello 49ea816f5c
[IMPROVEMENT] Show "Chats in Progress" group (#2425) 2020-08-25 09:10:15 -03:00
Diego Mello 7f7bab8e03
[IMPROVEMENT] Add subscription and room events on the same batch queue (#2423)
* [IMPROVEMENT] Add subscription and room events on the same batch queue

* Send both params

* Unused var
2020-08-24 16:59:55 -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
Diego Mello 51d914eccb
[IMPROVEMENT] Customize Sign in with Apple button (#2420) 2020-08-21 16:22:29 -03:00
Djorkaeff Alexandre 7813ed3b28
[FIX] User Preferences (#2418)
* [FIX] User Preferences

* PreferencesView -> UserPreferencesView

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-21 15:14:06 -03:00
Diego Mello ccb36f1f56
[FIX] Change some icons (#2419) 2020-08-21 15:11:10 -03:00
Diego Mello b06bf7fcb5
[IMPROVEMENT] Verify Enterprise status on Omnichannel (#2399)
* Add enterpriseModules on Redux

* Fetch enterprise modules and put on redux

* hasLicense

* Clear modules

* Hide omnichannel rooms

* Minor refactor

* Hide omnichannel toggle

* Check license on user status

* Apply on search

* lint

* Look for 'livechat-enterprise'

* One module is enough to enable the features

* Unhide omnichannel rooms

* Sort tweaks

* Move omnichannel toggle to RoomsListView

* Remove omnichannel toggle from SettingsView

* Fix toggle

* Ask to enable omnichannel

* Lint

* Fix issues found on review
2020-08-21 10:38:50 -03:00
Ezequiel de Oliveira 54c4614e2e
[NEW] User notification preferences (#2403)
* Button to preferences view

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Create screen to preferences and listItem to notifications

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Refactoring NotificationPreferencesView

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* List notification preferences

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Adding translations to labels

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* SetUserPreferences api call

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Saving new user preference in API

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix lint

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Add in-app notification test

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix in app mentions preference

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Improve object in testInAppNotification

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Removing improper options for NotificationpreferencesView

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Adding API version

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Use redux in UserNotificationPrefView

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Remove in app test

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Use components from another view

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Removing verification for testing in-app notifications

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Move to ProfileView

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-21 10:30:11 -03:00
Diego Mello 0c55d15378
[IMPROVEMENT] Move directory to header (#2414) 2020-08-20 11:16:33 -03:00
Diego Mello df267a2790
[IMPROVEMENT] Use font icons on login services (#2412)
* Replace font

* Use CustomIcon

* Remove native assets
2020-08-19 16:01:28 -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
Diego Mello 6555687891
[FIX] REST for method calls not raising errors (#2408)
* [FIX] REST for Method calls not raising erorrs

* Remove unnecessary lint disable
2020-08-19 14:13:02 -03:00
Ezequiel de Oliveira 8841d17a44
[FIX] Fix broken StatusView on tablet (#2407)
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
2020-08-19 14:09:36 -03:00
nixxou a96be1466c
[i18n] Update fr.js (#2380)
* Update fr.js

* Update fr.js

* Update fr.js

* Update fr.js

* Update fr.js

* Update fr.js

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-14 15:21:09 -03:00
Diego Mello f0d9c9274c
[FIX] Quote not working on Group DM (#2372) 2020-08-05 13:48:46 -03:00
Diego Mello bcb599e03d
[FIX] Missing delete icon on MessageErrorActions (#2373) 2020-08-05 13:48:24 -03:00
Diego Mello 3fb253b3de
[FIX] Mentions crashing without username (#2374) 2020-08-05 13:48:03 -03:00
Diego Mello 71a809a116
[FIX] WorkspaceView not looking for the correct image path (#2376)
Co-authored-by: Gabriel Henriques <gabriel.henriques@rocket.chat>
2020-08-05 13:46:42 -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
Ezequiel de Oliveira dae058cdb4
[FIX] Minor i18n issues (#2335)
* Add new translations to ptBr

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix update language in headers

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-31 15:30:36 -03:00
Youssef Muhamad 4787821db9
[CHORE] Wrap logEvent in a try/catch (#2361)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-31 15:24:38 -03:00
Djorkaeff Alexandre ac708dd32b
[NEW] Omnichannel inquiry queue (#2352)
* [WIP] Omnichannel queue

* Request inquiry when login

* Show take inquiry queued room

* Queue List as a Screen

* Poc using unread badge

* Prevent navigation to empty list

* Remove chat from queue when taked

* Fix header status on omnichannel preview room

* Fix room actions view to preview queued chat

* Use isOmnichannelPreview and dont show actions when is preview

* Filter queue chats taken by other people

* Fix room info to omnichannel preview room

* Handle show Queue

* Reset inquiry store when change server

* Improve queue logic

* Disable swipe on RoomItem when is a Queue Item

* Add unreadBadge style

* Move unread badge to presentation folder

* Cleanup inquiry reducers

* Move take saga to rocketchat function

* Remove comments

* Add relevant comments

* Subscribe to public stream if is livechat manager or doesnt have departments

* Add pt-br and improve queue empty message

* Fix take when dont have view-livechat-manager permission

* Add missing events

* Create selector for inquiry queue

* Minor fixes

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-31 15:22:30 -03:00
Diego Mello 34824e0765
[FIX] Vertically centralize RoomItem when `Store_Last_Message` is disabled (#2363)
* Split RoomItem into container and component

* Refactor RoomItem

* Fix wrong status

* Tests

* Wrapper
2020-07-31 14:06:22 -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 0e23ab880f
[FIX] More missing icons (#2360) 2020-07-30 16:48:06 -03:00
Diego Mello 097304b5fa
[FIX] App hanging on splash screen when deep link params are wrong (#2359)
* Add rule when there's no host on the deep link params

* Add fallbackNavigation()

* Fix insecure hosts
2020-07-30 16:41:23 -03:00
Djorkaeff Alexandre cb5c914570
[IMPROVEMENT] Add deep link to Jitsi calls (#2223)
* [WIP] Jitsi Deep Links

* [WIP] Add app links

* save uniqueID servers database

* add serverInfoKey of uniqueID

* search server by call url

* open jitsi deeplink poc

* improve jitsi url

* fix

* improve comment

* add missing android scheme

* handle host not found

* Allow app links to be matched on parseDeepLinking

* Fix push notification of a call

* Minor fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-30 14:25:52 -03:00
Youssef Muhamad e05aa1eb52
[NEW] Log events from RoomsList, SideDrawer and Profile (#2190)
* 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

* 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

* 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

* Navigate to Status and AdminPanel View using the defined sidebarNavigate method

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-30 10:26:17 -03:00
Youssef Muhamad 052d91eae7
[FIX] In-app notification showing while in a Jitsi call (#2345)
* Hide in app notification when focused on JitsiMeetView

* Hide notifications from different rooms

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-29 18:04:04 -03:00
Diego Mello a584e68bbe
[FIX] Long press gestures not working properly on Android (#2354) 2020-07-29 18:03:17 -03:00
Diego Mello c37eb99e55
[FIX] Missing icons (#2353) 2020-07-29 18:02:51 -03:00
Diego Mello 54bddf035d
[IMPROVEMENT] Apply new mention colors (#2351)
* New mention colors

* Increase letterSpacing for mentions

* Refactor

* UnreadBadge

* Add migration
2020-07-29 17:49:08 -03:00
Diego Mello 74ecab858f
[CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
Ezequiel de Oliveira e5aaa667e7
[FIX] MessagesView title not working (#2294)
* Set title in header of room actions view items

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Remove unneeded spaces

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Set header title on constructor

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Remove unused navigation options

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-24 16:58:14 -03:00
Ezequiel de Oliveira 5532d0f368
[FIX] i18n being called outside render (#2334)
* Fix I18n usage in ThemeView

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix I18n usage in NotificationPreferencesView

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* Fix some I18n wrong uses

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-24 16:23:34 -03:00
Diego Mello 09a8be8b59
[REGRESSION] Invite links stopped working after #2154 (#2338)
* [REGRESSION] Invite links stopped working after #2154

* Clear invite links token when close NewServerView

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-24 12:41:59 -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
Djorkaeff Alexandre 17b4084c6c
[FIX] Admin panel not logging in automatically (#2330)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 16:41:36 -03:00
Youssef Muhamad 95e228e590
[IMPROVEMENT] TwoFactor component styling (#2328)
* Improve 2fa visual hierarchy

* Show 2fa keyboard by scheduling focus method after all interactions

* Remove unrelated styling improvements

* Improve 2fa component title hierarchy

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 16:37:42 -03:00
Youssef Muhamad 8c8062ac01
[FIX] Keyboard not focusing on TwoFactor component (#2314)
* Improve 2fa visual hierarchy

* Show 2fa keyboard by scheduling focus method after all interactions

* Remove unrelated styling improvements

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 16:36:15 -03:00
Youssef Muhamad fc324edafe
[NEW] Log events from Onboarding, NewServer, Login and Register screens (#2169)
* 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

* Resolve requests to improve the importing logs and events

* Leave a bugsnag breadcrumb when logging an event

* Move all logEvent to the top of code block and log remaining fail events

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 16:31:38 -03:00
Diego Mello 7a5a92f33f
[FIX] Style not being applied on RoomsListView header subtitle (#2319) 2020-07-21 11:06:17 -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
Rohit Verma 42df5ddbc1
[FIX] MessagesView duplicating content (#2307)
* Fix Pagination duplicacy

* Fix MessageView Duplicate Content

* [FIX] Return fetch func

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-17 15:59:18 -03:00
Djorkaeff Alexandre 45cc350a8c
[FIX] Markdown preview causes app stuck (#2303)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-17 14:45:39 -03:00
Diego Mello 9b71a785aa
[FIX] In-app notification tap when deep in the stack not redirecting to the room (#2302) 2020-07-17 14:39:59 -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
phriedrich 812535da43
[FIX] Read receipts on tablet (#2297)
* fixes not working read receipts on tablet (#2295)

* fixing last commit it to make it work on both tablet and phone

* fix missing close button on tablet's modal view

* Update app/views/ReadReceiptView/index.js

* remove unnecessary param

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-17 14:13:44 -03:00
Djorkaeff Alexandre c6401a2d39
[FIX] Room Info actions doesn't check permissions/settings enabled (#2292)
* [FIX] Show Call Button only when Jitsi Enabled (RoomInfoView)

* [FIX] Show user info

* [FIX] Show message button only if it's possible

* [FIX] Create direct only when needed

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-17 14:08:15 -03:00
Dan Caseley 97cd2235df
[CHORE] Consistent Rocket.Chat Branding (#2293)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-15 13:57:36 -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
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
phriedrich 7275314854
[i18n] Add missing german strings (#2278)
* cleaned mixed usage of "du" and "Sie"

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-13 13:49:25 -03:00
Heng Sok d3ab125dd4
[FIX] Messages hidden behind MessageBox (#2281) 2020-07-13 13:43:08 -03:00
Djorkaeff Alexandre 146babc3dd
[REGRESSION] Jitsi Call doesn't send message link (#2277) 2020-07-10 09:52:03 -03:00
Diego Mello f3b02a6a88
[FIX] getSettings not catching errors (#2271) 2020-07-09 10:33:04 -03:00
Djorkaeff Alexandre aef7125887
[FIX] Create discussion not working from MessageActions (#2265) 2020-07-08 17:57:05 -03:00
Diego Mello 5782a3363b
[FIX] Notification preferences update crashing the app (#2262) 2020-07-08 17:46:05 -03:00
Diego Mello f70d8285c9
[FIX] Mime type check crashing the app (#2264) 2020-07-08 17:45:38 -03:00
Diego Mello fc8432488e
[FIX] Action sheet cutting emojis on the header (#2263)
* [FIX] Action sheet cutting emojis on the header

* fix tablet case

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-08 17:45:13 -03:00
Diego Mello afb0707028
[FIX] Navigation object undefined when tapping sidebar's user header on tablet (#2259) 2020-07-08 16:40:10 -03:00
Diego Mello b8f87f7006
[FIX] Android stack animation throwing illegal node ID (#2260) 2020-07-08 16:38:36 -03:00
Djorkaeff Alexandre 0923851072
[FIX] ImageViewer not recognising gestures after zoomed (#2261)
* [FIX] Zoomed in images must react to gestures

* AnimatedFastImage -> AnimatedImage

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 16:38:09 -03:00
Djorkaeff Alexandre 53cc823dbc
[FIX] Get active route returning undefined (#2257)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 14:00:23 -03:00
Djorkaeff Alexandre ea10693c40
[FIX] Register crashing when error data is undefined (#2256)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 13:52:20 -03:00
Djorkaeff Alexandre ef68f1644a
[FIX] ThreadMessagesView throwing error when subscription wasn't found (#2255)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 13:50:07 -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 5b3be4ef0b
[FIX] AttachmentView crashing during title decode (#2253)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 13:40:51 -03:00
Djorkaeff Alexandre 362ef0085e
[FIX] Scroll to top crashing when ref is undefined (#2252)
* [FIX] Check if exists scroll ref

* Remove scrollTo

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-08 13:36:37 -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
Youssef Muhamad 20604c4695
[FIX] Check for UI_Use_Real_Name when sorting rooms (#2230)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-07 10:06:48 -03:00
Diego Mello 5834ab5e22
[IMPROVEMENT] Unified header UX (#2234)
* Change drawer icon

* Removed iOS variation

* Patch to react-navigation-header-buttons... easier to patch then to overwrite its behaviour :(

* Correctly position title

* Header subtitle

* Layout

* Alignment

* RoomView header

* Renamed RoomHeaderLeft to LeftButtons

* RoomView back button

* Search icon on RoomView

* Refactor

* Fix header on tablet

* Fix search messages close button on tablet

* Search key command

* Network status on RoomView header subtitle

* Update tests

* Scale content

* SearchBox cancel color
2020-07-06 17:56:28 -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 c1f3f89c09
[FIX] Iframe auth Login Button (#2241)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-03 11:23:33 -03:00
Djorkaeff Alexandre 6abfbf615f
[FIX] Send thread attachment (#2242) 2020-07-03 11:07:29 -03:00
Diego Mello a7e7d1fdcb
[FIX] Android crashing when restoring from background (#2238) 2020-07-02 14:14:12 -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 bf63014a6a
[FIX] Read receipt icon on action sheet (#2237) 2020-07-02 14:06:57 -03:00
Djorkaeff Alexandre 4def17c2e9
[IMPROVEMENT] Mark thread as read on open (#2225)
* [IMPROVEMENT] Mark a thread as read

* Use methodCallWrapper

* Check server version

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-29 15:47:48 -03:00
Djorkaeff Alexandre e34b7cbb87
[CHORE] Add wrapper to make Meteor methods calls over REST (#2104)
* [WIP] Use rest instead methodCall

* [WIP] Some method calls using wrapper

* [WIP] Wrap all necessary methodCalls

* fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-29 14:57:39 -03:00
Djorkaeff Alexandre a5aba5fc84
[REGRESSION] Logout failing after #2217 (#2222) 2020-06-29 13:58:06 -03:00
Djorkaeff Alexandre 8fe0615e68
[FIX] Typing when UI_Use_Real_Name is enabled (#2216)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-26 17:48:40 -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
Djorkaeff Alexandre a992c51698
[NEW] IFrame authentication (#2184)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-17 17:12:21 -03:00
Ezequiel de Oliveira 5e488972de
[FIX] The auto translate toggle don't save right state (#2142)
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-17 16:22:22 -03:00
Diego Mello 8da50c2d73
[FIX] Remove duplicated sCU condition (#2194) 2020-06-17 14:39:49 -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 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 5dcf2212e0
[FIX] 2FA email - send code again (#2188)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-12 16:42:10 -03:00
Djorkaeff Alexandre 88f69717ea
[FIX] Show registration form when add server by a invite link (#2187)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-12 16:12:08 -03:00
Djorkaeff Alexandre 48be6764f4
[FIX] Load messages issue when trying to get ts from empty results (#2185) 2020-06-12 15:46:27 -03:00
Diego Mello 2cc599cc5e
[FIX] Screen Lock (#2177)
* [FIX] Screen Lock

* improve variable name

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-06-09 17:19:54 -03:00
Djorkaeff Alexandre caf1ef2cfe
[FIX] Respect server HideSystemMessages (#2175)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-09 17:11:52 -03:00
Djorkaeff Alexandre fcf6ed4dd7
[FIX] Load messages when hideSystemMessages is enabled (#2101)
* [WIP] Load messages when hideSystemMessages is enabled

* Improve method name

* Minor improvements

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-09 17:09:18 -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 1abd3ad79e
[FIX] Screen Lock Time respect local value (#2141)
* [FIX] Screen Lock Time respect local value

* [FIX] Enable biometry at the first passcode change
2020-05-22 15:04:43 -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 0e984d3029e47612726bf199553f7abdf24843e5.

* 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
Djorkaeff Alexandre c46dcfa9e6
[FIX] No send data to bugsnag if it's an aborted request (#2133)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-20 09:56:36 -03:00
Diego Mello 1cadfb3d27
[FIX] Here and all mentions shouldn't refer to users (#2137) 2020-05-20 09:53:40 -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
Djorkaeff Alexandre a4914d73cb
[FIX] Sometimes SDK is null when try to connect (#2131)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-18 14:55:53 -03:00
phriedrich 6152da4d6c
[i18n] Added missing German translation strings (#2105)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-18 14:37:04 -03:00
Djorkaeff Alexandre 035bdfeca1
[FIX] Screen Lock options i18n (#2120)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-18 14:35:21 -03:00
Djorkaeff Alexandre 8c5538b148
[FIX] UIKit crash when some app send a list (#2117)
* [FIX] StoryBook

* [FIX] UIKit crash when some app send a list

* [CHORE] Update snapshot

* [CHORE] Remove token & id
2020-05-18 13:25:13 -03:00
Djorkaeff Alexandre 5c99d8aa8d
[FIX] Wait attach activity before changeNavigationBarColor (#2111)
* [FIX] Wait attach activity before changeNavigationBarColor

* Remove timeout and add try/catch

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-13 17:26:26 -03:00
Djorkaeff Alexandre 70462f7c6f
[FIX] Roles throwing error (#2110)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-13 16:04:50 -03:00
Djorkaeff Alexandre 507723ab69
[FIX] NewMessageView Press Item should open DM (#2116)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-13 16:02:57 -03:00
Diego Mello ff60cc1fbf
[IMPROVEMENT] Enable navigating to a room from auth deep linking (#2115)
* Wait for login success to navigate

* Enable auth and room deep linking at the same time
2020-05-13 15:57:54 -03:00
Djorkaeff Alexandre 0009e7fec5
[FIX] Default biometry enabled (#2095)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-11 11:20:14 -03:00
Djorkaeff Alexandre 364d56a597
[FIX] Blink header DM (#2093)
* [FIX] Blink header DM

* Remove query

* [FIX] Push RoomInfoView

* remove unnecessary try/catch

* [FIX] RoomInfo > Message (Tablet)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-11 11:19:28 -03:00
Djorkaeff Alexandre e89484dddb
[FIX] Delete Subs (#2091)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:36:55 -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
Prateek Jain 0e4e174e25
[FIX] Avatar of message as an emoji (#2038)
* fixed-issue

* removed-hardcoded-emoji

* Merge develop

* replaced markdown with emoji componenent

* made-changes

* use avatar onPress

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:16:22 -03:00
Djorkaeff Alexandre 66edd7a3c8
[FIX] Big names overflow (#2072)
* [FIX] Big names overflow

* [FIX] Message time

Co-authored-by: devyaniChoubey <devyanichoubey16@gmail.com>

* [FIX] Some alignments

* fix user item overflow

* some adjustments

Co-authored-by: devyaniChoubey <devyanichoubey16@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:09:36 -03:00
Djorkaeff Alexandre 8870ef4236
[FIX] Messages View (#2090)
* [FIX] Messages View

* [FIX] Opening PDF from Files View

* [FIX] Audio

* [FIX] SearchMessagesView

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:07:58 -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
Ezequiel de Oliveira 097c502f93
[IMPROVEMENT] Close announcement banner (#2064)
* [NEW] Created new field in subscription table

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* [NEW] New field added to obeserver in room view

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* [NEW] Added icon and new design to banner

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* [NEW] Close banner function works

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* [IMPROVEMENT] closed banner status now update correctly

Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* improve banner style

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 09:57:04 -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 ee5b7592b4
[NEW] Delete Server (#1975)
* [NEW] Delete server

Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>

* [FIX] Revert removed function

Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>

* pods

* i18n

* Revert "pods"

This reverts commit 2854a1650538159aeeafe90fdb2118d12b76a82f.

Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-04 17:20:45 -03:00
Djorkaeff Alexandre f272038ca1
[FIX] ReactionsModal (#2085) 2020-05-04 11:09:47 -03:00
Djorkaeff Alexandre e46ee13b38
[IMPROVEMENT] Message Touchable (#2082)
* [FIX] Avatar touchable

* [IMPROVEMENT] onLongPress on all Message Touchables

* [IMPROVEMENT] User & baseUrl on MessageContext

* [FIX] Context Access

* [FIX] BaseURL

* Fix User

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 17:05:59 -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
Prateek Jain 2b9c447fe4
[FIX] Allow special chars in Filename (#2020)
* fixed-filename-issue

* improve

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:20:29 -03:00
Siddharth Padhi 6d80f147ac
[FIX] AttachmentView (Android)(Tablet) (#2047)
* [fix]Tablet attachment View and Room Navigation

* fix weird navigation and margin bottom

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:11:34 -03:00
Prateek Jain a52056988e
[FIX] MessageBox mention shouldn't show group DMs (#2049)
* fixed-issue

* [FIX] Filter users only if it's not a group chat

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:10:19 -03:00
Prateek Jain c4a749c2e5
[FIX] Send totp-code to meteor call (#2050)
* fixed-issue

* removed-variable-name-errors

* reverted-last-commit

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:09:17 -03:00
Prateek Jain 25b5c95775
[FEATURE] Save video (#2063)
* added-feature-save-video

* fix sha256

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:08:48 -03:00
Djorkaeff Alexandre 3f79ab7953
[FIX] Prevent crash when room.uids was not inserted yet (#2055)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:07:07 -03:00
Djorkaeff Alexandre 56dc7243dd
[FIX] Pending update (#2066)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:04:39 -03:00
Djorkaeff Alexandre a34929fb9b
[FIX] Hide system messages (#2067)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 14:54:42 -03:00
Djorkaeff Alexandre 4e948f897c
[IMPROVEMENT] Stop inserting last message as message object from rooms stream if room is focused (#2069)
* [IMPROVEMENT] No insert last message if the room is focused

* fix discussion/threads

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 14:53:35 -03:00
Djorkaeff Alexandre 022b0330bf
[FIX] RoomsList update sometimes isn't fired (#2071)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 14:38:57 -03:00
Djorkaeff Alexandre 200f94e244
[FIX] Respect UI_Allow_room_names_with_special_chars setting (#2076)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:24:49 -03:00
Djorkaeff Alexandre 8201602291
[FIX] Backhandler onboarding (#2077)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:06:58 -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 f3b98c29c5
[FIX] Prevent double click (#2079)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:03:07 -03:00
Djorkaeff Alexandre cce5efe6a9
[FIX] Prevent crash when thread is not found (#2080)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:01:36 -03:00
Djorkaeff Alexandre e3cfcf7f5b
[FIX] Action Tint Color on Black theme (#2081) 2020-04-30 13:00:39 -03:00
Djorkaeff Alexandre 91ff6e48d5
[FIX] UIKit with only one block (#2022)
* [FIX] Message with only one block

* [FIX] Update headers

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 10:56:57 -03:00
Djorkaeff Alexandre 8445bafad6
[FIX] Lint (#2030) 2020-04-13 10:56:30 -03:00
Djorkaeff Alexandre 2b3ccf4df5
[FIX] Login TOTP Compatibility to older servers (#2018)
* [FIX] Login TOTP Compatibility to older servers

* [FIX] Android crashes if use double negation

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 10:25:31 -03:00
Djorkaeff Alexandre acf70790cd
[FIX] Cas auth (#2024)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 10:11:51 -03:00
Djorkaeff Alexandre 404c381ca2
[FIX] Read only channel/broadcast (#1951)
* [FIX] Read only channel/broadcast

* [FIX] Roles missing

* [FIX] Check roles to readOnly

* [FIX] Can post

* [FIX] Respect post-readonly permission

* [FIX] Search a room readOnly

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 09:51:16 -03:00
Djorkaeff Alexandre 1427e530bf
[REGRESSION] Invite Links (#2007)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-09 02:27:00 -03:00
Djorkaeff Alexandre 00a21808ed
[FIX] Split get settings into two requests (#2017)
* [FIX] Split get settings into two requests

* [FIX] Clear settings only when change server

* [IMPROVEMENT] Move the way to clear settings

* [REVERT] Revert some changes

* [FIX] Server Icon

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-09 02:26:28 -03:00
Djorkaeff Alexandre 2e65a795df
[FIX] DM header blink (#2011) 2020-04-09 02:20:57 -03:00
Djorkaeff Alexandre c313a63d8a
[FIX] Change notifications preferences (#2000)
* [FIX] Change notifications preferences

* [IMPROVEMENT] Picker View

* [I18N] Translations

* [FIX] Picker Selection

* [FIX] List border

* [FIX] Prevent crash

* [FIX] Not-Pref tablet

* [FIX] Use same style of LanguageView

* [IMPROVEMENT] Send listItem title

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-06 18:40:18 -03:00
Djorkaeff Alexandre 78441bf345
[FIX] Loading all updated rooms after app resume (#1998)
* [FIX] Loading all updated rooms after app resume

* Fix room date on RoomItem

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-06 17:23:13 -03:00
Djorkaeff Alexandre c24c16c932
[FIX] Change user own status (#1995)
* [FIX] Change user own status

* [IMPROVEMENT] Set activeUsers

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-06 16:32:58 -03:00
Djorkaeff Alexandre 32d105051d
[FIX] Saml (#1996)
* [FIX] SAML incorrect close

* [FIX] Pathname

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-06 16:15:13 -03:00
Diego Mello 0298c38b3d
[FIX] ThreadMessagesView crashing on load (#1997) 2020-04-06 16:07:40 -03:00
Diego Mello afb68c74c1
[FIX] Single message thread inserting thread without rid (#1999) 2020-04-06 16:07:23 -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
Djorkaeff Alexandre d810c28c30
[FIX] Direct Message between multiple users REST (#1974) 2020-04-03 15:02:10 -03:00
Sarthak Pranesh df0a38566b
[FIX] Correct message for manual approval user Registration (#1906)
* [FIX] Correct message for manual approval from admin shown on Registeration

* lint fix - added semicolon

* Updated the translations

* [FIX] Translations

* i18n to match server

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-01 17:43:49 -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
Djorkaeff Alexandre 18afdd843e
[FIX] Deeplinking without RoomId (#1925)
* [FIX] Deeplinking without rid

* [FIX] Join channel

* [FIX] Deep linking without rid

* Update app/lib/methods/canOpenRoom.js

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-01 16:39:30 -03:00
Diego Mello 9f830c7f0a
[FIX] Clear settings on server change (#1967) 2020-04-01 16:24:42 -03:00
Prateek Jain 011ac043a7
[FIX] MultiSelect Keyboard behavior (Android) (#1969)
* fixed-modal-position

* made-changes

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-04-01 13:10:43 -03:00
Diego Mello e62a7e84c8
[FIX] Add server and hide login (#1968)
* Navigate to new server workspace from ServerDropdown if there's no token

* Hide login button based on login services and Accounts_ShowFormLogin setting

* [FIX] Lint

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-04-01 12:56:08 -03:00
Djorkaeff Alexandre 076e5e87c6
[NEW] Direct Message between multiple users (#1958)
* [WIP] DM between multiple users

* [WIP][NEW] Create new DM between multiple users

* [IMPROVEMENT] Improve createChannel Sagas

* [IMPROVEMENT] Selected Users view

* [IMPROVEMENT] Room Actions of Group DM

* [NEW] Create new DM between multiple users

* [NEW] Group DM avatar

* [FIX] Directory border

* [IMPROVEMENT] Use isGroupChat

* [CHORE] Remove legacy getRoomMemberId

* [NEW] RoomTypeIcon

* [FIX] No use legacy method on RoomInfoView

* [FIX] Blink header when create new DM

* [FIX] Only show create direct message option when allowed

* [FIX] RoomInfoView

* pt-BR

* Few fixes

* Create button name

* Show create button only after a user is selected

* Fix max users issues

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-01 09:28:54 -03:00
Prateek Jain ece8f44f5a
[FIX] UI issues of Create Discussion View (#1965) 2020-04-01 09:07:03 -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
Diego Mello 3437b9039f
[FIX] Load messages (#1910)
* Create updateLastOpen param on readMessages

* Remove InteractionManager from load messages
2020-03-30 17:10:19 -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 acdf39b32d
[NEW] Onboarding layout (#1954)
* Onboarding texts

* OnboardingView

* FormContainer

* Minor fixes

* NewServerView

* Remove code

* Refactor

* WorkspaceView

* Stash

* Login with email working

* Login with

* Join open

* Revert "Login with"

This reverts commit d05dc507d2e9a2db76d433b9b1f62192eba35dbd.

* Fix create account styles

* Register

* Refactor

* LoginServices component

* Refactor

* Multiple servers

* Remove native images

* Refactor styles

* Fix testid

* Fix add server on tablet

* i18n

* Fix close modal

* Fix TOTP

* [FIX] Registration disabled

* [FIX] Login Services separator

* Fix logos

* Fix AppVersion name

* I18n

* Minor fixes

* [FIX] Custom Fields

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-03-30 16:20:50 -03:00
Govind Dixit 1ce0f6db59
[FIX] Change default directory listing to Users (#1948)
* fix: change default directory listing to Users

* follow server settings

* Fix state to props

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 11:20:55 -03:00
Djorkaeff Alexandre 255254c285
[FIX] Ignore self typing event (#1950)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-26 13:59:11 -03:00
Djorkaeff Alexandre 4da2a96236
[FIX] Use new LinkedIn OAuth url (#1935)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-26 10:21:03 -03:00
Neil Agarwal dbd70deee4
[FIX] Respect protocol in HTTP Auth IPs (#1933)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-26 10:20:41 -03:00
Govind Dixit da05843089
[CHORE] Fix typo in CreateChannel View (#1930) 2020-03-26 10:14:51 -03:00
Djorkaeff Alexandre 7daa3092c7
[FIX] Linkedin OAuth login (#1913) 2020-03-20 23:11:13 -03:00
phriedrich 975a038254
[i18n] Added missing German translations(#1900)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-20 13:39:17 -03:00
Djorkaeff Alexandre fe5ee355f1
[FIX] Stop showing message on leave channel (#1896)
* [FIX] Leave room don't show 'was removed' message

* [FIX] Remove duplicated code

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-20 13:38:01 -03:00
Djorkaeff Alexandre ce1a2d5374
[FIX] Encode Image URI (#1909)
* [FIX] Encode Image URI

* [FIX] Check if Image is Valid

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-20 13:26:50 -03:00
Ezequiel de Oliveira 6a36abadbf
[FIX] Emojis transparent on android (#1881)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 17:42:02 -03:00
Ezequiel de Oliveira b26f04b35c
[FIX] Remove unrecognized emoji flags on android (#1887)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 17:19:18 -03:00
devyaniChoubey 3997538eb0
[FIX] Incorrect size params to avatar endpoint (#1875)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 16:55:32 -03:00
devyaniChoubey 589e2e2666
[IMPROVEMENT] Show toast when a message is starred/unstarred (#1616)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 13:35:37 -03:00
Sarthak Pranesh 779cacbe3e
[FIX] Show proper error message on profile (#1768)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 13:26:32 -03:00
devyaniChoubey d11277e691
[IMPROVEMENT] Make username clickable on message (#1618)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 13:14:54 -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 9bea72faac
[FIX][iOS] Ignore silent mode on audio player (#1862) 2020-03-11 10:44:51 -03:00
Diego Mello 44e6660069
[FIX] Consecutive clear cache calls freezing app (#1851) 2020-03-10 08:49:54 -03:00
Diego Mello a1f842b009
[FIX] e2e tests (#1838) 2020-03-06 15:13:33 -03:00
Youssef Muhamad b9360217e6
[NEW] Filter system messages per room (#1815)
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-06 11:19:03 -03:00
Diego Mello ff807d705c
[FIX] Separate delete and remove channel (#1832)
* Rename to delete room

* Separate delete and remove channel

* handleRemoved -> handleRoomRemoved

* [FIX] Navigate to RoomsList & Handle tablet case

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-03-06 10:13:24 -03:00
Diego Mello 4dc04b8579
[FIX] Thread message not found (#1830)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-05 13:31:21 -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 512ffe4990
[REGRESSION] Room View header title (#1827)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-05 11:35:05 -03:00
Djorkaeff Alexandre e677c19ca4
[FIX] Empty mentions for @all and @here when real name is enabled (#1822)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-04 10:52:13 -03:00
phriedrich d1c6306609
[i18n] Add missing German keys (#1800)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-04 09:16:14 -03:00
Djorkaeff Alexandre b3e0485db5
[FIX] Room Info styles (#1820)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-04 08:59:30 -03:00
Djorkaeff Alexandre 4597ab6c78
[FIX] Pop from room which you have been removed (#1819)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-04 08:49:54 -03:00
Prateek Jain 524e163091
[FIX] Remove all invited users when create a channel (#1814)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-03 18:25:23 -03:00
Djorkaeff Alexandre 6ada35e460
[IMPROVEMENT] Request user presence on demand (#1813)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-03 18:10:39 -03:00
Djorkaeff Alexandre cfab64283d
[FIX] LoginSignup blink services (#1809)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-03 17:53:48 -03:00
Djorkaeff Alexandre d1844ba16e
[CHORE] Use markdown preview on RoomView Header (#1807)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-03 17:40:20 -03:00
Diego Mello 005e1ac46b
[FIX] Detox tests (#1790) 2020-03-03 17:27:38 -03:00
Diego Mello 3d535196a5
[FIX] Watermelon throwing "Cannot update a record with pending updates" (#1754) 2020-03-02 17:12:41 -03:00
Djorkaeff Alexandre b67d1dd73d
[IMPROVEMENT] Add loading message on long running tasks (#1798)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 17:11:08 -03:00
Djorkaeff Alexandre ea4f3797ff
[IMPROVEMENT] Log server version (#1786)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 16:51:13 -03:00
Youssef Muhamad 9d615d5ffb
[NEW] Mark message as unread (#1785)
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-02-28 16:31:19 -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 346d97bdc8
[FIX] Thread header (#1776)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:39:17 -03:00
Djorkaeff Alexandre e0d4230272
[FIX] Setting not present (#1775)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:32:04 -03:00
Djorkaeff Alexandre f33e98b516
[FIX] Close tablet modal (#1773)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:26:31 -03:00
Djorkaeff Alexandre acf788ef8c
[FIX] Reset password error message (#1772)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:25:38 -03:00
Hibikine Kage ca73bd1a5f
[i18n] Added Japanese translation (#1781)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:24:10 -03:00
Djorkaeff Alexandre fac0958b8b
[FIX] Stop video when modal is closed (#1787)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 13:18:45 -03:00
Diego Mello 39d9a00933
[IMPROVEMENT] Markdown perf (#1796) 2020-02-28 13:18:03 -03:00
Djorkaeff Alexandre 64002ba149
[IMPROVEMENT] Open browser rather than webview on Create Workspace (#1788)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 11:13:36 -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
Djorkaeff Alexandre 9e4cef5742
[FIX] Use RealName when necessary (#1758)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-21 13:13:05 -03:00
Djorkaeff Alexandre aeb5ec7c6e
[FIX] Accept all media types using * (#1770)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-21 13:02:12 -03:00
Djorkaeff Alexandre 5c974990ba
[FIX] Join Room (#1769)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-21 12:59:13 -03:00
Djorkaeff Alexandre 9220f9e9e4
[FIX] Redirect user to SetUsernameView (#1728)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-21 12:53:07 -03:00
phriedrich c36a0363fc
[i18n] Missing de keys (#1765)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 18:03:01 -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
Djorkaeff Alexandre 7a4dfef533
[NEW] Hide system messages (#1755)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 17:43:56 -03:00
Prateek Jain bfc4e8d127
[IMPROVEMENT] Make links clickable on Room Info (#1730)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 17:23:09 -03:00
Djorkaeff Alexandre 5f8108d8ff
[IMPROVEMENT] Honor Register/Login settings (#1727)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 17:08:20 -03:00
Prateek Jain 2ed8abb223
[IMPROVEMENT] Room announcements (#1726)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 16:44:33 -03:00
Tanmoy Bhowmik d271e56b2b
[IMPROVEMENT] Honor profile fields edit settings (#1687)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-20 15:26:42 -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 06cca9c615
[NEW] Default browser (#1752)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-19 17:52:05 -03:00
Djorkaeff Alexandre 78aef7320e
[FIX] UIKit submit when connection lost (#1748) 2020-02-18 12:56:02 -03:00
Djorkaeff Alexandre aaca4ad268
[NEW] Jitsi JWT added to URL (#1746) 2020-02-18 11:06:14 -03:00
Djorkaeff Alexandre 270ec79450
[IMPROVEMENT] Alert verify email when enabled (#1725) 2020-02-17 16:24:27 -03:00
Diego Mello 6a40d4cefb
[CHORE] Memory leaks investigation (#1675) 2020-02-17 16:06:18 -03:00
Michele Pellegrini 82fd91d2f4
[i18n] Add Italian (#1736) 2020-02-17 13:59:31 -03:00
phriedrich 053185e0d4
[i18n] Missing key on German (#1747)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-17 13:43:44 -03:00
Djorkaeff Alexandre 777cb28a6f
[FIX] UIKit Modal: Weird behavior on Android Tablet (#1742) 2020-02-17 13:42:34 -03:00
phriedrich 85dfe1b970
[FIX] Missing i18n on MessagesView title (#1733) 2020-02-17 13:17:56 -03:00
phriedrich 6a45d1daa2
[i18n] Missing German keys (#1735) 2020-02-17 13:08:45 -03:00
Diego Mello a341f0d696
[FIX] Catch room unsubscribe error (#1739) 2020-02-17 13:07:09 -03:00
Diego Mello a580d3a867
[FIX] Add missing calls to user info (#1741) 2020-02-17 13:06:46 -03:00
Diego Mello a200e9707e
[FIX] Prevent reaction map error (#1743) 2020-02-17 13:06:30 -03:00
Diego Mello 677b28818d
[FIX] Prevent toast ref error (#1744) 2020-02-17 13:06:08 -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
Sarthak Pranesh 91518a1bc4
[IMPROVEMENT] Hold URL to copy (#1684) 2020-02-14 10:39:42 -03:00
Diego Mello 4a63cb01e2
[FIX] Delete slash commands (#1723) 2020-02-14 10:24:35 -03:00
Prateek Jain f1bf2bb26f
[NEW] Direct message from user info (#1516) 2020-02-13 21:25:42 -03:00
Diego Mello 400d33250d
[REGRESSION] Remove @ and # from mention (#1721) 2020-02-13 21:22:53 -03:00
Djorkaeff Alexandre 88c0ba6aff
[FIX] Messages Overlapping (Android) and MessageBox Scroll (iOS) (#1720) 2020-02-13 17:44:57 -03:00
Diego Mello 58e5781ed2
[FIX] Spotlight (#1719) 2020-02-13 16:24:39 -03:00
Djorkaeff Alexandre 3a87872415
[FIX] Small fixes on UIKit (#1709) 2020-02-12 14:21:11 -03:00
Djorkaeff Alexandre 1d79746eff
[IMPROVEMENT] Reset app when language is changed (#1702) 2020-02-11 17:28:40 -03:00
Djorkaeff Alexandre 42a53b4c9d
[NEW] Pull to refresh RoomsList (#1701) 2020-02-11 17:13:44 -03:00
Djorkaeff Alexandre ebe36cdc00
[FIX] Unhandled action on UIKit (#1703) 2020-02-11 13:00:58 -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
Iván Álvarez dc0cabf1d5
[I18N] Add es-ES language (#1495) 2020-02-10 17:05:58 -03:00
Youssef Muhamad 28b5821dae
[NEW] Confirm logout/clear cache (#1688) 2020-02-10 11:53:42 -03:00
Djorkaeff Alexandre b90cf9e486
[NEW] Omnichannel Beta (#1674) 2020-02-07 10:24:16 -03:00
Daanchaam ba37bb1997
[i18n] Added Dutch translation (#1676) 2020-02-07 10:04:46 -03:00
phriedrich 93b1bfca57
[i18n] German translations missing (#1670) 2020-02-07 09:59:52 -03:00
Diego Mello c63645360b
[REGRESSION] Read messages (#1666) 2020-02-05 14:31:36 -03:00
phriedrich ef0f632242
[i18n] DE translations for new invite function and some minor fixes (#1631) 2020-02-05 13:43:09 -03:00
Diego Mello 75c7f76c1f
[FIX] In some cases, share extension doesn't load images (#1649) 2020-02-05 13:41:40 -03:00
Diego Mello 98f12bc058
[REGRESSION] Use HTTPS links for sharing and markets protocol for review (#1663) 2020-02-05 13:41:25 -03:00
Diego Mello 982b1d39e9
[FIX] Disallow empty sharing (#1664) 2020-02-05 13:40:44 -03:00
Diego Mello 38c7d8a874
[IMPROVEMENT] Memoize and batch subscriptions updates (#1642) 2020-02-05 12:22:29 -03:00
Diego Mello 155df774bc
[NEW] Clear cache (#1660) 2020-02-05 12:12:40 -03:00
Hiroki Ishiura 8814fc539d
[FIX] Server with subdirs (#1646) 2020-02-05 11:01:01 -03:00
Djorkaeff Alexandre 97cc18313d
[FIX] Unsubscribe from room (#1655) 2020-02-05 10:34:53 -03:00
Djorkaeff Alexandre 06085ebffb
[NEW] Pull to refresh RoomView (#1657) 2020-02-05 10:27:06 -03:00
Djorkaeff Alexandre 7dffa14b77
[NEW] Request review (#1627) 2020-02-03 15:28:18 -03:00
Diego Mello 64ca30f84c
[FIX] Change force logout rule (#1640) 2020-01-30 11:20:58 -03:00
Diego Mello d2df4c6de5
[NEW] Wordpress auth (#1633) 2020-01-29 09:30:59 -03:00
Prateek Jain 514e73c711 [FIX] Show attachment on ThreadMessagesView (#1493) 2020-01-28 10:41:06 -03:00
Bernard Seow 71bcef1510 [FIX] Profile fields automatically reset (#1502) 2020-01-28 10:40:22 -03:00
devyaniChoubey f5188a8d12 [FIX] Not allow to send messages to archived room (#1623) 2020-01-28 10:39:42 -03:00
phriedrich 5dc7268116 [I18N] Gallery Permissions DE (#1542) 2020-01-28 10:28:56 -03:00
Prateek Jain 8f14cbe25a [FIX] Header title of RoomInfoView (#1553) 2020-01-28 10:28:25 -03:00
devyaniChoubey 8ff6a3a27e [FIX] Disable reset button if form didn't changed (#1569)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-01-28 10:26:46 -03:00
devyaniChoubey 3a9ba9c681 [FIX] "Following thread" and "Unfollowed Thread" is hardcoded and not translated (#1625) 2020-01-28 10:25:28 -03:00
phriedrich 47cedc3075 [FIX] Set the http-agent to the form that Rocket.Chat requires for logging (#1482)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-01-28 10:24:29 -03:00
Diego Mello 0673081465
[NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
Diego Mello ba27c580f4
[FIX] Make SAML to work on Rocket.Chat < 2.3.0 (#1629) 2020-01-28 10:21:50 -03:00
Djorkaeff Alexandre 862ffa13c6 [FIX] Channels doesn't load (#1586)
* [FIX] Channels doesn't load

* [FIX] Update roomsUpdatedAt when subscriptions.length is 0

* [FIX] Remove unnecessary changes

* [FIX] Improve the code

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-01-28 10:19:17 -03:00
Diego Mello 06be061e72
[FIX] Add username block condition to prevent error (#1585) 2020-01-16 13:05:24 -03:00
Diego Mello 2e3240469d
[REGRESSION] CAS (#1570) 2020-01-13 09:23:14 -03:00
Diego Mello 32bba0fc53
[FIX] Error when normalizing empty messages (#1532) 2020-01-08 09:26:35 -03:00
Diego Mello b4e15753aa
[FIX] Insert messages with blank users (#1529) 2020-01-07 17:00:46 -03:00
Djorkaeff Alexandre 62db1ec950 [CHORE] Update to new server response (#1509) 2020-01-07 15:54:02 -03:00
Diego Mello f681a3e33f
[FIX] Make SAML wait for idp token instead of creating it on client (#1527) 2020-01-07 14:44:34 -03:00
Prateek Jain 9caf3bb016 [FIX] Go to direct message from members list (#1519) 2020-01-07 14:31:37 -03:00
Diego Mello 16652241a8
[FIX] Draft messages not working with themed Messagebox (#1525) 2020-01-07 10:58:47 -03:00
Djorkaeff Alexandre 66d21408b6 [NEW] Image Viewer (#1479) 2019-12-18 18:13:11 -03:00
Djorkaeff Alexandre 3f02552785 [FIX] Prevent multiple tap on send (Share Extension) (#1481) 2019-12-18 16:31:41 -03:00
Diego Mello 7307148b3a
[FIX] Incorrect background color login on iPad (#1480) 2019-12-18 09:50:11 -03:00
Djorkaeff Alexandre 5f0389c7de [NEW] Reply notification (#1448) 2019-12-17 13:27:13 -03:00
Prateek Jain 9084f22ab1 [IMPROVEMENT] Tap app and server version to copy to clipboard (#1425) 2019-12-17 11:12:55 -03:00
Guilherme Siqueira f1fcdf7379 [FIX] Crash while displaying the attached image with http on file name (#1401) 2019-12-17 11:11:24 -03:00
phriedrich 1c89501938 [I18N] Missing German translations (#1465)
* Missing German translation

* adding a missing space behind colon

* added a missing space after colon

* and another attempt to finally fix this – got confused by all the branches

* some smaller fixes for the translation

* better wording

* fixed another typo
2019-12-17 11:10:21 -03:00
Diego Mello cf98d794fd
[FIX] Few fixes on themes (#1477) 2019-12-17 11:08:06 -03:00
Diego Mello 7b18bf68d7
[FIX] Missing messages after reconnect (#1470) 2019-12-13 13:23:20 -03:00
Diego Mello a3822d4941
[FIX] Messages being sent but showing as temp status (#1469) 2019-12-13 10:35:12 -03:00
Diego Mello b93f689060
[FIX] Automatic theme repeating (#1457) 2019-12-11 16:30:32 -03:00
Diego Mello 7df6afdcd3
[FIX] Emoji parser not working on Hermes (#1445) 2019-12-11 16:00:38 -03:00
Diego Mello 0e87e1f6f4
[FIX] Init local settings on notification tap (#1438) 2019-12-04 13:50:22 -03:00
Diego Mello cd37a9b4ec
[FIX] Share extension doesn't reconnect to previous selected server on Android (#1429) 2019-12-04 13:41:37 -03:00
Diego Mello 7b51df377d
[NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
Diego Mello 224ff5fe44
[FIX] Rooms grouping not working properly (#1435) 2019-12-03 09:32:02 -03:00
Diego Mello 3d82cce004
[FIX] BackHandler remove random failing on development (#1423) 2019-11-27 17:53:46 -03:00
Diego Mello 4bb0bfa7eb
[IMPROVEMENT] Markdown performance when identifying emoji only content (#1422) 2019-11-27 17:53:14 -03:00
Diego Mello 02c6a674fe
[IMPROVEMENT] Authentication via deep linking (#1418) 2019-11-27 17:52:49 -03:00
Djorkaeff Alexandre a0dc2bad4a [NEW] Tablet support (#1300) 2019-11-25 17:01:17 -03:00
Diego Mello 4ace446334
[FIX] Messages stop loading (#1410) 2019-11-21 16:10:55 -03:00
Diego Mello e5791215a4
[IMPROVEMENT] Keyboard and content type on login (#1403) 2019-11-19 16:58:39 -03:00
Diego Mello 2f1708b0c3
[FIX] Prevent server with whitespace (#1402) 2019-11-19 16:58:24 -03:00
Diego Mello 89209a954a
[FIX] In-app notification showing wrong content on channels (#1400) 2019-11-19 14:05:08 -03:00
Diego Mello 29302ccd08
[FIX] Delete messages (#1399) 2019-11-19 12:59:14 -03:00
Diego Mello e17291960d
[FIX] CAS building wrong URL (#1362) 2019-11-18 19:47:05 -03:00
Pitstopper 3f614bc35e [I18N] Update ru.js (#1384) 2019-11-18 19:16:10 -03:00
Djorkaeff Alexandre 2aaa27d49f [FIX] Crash when open thread (#1395) 2019-11-18 19:09:54 -03:00
Diego Mello cfd63a6480
Update patch and minor deps (#1386) 2019-11-18 14:52:08 -03:00
Djorkaeff Alexandre 5ff07a65fe [FIX] Server Version (#1392) 2019-11-18 14:50:00 -03:00
Diego Mello 6f95bb0d17
[FIX] Batch server deletion on logout (#1382) 2019-11-13 16:53:57 -03:00
Diego Mello 447b48360f
[FIX] ProfileView input navigation error when custom fields aren't set (#1383) 2019-11-13 16:53:20 -03:00
Djorkaeff Alexandre 1b2833107f [IMPROVEMENT] Error messages on connect (#1379) 2019-11-13 16:52:00 -03:00
Prateek Jain edf73124bb [FIX] Clicking user avatar in thread previews crashes app (#1363) 2019-11-13 16:04:49 -03:00
Diego Mello 11e1778f77
[FIX] Crowd login (#1381) 2019-11-13 13:02:36 -03:00
Diego Mello 0b68e98c2b
[FIX] Load messages issues (#1373) 2019-11-07 16:53:39 -03:00
Diego Mello 5e4ce8feac
[FIX] Parse image URL only if it's not empty (#1372) 2019-11-07 11:59:17 -03:00
Djorkaeff Alexandre 38523509e0 [FIX] Parse Urls (#1371) 2019-11-07 09:35:04 -03:00
Diego Mello 682ac6b4a5
[FIX] Paste (#1350) 2019-11-04 12:19:27 -03:00
Diego Mello ae949e6d68
[REGRESSION] Decrease list view memory size (#1361) 2019-11-01 14:41:32 -03:00
Diego Mello ffeac38034
[FIX] URL preview (#1360) 2019-11-01 14:34:35 -03:00
Diego Mello 93356341b9
[UPDATE DEPS] Update RN to 0.61.3 (#1345) 2019-10-31 13:21:59 -03:00
Diego Mello 2b82ec4ad6
[IMPROVEMENT] Save last message as message when subscription is updated (#1344) 2019-10-30 15:31:26 -03:00
Diego Mello d03699622a
[FIX] Remove setState from notifications view causing watermelon object to be updated outside an action (#1342) 2019-10-30 12:44:33 -03:00
Diego Mello 0a8404d723
[REGRESSION] Use LayoutAnimation instead of Transition API (#1338) 2019-10-30 12:43:57 -03:00
Diego Mello fcb420a773
[FIX] Remove some unnecessary re-renders on Messagebox (#1341) 2019-10-30 11:14:41 -03:00
Diego Mello 85cea01030
[FIX] Avatars not loading on share extension when Accounts_AvatarBlockUnauthenticatedAccess is enabled (#1339) 2019-10-29 15:14:41 -03:00
Diego Mello 30f1921fe9
[FIX] Unnecessary rerender on RoomItem when status is undefined (#1336) 2019-10-29 15:13:58 -03:00
Prateek Jain d15a5612db [CHORE] Refactor RoomItem touchable (#1331) 2019-10-29 10:53:58 -03:00
Calebe Rios c304904380 [FIX] Pass isFocused as a function to Messagebox (#1309) 2019-10-28 17:51:46 -03:00
Calebe Rios 20a73907ff [IMPROVEMENT] Respect "Hide counter" preference (#1306) 2019-10-28 17:04:44 -03:00
Djorkaeff Alexandre 8bffe1f28c [FIX] Invalid server version (#1319) 2019-10-28 10:37:12 -03:00
Lucas Siqueira d52a7e00cc [FIX] Server dropdown not closing after changing stack (#1299) 2019-10-28 09:46:50 -03:00
Djorkaeff Alexandre 5d96cb2d02 [FIX] Server with https:\\ instead of https:// (#1320) 2019-10-23 16:28:24 -03:00
Djorkaeff Alexandre 2867f845df fix server with subpath (#1322) 2019-10-23 16:26:57 -03:00
Djorkaeff Alexandre 6df7d7b3c3 [FIX] Set User-Agent (#1318)
* Set User-Agent Fetch & Websocket & XHR

* Set User-Agent

* Custom User Agent on fetch/websocket

* Fix names

* Use DeviceInfo
2019-10-18 13:20:01 -03:00
Diego Mello 4ac98a15c7
[FIX] End Jitsi call on unmount (#1291) 2019-10-09 11:58:27 -03:00
Diego Mello 145e5c6b55
[FIX] Watermelon batches (#1277) 2019-10-08 09:36:15 -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
Diego Mello b795a2fd59
[FIX] Audio player track and thumb not rendering on Android (#1273) 2019-10-04 10:38:35 -03:00
Djorkaeff Alexandre f3972ef49e [FIX] Some issues on preview message (#1271) 2019-10-04 10:28:36 -03:00
Djorkaeff Alexandre 6fd722a0d8 [FIX] Select user from native credentials (#1266) 2019-10-02 09:55:25 -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
Djorkaeff Alexandre 1984a4e031 [FIX] Channel avatars not showing after application unloads (#1264) 2019-10-01 18:02:39 -03:00
Djorkaeff Alexandre 58190e5b24 [FIX] Reaction press (#1258) 2019-10-01 09:54:59 -03:00
Diego Mello b9485ad3f8
[FIX] Room subscription issues (#1255) 2019-09-27 17:29:25 -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
Djorkaeff Alexandre 22cadb1041 [FIX] Run credentials migration only once (#1245) 2019-09-27 15:52:51 -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 22899f316c [FIX] Avatar shown when useRealName is activated (#1162)
* Fix avatar when use real name

* Wrong indentation
2019-09-26 15:35:33 -03:00
Diego Mello f11723059f
[REGRESSION] Markdown text (#1242) 2019-09-26 14:17:04 -03:00
Djorkaeff Alexandre ca351db73e [FIX] Delete message on thread (#1214) 2019-09-26 14:12:27 -03:00
Diego Mello 6889241b45
[FIX] Remove animation from RoomsListView.willFocus (#1239) 2019-09-26 13:54:39 -03:00
Diego Mello a1297d0e6c
[FIX] Update last open on message stream received (#1240) 2019-09-26 13:54:24 -03:00
Diego Mello dc08dec572
[FIX] Change messagebox icon immediate on change text (#1241) 2019-09-26 13:53:50 -03:00
Diego Mello 4388b2acb1
[FIX] Try/catch JSON.parse XHR response (#1238) 2019-09-26 13:53:04 -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 58389dfdca [FIX] Regex on run slash command (#1223) 2019-09-25 19:14:20 -03:00
Djorkaeff Alexandre 0ff47f477a [CHORE] Update react-native-jitsi-meet (#1235) 2019-09-25 19:13:39 -03:00
Diego Mello c9d016376c
[FIX] Dispatch roomsRequest on app foreground event even if not connected (#1234) 2019-09-25 18:32:30 -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
Diego Mello 915d19fbe8
[FIX] Cancel upload and check failed upload (#1232) 2019-09-25 18:31:53 -03:00