Commit Graph

590 Commits

Author SHA1 Message Date
Diego Mello 34dbfcde1e
[RELEASE] Merge beta into master ()
* Bump version to 1.16.0 ()

* [IMPROVEMENT] Share credentials with Rocket.Chat.iOS ()

*  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

* [FIX] Don't run UserDefaults credentials on Android ()

* 🐛 Fix native credentials (android)

* Fix migration loop

* [IMPROVEMENT] Hide frequently used emoji tab when empty ()

* [IMPROVEMENT] Bigger emoji in emoji only messages ()

* issue : bigger emoji in emoji only message

* issue-725/add storybook for Message/Emoji

* issue-725: update storybook/Message jest snapshot

* comment storybook import

* allow spaces and line breaks in emoji only message

* merge develop

* revert unnecessary spacing

* [FIX] Empty message if contains only a link ()

* Fix empty message if contains only a link

* 🐛 Fix empty space

* [IMPROVEMENT] Refactor empty space regex on quote ()

* 🎨 Improve regex to empty space on quote

* 🎨 Improve on regex to empty space on quote

* [NEW] Custom fields on signup ()

* added custom feilds on registration

* added flag as leftIcon and removed lable

* added try and catch

* typo

* [CHORE] Renew provisioning profiles ()

* [NEW] Auto-translate ()

* Update realm

* View original and translate working

* Read AutoTranslate_Enabled setting

* RocketChat.canAutoTranslate()

* AutoTranslateView

* Save language

* Auto-translate switch

* Translate message

* [IMPROVEMENT] Use haptics rather than vibration ()

* Install expo-haptics

* Use expo-haptics rather than RN's Vibration module

* [IMPROVEMENT] Use Rest API for file upload ()

* removed rn-fetch-blob and use native XMLHttpRequest instead

* removed unnessary changes

* fix android bug

* fix android bug

* added tmid support

* fix bug

* fixed isssue with cacel model

* fix problems with audio

* done requested changes

* fix bug with android

* [CHORE] [CI] [TESTS] update detox to make ci pass ()

* feat: update detox to 12.11.3 to make CI pass

* ci: comment all jobs but leave e2e-test job

* commit to rerun IC e2e-test job

* ci: uncomment all CI jobs

* [NEW] Room swipe actions: mark as read/unread, hide, fav ()

* added unread and fav feature

* changed the layout

* fix jest

* done requested changes

* added requested changes

* [FIX] Android build ()

* [FIX] Android build

* CircleCI error

* [FIX] iOS share credentials build ()

* [FIX] iOS share credentials build

* Use `hasMigration` as a string

* [CI] Restore cache on CI ()

* feat: add fastlane save\restore cache config; comment not needed jobs;

* install fastlane using 'bundle install'

* install fastlane using 'sudo bundle install'

* uncomment ios build commands

* run set up google services in ios folder

* add working_directory: ios to ios-build steps

* remove 'cd ios' from Fastlane build step

* add save\restore cache for npm modules

* group save_cache steps

* cache fastlane in ios-testflight job

* uncomment previously commented jobs\steps

* fix: add missing colon

* use key for caching: node-modules-{{ checksum ".circleci/config.yml" }}-{{ checksum "yarn.lock" }}

* add names for save\restore steps

* ci: add `default` step with `working_directory: ~/repo` to ios-build job

* return back caching npm: `node-v1-{{ checksum "package.json" }}-{{ arch }}`

* fix: add missing curly braces

* save\restore cache in e2e-test job; remove {{arch}} from cache names

* add names to restore_cache steps in android-build job

* add names to save_cache steps in android-build job

* add names to all save\restore steps; change checksum package.json to yarn.lock

* change `npm` to `NPM` in steps naming

* remove {{ checksum circle ci }} from android-build job and fix naming of steps

* [FIX] Rooms swipes ()

* 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

* [FIX] Decrease bigger emoji size to 30 ()

* [FIX] Append server URL on avatar if necessary ()

* 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

* Bump version to 1.16.1 ()

* [FIX] Set UserDefaults AppGroup on notification tap ()

* [FIX] Auto-translate messages as they arrive

* Fix favorite button

* [FIX] Swipe animations ()

* 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

* [FIX] Auto-translate messages as they arrive ()

* 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] Auto-translate messages as they arrive

* [i18n] Add missing de translations ()

* [CHORE] Switch to react-native-localize ()

* Bump version to 1.17.0 ()

* Load views as needed ()

* [IMPROVEMENT] Change "resend" icon position ()

* [NEW] Video support ()

* [NEW] File upload ()

* [NEW] Share extension ()

* [FIX] Share extension CI build ()

* Change bundleID

* Provisioning

* get provisioning profile

* [IMPROVEMENT] Reusable toast ()

* [FIX] Moment locales ()

* [FIX] Share Extension issues ()

* [FIX] Empty white list enables all media types upload ()

* Merge branch 'master' into develop ()

* [FIX] Empty white list enables all media types upload ()

* Create utils to media (canUpload)

* Fix variable name

* [CHORE] Update README ()

* [FIX] Media share type ()
2019-08-02 10:21:05 -03:00
Diego Mello 2d58a8b983
[RELEASE] Merge beta into master ()
* Bump version to 1.16.0 ()

* [IMPROVEMENT] Share credentials with Rocket.Chat.iOS ()

*  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

* [FIX] Don't run UserDefaults credentials on Android ()

* 🐛 Fix native credentials (android)

* Fix migration loop

* [IMPROVEMENT] Hide frequently used emoji tab when empty ()

* [IMPROVEMENT] Bigger emoji in emoji only messages ()

* issue : bigger emoji in emoji only message

* issue-725/add storybook for Message/Emoji

* issue-725: update storybook/Message jest snapshot

* comment storybook import

* allow spaces and line breaks in emoji only message

* merge develop

* revert unnecessary spacing

* [FIX] Empty message if contains only a link ()

* Fix empty message if contains only a link

* 🐛 Fix empty space

* [IMPROVEMENT] Refactor empty space regex on quote ()

* 🎨 Improve regex to empty space on quote

* 🎨 Improve on regex to empty space on quote

* [NEW] Custom fields on signup ()

* added custom feilds on registration

* added flag as leftIcon and removed lable

* added try and catch

* typo

* [CHORE] Renew provisioning profiles ()

* [NEW] Auto-translate ()

* Update realm

* View original and translate working

* Read AutoTranslate_Enabled setting

* RocketChat.canAutoTranslate()

* AutoTranslateView

* Save language

* Auto-translate switch

* Translate message

* [IMPROVEMENT] Use haptics rather than vibration ()

* Install expo-haptics

* Use expo-haptics rather than RN's Vibration module

* [IMPROVEMENT] Use Rest API for file upload ()

* removed rn-fetch-blob and use native XMLHttpRequest instead

* removed unnessary changes

* fix android bug

* fix android bug

* added tmid support

* fix bug

* fixed isssue with cacel model

* fix problems with audio

* done requested changes

* fix bug with android

* [CHORE] [CI] [TESTS] update detox to make ci pass ()

* feat: update detox to 12.11.3 to make CI pass

* ci: comment all jobs but leave e2e-test job

* commit to rerun IC e2e-test job

* ci: uncomment all CI jobs

* [NEW] Room swipe actions: mark as read/unread, hide, fav ()

* added unread and fav feature

* changed the layout

* fix jest

* done requested changes

* added requested changes

* [FIX] Android build ()

* [FIX] Android build

* CircleCI error

* [FIX] iOS share credentials build ()

* [FIX] iOS share credentials build

* Use `hasMigration` as a string

* [CI] Restore cache on CI ()

* feat: add fastlane save\restore cache config; comment not needed jobs;

* install fastlane using 'bundle install'

* install fastlane using 'sudo bundle install'

* uncomment ios build commands

* run set up google services in ios folder

* add working_directory: ios to ios-build steps

* remove 'cd ios' from Fastlane build step

* add save\restore cache for npm modules

* group save_cache steps

* cache fastlane in ios-testflight job

* uncomment previously commented jobs\steps

* fix: add missing colon

* use key for caching: node-modules-{{ checksum ".circleci/config.yml" }}-{{ checksum "yarn.lock" }}

* add names for save\restore steps

* ci: add `default` step with `working_directory: ~/repo` to ios-build job

* return back caching npm: `node-v1-{{ checksum "package.json" }}-{{ arch }}`

* fix: add missing curly braces

* save\restore cache in e2e-test job; remove {{arch}} from cache names

* add names to restore_cache steps in android-build job

* add names to save_cache steps in android-build job

* add names to all save\restore steps; change checksum package.json to yarn.lock

* change `npm` to `NPM` in steps naming

* remove {{ checksum circle ci }} from android-build job and fix naming of steps

* [FIX] Rooms swipes ()

* 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

* [FIX] Decrease bigger emoji size to 30 ()

* [FIX] Append server URL on avatar if necessary ()

* 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

* Bump version to 1.16.1 ()

* [FIX] Set UserDefaults AppGroup on notification tap ()

* [FIX] Auto-translate messages as they arrive

* Fix favorite button

* [FIX] Swipe animations ()

* 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

* [FIX] Auto-translate messages as they arrive ()

* 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] Auto-translate messages as they arrive

* [i18n] Add missing de translations ()

* [CHORE] Switch to react-native-localize ()

* Bump version to 1.17.0 ()

* Load views as needed ()

* [IMPROVEMENT] Change "resend" icon position ()

* [NEW] Video support ()

* [NEW] File upload ()

* [NEW] Share extension ()

* [FIX] Share extension CI build ()

* Change bundleID

* Provisioning

* get provisioning profile

* [IMPROVEMENT] Reusable toast ()

* [FIX] Moment locales ()

* [FIX] Share Extension issues ()

* [FIX] Empty white list enables all media types upload ()

* Merge branch 'master' into develop ()

* [FIX] Empty white list enables all media types upload ()

* Create utils to media (canUpload)

* Fix variable name

* [CHORE] Update README ()
2019-07-29 17:44:39 -03:00
Diego Mello 8ea6f1647e
[RELEASE] Merge beta into master ()
* Bump version to 1.16.0 ()

* [IMPROVEMENT] Share credentials with Rocket.Chat.iOS ()

*  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

* [FIX] Don't run UserDefaults credentials on Android ()

* 🐛 Fix native credentials (android)

* Fix migration loop

* [IMPROVEMENT] Hide frequently used emoji tab when empty ()

* [IMPROVEMENT] Bigger emoji in emoji only messages ()

* issue : bigger emoji in emoji only message

* issue-725/add storybook for Message/Emoji

* issue-725: update storybook/Message jest snapshot

* comment storybook import

* allow spaces and line breaks in emoji only message

* merge develop

* revert unnecessary spacing

* [FIX] Empty message if contains only a link ()

* Fix empty message if contains only a link

* 🐛 Fix empty space

* [IMPROVEMENT] Refactor empty space regex on quote ()

* 🎨 Improve regex to empty space on quote

* 🎨 Improve on regex to empty space on quote

* [NEW] Custom fields on signup ()

* added custom feilds on registration

* added flag as leftIcon and removed lable

* added try and catch

* typo

* [CHORE] Renew provisioning profiles ()

* [NEW] Auto-translate ()

* Update realm

* View original and translate working

* Read AutoTranslate_Enabled setting

* RocketChat.canAutoTranslate()

* AutoTranslateView

* Save language

* Auto-translate switch

* Translate message

* [IMPROVEMENT] Use haptics rather than vibration ()

* Install expo-haptics

* Use expo-haptics rather than RN's Vibration module

* [IMPROVEMENT] Use Rest API for file upload ()

* removed rn-fetch-blob and use native XMLHttpRequest instead

* removed unnessary changes

* fix android bug

* fix android bug

* added tmid support

* fix bug

* fixed isssue with cacel model

* fix problems with audio

* done requested changes

* fix bug with android

* [CHORE] [CI] [TESTS] update detox to make ci pass ()

* feat: update detox to 12.11.3 to make CI pass

* ci: comment all jobs but leave e2e-test job

* commit to rerun IC e2e-test job

* ci: uncomment all CI jobs

* [NEW] Room swipe actions: mark as read/unread, hide, fav ()

* added unread and fav feature

* changed the layout

* fix jest

* done requested changes

* added requested changes

* [FIX] Android build ()

* [FIX] Android build

* CircleCI error

* [FIX] iOS share credentials build ()

* [FIX] iOS share credentials build

* Use `hasMigration` as a string

* [CI] Restore cache on CI ()

* feat: add fastlane save\restore cache config; comment not needed jobs;

* install fastlane using 'bundle install'

* install fastlane using 'sudo bundle install'

* uncomment ios build commands

* run set up google services in ios folder

* add working_directory: ios to ios-build steps

* remove 'cd ios' from Fastlane build step

* add save\restore cache for npm modules

* group save_cache steps

* cache fastlane in ios-testflight job

* uncomment previously commented jobs\steps

* fix: add missing colon

* use key for caching: node-modules-{{ checksum ".circleci/config.yml" }}-{{ checksum "yarn.lock" }}

* add names for save\restore steps

* ci: add `default` step with `working_directory: ~/repo` to ios-build job

* return back caching npm: `node-v1-{{ checksum "package.json" }}-{{ arch }}`

* fix: add missing curly braces

* save\restore cache in e2e-test job; remove {{arch}} from cache names

* add names to restore_cache steps in android-build job

* add names to save_cache steps in android-build job

* add names to all save\restore steps; change checksum package.json to yarn.lock

* change `npm` to `NPM` in steps naming

* remove {{ checksum circle ci }} from android-build job and fix naming of steps

* [FIX] Rooms swipes ()

* 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

* [FIX] Decrease bigger emoji size to 30 ()

* [FIX] Append server URL on avatar if necessary ()

* 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

* Bump version to 1.16.1 ()

* [FIX] Set UserDefaults AppGroup on notification tap ()

* [FIX] Auto-translate messages as they arrive

* Fix favorite button
2019-07-15 14:24:48 -03:00
diegolmello adaa977c65 Merge branch 'develop' into beta 2019-06-26 09:43:19 -03:00
Diego Mello e2f9241040
[FIX] App hang on "updating" ()
* [FIX] App hang on "updating"

* Fix iOS notification tap
2019-06-26 09:33:56 -03:00
Diego Mello b12c14fb78
[IMPROVEMENT] Use expo-web-browser ()
* Add unimodules

* Working on iOS

* Working on android

* Remove react-native-safari-view

* Remove previous android link lib

* Show webpage title on Android

* Fix iOS build
2019-06-21 13:39:20 -03:00
IlarionHalushka dad18219dd [BUG] Profile screen gets frozen when submitting invalid current password ()
* 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 () 2019-06-20 16:02:50 -03:00
Weijia 1383b9b735 [IMPROVEMENT] Activity indicator on web view OAuth ()
* 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 () 2019-06-20 15:33:15 -03:00
Diego Mello b9c9c3e501
Bump version to 1.15.1 () 2019-06-19 18:49:56 -03:00
Diego Mello 1ba62f16ff
[FIX] Change rooms request's race cancellation condition ()
* [FIX] Add Inactive state to rooms request's race cancellation

* Changed rooms request's cancellation rules
2019-06-18 17:12:33 -03:00
Diego Mello 5f259e552b
[FIX] Android build stopped working after Play Services release () 2019-06-18 09:40:01 -03:00
diegolmello 10042f7cc2 Merge branch 'develop' into beta 2019-06-17 11:39:23 -03:00
Diego Mello 319630949e
[FIX] Cancel ongoing tasks on server change ()
* 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
AnBo83 892cf58ffb [i18n] Add missing strings in de.js ()
* [i18n] Add missing strings in de.js

* Update de.js

* Update de.js

* Update de.js

* Update de.js

* Update de.js

* Update de.js
2019-06-13 08:16:47 -03:00
diegolmello 89ad22cd1d Merge branch 'develop' into beta 2019-06-11 15:23:24 -03:00
pranavpandey1998official c14714f16f [NEW] Settings view ()
* 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
pranavpandey1998official 82afb63327 [NEW] Slash commands ()
* setup database

* added getSlashCommands to loginSucess

* added slash command first prototype

* added preview feture for commands that have preview enabled

* address requested changes

* added preview options for other types of files too

* address changes

* done requested changes

* undone un-nessary changes

* done suggested changes

* fixed lint

* done requested changes

* fixed lint

* fix e2e
2019-06-10 15:36:56 -03:00
Diego Mello d68eb01b82
[NEW] Read receipt ()
* switching to ubountu

* added read Recipt functionality to the app
fix: 

* 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 467a2d4002
[NEW] In-app notification ()
* added Notification badge

* added notification to state

* added condition not see notification of current room

* fixed lint

* fixed some bugs

* fixed some bugs

* removed navigation prop

* fixed navigation bug

* removed unessary changes

* done requested chamges

* made separate notification for ios and android

* merged notification

* Removed unnecessary sub

* Animation

* Layout changes

* Refactor
2019-06-10 13:23:19 -03:00
Diego Mello b7e6d3615f
[NEW] Directory and Federation ()
* 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 2019-06-08 08:31:29 -03:00
Diego Mello 3cd84a10f6
[FIX] Change server issue ()
* [FIX] Lazy fetch server info

* [FIX] Multiple servers issues
2019-06-05 16:11:29 -03:00
IlarionHalushka 109a247c8d [FIX] Profile update () 2019-06-05 13:29:07 -03:00
Diego Mello 56e94adfa7
[CHORE] Use no-JIT JSC () 2019-06-05 11:20:56 -03:00
Diego Mello 27de8c1f84
[REGRESSION] Get rooms on app restore () 2019-06-05 10:39:12 -03:00
Diego Mello 86b79be15e
[FIX] Lazy fetch server info () 2019-06-05 10:38:41 -03:00
Diego Mello 637ea54958
[CHORE] Bump version to 1.15.0 () 2019-06-05 10:36:12 -03:00
diegolmello e642ee6251 Merge branch 'master' into beta 2019-06-05 09:34:48 -03:00
IlarionHalushka f7a5db0559 [CHORE] Make e2e pass on CircleCI ()
* add README.md for running ios detox e2e tests

* uncomment circle ci e2e tests

* update e2e credentials and server url

* update e2e credentials and docs

* comment lastMessage prop on RoomListView->RoomItem (research realm bug)

* add sleep before search in joinpublic room test (research realm bug)

* use detox.launchApp instead of detox.reloadRN, (joinpuclicroom test)

* make e2e job run only on approval; update docs with PR review comments

* cache node_modules on CI jobs: e2e tests, ios build

* fix circle CI caching node_modules

* fix circle CI caching node_modules

* revert changes connected to caching node_modules

* remove unnecessary changes

* revert email value to diego.mello

* add stopTrackingMention when input becomes empty in messagebox

* add Android run instruction to readme

* fix spacing
2019-06-03 16:20:36 -03:00
Djorkaeff Alexandre bd9f4aa219 [FIX] Stop mention tracking when messagebox is empty () 2019-06-03 13:56:16 -03:00
Diego Mello b28d79e644
[FIX] Thread crash if room is undefined () 2019-06-03 09:53:06 -03:00
Diego Mello 7c34e66590
[FIX] Crashing during app launch on Samsung devices ()
* Apply alpha update

* Update to Realm released fix
2019-06-03 09:42:08 -03:00
Diego Mello 8db19c8a84
[IMPROVEMENT] Open links as push instead of modal () 2019-05-31 12:09:46 -03:00
Diego Mello 3126442794
[FIX] Reply preview showing the entire message () 2019-05-31 11:43:21 -03:00
Diego Mello 2d2ef6121c
[FIX] Crash on message long press () 2019-05-31 11:42:54 -03:00
Diego Mello dffba8ab58
[CHORE] Split Google Services in debug and production ()
* Split android

* Split iOS

* Update CI
2019-05-31 09:41:37 -03:00
lolimay a0d0d61458 [FIX] Gitlab url hardcoded ()
* [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 957182bf55 [FIX] App crash with backspace on input message ()
* Fix - App crash with backspace on input message

* Improving code to fix backspace bug

* Fix destructuring undefined

* Improvement code to fix backspace bug
2019-05-30 14:19:26 -03:00
Djorkaeff Alexandre 29286e98a8 [IMPROVEMENT] Share channel ()
* 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 fe46929238
Merge 1.13.0 into Master ()
* fix last messages ()

* fix last messages

* Room actions ()

* Layout


* Empty starred list


* Favorite room

* Pinned messages

* fix last messages

* fix date on pinned messages

* fix package

* [NEW] OAuth ()

* Layout

* tmp

* test iscordova

* Webview redirecting

* Open and Close login actions

* Login services saved on redux

* OAuth Github

* Server regex fix

* OAuth modal style

* - Twitter login
- Remove services from redux
- Open login saga fix

* - Facebook login
- Fixed user agent
- Reactions fix
- Message url unique key fix

* Google login

* Email keyboard removed from messagebox

* - Login buttons refactored
- RoomList header

* Layout improvements

* Meteor login redirect_uri changed

* fix

* Random credentialToken state

* [NEW] Room actions: Mentioned messages and Room Members ()

* Mentioned messages

* Starred and pinned actions debounce

* Room members

* Open room on member touch

* [WIP] Improves ()

*  hotfix for ios

*  hotfix for ios

* Update config.yml

* Workaround for RN 0.54 on iOS ()

* Update iOS to RN 0.54 ()

* Update iOS to RN 0.54

* [WIP] Audio message functionality ()

* [NEW] Add module react-native-audio

* [WIP] Audio message basic UI

* [NEW] Record audio message

* Use cordova repository to get certificates

* Icon 1024

* [NEW] Room actions: block user, snippet messages, room files and leave room ()

* - Block user
- Load room members async
- fixed reactive change of room's read only flag

* Snippet messages

* - Room files
- Dismiss Video component on back button press
- Improvements on Image component

* Improvement on Video component

* Leave room

* Missing message types

* lint

* Reactotron working ()

* [NEW] Room info and Room info edit ()

* - Block user
- Load room members async
- fixed reactive change of room's read only flag

* Snippet messages

* - Room files
- Dismiss Video component on back button press
- Improvements on Image component

* Improvement on Video component

* Leave room

* Missing message types

* lint

* - Room info (read only)
- Missing message types

* Room info scroll

* - Tap on room header opens room info
- Layout tweaks

* - Room info edit
- iOS Toast fixed

* - Style not implemented actions as disabled

* Edit room permission

* - Save all room settings in a single call
- Implemented roomType and readOnly

* - Allow reacting when room is read only

* Message type added: room_changed_privacy

* Erase room

* Created TextInput and SwitchContainer components for reuse and readability

* - hasPermission method

* - Archive/Unarchive room
- Set Join Code

* Twitter keyboard type on iOS

* Archived room

* reactWhenReadOnly permission on message

* Active users refactored

* User roles

* - Subscribe to roles (in order to get role description info: e.g. 'core-team' to 'Rocket.Chat Team')
- Save roles to realm (for offline access)
- Save roles to redux (and get data from realm on app init)

* Lint

* code style

* password show/hide feature

* fix show/hide password

* password show/hide

* Crashlytics ()

* Fabric iOS

* Fabric configured on iOS and Android

* login tracked

* more logs

* fix reaction

* CI fix

* Bug fixes ()

* Layout fixes

* RoomsListView's SafeAreaView

* Unhandled promise rejection fix

* Prevent navigation from opening scenes twice

* Create channel fixes

* Create LICENSE

* Beta ()

* Fabric iOS

* Fabric configured on iOS and Android

* - react-native-fabric configured

- login tracked

* README updated

* Run scripts from README updated

* README scripts

* get rooms and messages by rest

* user status

* more improves

* more improves

* send pong on timeout

* fix some methods

* more tests

* rest messages

* Room actions ()

* Toggle notifications

* Search messages

* Invite users

* Mute/Unmute users in room

* rocket.cat messages

* Room topic layout fixed

* Starred messages loading onEndReached

* Room actions onEndReached

* Unnecessary login request

* Login loading

* Login services fixed

* User presence layout

* ïmproves on room actions view

* Removed unnecessary data from SelectedUsersView

* load few messages on open room, search message improve

* fix loading messages forever

* Removed state from search

* Custom message time format

* secureTextEntry layout

* Reduce android app size

* Roles subscription fix

* Public routes navigation

* fix reconnect

* - New login/register, login, register

* proguard

* Login flux

* App init/restore

* Android layout fixes

* Multiple meteor connection requests fixed

* Nested attachments

* Nested attachments

* fix check status

* New login layout ()

* Public routes navigation

* New login/register, login, register

* Multiple meteor connection requests fixed

* Nested attachments

* Button component

* TextInput android layout fixed

* Register fixed

* Thinner close modal button

* Requests /me after login only one time

* Static images moved

* fix reconnect

* fix ddp

* fix custom emoji

* New message layout ()

* Grouping messages

* Message layout

* Users typing animation

* Image  attachment layout

* Fabric and image fix ()

* Fixed images not showing

* Keyboard libs updated

* Fabric fix and location removed ()


* Proguard disabled

* message with list + links fixed ()

* Better image cache component ()

* react-native-img-cache removed

* Improve list render

* Support <http://link/Text> inside markdown

* Deep linking ()

* deep linking

* Basic deep link working

* Deep link routing

* Multiple servers working

* Send user to the room

* Avatar initials and room type icon ()

* Deep linking fix and more ()

* Fix - Any https link was deep linking to RocketChat

* Keyboard dismiss after add new server

* Room info bug fix

* Opacity animation

* Navigation when adding server fixed

* Throttle for unnecessary render on receiving several messages

* Search inputs without autocorrect and autocapitalize

* Search messages fixed

* Messagebox unnecessary render and spotlight fixed

* react-native-keyboard-input updated

* Lint

* Tests updated

* Update all dependencies ()

* Update react-navigation to the latest version 🚀 ()

* fix(package): update react-navigation to version 2.0.0

* Code updated to support breaking changes of react-navigation

* Detox tests E2E ()

* RoomsListView re-render ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
- [x] Removed unnecessary re-renders on RoomsListView

* [NEW] Broadcast channels ()

* Broadcast channels

* e2e tests

* New markdown ()

Our current markdown is causing a lot of issues on Android devices, since it wraps everything inside a Text component.
On Android, Text doesn't support View as a child.
This PR adds react-native-markdown-renderer, that uses View as wrapper and may be better.

* Fixed audio recording issues ()

* Fix for "java.lang.IllegalArgumentException: unexpected url" ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
User was able to add an invalid instance of Rocket.Chat by pressing submit button instead of "Connect" button.

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* I18n ()

* Unread and date separator layout improved ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
- [x] Unread and date separator layout
- [x] "Start of conversation"/"Loading messages" label

![screen shot 2018-05-30 at 18 10 43](https://user-images.githubusercontent.com/804994/40747867-0424964a-6435-11e8-9293-31cc43c110ab.png)
![screen shot 2018-05-30 at 18 09 05](https://user-images.githubusercontent.com/804994/40747868-04484784-6435-11e8-8c31-92e0776276f0.png)



<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* [FIX] iOS Universal links ()

* [NEW] Drawer ()

* [FIX] invalid user muted value

* Ddp fixes ()

* [NEW] User Profile ()

* Drawer layout

* Drawer changes

* Profile

* Profile avatar

* Set language

* Tests

* Custom fields

* Readme updated

* fix invalid user muted value

* Fix for "Cannot add a child that doesn't have a YogaNode to a parent without a measure function! (Trying to add a 'RCTVirtualText' to a 'RCTView')"

* Settings/Permissions improvements ()

* Changed the way we read RocketChat settings since setting.type won't be returned from server anymore

* Permissions

* Unnecessary action sheet render

* Update gradle and targetSdkVersion ()

* Changed the way we read RocketChat settings since setting.type won't be returned from server anymore

* Permissions

* Unnecessary action sheet render

* Update gradle

* Switched testServer to use blob

* RoomsListHeader search fixed

* Runs loadMessagesForRoom only if room has at least 20 rows

* - Logout if user's token expired
- Removed update avatar logic
- Profile dialog border on android

* - Animations disabled
- CircleCI set

* Tests updated

* "eventType argument is required" fix

* Switch push notification lib ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* Allow x-instance-id and X-Instance-ID header ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
Some server configurations may send x-instance-id header with different case.

* Image upload improvements ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
- [x] Crop image
- [x] Type image description (like web)
- [x] Show upload progress
- [x] "Try again" in case of error
- [x] Cancel upload while in progress
- [x] [Android] Zoom on photos

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![image](https://user-images.githubusercontent.com/804994/42526934-a12da304-844d-11e8-8668-f3d69369726a.png)
![image](https://user-images.githubusercontent.com/804994/42527829-297945fe-8450-11e8-9f0e-9e668dd33043.png)

* [NEW] Room Loading()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* [FIX] Empty room name for livechat ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* [NEW] Reply preview ()

* Updated to React Native 0.56

* Reply Preview

* [FIX] Close websocket ()

* Fixed a bug when closing websocket

* removeListener fixed

* [I18N] Russian translation ()

[I18N] Russian translation file

* [NEW] Icon ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![image](https://user-images.githubusercontent.com/804994/43228416-d8af49d6-9037-11e8-8830-a1803932c7fd.png)

* [FIX] Android 8 notifications ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* Added CocoaPods to manage react-native-image-crop-picker ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
react-native-image-crop-picker raised an error when uploading to TestFlight.
The lib highly recommends CocoaPods for production builds.

* Added single-server to readme ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* Improve RoomsList render time ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
- [x] Added FlatList.getItemLayout() to improve list render time
- [x] Some texts were breaking lines at sidebar
- [x] Removed onPress from links at RoomsListView
- [x] Added eslint rule to prevent unused styles
- [x] Fixed auto focus bug at CreateChannel and NewServer
- [x] Fix change server bug
- [x] Fixed a bug when resuming in ListServer
- [x] I18n fixed
- [x] Fixed a bug on actionsheet ref not being created
- [x] Reply wasn't showing on Android
- [x] Use Notification.Builder.setColor/getColor only after Android SDK 23
- [x] Listen to app state only when inside app
- [x] Switched register push token position in order to improve login performance
- [x] When deep link changes server, it doesn't refresh rooms list
- [x] Added SafeAreaView in all views to improve iPhone X experience
- [x] Subpath regex 

* [NEW] Empty room background ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![aug-09-2018 11-35-32](https://user-images.githubusercontent.com/804994/43906080-cbfadf92-9bc8-11e8-9ac9-44f43d3af023.gif)
![aug-09-2018 11-35-16](https://user-images.githubusercontent.com/804994/43906082-cc19411c-9bc8-11e8-9892-c65c86951a91.gif)
![image](https://user-images.githubusercontent.com/804994/43911366-ad830cd0-9bd5-11e8-8913-6a7e87a2206c.png)

* Add roadmap ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->

* [NEW] Onboarding ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![aug-07-2018 17-03-50](https://user-images.githubusercontent.com/804994/43799447-f62074dc-9a63-11e8-8aac-bf2c4c5a8a2b.gif)
![aug-07-2018 17-03-35](https://user-images.githubusercontent.com/804994/43799446-f5f84a70-9a63-11e8-8947-265113ae9bf4.gif)
![aug-07-2018 17-03-13](https://user-images.githubusercontent.com/804994/43799445-f5d70ee6-9a63-11e8-94a9-f49c7d69fbba.gif)

* [NEW] Updated Logo on Splash screen ()

<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative

<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes  

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
![aug-07-2018 17-39-44](https://user-images.githubusercontent.com/804994/43801415-739a0cca-9a69-11e8-8bec-d65f751e6a28.gif)
![aug-07-2018 17-31-12](https://user-images.githubusercontent.com/804994/43801416-73d19bd6-9a69-11e8-90ac-bbc7ddeed938.gif)

* [FIX] Only single attachment rendered ()

* [NEW] Rooms list layout ()

* RoomsListView layout

* Rooms list layout

* Sort component

* Header icons

* Default header colors

* Add server dropdown

* Close sort dropdown if server dropdown will open

* UserItem

* Room type icon

* Search working

* Tests updated

* Android layout

* Using realm queries instead of array iterates

* Animation duration

* Fixed render bug

* [NEW] Create channel layout ()

* RoomsListView layout

* Rooms list layout

* Sort component

* Header icons

* Default header colors

* Add server dropdown

* Close sort dropdown if server dropdown will open

* UserItem

* Room type icon

* Search working

* Tests updated

* Android layout

* Using realm queries instead of array iterates

* Animation duration

* Fixed render bug

* - NewMessageView
- backButtonTitle always empty
- SearchBox created

* New create channel layout

* Search refactored

* loginSuccess dismiss modal

* Tests working

* [FIX] Open unsupported videos on browser ()

* 1.1

* Sort/group rooms local only ()

* Update android api from ci

* Sort local only

* [FIX] Missing current server ()

* server.current removed

* Increased area of touch on header

* Hide search when sort dropdown is tapped

* default server icon url

* 1.1.1

* [NEW] Experimental Icon ()

* [NEW] Message layout ()

* message container/component

* Separator component

* Reply

* Url

* tests updated

* Minor changes

* Audio component

* Broadcast button

* Minor touches

* Reply preview

* Edited

* Minor bug fixes

* - Update roadmap
- Bump version to 1.2

* Onboarding styles fix

* [FIX] Drawer navigation won't refresh chats ()

* Avoid errors on Audio/Image/Video ()

* Bump version to 1.2.1 ()

* Stop supporting Android 4.4 and lower ()

* Several fixes for 1.2.1 ()

* Fix user.roles

* Better onLongPress handle on messages

* Indicator position

* Fix role undefined in system messages

* Add baseUrl in case of file attachments

* Join room fixed

* RoomView params

* Broadcast fixes

* Add server layout changes

* Use native images

* Subscribe to not joined channels

* Fix alerts without i18n

* Tests updated

* Bump version to 1.2.2 ()

* [NEW] Use community JSC for Android ()

* [NEW] Use community JSC for Android

* Quick fix on unread chats

* [NEW] Show app version ()

* [NEW] Portuguese translation ()

* [NEW] Portuguese translation

* Remove servers from sidebar

* Update dependencies ()

* Update dependencies

* Lint and test

* Added react-native fork

* rn 57

* Lint and tests updated

* Update xcode on circleci

* Use legacy build system

* Update tests

* Use inline requires ()

* Update dependencies

* Lint and test

* Added react-native fork

* rn 57

* Lint and tests updated

* Update xcode on circleci

* Use legacy build system

* Update tests

* Inline requires

* Fix eslint and remove temp gradle

* Unnecessary renders

* Update isNotch and Readme

* Tests updated

* Bump version to 1.3.0 ()

* Better touch handling on rooms list ()

* Use react-native-gesture-handler at RoomItem

* Fixed info message author

* Edit message render improvement

* Fix ws to http replace

* Bump version to 1.3.1 ()

* Composer layout tweaked ()

* Composer layout tweaked

* Fix localization error

* Bump version to 1.3.2

* [FIX] Handle deleted messages ()

* [FIX] Handle deleted messages

* Fix rest error

* Fix some connection issues

* [FIX] Search rooms ()

* Bump version to 1.3.3 ()

* Connecting to DDP badge ()

* Display custom fields on user info ()

* Render custom fields on user info

* renderCustomFields fix

* Display custom fields in user info

* Fix lint error

* [FIX] DDP badge wasn't hiding on fast connections ()

* Use Rocket.Chat JS SDK ()

* JS SDK

* API working

* Multiple servers

* Bump version to 1.4.0 ()

* [FIX] 2FA and LDAP ()

* [FIX] Unread rooms group order ()

* Use grouping setting on temp messages ()

* [FIX] Delete room error ()

* Rename to Rocket.Chat Experimental ()

* Update dependencies ()

* Bump version to 1.4.0 ()

* test

* one more test

* Fix build

* Regression: Wait for unmount to delete database after logout ()

* Bump version to 1.4.1 ()

* Regression: Crash on Android search ()

* Bump version to 1.4.2 ()

* Update Rocket.Chat.js.SDK ()

* Bump version to v1.4.3 ()

* [FIX] OAuth ()

* Smaller header icons inside the room ()

* [FIX] Logout ()

* [FIX] Logout

* Removed realm instances on rooms list

* Bump version to 1.4.4 ()

* Update navigation library ()

* v2

* Working on Android 0.57.3

* Drawer working

* Removing v1 navigator

* - Splash screen
- Icons changed

* Deeplink

* Remove EventEmitter from CreateChannelView

* Android search

* Android notifications

* OAuth

* Fix search props

* Lint and tests fixed

* Fix android build

* Improvements on iPhone X* usage

* Fix detox

* Fix android build

* Room.f added to RoomView.shouldComponentUpdate

* Animations on RoomsListView and RoomView

* Fix topbar buttons on Android

* Bump version to 1.5.0 ()

* Check $FABRIC_KEY availability in CircleCI ()

* Check $FABRIC_KEY in CircleCI

* Remove config scripts

* Check $FABRIC_KEY availability in CircleCI for iOS ()

* [I18n] Add Simplified Chinese(zh-CN) locale ()

* [FIX] iOS pop gesture not working properly ()

* Check if lastMessage has an attachment and show "User sent an attachment" at RoomsList ()

* [FIX] Messages not being loaded properly ()

* Fetch avatar initials from server ()

* Fix iOS pop gesture and open sidemenu gesture ()

* Bump version to 1.5.1 ()

* [NEW] Room header layout ()

* Clear iOS notification on resume/open ()

* [FIX] Flashing avatars on Android after  ()

* [FIX] App connects to previous server instead of the recent added ()

* [FIX] Room view header crashes when destructuring reducer ()

* [FIX] Dismiss keyboard on room close ()

* [FIX] Composer composer's send icon slowness ()

* [WIP] New Authentication layout ()

New Authentication layout

* Regression: Resend messages with error ()

* DDP Connection badge animation changed ()

* [FIX] Upload buttons on Android ()

* Bump version to 1.6.0 ()

* I18n: Add missing translation of simplified Chinese ()

* Update dependencies ()

* AndroidManifest changes

* Regression: Deep linking stopped working after react-native-navigation update ()

* [FIX] Android stuck on splash screen after hardware back button is pressed ()

* [FIX] Android stuck on splash screen after hardware button is pressed

* Fix empty user at asyncstorage

* Remove unused subscribe

* [FIX] x-instance-id header prop is case insensitive ()

* Bump version to 1.6.1 ()

* [FIX] x-instance-id header prop is case insensitive

* Use Rest API calls ()

* Chats: Don't show group header if none of the filters is selected ()

* [CHORE] Update Xcode image version on CircleCI ()

* Bump version to 1.7.0 ()

* [FIX] Load messages on notification tap ()

* Use Rest API pt 2 ()

* Room files

* Pinned messages

* Starred messages

* Mentioned messages

* Search messages

* Bug fixes

* Profile

* Livechat

* Block/unblock user

* Erase room

* Archive room

* Remove unused method

* Bug fix

* [CHORE] Add hold step on CircleCI before TestFlight ()

* [FIX] GET /info to check if it's a valid server instead of x-instance-id ()

* Bump version to 1.7.1 ()

* Unnecessary re-renders removed ()

* shouldComponentUpdate

* Rooms list shouldcomponentupdate

* RoomView shouldComponentUpdate

* Messagebox and Message shouldComponentUpdate

* EmojiPicker shouldComponentUpdate

* RoomActions shouldComponentUpdate

* Room info shouldComponentUpdate

* Update RNN

* Use only one Flatlist if none group filter is selected

* Update fix

* shouldComponentUpdate

* Bug fixes

* ListView changes

* Bug fix

* render list bug fix

* Changes on public channels

* - RoomView saga leak removed
- Join room e2e tests added

* Rest versions

* Method call versions

* Min RocketChat version alert

* Update dependencies ()

* [FIX] Better message actions ()

* [FIX] Back button press on message actions ()

* Bump version to 1.8.0 ()

* [FIX] LDAP login ()

* Create class to manage navigation ()

* Add Navigation class

* Place Drawer.js logic inside of Navigation

* Load less views at startup

* [FIX] v1.8.0 ()

* Downgrade react-native-fast-image

* Update iOS permission usage descriptions

* [FIX] Delete upload item

* Update JS SDK version ()

* Add Icons class ()

Creates Icons class to manage when to load icons from native side or react-native-vector-icons.
It also fixes `react-native run-android` 

* Updating room indicator ()

Shows "Updating..." when requesting rooms from Rest API.

* [FIX] Load avatar on servers that prevent unauthenticated avatar access ()

App would show an empty space on servers that require authentication on avatar access

* [FIX] 2FA login in a server with LDAP enabled ()

* [FIX] Start loop searching for rooms updates only when connection goes down and SDK has userId ()

* Allow to create empty channel ()

* [FIX] Reply title should break text ()

* Bump version to 1.9.0 ()

* [FIX] SDK issues ()

* Remove listeners from room
* Properly close connections on change server
* Minor layout change on connecting badge

* [CHORE] Add TestFlight invite and update Readme ()

* [FIX] npm -> yarn dependencies migration ()

* I18n: Add French ()

* [FIX] Remove rooms listener ()

* [CHORE] Update issue template ()

* I18n: Add German ()

* Bump version to 1.10.0 ()

* [FIX] Prevent mass is typing dispatchs ()

* [FIX] Handle database errors properly ()

* [FIX] Change actions labels ()

* [FIX] Room members filter ()

* [FIX] uploadProgress is not a function ()

* [FIX] Slow messagebox ()

* Remove drawer ()

* Remove drawer (layout needs to be changed in future releases, though)
* Don't navigate outside on logout if there's other logged server
* Update react-native-navigation

* Message button ()

* Remove touchable opacity when scrolling messages
* Tap on disable messages closes keyboard
* Unify vibration
* Vibrate only on Android

* [FIX] Fetch rooms date ()

* [FIX] Select emoji error ()

* Update Realm to 2.24 ()

* Update React Native to 0.58.6 ()

* [FIX] Fix some language issues in German language ()

* New icons ()

* New Icons

* Remove unused assets

* Change send icon

* Layout tweaks

* Refactor Status

* Styles changed

* User layout fix

* Separator layout changes

* Sidebar status layout fix

* Fix Message.onLongPress issue

* Fix code markdown
Closes https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/625

* Status lint

* Fix tests

* Navigation debounce

* RoomActions icons

* Space between components

* Group text

* Update tests

* [CHORE] Remove .debug suffix on Android ()

* [FIX] Fix null native Messagebox component object ()

* Fix null native Messagebox component object

* [iOS] Fix header alignment

* Remove unused files

* Switch to react-navigation ()

* Update readme ()

* Bump to 1.10.1 ()

* [FIX] Deep linking between multiple logged servers ()

* Fix handle invisible status ()

* I18n: Add Portuguese (Portugal) ()

* [FIX] Show ActivityIndicator in RoomMembersView ()

* Bump version to 1.11.0 ()

* Migrate from GCM to FCM ()

* [NEW] Scrollable room name feature ()

* [NEW] Scroll down floating button ()

* [CHORE] Added Storybook documentation ()

* Use FlatList in RoomView ()

* [FIX] iOS requiring location permission ()

* Room item layout ()

* [NEW] Draft message per room ()

* [FIX] Add Realm.safeAddListener ()

* [CHORE] Remove tvOS target ()

* [NEW] Discussions ()

* Bump version to 1.12.0 ()

* [NEW] Threads ()

* RoomsListView improvements ()

* [FIX] Giphy not showing ()

* [FIX] Apply emojify on empty texts ()

* Lock drawer when stack is not on root screen ()

* Room item layout ()

* [FIX] Threads ()

Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 

* [FIX] Smaller thread title ()

* [FIX] Smaller thread title

* Remove markdown notation from thread title

* On message press debounce

* Align vertical thread title

* [Regression] Search stopped working on Android after LastMessage refactor ()

* Load legal pages from web ()

* Update fetch permissions api ()

* Update custom emojis endpoint ()

* Update emoji endpoint

* Use React.memo on Markdown

* Support RC versions lower than 0.75.0

* Realm migration

* Fetch roles from rest api ()

* Fetch roles from rest api

* Fix RoomInfoView role get

* Remove roles from redux

* Bump version to 1.13 ()

* Active users improvements ()

* Remove connection badge ()

* Connecting indicator on RoomsListView header

* Connecting indicator on RoomView header

* Remove ConnectionBadge

* Show updating on RoomView load messages

* Update dependencies ()

* Minor updates

* Update jsc-android

* Update react-native-modal

* Minor updates

* Update react-native-fast-image

* Minor dev updates

* Few major updates

* Update react-native-keyboard-aware-scroll-view

* Update pods

* Update android-support

* Update tests

* Remove duplicated getRoleDescription function ()

* [FIX] Load local URL image ()

* [FIX] Toggle/follow thread icon ()

* Tweaks on sequential threads messages layout ()

* 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

* [FIX] Check if room is mounted before setting state ()

* 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

* [FIX] Typing not getting cleared after popping a room ()

* [CHORE] Remove e2e tests from CI ()

* [FIX] Remove listeners on RoomView header unmount ()
2019-05-29 14:56:04 -03:00
Diego Mello b1eb18351f
[IMPROVEMENT] Update user presence endpoint ()
* [IMPROVEMENT] Update user presence endpoint

* Use `from` parameter in case of reconnection
2019-05-28 13:52:26 -03:00
Diego Mello a148e6d15d
[FIX] Analytics error events () 2019-05-28 13:18:46 -03:00
Diego Mello 9e4a4d2454
[CHORE] Use react-native-firebase ()
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 9d79580946
[IMPROVEMENT] Messagebox typing and buttons refactor ()
* Debounce onChangeText

* Refactor FilesActions

* Clear input asap

* Different buttons on iOS/Android

* Minor fragment refactor

* Import emoji keyboard on android only
2019-05-27 13:19:39 -03:00
Diego Mello 8285c2e823
Fix arch typo () 2019-05-23 18:23:23 -03:00
Diego Mello 29bd949743
[CHORE] Android app bundle ()
* [CHORE] Upgrade Mac CI image to 10.2.1

* [CHORE] Android App Bundle

* Fix CI
2019-05-23 15:44:33 -03:00
Diego Mello 84bd7b3e34
[FIX] Reaction count not rerendering () 2019-05-23 14:51:42 -03:00
lolimay 02ccabf28a [CHORE] Update readme () 2019-05-23 09:06:15 -03:00