Commit Graph

473 Commits

Author SHA1 Message Date
Daanchaam ba37bb1997
[i18n] Added Dutch translation (#1676) 2020-02-07 10:04:46 -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 982b1d39e9
[FIX] Disallow empty sharing (#1664) 2020-02-05 13:40:44 -03:00
Diego Mello 155df774bc
[NEW] Clear cache (#1660) 2020-02-05 12:12:40 -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 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
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
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
Diego Mello 2e3240469d
[REGRESSION] CAS (#1570) 2020-01-13 09:23:14 -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
Prateek Jain 9084f22ab1 [IMPROVEMENT] Tap app and server version to copy to clipboard (#1425) 2019-12-17 11:12:55 -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 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
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 e17291960d
[FIX] CAS building wrong URL (#1362) 2019-11-18 19:47:05 -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
Diego Mello 447b48360f
[FIX] ProfileView input navigation error when custom fields aren't set (#1383) 2019-11-13 16:53:20 -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 0b68e98c2b
[FIX] Load messages issues (#1373) 2019-11-07 16:53:39 -03:00
Diego Mello ae949e6d68
[REGRESSION] Decrease list view memory size (#1361) 2019-11-01 14:41:32 -03:00
Diego Mello 93356341b9
[UPDATE DEPS] Update RN to 0.61.3 (#1345) 2019-10-31 13:21:59 -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 85cea01030
[FIX] Avatars not loading on share extension when Accounts_AvatarBlockUnauthenticatedAccess is enabled (#1339) 2019-10-29 15:14:41 -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
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
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 121ff45f90
Revert react-native-safe-area-view (#1265) 2019-10-02 09:18:08 -03:00
Diego Mello b9485ad3f8
[FIX] Room subscription issues (#1255) 2019-09-27 17:29:25 -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 6889241b45
[FIX] Remove animation from RoomsListView.willFocus (#1239) 2019-09-26 13:54:39 -03:00
Djorkaeff Alexandre 1c22cc2f9f [CHORE] Update react-native-safe-area-view (#1219) 2019-09-26 13:52:22 -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 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
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
Diego Mello 96eb86927a
[FIX] Intended direct mutation state running before initial state gets initiated (#1197) 2019-09-17 11:43:49 -03:00
Lucas Siqueira 37e7e6ed6f [ANDROID] Remove unread count (#1190) 2019-09-16 18:19:14 -03:00
Filipe Brito ebb60489f0 [FIX] Server URL regex (#1175) 2019-09-16 18:04:20 -03:00
Filipe Brito 2b1dc27181 [FIX] Custom OAuth URL (#1172)
* Fix custom oauth url.

* Removes console.log(...)
2019-09-16 18:00:44 -03:00
Djorkaeff Alexandre 32a681036e [CHORE] Use JoyPixels (#1164)
* react-emojione -> emoji-toolkit

* Change to toUnicode()

* Fix ascii emoji on joypixels

* Revert unnecessary modify

* Fix some emojis

* Fix custom emojis (Android)

* Update Snapshot
2019-09-16 17:50:51 -03:00
Diego Mello 9ba37107c7
[CHORE] Migrate to Watermelon (#1171)
* Install

* Create subscriptions

* Subscription observing and sorting

* Saving last message

* Stash

* Stash

* stash

* Stash

* Rooms list listing :)

* Animated set state

* Search working

* Fix load rooms on login

* stash db class

* set active db with path

* Remove db on logout

* stash

* Created updateMessages

* Inserting/updating threads

* Persisting thread messages

* Removed unused list

* Loading messages from watermelon

* Debounce updates and rerender message

* optional fields

* Fix realm conflict issues

* Fix some render issues

* stash

* List mount

* stash

* fix message id

* Fix tmsg

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

* Throttle room updates

* stash

* comment removeClippedSubviews

* Fetch thread name

* try/catch updateMessages

* Show loading while RoomView.init is still running

* stash

* Fix updateMessages

* Threads

* Delete message

* Permalink

* Pin

* Star

* Report

* MessageActions refactor

* Edit message

* Reply message

* Add reaction

* Auto translate

* Fix connection issues

* Mark message as error if something happened on the call

* Error actions

* get custom emoji

* Always run console.log when __DEV__

* Try to create serversDB

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

* Refactor update messages

* ServersDB User [Realm -> Watermelon]

* Fix models

* Custom emojis

* Custom emojis on emoji picker

* Frequently used emojis

* Fix add reaction on message

* stash

* Fix

* Read messages

* Fix thread

* Fetch thread header

* Follow/unfollow thread

* Fix thread

* Upload file

* Thread tweak

* Realm -> Watermelon [Share Extension]

* Add RoomsUpdatedAt to Servers Table

* Settings

* Settings

* Fix logout

* SendFileMessage ServersDB

* ServersDB on serverDropdown

* Remove serversDB from Realm

* Load thread messages

* Delete message

* Improve getSettings

* Improve

* Remove subscription

* Remove update

* Update room via socket

* Small refactor

* Fix logout and improve migration

* Refactor updateMessages

* Improve migration

* Remove unnecessary update

* Revert remove runAfterInteractions

* Fix serverDropdown

* Fix merge

* Init room actions Watermelon

* Room actions Watermelon

* Remove realm on room members

* Room swipe -> Watermelon

* Fix hideChannel

* Get roles watermelon

* Get permissions watermelon

* Users typing + memory db

* Auto translate watermelon

* New Message View

* Selected Users View

* try/catch

* Get Slash Commands watermelon

* Slash Commands message box

* Custom emojis message box

* Get rooms message box

* Room info view

* Room info edit

* Save active users

* Small refactor

* Message Actions

* hasPermission await

* last hasPermission fix

* Active users on redux

* Add user roles

* Users typing on redux and remove memory db

* Fix saga delay

* Fix few issues

* Fix slash commands preview

* Draft message

* Add muted

* Unread count watermelon

* Remove realm

* Fiz RoomItem rerenders

* Remove realm config

* Rerender status update on RoomItem

* Refactor RoomsListView

* Fix load missed messages

* Fix room update

* Message refactor

* Fixing lint

* removeClippedSubviews on iOS only

* Added few interaction managers

* Fix few rerenders

* Fix RoomItem status typo

* Fix RoomView.SCU

* Fix broadcast

* Fix user status on RoomActionsView

* Fix RocketChat.hasPermission

* Fix database inconsistencies

* Fix few update issues

* Add rxjs and remove with observables

* Fix tests

* Remove subscriptions

* Fix RoomsListView SCU

* Change database structure and set all schemas to 1

* Fix RoomsListView search

* Fixed errors, removed rerenders and added animation

* Fixed a few errors

* Fix lint

* Fix issues caught by LGTM

* fix ios build

* Fix load unjoined channel messages

* Log on database path on startup

* Fix join channel

* Remove react-native-realm-path

* Set user status on login.user reducer

* Fix status not rendering on RoomsListView

* Fix few reducers

* Fix users going offline

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

* Fix custom emoji

* Creating room from app must update roomUpdatedAt

* Log subscribeRoom start

* Fix room subscribe right after creating a DM

* Refactor is read only on messages actions

* Fix typo

* Fix typo

* Review

* Fix schema

* Fix muted & freq emoji & unpin & unstar

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

* Fix openServerDropdown spec & Fix unarchive

* Fix MessageAction

* Refactor RoomInfoEditView

* Remove unnecessary condition

* Remove unnecessary condition

* Remove unnecessary condition

* Remove get database

* Rename Command.js to SlashCommand.js

* Create sanitizer util

* Fix indentation

* Create subscription.t index

* Refactor queries on RoomsListView

* Create subscription.name index

* Fix getPermissions

* Fix indentation

* Add missing await

* Fix rocketchat.hasPermission

* Unnecessary change

* Star, pin e delete message refactored

* Refactor customEmojis reducer

* Remove code

* Remove logs

* Remove throttle

* Call this.init on foreground focus on RoomView

* Bump servers schema migration

* Always mark message as sent after a success

* Fetch only messages needed on updateMessages

* Just leave a comment for now

* Fetch only subscriptions returned by fetch

* Set room param on RoomView header in find room

* Update kotlin

* Fix auto translate constructor

* Fix few setState on constructor

* Fix empty room image blinking while mounting

* Improve fetch/persist execution for custom emojis, permissions and settings

* Query only user tapped on RoomMembersView

* Fix typo on canOpenRoom
2019-09-16 17:26:32 -03:00
Djorkaeff Alexandre 0ea0dc2aad [FIX] Prevent navigation if serverInfo is undefined (#1170)
* Fix navigate when serverInfo is undefined

* Fix logs
2019-09-02 13:59:41 -03:00
Djorkaeff Alexandre 2515295fc6 [NEW] Support client certificates for SSL (two-way authentication) (#1125) 2019-09-02 13:19:05 -03:00
Djorkaeff Alexandre c7791b9a38 [FIX] Fix calls to bugsnag.notify (#1165) 2019-08-30 09:43:23 -03:00
Djorkaeff Alexandre c78732729d [IMPROVEMENT] Markdown refactored (#1151) 2019-08-27 09:25:38 -03:00
IlarionHalushka 664563bd6f [IMPROVEMENT] Use expo video player (#1132) 2019-08-26 13:56:39 -03:00
pranavpandey1998official 86a9d405cc [IMPROVEMENT] Notification Preference (#1105) 2019-08-23 13:24:15 -03:00
IlarionHalushka 59a71ffaef [CHORE] Bugsnag logging setup (#1145)
* initial bugsnag setup

* upload sourcemaps to bugsnag during ios-build job

* fix: spacing in config.yml

* add yarn global add react-native

* add separate step: Upload sourcemaps to Bugsnag

* add brew install watchman

* install react-native-cli, remove install watchman

* upload source maps for android build

* add yarn add global react-native react-native-cli for android-build ci job

* add working_directory to android-build

* install npm i -g react-native react-native-cli

* add Install Node step to android-build job

* export path to node to bash_profile

* add step Install React Native CLI to android build job

* use yarn generate-source-maps in ci; exchange firebase log -> bugsnag log

* implement send(toggle) crash reports button

* move BUGSNAG_API_KEY to config file; remove generated source maps files

* unlink bugsnag

* add ios/Pods files connected to Bugsnag; fix ci android build job

* export firebase analytics also from /utils/log

* use `log(e)` instead of `log(error)`

* API Key changes

* pod install

* Fix iOS build

* Simulate error

* lint

* Add navigation

* Use projectRoot

* Revert project root

* - Don't run on forks
- Upload dSYMs

* Remove error sim

* Remove automatic dSYMs upload

* Remove fastlane-plugin-bugsnag
2019-08-23 10:18:47 -03:00
IlarionHalushka 8309c45c64 [NEW] Unread count on header back button (#1083) 2019-08-22 16:15:30 -03:00
pranavpandey1998official 857d23ee88 [IMPROVEMENT] Tap on avatar/username/channel to show info (#1097)
* added feature to tab on mentions and avtar

* fixed lint

* removed room param from roomActionView

* removed room param from roomActionView

* Update tests
2019-08-22 15:08:07 -03:00
Filipe Brito e351a77a6b [NEW] CAS authentication (#1116) 2019-08-12 15:37:42 -03:00
Diego Mello 1a6011e9d1
[FIX] Remove onboarding insets (#1122) 2019-08-09 14:51:06 -03:00
Filipe Brito 59426f470b [NEW] SAML authentication support (#1108) 2019-08-09 14:28:46 -03:00
Juan Petterson 2d3894ccb2 [IMPROVEMENT] Hide "Forgot password" by server "Accounts_PasswordReset" property (#1117) 2019-08-09 10:11:28 -03:00
IlarionHalushka 6ab5ecdf93 [FEATURE] Share app (#1109) 2019-08-08 15:28:51 -03:00
Tanuj Singh 7b2185d361 [IMPROVEMENT] Use autoFocus rather than timeout + focus (#1071)
* autofocus replaced timout+focus

* removed inputRef

* Unnecessary focus on NewServerView when passing server as props

* Removed unnecessary code
2019-08-07 16:20:16 -03:00
Johannes Buechele 6a3523d6bf [NEW] Custom OAuth (#1093) 2019-08-07 11:36:53 -03:00
Diego Mello ba232547f1
[CHORE] Update to react-native 0.60.4 (#1095)
* Update to 0.59.10

* stash

* stash

* patch RN

* Try to fix openURL

* Fix compile Share Extension

* Minor fixes

* build ios

* tracking view working and added postinstall

* SafeAreaView vertical never

* tracking view patch

* Android build working

* Android notifications working

* Lint and tests

* Fix android build

* Add tools:replace="android:appComponentFactory"

* Android build

* Update vector icons

* Update webview

* Remove jsc

* Update document picker

* Firebase

* jetify on postinstall

* Patch expo-haptics

* CI

* Migrate packages manually

* Disable ci cache

* Revert "Disable ci cache"

This reverts commit 4740d86102.

* CI

* audio

* adapter

* notifications

* Try RN directly

* Fix gradle

* Revert patches

* Restore cache

* update redux and lodash

* eslint-config-airbnb@17.1.1 eslint-plugin-jsx-a11y@6.2.3

* ejson@2.2.0 react-native-webview@6.7.0 semver@6.3.0 snyk@1.210.0

* codecov@3.5.0 eslint-plugin-react@7.14.3 eslint-plugin-react-native@3.7.0 react-dom@16.8.6

* Update react-redux and remove decorators

* Update redux-saga and reactotron libs

* Husky

* Storybook libs

* react-native-webview@6.8.0 markdown-it-flowdock@0.3.8 react-native-unimodules@0.5.3

* Removed regenerator-runtime

* react-native-picker-select

* react-navigation-header-buttons

* Remove comments

* react-native-notifications

* Fix rnn android build
2019-08-07 10:51:34 -03:00
Djorkaeff Alexandre 22f3e8ef4a [FIX] Media share type (#1086) 2019-07-30 13:15:39 -03:00
Djorkaeff Alexandre 8cfdf868ed [FIX] Empty white list enables all media types upload (#1080)
* Create utils to media (canUpload)

* Fix variable name
2019-07-29 15:26:18 -03:00
Djorkaeff Alexandre d80dd0e2ce [FIX] Share Extension issues (#1064) 2019-07-29 13:33:28 -03:00
Djorkaeff Alexandre 805be06c4a [FIX] Moment locales (#1066) 2019-07-23 11:07:18 -03:00
pranavpandey1998official aac6da34af [IMPROVEMENT] Reusable toast (#1065) 2019-07-23 11:02:57 -03:00
Djorkaeff Alexandre 18ef6c5430 [NEW] Share extension (#942) 2019-07-18 14:44:02 -03:00
Djorkaeff Alexandre 13859fa17d [CHORE] Switch to react-native-localize (#1043) 2019-07-16 11:30:29 -03:00
Diego Mello c2497145fc
[FIX] Swipe animations (#1044)
* Comment removeClippedSubviews

* Comment width animation

* Remove redux from RoomItem

* Fix wrong re-render comparison

* Remove listener

* Raise minDeltaX

* memo actions

* Spring with native driver

* Refactor functions

* Fix props issues

* Remove RoomItem.height

* Long swipe

* Refactor animations

* this.rowTranslation -> this.transX

* Moved state to this

* Fix favorite button
2019-07-15 13:54:28 -03:00
Diego Mello b444c425d2
[FIX] Rooms swipes (#1034)
* Regression: on press style feedback

* Action button styles

* Fix animations

* Styles changed

* Update subscription without having to wait for socket

* Calculate width on RoomsListView instead
2019-07-04 13:15:30 -03:00
pranavpandey1998official 47676c2286 [NEW] Room swipe actions: mark as read/unread, hide, fav (#976)
* added unread and fav feature

* changed the layout

* fix jest

* done requested changes

* added requested changes
2019-07-01 11:20:38 -03:00
Diego Mello 3b43cb3fb7
[IMPROVEMENT] Use haptics rather than vibration (#1016)
* Install expo-haptics

* Use expo-haptics rather than RN's Vibration module
2019-06-28 14:07:17 -03:00
Diego Mello b3986b98b5
[NEW] Auto-translate (#1012)
* Update realm

* View original and translate working

* Read AutoTranslate_Enabled setting

* RocketChat.canAutoTranslate()

* AutoTranslateView

* Save language

* Auto-translate switch

* Translate message
2019-06-28 14:02:30 -03:00
pranavpandey1998official 3ca1bdf7d1 [NEW] Custom fields on signup (#1013)
* added custom feilds on registration

* added flag as leftIcon and removed lable

* added try and catch

* typo
2019-06-28 09:40:23 -03:00
Djorkaeff Alexandre 255ea84599 [IMPROVEMENT] Share credentials with Rocket.Chat.iOS (#982)
*  Create user table

*  Introduce user table

* 🔥 Remove unused table

*  Add userdefaults to storage data

* 💚 Fix android build

*  Get credentials from iOS native client

* 🔥 Remove unused code

*  Revert sign xcode

* 🐛 Fix first login-logout

* 🎨 Use constants to UserDefaults Keys

* 🐛 Fix clear server-user-info on logout

* 🐛 Fix filter null value

* 🚑 Remove user object in logout

*  Fix get servers from native-client

* 🚑 Fix error on change server
2019-06-26 16:50:03 -03:00
IlarionHalushka dad18219dd [BUG] Profile screen gets frozen when submitting invalid current password (#974)
* fix 968: [BUG] Profile screen gets frozen when submitting invalid current password

* revert changes to yarn.lock

* remove unnecessary line

* revert changes to yarn.lock

* revert changes to yarn.lock
2019-06-21 13:38:26 -03:00
Diego Mello e52739e305
[FIX] Join discussion (#1000) 2019-06-20 16:02:50 -03:00
Weijia 1383b9b735 [IMPROVEMENT] Activity indicator on web view OAuth (#980)
* add activity indicator when web view is loading

* fix eslint error

* remove one extra newline
2019-06-20 16:02:16 -03:00
IlarionHalushka 5c8652ec16 [FIX] Broadcast channel is not readonly (#996) 2019-06-20 15:33:15 -03:00
Diego Mello 319630949e
[FIX] Cancel ongoing tasks on server change (#984)
* Fork selectServer and loginSuccess

* Fork tasks on login

* Refactor

* Remove room sub and requests on logout

* Comment room header disabled rule

* Check server on rooms stream

* Uncomment disabled props

* Fix updating state

* Comment last fetch user presence date
2019-06-17 10:57:07 -03:00
pranavpandey1998official c14714f16f [NEW] Settings view (#900)
* new settings view

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* fix eslint

* eslint fixed all bugs and setup on my device

* move version from sidebar to settingsView

* add server Version not hard coded

* goto root stack after change language

* support RTL

* fix the ui of last section

* fixed bugs done requested changes

* added actions for contact us and license

* done requested changes

* removed verticle scroll indicator

* removed default export of device info

* fixed separator styling

* refactor Items in settings view

* changed language view

* change activeOpacity

* done requested changes

* fixed lint

* changed layout

* added test

* fix bug

* fix bug

* added e2e tests

* undone unnessary changes

* undone unnessary changes

* removed firebase

* Comment slash e2e tests

* Refactor Settings

* Refactor LanguageView

* Separator

* Unified styles

* fix indentation
2019-06-11 11:01:40 -03:00
Diego Mello d68eb01b82
[NEW] Read receipt (#975)
* switching to ubountu

* added read Recipt functionality to the app
fix: #542

* placed the check icon on the end of timestamp

* removed linting errors

* updating snapshots

* done requested changes

* removed width scrollView

* done required changes

* fixed linting errors

* added migrations

* resolved conflicts and done requested changes

* undone uneesasary changes

* adding migrations

* done requested changes

* Add stories and fix some issues
2019-06-10 15:36:31 -03:00
Diego Mello b7e6d3615f
[NEW] Directory and Federation (#967)
* Initial

* Search working

* Refactor layout

* Layout and search working

* Navigate

* Remove inline styles and fix i18n

* Federation setting

* Missing i18n

* Fix android style

* Refactor
2019-06-10 13:22:35 -03:00
Weijia 4382eca8b6 [FIX] Draft message do not go away when whole message is removed #965 2019-06-08 08:31:29 -03:00
Diego Mello 3cd84a10f6
[FIX] Change server issue (#960)
* [FIX] Lazy fetch server info

* [FIX] Multiple servers issues
2019-06-05 16:11:29 -03:00
IlarionHalushka 109a247c8d [FIX] Profile update (#955) 2019-06-05 13:29:07 -03:00
Diego Mello 27de8c1f84
[REGRESSION] Get rooms on app restore (#958) 2019-06-05 10:39:12 -03:00
Diego Mello b28d79e644
[FIX] Thread crash if room is undefined (#956) 2019-06-03 09:53:06 -03:00
lolimay a0d0d61458 [FIX] Gitlab url hardcoded (#921)
* [FIX] Gitlab url hardcoded problem
* Closes https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/251

* Fix API_Gitlab_URL type
2019-05-30 15:56:18 -03:00
Djorkaeff Alexandre 29286e98a8 [IMPROVEMENT] Share channel (#908)
* Generate and share permalink to rooms

* Create constant to share type

* Fix unnecessary await

* Remove unnecessary test

* Revert delete e2e test
2019-05-29 18:19:12 -03:00
Diego Mello a148e6d15d
[FIX] Analytics error events (#930) 2019-05-28 13:18:46 -03:00
Diego Mello 9e4a4d2454
[CHORE] Use react-native-firebase (#928)
We need to migrate from deprecated react-native-fabric to react-native-firebase.
This PR enables following Firebase features:
* Analytics
* Crashlytics
* Performance

It also tracks screen view without the necessity of HOC.

Future work:
I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc.
2019-05-28 10:03:08 -03:00
Diego Mello 896240457f
[IMPROVEMENT] Add toggle markdown to settings (#907)
* Add toggle markdown to settings

* Remove unused translation
2019-05-21 09:12:15 -03:00
Diego Mello 60418b75a4
Message render performance (#880)
- Refactored Message component to use React.memo and re-render only what's necessary
- Added a test mode to toggle markdown parse by long press drawer (it'll be removed in the next release)
2019-05-20 17:43:50 -03:00
pranavpandey1998official 31cf0e5f2f [NEW] Admin (#800)
* added admin panel

* reverting some changes

* fixed problem with authToken

* changed tab to space

* done requested changes

* fixed lint

* added react-native-webview

* Install webview pod
2019-05-18 16:31:33 -03:00
Diego Mello 28628b4dba
Switch toast lib (#898)
* removed toast from ios

* changed showToast to showAlert

* removed from android

* fix lint

* conflict resolved

* fixed lint

* Fix toast position

* Change toast style

* Use followMessage from rest

* Temporary disable some visual toast tests

* Unnecessary lib version change
2019-05-15 16:33:30 -03:00
Diego Mello b03f69c6f3
Remove "updating" indicator inside the room (#895) 2019-05-14 17:06:17 -03:00
IlarionHalushka 3733f776fc issue #799 merger message views (#876)
On Room Actions, we have Files, Mentions, Starred and Pinned.
They have similar APIs and logic.
All of those could be merged into one generic view (MessagesView).
Maybe even Search could be in this merge.

Note: They're similar, but have own rules (unstar, unpin, etc).

This change may reduce 1MB to our release bundle size, since we're going to remove a lot of boilerplate.
2019-05-10 14:09:07 -03:00
Diego Mello 7e513ee73a
[FIX] Remove listeners on RoomView header unmount (#874) 2019-05-04 13:46:09 -03:00
Diego Mello 2492371b50
[FIX] Check if room is mounted before setting state (#864)
* Tweaks on sequential threads messages

* Update tests

* Fix quote

* Prevent from deleting thread start message when positioned inside the thread

* Remove thread listener from RightButtons

* Fix error on thread start parse

* Stop parsing threads on render

* Check replied thread only if necessary

* Fix messages don't displaying

* Fix threads e2e

* RoomsListView.updateState slice

* Stop fetching hidden messages on threads

* Check if RoomView is mounted before rendering

* Refactor navigation events on RoomsListView

* Fix lint

* Fix listener
2019-05-03 11:54:57 -03:00
Diego Mello a243b1ccd7
Tweaks on sequential threads messages layout (#858)
* Tweaks on sequential threads messages

* Update tests

* Fix quote

* Prevent from deleting thread start message when positioned inside the thread

* Remove thread listener from RightButtons

* Fix error on thread start parse

* Stop parsing threads on render

* Check replied thread only if necessary

* Fix messages don't displaying

* Fix threads e2e

* RoomsListView.updateState slice

* Stop fetching hidden messages on threads

* Set initialNumToRender to 5
2019-05-03 10:33:38 -03:00
Diego Mello 61fcadc879
[FIX] Toggle/follow thread icon (#867) 2019-05-03 10:30:34 -03:00
pranavpandey1998official 661e9eac01 Remove duplicated getRoleDescription function (#866) 2019-05-02 10:55:39 -03:00
Diego Mello 94e32368dd
Remove connection badge (#862)
* Connecting indicator on RoomsListView header

* Connecting indicator on RoomView header

* Remove ConnectionBadge

* Show updating on RoomView load messages
2019-04-30 16:31:51 -03:00
Diego Mello 44f3b7f1a9
Active users improvements (#855) 2019-04-29 13:03:52 -03:00
Diego Mello 75e4b86a95
Fetch roles from rest api (#853)
* Fetch roles from rest api

* Fix RoomInfoView role get

* Remove roles from redux
2019-04-26 18:15:25 -03:00
Diego Mello c15fab7c84
Load legal pages from web (#849) 2019-04-26 17:51:09 -03:00
Diego Mello 2f25b10681
[Regression] Search stopped working on Android after LastMessage refactor (#851) 2019-04-26 09:14:30 -03:00
Diego Mello ee99001010
[FIX] Smaller thread title (#846)
* [FIX] Smaller thread title

* Remove markdown notation from thread title

* On message press debounce

* Align vertical thread title
2019-04-25 14:18:49 -03:00
Diego Mello 5744114d7d
[FIX] Threads (#838)
Closes #826
Closes #827
Closes #828
Closes #829
Closes #830
Closes #831
Closes #832
Closes #833
2019-04-24 15:36:29 -03:00
Diego Mello 0266cc2e01
Room item layout (#835) 2019-04-18 17:57:35 -03:00
Diego Mello fb88d08f88
[FIX] Apply emojify on empty texts (#824) 2019-04-18 09:43:31 -03:00
Diego Mello a891ee14ee
RoomsListView improvements (#819) 2019-04-17 15:57:46 -03:00
Diego Mello 9cf81bbab9
[NEW] Threads (#798) 2019-04-17 14:01:03 -03:00
Diego Sampaio 1d9acdb700 [NEW] Discussions (#696) 2019-04-08 09:35:28 -03:00
Diego Mello 2019ec58ce
[FIX] Add Realm.safeAddListener (#785) 2019-04-04 15:08:40 -03:00
Diego Mello 9e107bfdf6
Room item layout (#771) 2019-03-29 16:36:07 -03:00
Diego Mello fd5fbe47e8
Use FlatList in RoomView (#762) 2019-03-27 17:06:57 -03:00