Commit Graph

602 Commits

Author SHA1 Message Date
Diego Mello 91025e9d03 [NEW] Onboarding (#407)
<!-- 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 #392 

<!-- 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)
2018-08-10 14:26:36 -03:00
Diego Mello c3994051d5 [NEW] Empty room background (#412)
<!-- 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 #398 

<!-- 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)
2018-08-10 10:17:45 -03:00
Diego Mello 50eb03589a Improve RoomsList render time (#384)
<!-- 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 #388
2018-08-01 16:35:06 -03:00
Pitstopper ccaf5413f2 [I18N] Russian translation (#381)
[I18N] Russian translation file
2018-07-25 10:14:12 -03:00
Diego Mello 94c7d9e8cc [FIX] Close websocket (#379)
* Fixed a bug when closing websocket

* removeListener fixed
2018-07-24 19:29:07 -03:00
Diego Mello 8322e7e576 [NEW] Reply preview (#374)
* Updated to React Native 0.56

* Reply Preview
2018-07-20 16:54:46 -03:00
Diego Mello 077c29503e [FIX] Empty room name for livechat (#375)
<!-- 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 #320 
Closes #209 

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
2018-07-20 16:54:20 -03:00
Diego Mello 53ceaf858b [NEW] Room Loading(#372)
<!-- 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 -->
2018-07-18 17:34:59 -03:00
Diego Mello 2e245e4d7c Image upload improvements (#368)
<!-- 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)
2018-07-17 16:10:27 -03:00
Diego Mello 1faf9bf542 Allow x-instance-id and X-Instance-ID header (#354)
<!-- 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 #137 

<!-- 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.
2018-07-10 10:41:26 -03:00
Diego Mello 224c421b69 Switch push notification lib (#346)
<!-- 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 #342 

<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
2018-07-10 10:40:32 -03:00
Diego Mello 8af34a705a Update gradle and targetSdkVersion (#328)
* 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
2018-06-20 10:40:33 -03:00
Diego Mello 9e4ca34a80 Settings/Permissions improvements (#325)
* Changed the way we read RocketChat settings since setting.type won't be returned from server anymore

* Permissions

* Unnecessary action sheet render
2018-06-18 10:30:36 -03:00
Diego Mello da173275ce [NEW] User Profile (#323)
* 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')"
2018-06-12 22:33:00 -03:00
Diego Mello 802eff267c Ddp fixes (#324) 2018-06-12 22:29:18 -03:00
Guilherme Gazzo 6c67179c3a
[FIX] invalid user muted value 2018-06-11 12:02:17 -03:00
Diego Mello da3679d46a [NEW] Drawer (#322) 2018-06-04 22:17:02 -03:00
Diego Mello 12f8b26701 [FIX] iOS Universal links (#318) 2018-06-01 18:57:05 -03:00
Diego Mello 22cbcf0b40 Unread and date separator layout improved (#319)
<!-- 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 -->
2018-06-01 14:56:59 -03:00
Diego Mello 466a57e6b1 I18n (#312) 2018-06-01 14:38:13 -03:00
Diego Mello ed8ce28708 Fix for "java.lang.IllegalArgumentException: unexpected url" (#313)
<!-- 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 -->
2018-05-30 13:51:30 -03:00
Diego Mello 3b278f47ce Fixed audio recording issues (#310) 2018-05-29 14:10:40 -03:00
Diego Mello f61a57bb30 New markdown (#306)
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.
2018-05-29 14:09:20 -03:00
Diego Mello 061c313e3f [NEW] Broadcast channels (#301)
* Broadcast channels

* e2e tests
2018-05-24 17:17:45 -03:00
Diego Mello 8f90565e55 RoomsListView re-render (#304)
<!-- 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
2018-05-24 17:17:00 -03:00
Guilherme Gazzo 182ab69d6f
Detox tests E2E (#283) 2018-05-23 10:39:18 -03:00
greenkeeper[bot] a9acbec05c Update react-navigation to the latest version 🚀 (#293)
* fix(package): update react-navigation to version 2.0.0

* Code updated to support breaking changes of react-navigation
2018-05-21 15:39:26 -03:00
Diego Mello 49215cc4bd Lint 2018-05-18 15:32:15 -03:00
Diego Mello 2b172b359e Deep linking fix and more (#294)
* 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
2018-05-18 14:55:08 -03:00
Diego Mello a0bb61642d Avatar initials and room type icon (#298) 2018-05-18 13:41:47 -03:00
Diego Mello 69513a8327 Deep linking (#291)
* deep linking

* Basic deep link working

* Deep link routing

* Multiple servers working

* Send user to the room
2018-05-07 17:43:26 -03:00
Diego Mello 33baf35de6 Better image cache component (#292)
* react-native-img-cache removed

* Improve list render

* Support <http://link/Text> inside markdown
2018-05-07 17:41:36 -03:00
Diego Mello 96914f3869 Fabric and image fix (#284)
* Fixed images not showing

* Keyboard libs updated
2018-04-26 14:33:43 -03:00
Guilherme Gazzo 557e485613
Beta (#265)
* 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 (#266)

* 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 (#269)

* 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 (#273)

* Grouping messages

* Message layout

* Users typing animation

* Image  attachment layout
2018-04-24 17:08:17 -03:00
Diego Mello 6d0e8e50cc Bug fixes (#261)
* Layout fixes

* RoomsListView's SafeAreaView

* Unhandled promise rejection fix

* Prevent navigation from opening scenes twice

* Create channel fixes
2018-04-10 10:03:54 -03:00
Diego Mello 17ecd5c9af Crashlytics (#258)
* Fabric iOS

* Fabric configured on iOS and Android

* login tracked

* more logs

* fix reaction
2018-04-03 13:24:58 -03:00
Guilherme Gazzo d63333fa22
fix show/hide password 2018-03-31 21:45:15 -03:00
abhishek71994 a9225280a9 password show/hide feature 2018-03-30 10:53:57 +05:30
Diego Mello 5d8ad1df82 [NEW] Room info and Room info edit (#254)
* - 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
2018-03-29 17:55:37 +00:00
Diego Mello 5700645fa5 Reactotron working (#249) 2018-03-23 16:55:40 +00:00
Diego Mello 5443a15f0a [NEW] Room actions: block user, snippet messages, room files and leave room (#250)
* - 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
2018-03-23 16:49:51 +00:00
Karan Bedi e5a0707759 [WIP] Audio message functionality (#247)
* [NEW] Add module react-native-audio

* [WIP] Audio message basic UI

* [NEW] Record audio message
2018-03-07 00:17:20 +00:00
Diego Mello fcf55d259f
Workaround for RN 0.54 on iOS (#246) 2018-03-06 14:40:44 -03:00
Guilherme Gazzo 9e3714758f
[WIP] Improves (#245) 2018-03-02 21:31:44 +00:00
Diego Mello 4823e3a2e4 [NEW] Room actions: Mentioned messages and Room Members (#242)
* Mentioned messages

* Starred and pinned actions debounce

* Room members

* Open room on member touch
2018-03-02 15:11:34 +00:00
Diego Mello 477609375c [NEW] OAuth (#241)
* 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
2018-02-23 17:29:05 -03:00
Diego Mello b1bb815b07 Room actions (#231)
* Layout


* Empty starred list


* Favorite room

* Pinned messages

* fix last messages

* fix date on pinned messages
2018-02-19 16:19:39 -05:00
Guilherme Gazzo bb5e29fdc7
fix last messages (#239)
* fix last messages
2018-02-19 16:15:31 -05:00
Guilherme Gazzo a4a889bed0
fix performance status users 2018-02-16 20:57:46 -02:00
Guilherme Gazzo 77d7f51f30
small fix 2018-02-16 15:22:53 -02:00
Guilherme Gazzo 69e04a4c26
snap 2018-02-16 14:02:04 -02:00
Guilherme Gazzo 93644ecb02
status on lastmessage 2018-02-16 13:55:50 -02:00
Diego Mello a286572861 Lint 2018-02-15 18:01:10 -02:00
Diego Mello 6bd4cd5f9c Custom emoji 2018-02-15 17:56:55 -02:00
Aaron Ogle ad6b4e6493
fix lint 2018-02-15 02:13:45 -06:00
Guilherme Gazzo 96b86255d3
lint 2018-02-14 21:13:52 -02:00
Guilherme Gazzo 40cb3e536b
fix lint 2018-02-14 19:26:15 -02:00
Guilherme Gazzo 6a1d9a3c7d
Merge branch 'develop' into add-lastmessage 2018-02-14 19:01:48 -02:00
Guilherme Gazzo 7fda5a528d
almost done, missing custom emojy yet 2018-02-14 18:34:45 -02:00
Saket Kumar 742ef68292 URL opens in SafariView on iOS (#232) 2018-02-14 13:48:21 -02:00
Diego Mello 79de880305 - reveal keyboard interactive removed (#230)
- email keyboard
2018-02-09 19:50:30 -02:00
Guilherme Gazzo d01c6c0ffd
Merge remote-tracking branch 'origin/develop' into add-lastmessage 2018-02-08 14:38:19 -02:00
Diego Mello ed5a1386e0 Improvements on emoji picker / message box (#227)
* Emoji keyboard

* Keyboard emoji working

* animation and flatlist

* fix

* Unread separator animation

* easeInEaseOut animation
2018-02-08 12:08:50 -02:00
Rodrigo Nascimento fe61d3428b
Fix push for iOS 2018-02-06 16:21:35 -02:00
Saket Kumar 9f96136571 Adds share TEXT option in message's context menu (#220)
* Adds share text option in message's context menu
2018-02-01 10:48:58 -02:00
Diego Mello 9ea5c1b765 Reactions (#214)
* * Tracking emoji
* Fixed users/rooms regex tracking

* Autocomplete emoji

* Toggle reaction

* 'User have reacted' style

* Show who have reacted onLongPress

* Vibration onLongPress
2018-01-30 17:48:26 -02:00
Diego Mello 153cfecab5 Keyboard dismiss (#219)
* Fix keyboard scroll

* * Input resize
* Touchable input

* keyboard dismiss

* Remove unnecessary emoji picker when it's not in use
2018-01-30 13:07:09 -02:00
Diego Mello 037caf5e17 Message box issues (#218) 2018-01-25 12:04:20 -02:00
Saket Kumar bf6b919cb3 App perform a vibration feedback onLongPress (#213) 2018-01-23 10:23:45 -02:00
Aaron Ogle f2a310531a
Adjust for another go 2018-01-19 15:30:34 -06:00
Aaron Ogle 2ec5916593
attempt to add last message 2018-01-19 15:06:55 -06:00
Diego Mello c86e06afa0 @all & @here mention (#200) 2018-01-19 10:38:14 -02:00
Diego Mello c81182c9cf Read only room (#198)
* Reactive read only
2018-01-17 14:42:30 -02:00
Diego Mello d3acc17fc1 Unread separator and Date separator (#154) 2018-01-16 18:27:57 -02:00
Diego Mello 0636fd0266 Emoji picker (#185)
* Emoji picker working

* Gif support on Android
2018-01-16 16:48:05 -02:00
Guilherme Gazzo a6b525b09e
fix subscriptions (#196) 2018-01-16 16:32:30 -02:00
Saket Kumar 885acf9575 Adds support for Toast message (#188) 2018-01-15 18:43:52 -02:00
Martin Schoeler ec1782e504 [FIX] Unread not going away when receiving a message from inside a room (#194)
* Fix Unread inside Room
2018-01-15 16:44:20 -02:00
Saket Kumar a0cfe3b8c3 just show plus icon when textarea is empty (#192) 2018-01-15 11:24:15 -02:00
Saket Kumar 50ae73aaf3 Configures Reactotron with the project (#177) 2018-01-12 18:08:31 -02:00
Guilherme Gazzo 7a1d359a4f
Test improve render (#159)
[NEW] ListView
2018-01-09 15:12:55 -02:00
Diego Mello 3cd281b66f Fix (#176) 2018-01-09 01:00:19 -02:00
Guilherme Gazzo 1e58fcb860 fix develop 2017-12-28 16:04:19 -02:00
Saket Kumar 8a815d040d Open link in customTabs on Android. (#168)
* Open link in customTabs on Android.
2017-12-28 15:40:10 -02:00
Guilherme Gazzo f5a9234600
Abstract db (#165)
* Databases separated

* Refactor

* fix style

* database fix
2017-12-27 13:34:39 -02:00
Saket Kumar d4e971f098 Moved images from app to static/images (#164) 2017-12-27 13:27:32 -02:00
Diego Mello b9ca7abb52 [WIP] Abstract database calls (#157)
* Databases separated
2017-12-27 13:22:06 -02:00
Guilherme Gazzo 3fcbcac67f
Update index.js (#163) 2017-12-26 12:46:14 -02:00
Diego Mello 251293116a - Back button fix (#156)
- Login text input focus
2017-12-21 17:17:41 -02:00
Diego Mello 157b85c2cb Mention autocomplete (#150)
* Mentions working
2017-12-20 18:14:07 -02:00
Diego Mello 11d9a66752 Splash screen (#153)
* Splash working
2017-12-20 18:12:49 -02:00
Guilherme Gazzo 8599d6a7cc
[WIP] remove meteor lib (#146)
* removed meteor lib

* reconnect saga

* Focused text input touch bug fixed
2017-12-20 17:20:06 -02:00
Martin Schoeler a15774c4ff Improve Rooms List (#152)
Use TouchableHighlight and TouchableNativeFeedback instead of TouchableOpacity
2017-12-20 13:57:33 -02:00
Guilherme Gazzo 1ff125a477
fix regexp server validation (#140) 2017-12-19 15:01:00 -02:00
Martin Schoeler c6c551360b Add more info messages (#151) 2017-12-19 13:43:17 -02:00
Diego Mello e4212ee6de Better markdown (#139)
* Username, room and code markdown

* Block code working
2017-12-14 16:12:38 -02:00
Diego Mello 7ea98f1337 Delete/resend message (#136)
* Fixed temp message

* Delete/resend working

* Edit message fixed
2017-12-13 13:00:26 -02:00
Rodrigo Nascimento e42a146e4f Improve acessibility (#135) 2017-12-11 18:37:33 -02:00
Guilherme Gazzo 5435c79700
[FIX] messagebox growing width and icons (#130)
* multiline messagebox

* Action buttons alignment

* rocket chat icons
2017-12-08 17:36:03 -02:00
Diego Mello c84c5a3565 Header redesign (#133)
* Search

* Custom search on iOS and Android
2017-12-08 17:13:21 -02:00
Rodrigo Nascimento d991fd99bc [NEW] Better date format for room’s list (#134) 2017-12-08 11:56:53 -02:00
Guilherme Gazzo b2ace37c99
[FIX] totp (#131) 2017-12-06 13:07:14 -02:00
Diego Mello af5c3efbd2 Manage user's status (#128)
* Init custom header

* Change user status
2017-12-05 17:57:44 -02:00
Diego Mello b62596ac3f Set user presence (online/away) (#127)
* - User presence away when app goes to background
- User presence online when app comes back to foreground

* test if user is connected before call userpresence

* Update state.js
2017-12-04 16:24:21 -02:00
Diego Mello 1edce04840 [NEW] Attachments improvements (#125)
* Support <http://link|Text>

* Attachment title blank space
2017-12-04 13:49:15 -02:00
Diego Mello 277adfbb75 Attachment types (#118)
* Separate attachment types

* Audio attachment file

* tmp react-native-video-controls

* video working

* - Video modal removed

* Supported video types check

* Audio component

* Audio animation

* Use a standard ESLint file name

* Reusable markdown stateless component

* react-native-sound removed

* react-native-sound removed from xcode

* Url working

* Update build.gradle

* Other attachments

* Fields
2017-12-02 11:19:58 -02:00
Guilherme Gazzo e95043bc3f
[NEW] Reload room on return from background (#117)
* update screen when returns to foreground
2017-12-01 13:06:56 -02:00
Guilherme Gazzo 599b7c8368
[NEW] Open room on tap(push notification) (#116)
* fix frozen screen when app return from background (Android)

* Update state.js

* Update state.js

* init task

* fix updateAt

* remove timeout to show banner

* remove unused state saga, and comment about go to room method
2017-11-28 15:47:56 -02:00
Diego Mello 23d2d87bfb Messagebox autogrow (#114)
* multiline messagebox

* Action buttons alignment

* lint

* Fix MessageBox height when line break to 2 lines

* Android fix
2017-11-28 14:27:06 -02:00
Guilherme Gazzo 43f1892570 [FIX][ANDROID] Fix return from background (#115)
* fix frozen screen when app return from background (Android)

* Update state.js

* Update state.js

* Update RoomsListView.js
2017-11-28 09:01:18 -02:00
Diego Mello f65a284953 Messages permissions (#100) 2017-11-24 18:44:52 -02:00
Guilherme Gazzo 1cda98f415
typing stop on send message, better typing component and new subscription updateAt logic (#99) 2017-11-24 15:21:21 -02:00
Rodrigo Nascimento 86ccdcb84a Improve image modal/preview (#111) 2017-11-23 17:12:18 -02:00
Rodrigo Nascimento ed1448b864 Change Room’s back button text to previews screen title (#112)
Closes #108
2017-11-23 17:12:06 -02:00
Rodrigo Nascimento 9dc16c8adb Add mention mark by the unread number (#98) 2017-11-22 14:40:59 -02:00
Guilherme Gazzo aafa01c812
lint 2017-11-21 16:14:37 -02:00
Guilherme Gazzo f2076ea6c8
Merge branch 'develop' of github.com:RocketChat/Rocket.Chat.ReactNative into typing 2017-11-21 15:05:14 -02:00
Guilherme Gazzo a4fbeaefff user typing 2017-11-21 14:55:32 -02:00
Diego Mello 40abbc4874
Merge branch 'develop' into improves 2017-11-21 13:24:42 -02:00
Diego Mello 5f844f5a85 Messages actions (#90)
- delete
- edit
- pin
- star
- reply
- copy
- quote
2017-11-21 12:55:50 -02:00
Rodrigo Nascimento 9d50ee7dcf
Set correct appName for iOS push 2017-11-21 12:19:54 -02:00
Guilherme Gazzo de25bd3bff
Merge branch 'improves' into typing 2017-11-21 11:17:54 -02:00
Guilherme Gazzo 541d9783ee Message list scroll based on window size 2017-11-21 04:06:12 -02:00
Guilherme Gazzo 318cf7b970 attachments null 2017-11-20 22:58:15 -02:00
Guilherme Gazzo da4ecdc3b2 amazing room subscriptions 2017-11-20 22:52:48 -02:00
Guilherme Gazzo 1c39886deb user typing no style 2017-11-20 20:18:00 -02:00
Guilherme Gazzo 80c019a973 unused var 2017-11-20 15:33:23 -02:00
Guilherme Gazzo 8243593716 message on invalid password 2017-11-20 15:27:34 -02:00
Guilherme Gazzo cfcc481bdc Merge branch 'develop' of github.com:RocketChat/Rocket.Chat.ReactNative into improves 2017-11-20 00:35:24 -02:00
Guilherme Gazzo 6436c00162 :x 2017-11-19 02:18:00 -02:00
Guilherme Gazzo d4d031e2e7 getrooms just get updated rooms 2017-11-19 02:09:56 -02:00
Guilherme Gazzo 441016330b avoid recalc colors and initials avatar 2017-11-19 01:42:35 -02:00
Guilherme Gazzo bb5978444c ??? 2017-11-19 01:41:58 -02:00
Guilherme Gazzo cfd90b14f9 cache settings 2017-11-19 00:55:06 -02:00
Guilherme Gazzo 654967ccf9 refactor some call apis 2017-11-19 00:33:34 -02:00
Guilherme Gazzo 3dbd70b42b loading on login 2017-11-19 00:30:09 -02:00
Guilherme Gazzo fe9a1ebeaa all room by param dont need get from realm again 2017-11-19 00:29:46 -02:00
Guilherme Gazzo e09ca3d6a7
Push notification on android (#84) 2017-11-18 18:17:24 -02:00
Rodrigo Nascimento 675a61caba iOS: Disabled drawer slide gesture (#81) 2017-11-14 20:49:17 -02:00
Rodrigo Nascimento 114c9727ce iOS: Use icon in header to create new channel (#80) 2017-11-14 20:46:56 -02:00
Guilherme Gazzo 4e769920a1
fix roomView 2017-11-14 15:01:16 -02:00
Guilherme Gazzo a062aeccc8
Merge branch 'develop' of git@github.com:RocketChat/Rocket.Chat.ReactNative.git; branch 'develop' of github.com:RocketChat/Rocket.Chat.ReactNative into develop 2017-11-14 14:33:08 -02:00
Guilherme Gazzo 8cbccdfb23
Read room on open 2017-11-14 14:05:09 -02:00
Guilherme Gazzo a4fda1820b Read room on open 2017-11-13 22:13:27 -02:00
Guilherme Gazzo 8e67e75a09
username on sendmessage 2017-11-13 20:49:52 -02:00
Guilherme Gazzo 8bd7459e12
fix topt (#75) 2017-11-13 19:51:56 -02:00
Rodrigo Nascimento 282a663b60 Change avatars to square format (#73) 2017-11-13 18:51:36 -02:00
Rodrigo Nascimento 0a00878499 Login view -> Terms of Service and Privacy Policy (#74) 2017-11-13 18:50:07 -02:00
Rodrigo Nascimento 168d3f631e
Fix safe area view for lists 2017-11-13 14:04:13 -02:00
Rodrigo Nascimento 6c4cef143d
Merge remote-tracking branch 'origin/develop' into update
# Conflicts:
#	app/views/LoginView.js
#	app/views/RegisterView.js
2017-11-13 12:56:57 -02:00
Diego Mello 4ca9fcddb8 Add servers (#61)
* - Add server from logged session working
2017-11-13 11:53:45 -02:00
Diego Mello c7e35540f5 Verify if user has username on login (#64)
* get /me from rest api and append to user reducer

* Removed comments from login saga

* user reducer logic

* Jump to set username screen when user is logged without username

* lint fix after merge

* lint fix
2017-11-13 11:35:01 -02:00
Diego Mello a568e826e5 Terms & privacy (#63)
* terms and privacy

* Update PublicRoutes.js

* Update LoginView.js
2017-11-13 11:32:46 -02:00
Diego Mello 1ac5d07761 set token on app resume (#66) 2017-11-13 11:19:24 -02:00
Rodrigo Nascimento d96a098b60
Fix lint 2017-11-13 10:58:35 -02:00
Rodrigo Nascimento 50c50a790a
Init support to iPhone X 2017-11-13 10:49:19 -02:00
Diego Mello 7027656f4b Forgot my password (#62)
* Forgot password working
2017-11-10 11:42:02 -02:00
Rodrigo Nascimento 556cf0d813
Fix tests 2017-11-08 18:52:35 -02:00
Rodrigo Nascimento 329669f18f
Fix room ordering 2017-11-08 18:23:46 -02:00
Diego Mello 6d4e6f0c6c Logout (#60)
- logout
- changed default server to open.rocket.chat

* fixed server change bug
2017-11-07 18:25:04 -02:00
gilmarsquinelato 125b880760 Register user (#44)
* Added feature to register a new user

* login after register working

* Removed username from register and placed on a new view

* loading indicator on username submit

* register/username logo layout issue

* - login and register background white

* - logo removed from logo and register
2017-11-07 14:28:02 -02:00
Rodrigo Nascimento 834cd20be9 [NEW] Add CircleCI 2 (#57)
* Adds circle-ci script
2017-11-06 21:45:48 -02:00
Diego Mello e0777a969e Create room (#42)
* Added select users view

* create room working

* - Show photo on avatar

* Switched state for redux

* Navigating to created room
2017-09-25 10:15:28 -03:00
gilmarsquinelato d55db0fca5 [NEW] Changed navigation library to react-navigation. (#41)
* Changed navigation library to react-navigation.
Refactoring on sagas to remove navigation navigation flow do it in views.
Added new modal library.
Renamed view files to the same name of their classes.
Added support to redux-devtools using the chrome extension through Remote devtools menu.
Some components was refactored to reduce complexity and more legibility.

* Remove react-native-navigation from Android

* Adding servers to drawer menu, allowing server switch.

* Sidebar component

* opss :x fix add server

* opss :x fix add server

* Fixed add server navigation issues, fixed empty and slow Rooms List and Chat Messages

* Disable cleanup everytime

* some fixes

* some fixes

*  fix?

* .

* Fixed logo not displaying when app is loading or signing to server

* Fixed logo in loading and login

* Update LoginView.js

* Update PublicRoutes.js
2017-09-21 14:08:00 -03:00
gilmarsquinelato 69314ffd73 Rename card.js to Card.js 2017-09-02 14:21:05 -03:00
Gilmar Quinelato 0e3c364196 Force Travis to run on right commit. 2017-09-01 18:24:11 -03:00
Gilmar Quinelato 6ac45fc620 Fixing merge from 'develop'. 2017-09-01 17:20:34 -03:00
Gilmar Quinelato 3abc47b7d4 Fix merge conflicts from 'develop'. 2017-09-01 17:00:31 -03:00
Guilherme Gazzo 2c73857186 Add server change saga (#34)
* Reduce test lines of code

* removed useless packages

* pkg

* add server saga

* removed taginput

taginput is not ready =/

* ~fix navigation~

* code duplicated

* code duplicated

* Delete tags.js

* Delete TagInput.js
2017-09-01 16:42:50 -03:00
Gilmar Quinelato e6e1c25956 Removing duplicated code. 2017-09-01 16:21:08 -03:00
Gilmar Quinelato c546740186 Components moved to 'containers' or 'presentation' folders.
Extracted some components from Message component to have less logic in component.
2017-09-01 16:17:53 -03:00
Diego Sampaio 860da9b0af
Make code cleaner 2017-08-22 10:49:37 -03:00
Diego Sampaio 9dc427c336
Add more tests and add coverage dependency 2017-08-21 22:45:03 -03:00
Diego Sampaio 5fc7fe247e
Fix lint 2017-08-21 22:24:41 -03:00
Guilherme Gazzo 7d4b01c9e4
Merge branch 'master' into redux-saga 2017-08-21 13:58:29 -03:00
Guilherme Gazzo 2ba17081ea
app opens now at last selectioned server 2017-08-21 00:00:41 -03:00
Diego Sampaio e3fab36f0a
Fix TOTP login 2017-08-20 21:38:18 -03:00
Guilherme Gazzo 0a48fadf16
saga finished 2017-08-20 21:11:46 -03:00
Gabriel Delavald 46b491cf32 Cleaning up refactors code, fixing sagas. By Gazzo 2017-08-18 18:30:16 -03:00
Rodrigo Nascimento d2c110b7af Ci (#25)
* Init travis configuration

* Try travis

* Try travis

* Try travis

* Try travis

* Try travis

* Try Travis

* Fiz name and add badges
2017-08-18 11:50:20 -03:00
Guilherme Gazzo c498901aac
auto login connect 2017-08-17 17:15:24 -03:00
Rodrigo Nascimento e64e34ef7e Integrate storybook 2017-08-17 16:31:27 -03:00
Guilherme Gazzo 0de8cf65a4 merge 2017-08-17 14:00:24 -03:00
Guilherme Gazzo ea63582676
sagas 2017-08-17 13:55:47 -03:00
Guilherme Gazzo 566a22c389
get message saga 2017-08-17 03:28:41 -03:00
Guilherme Gazzo b02ff73285
getrooms Saga 2017-08-16 23:06:22 -03:00
Guilherme Gazzo 4300b87035
meteor connect saga 2017-08-16 22:32:00 -03:00
Guilherme Gazzo 0986e75779
saga for meteor connect 2017-08-16 22:06:31 -03:00
Guilherme Gazzo f269a6d36b
login saga[2] 2017-08-16 21:24:06 -03:00
Guilherme Gazzo 9553ecbcaf
login saga (incomplete) 2017-08-16 20:32:55 -03:00
Guilherme Gazzo 6c02250a7d
login saga (incomplete) 2017-08-16 20:29:12 -03:00
Gabriel Delavald 618d5450dc Adds mock saga 2017-08-16 19:51:37 -03:00
Guilherme Gazzo 2d9bbb87ae Show imagem attachments (#20)
* attach and offline search

* Update serverNew.js
2017-08-15 16:28:46 -03:00
Diego Sampaio ea1172606d
Fix room search 2017-08-14 15:02:53 -03:00
Rodrigo Nascimento 195a795394 Fix login when changing servers 2017-08-14 11:25:17 -03:00
Rodrigo Nascimento 6181c6986e Fix room resize with keyboard 2017-08-14 11:15:37 -03:00
Rodrigo Nascimento 838f4b0fe0 iOS: Hide search field 2017-08-13 22:26:17 -03:00
Rodrigo Nascimento e8c77361c3 [FIX] Cant add new server 2017-08-13 22:13:48 -03:00
Rodrigo Nascimento b719814ffe Add support to TOTP 2017-08-13 21:35:02 -03:00
Rodrigo Nascimento c49a45c234 Render message time and username when there is alias 2017-08-13 21:03:33 -03:00
Rodrigo Nascimento 34ea211506 Add message alias and custom avatar 2017-08-13 20:45:47 -03:00
Rodrigo Nascimento b9f802cfac iOS: Fix room item icon alignment 2017-08-13 20:19:27 -03:00
Rodrigo Nascimento 0ccfbbb574 Fix login and use login placeholders from settings 2017-08-13 20:14:02 -03:00
Rodrigo Nascimento 10652002bc Load settings to redux and allow login via LDAP and CROWD 2017-08-13 20:02:46 -03:00
Rodrigo Nascimento abd6d01b54 Add background color to room view 2017-08-13 17:35:30 -03:00
Diego Sampaio a2ac448e48
Add colors to channels and space items as material design 2017-08-13 12:10:50 -03:00
Rodrigo Nascimento 196e91cf4b Improve channel’s layout 2017-08-13 00:19:14 -03:00
Rodrigo Nascimento 03b97c25b1 Fix room’s list order and load more 2017-08-12 23:15:00 -03:00
Rodrigo Nascimento d522292a98 Android: Remove initial animation 2017-08-12 22:44:22 -03:00
Rodrigo Nascimento 37d34b0b1f Init Redux usage 2017-08-12 22:35:09 -03:00
Rodrigo Nascimento 2626e4a7bb Change the navigator by a better one 2017-08-12 17:52:55 -03:00
Guilherme Gazzo 6f16f66dc8
fix warnings and better flow servers rooms room 2017-08-11 16:57:09 -03:00
Guilherme Gazzo 138546e4c9
listview 2017-08-11 15:18:09 -03:00
Rodrigo Nascimento 0e1cb6e5ed Better reactivity 2017-08-11 14:05:30 -03:00
Rodrigo Nascimento 0b702dc4ca Validating URL whena adding new server. Closes #17 2017-08-11 12:47:18 -03:00
Rodrigo Nascimento 328b7be226 Fix ESLint 2017-08-10 20:26:59 -03:00
Rodrigo Nascimento 0541a13233 Load more messages. Closes #15 2017-08-10 20:21:46 -03:00
Rodrigo Nascimento c7ed4a5fcd Add button to clear search field (iOS) 2017-08-10 17:31:14 -03:00
Rodrigo Nascimento f80d56a53e Search and room icons layout improvements 2017-08-10 17:26:11 -03:00
Rodrigo Nascimento 3c2fd626af Add basic image upload 2017-08-10 17:09:54 -03:00
Guilherme Gazzo 681a649a82 Merge remote-tracking branch 'origin/master' 2017-08-10 13:49:15 -03:00
Guilherme Gazzo fecd0bdc57
better roomList view and click 2017-08-10 13:31:57 -03:00
Guilherme Gazzo 8213fec76a Auto stash before merge of "master" and "origin/master" 2017-08-10 13:25:50 -03:00
Diego Sampaio b7be727d0e Add room search (#16) 2017-08-10 13:16:32 -03:00
Rodrigo Nascimento a154656fa4 Add default avatar with initials 2017-08-10 12:26:14 -03:00
Rodrigo Nascimento 9a5b474183 Improve message layout 2017-08-10 12:16:47 -03:00
Rodrigo Nascimento 60859b43cd Fix header title 2017-08-10 12:11:37 -03:00
Rodrigo Nascimento af89faef11 Indicate server on rooms header 2017-08-10 11:59:07 -03:00
Rodrigo Nascimento 038e28c40b Add markdown and emoji support 2017-08-10 11:27:28 -03:00
Rodrigo Nascimento 4c5adc5dc9 Rename meteor.js to rocketchat.js 2017-08-09 17:18:00 -03:00
Rodrigo Nascimento 8d52209935 Add loading banners 2017-08-09 17:08:50 -03:00
Rodrigo Nascimento f131287182 Add connecting banner 2017-08-09 16:11:00 -03:00
Rodrigo Nascimento d5fa6cb2ea Add cache for avatars 2017-08-09 16:02:09 -03:00
Rodrigo Nascimento b4ffc7985b Listen to subscription updates 2017-08-09 15:15:44 -03:00
Rodrigo Nascimento 1c41214b52 Sort room's list 2017-08-09 15:01:54 -03:00
Rodrigo Nascimento b38c072f51 Improve header buttons for Android 2017-08-09 14:14:50 -03:00
Rodrigo Nascimento 6781b3052d Fix add new server view 2017-08-09 13:40:03 -03:00
Rodrigo Nascimento 9f31e2606e Improve app view flow 2017-08-09 13:19:17 -03:00
Diego Sampaio e01a2d0aaf
Create MessageBox component 2017-08-09 10:12:00 -03:00
Rodrigo Nascimento fddb18fb9f Merge branch 'master' of github.com:rodrigok/Rocket.Chat.RN 2017-08-08 23:27:26 -03:00
Rodrigo Nascimento 86597c505c Fix multiserver 2017-08-08 23:27:22 -03:00
Diego Sampaio 06b9b670d6
Fix message styles 2017-08-08 23:20:34 -03:00
Diego Sampaio 2eee28797a
Improve code organization a bit 2017-08-08 22:40:55 -03:00
Diego Sampaio 5b7efc4a08
Proper fix for keyboard 2017-08-07 15:42:02 -03:00
Diego Sampaio 613061312f
Merge branch 'master' of github.com:rodrigok/Rocket.Chat.RN 2017-08-07 11:10:25 -03:00
Rodrigo Nascimento 68a90bd94f Remove log 2017-08-07 09:39:25 -03:00
Rodrigo Nascimento d8bf38d5e7 Remove log 2017-08-07 09:38:31 -03:00
Diego Sampaio e3a4d0853c
Fix keyboard on room view on Android 2017-08-07 09:30:50 -03:00
Rodrigo Nascimento f836982b09 Sending messages :) 2017-08-06 21:34:35 -03:00
Rodrigo Nascimento 7317fe63e7 Improve ESLint 2017-08-05 15:16:32 -03:00
Rodrigo Nascimento 8104f04682 List messages of rooms (iOS) 2017-08-03 21:34:37 -03:00
Rodrigo Nascimento 19c8b87775 Initial commit 2017-08-03 15:23:43 -03:00