Commit Graph

537 Commits

Author SHA1 Message Date
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
Prateek Jain bbc8fe5398 [FIX] Close SortDropdown on sort select (#1230) 2019-09-25 17:43:17 -03:00
vitorandos 94346634ae [CHORE] Use React Fragment shorthand (#1212) 2019-09-24 17:26:56 -03:00
Diego Mello 319ca7f044
[FIX] Unify upload check (#1229) 2019-09-24 17:16:59 -03:00
Djorkaeff Alexandre ae7a9cba60 [REGRESSION] Share this app (#1215) 2019-09-24 17:15:13 -03:00
Djorkaeff Alexandre 31d03ff5e5 [FIX] Show admin panel button logic (#1220) 2019-09-24 17:10:50 -03:00
Djorkaeff Alexandre f29b9aaa75 [FIX] Unnecessary rooms list render on focus (#1226) 2019-09-24 15:19:33 -03:00
Djorkaeff Alexandre 69839d59cd [CHORE] Revert react-navigation-drawer (#1227) 2019-09-24 14:37:13 -03:00
Diego Mello 81198b4c4f
[IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation (#1206)
* [IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation

* Don't run on Android

* Refactor

* Remove unnecessary code
2019-09-19 10:32:24 -03:00
Djorkaeff Alexandre 99aea22579 [NEW] Jitsi integration (#1196)
* Stash

* Rooms list listing :)

* Animated set state

* Search working

* Fix load rooms on login

* stash db class

* set active db with path

* Remove db on logout

* stash

* Created updateMessages

* Inserting/updating threads

* Persisting thread messages

* Removed unused list

* Loading messages from watermelon

* Debounce updates and rerender message

* optional fields

* Fix realm conflict issues

* Fix some render issues

* stash

* List mount

* stash

* fix message id

* Fix tmsg

* - Save subscription.rid as id on watermelon and _id as _id
- Send room as param to room view

* Throttle room updates

* stash

* comment removeClippedSubviews

* Fetch thread name

* try/catch updateMessages

* Show loading while RoomView.init is still running

* stash

* Fix updateMessages

* Threads

* Delete message

* Permalink

* Pin

* Star

* Report

* MessageActions refactor

* Edit message

* Reply message

* Add reaction

* Auto translate

* Fix connection issues

* Mark message as error if something happened on the call

* Error actions

* get custom emoji

* Always run console.log when __DEV__

* Try to create serversDB

* Don't call updateMessages. Execute that entire logic for one message id instead.

* Refactor update messages

* ServersDB User [Realm -> Watermelon]

* Fix models

* Custom emojis

* Custom emojis on emoji picker

* Frequently used emojis

* Fix add reaction on message

* stash

* Fix

* Read messages

* Fix thread

* Fetch thread header

* Follow/unfollow thread

* Fix thread

* Upload file

* Thread tweak

* Realm -> Watermelon [Share Extension]

* Add RoomsUpdatedAt to Servers Table

* Settings

* Settings

* Fix logout

* SendFileMessage ServersDB

* ServersDB on serverDropdown

* Remove serversDB from Realm

* Load thread messages

* Delete message

* Improve getSettings

* Improve

* Remove subscription

* Remove update

* Update room via socket

* Small refactor

* Fix logout and improve migration

* Refactor updateMessages

* Improve migration

* Remove unnecessary update

* Revert remove runAfterInteractions

* Fix serverDropdown

* Fix merge

* Init room actions Watermelon

* Room actions Watermelon

* Remove realm on room members

* Room swipe -> Watermelon

* Fix hideChannel

* Get roles watermelon

* Get permissions watermelon

* Users typing + memory db

* Auto translate watermelon

* New Message View

* Selected Users View

* try/catch

* Get Slash Commands watermelon

* Slash Commands message box

* Custom emojis message box

* Get rooms message box

* Room info view

* Room info edit

* Save active users

* Small refactor

* Message Actions

* hasPermission await

* last hasPermission fix

* Active users on redux

* Add user roles

* Users typing on redux and remove memory db

* Fix saga delay

* Fix few issues

* Fix slash commands preview

* Draft message

* Add muted

* Unread count watermelon

* Remove realm

* Fiz RoomItem rerenders

* Remove realm config

* Rerender status update on RoomItem

* Refactor RoomsListView

* Fix load missed messages

* Fix room update

* Message refactor

* Fixing lint

* Jitsi config (iOS)

* removeClippedSubviews on iOS only

* Added few interaction managers

* Create jitsiBaseURL

* Call buttons

* Fix few rerenders

* Fix RoomItem status typo

* Fix RoomView.SCU

* Fix broadcast

* Fix user status on RoomActionsView

* Jitsi config (Android)

* Fix RocketChat.hasPermission

* Fix database inconsistencies

* Fix few update issues

* Add rxjs and remove with observables

* Fix tests

* Remove subscriptions

* Fix RoomsListView SCU

* Change database structure and set all schemas to 1

* Fix RoomsListView search

* Call Jitsi method

* Create onlyAudio option (iOS)

* Create onlyAudio option (Android)

* Fixed errors, removed rerenders and added animation

* Fixed a few errors

* Fix lint

* Fix issues caught by LGTM

* fix ios build

* Revert patch

* jitsiTimeout

* Self-builded Android SDK

* Fix load unjoined channel messages

* Log on database path on startup

* Fix join channel

* Remove react-native-realm-path

* Set user status on login.user reducer

* Fix status not rendering on RoomsListView

* Fix few reducers

* Fix users going offline

* Never use "watermelon" term directly. Replaced by "database"

* Fix jitsiTimeout

* Fix custom emoji

* Fix duplicated call messsage

* Creating room from app must update roomUpdatedAt

* Log subscribeRoom start

* Fix room subscribe right after creating a DM

* Fix jest

* Move self-builded sdk to node_modules

* Refactor is read only on messages actions

* Fix typo

* Fix typo

* Review

* Fix schema

* Fix muted & freq emoji & unpin & unstar

* Remove throttleTime to room info & fix reset on edit room

* Fix openServerDropdown spec & Fix unarchive

* Fix MessageAction

* Refactor RoomInfoEditView

* Remove unnecessary condition

* Remove unnecessary condition

* Remove unnecessary condition

* Remove get database

* Rename Command.js to SlashCommand.js

* Create sanitizer util

* Fix indentation

* Create subscription.t index

* Refactor queries on RoomsListView

* Create subscription.name index

* Fix getPermissions

* Fix indentation

* Add missing await

* Fix rocketchat.hasPermission

* Unnecessary change

* Star, pin e delete message refactored

* Refactor customEmojis reducer

* Remove code

* Remove logs

* Remove throttle

* Call this.init on foreground focus on RoomView

* Bump servers schema migration

* Always mark message as sent after a success

* Fetch only messages needed on updateMessages

* Just leave a comment for now

* Fetch only subscriptions returned by fetch

* Fix send message

* Create migration - jitsi_timeout

* Fixes & Update e2e tests

* Add translations pt-br

* Bind callJitsi on RocketChat

* Remove unnecessary mocks

* Remove listeners when call finished

* Use gradlew instead self-builded sdk

* Fix lastmessage call username

* Add react-native-background-timer

* Fix background interval

* Remove unnecessary timeout

* Clear timeout in case there's one active

* Add catch to method call
2019-09-18 14:32:12 -03:00
Diego Mello 2887ff04e7
[CHORE] Update navigation lib (#1201)
* Bump react-navigation

* Bump react-native-screens

* Bump react-navigation-drawer and react-native-gesture-handler

* Update mocks

* Add supportLibVersion
2019-09-17 16:24:47 -03:00
Djorkaeff Alexandre adb8c7b379 [FIX] Delete push token when logout (#1173)
* Fix delete push token

* Update @rocket.chat/sdk
2019-09-17 14:17:55 -03:00