Commit Graph

515 Commits

Author SHA1 Message Date
Diego Mello ee99001010
[FIX] Smaller thread title (#846)
* [FIX] Smaller thread title

* Remove markdown notation from thread title

* On message press debounce

* Align vertical thread title
2019-04-25 14:18:49 -03:00
Diego Mello 5744114d7d
[FIX] Threads (#838)
Closes #826
Closes #827
Closes #828
Closes #829
Closes #830
Closes #831
Closes #832
Closes #833
2019-04-24 15:36:29 -03:00
Diego Mello 0266cc2e01
Room item layout (#835) 2019-04-18 17:57:35 -03:00
Diego Mello 03adaa3f81
Lock drawer when stack is not on root screen (#825) 2019-04-18 10:43:44 -03:00
Diego Mello fb88d08f88
[FIX] Apply emojify on empty texts (#824) 2019-04-18 09:43:31 -03:00
kareem hamdy fde8aea173 [FIX] Giphy not showing (#810) 2019-04-17 16:27:14 -03:00
Diego Mello a891ee14ee
RoomsListView improvements (#819) 2019-04-17 15:57:46 -03:00
Diego Mello 9cf81bbab9
[NEW] Threads (#798) 2019-04-17 14:01:03 -03:00
Diego Sampaio 1d9acdb700 [NEW] Discussions (#696) 2019-04-08 09:35:28 -03:00
Diego Mello 2019ec58ce
[FIX] Add Realm.safeAddListener (#785) 2019-04-04 15:08:40 -03:00
pranavpandey1998official 46a36d7764 [NEW] Draft message per room (#772) 2019-04-01 11:45:17 -03:00
Diego Mello 9e107bfdf6
Room item layout (#771) 2019-03-29 16:36:07 -03:00
Diego Mello fd5fbe47e8
Use FlatList in RoomView (#762) 2019-03-27 17:06:57 -03:00
pranavpandey1998official 5771757fa8 [NEW] Scroll down floating button (#735) 2019-03-25 17:54:40 -03:00
pranavpandey1998official e9183b523b [NEW] Scrollable room name feature (#756) 2019-03-25 17:20:24 -03:00
pranavpandey1998official 2814a6e091 [FIX] Show ActivityIndicator in RoomMembersView (#686) 2019-03-18 16:13:59 -03:00
Vitor Luis e8f1a694c6 I18n: Add Portuguese (Portugal) (#722) 2019-03-18 16:09:40 -03:00
pranavpandey1998official e1f76a684d Fix handle invisible status (#692) 2019-03-18 16:01:23 -03:00
Diego Mello 477311f84a
[FIX] Deep linking between multiple logged servers (#730) 2019-03-18 15:52:38 -03:00
Diego Mello 38dabfc9ff
Switch to react-navigation (#687) 2019-03-12 13:23:06 -03:00
Diego Mello eb4b1553bf
[FIX] Fix null native Messagebox component object (#680)
* Fix null native Messagebox component object

* [iOS] Fix header alignment

* Remove unused files
2019-03-06 10:27:40 -03:00
Diego Mello a139cc83e5
New icons (#643)
* 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
2019-03-01 13:49:11 -03:00
AnBo83 8d94fdebc0 [FIX] Fix some language issues in German language (#664) 2019-03-01 11:57:38 -03:00
Diego Mello 8f5381d770
Update React Native to 0.58.6 (#668) 2019-03-01 11:40:22 -03:00
Diego Mello 09372182df
[FIX] Select emoji error (#666) 2019-02-28 15:03:26 -03:00
Diego Mello 6106c40557
[FIX] Fetch rooms date (#662) 2019-02-27 17:29:37 -03:00
Diego Mello 8c1b57eb26
Message button (#660)
* Remove touchable opacity when scrolling messages
* Tap on disable messages closes keyboard
* Unify vibration
* Vibrate only on Android
2019-02-27 11:47:15 -03:00
Diego Mello f3ddf60a57
Remove drawer (#653)
* 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
2019-02-27 11:26:40 -03:00
Diego Mello 2ef2be51d3
[FIX] Slow messagebox (#658) 2019-02-27 11:23:40 -03:00
Diego Mello 025c5cba74
[FIX] uploadProgress is not a function (#656) 2019-02-26 09:47:06 -03:00
Diego Mello b1236f2f21
[FIX] Room members filter (#655) 2019-02-26 09:46:27 -03:00
Diego Mello e9f57e0337
[FIX] Change actions labels (#654) 2019-02-26 09:45:45 -03:00
Diego Mello df78a6831c
[FIX] Handle database errors properly (#650) 2019-02-25 13:23:17 -03:00
Diego Mello bf212bfc4d
[FIX] Prevent mass is typing dispatchs (#651) 2019-02-25 13:22:48 -03:00
AnBo83 a04c152feb I18n: Add German (#641) 2019-02-21 14:17:03 -03:00
Diego Mello d795aea8c4
[FIX] Remove rooms listener (#630) 2019-02-14 14:43:56 -02:00
Fazil Boudjelal ce96595dce I18n: Add French (#629) 2019-02-14 13:40:41 -02:00
Diego Mello 68f5a94f5a
[FIX] SDK issues (#621)
* Remove listeners from room
* Properly close connections on change server
* Minor layout change on connecting badge
2019-02-12 14:14:11 -02:00
Diego Mello 7bf1f3c0be
[FIX] Reply title should break text (#616) 2019-02-08 14:34:50 -02:00
Diego Mello f065bd05f2
Allow to create empty channel (#615) 2019-02-08 14:34:01 -02:00
Diego Mello c9bf599bcf
[FIX] Start loop searching for rooms updates only when connection goes down and SDK has userId (#613) 2019-02-07 18:28:39 -02:00
Diego Mello 833bf1e706
[FIX] 2FA login in a server with LDAP enabled (#612) 2019-02-07 18:27:37 -02:00
David Lougheed e5930cc0fe [FIX] Load avatar on servers that prevent unauthenticated avatar access (#604)
App would show an empty space on servers that require authentication on avatar access
2019-02-07 17:58:20 -02:00
Diego Mello db0cd5abd1
Updating room indicator (#609)
Shows "Updating..." when requesting rooms from Rest API.
2019-02-07 14:13:21 -02:00
Diego Mello 0f516083f4
Add Icons class (#611)
Creates Icons class to manage when to load icons from native side or react-native-vector-icons.
It also fixes `react-native run-android` #517
2019-02-07 14:04:41 -02:00
Diego Mello 2585038112
Update JS SDK version (#602) 2019-02-07 13:48:10 -02:00
Diego Mello d26f14d155
[FIX] v1.8.0 (#599)
* Downgrade react-native-fast-image

* Update iOS permission usage descriptions

* [FIX] Delete upload item
2019-02-01 11:30:12 -02:00
Diego Mello d5a285f85e
Create class to manage navigation (#594)
* Add Navigation class

* Place Drawer.js logic inside of Navigation

* Load less views at startup
2019-01-31 14:08:38 -02:00
David Lougheed d139782e01 [FIX] LDAP login (#596) 2019-01-31 09:48:28 -02:00
Diego Mello afe4ad7e3d
[FIX] Back button press on message actions (#592) 2019-01-30 11:33:48 -02:00
Pranay Ankit e416fe0c68 [FIX] Better message actions (#567) 2019-01-30 10:11:02 -02:00
Diego Mello 754508c2d9
Update dependencies (#587) 2019-01-29 17:52:56 -02:00
Diego Mello d23c055584
Unnecessary re-renders removed (#570)
* 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
2018-12-21 08:55:35 -02:00
Diego Mello 5ee1f557d8
[FIX] GET /info to check if it's a valid server instead of x-instance-id (#573) 2018-12-18 13:11:47 -02:00
Diego Mello ad37586065
Use Rest API pt 2 (#568)
* 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
2018-12-12 13:15:10 -02:00
Diego Mello dca2181b2c
[FIX] Load messages on notification tap (#564) 2018-12-07 15:47:50 -02:00
Diego Mello 17da7ac09c
Chats: Don't show group header if none of the filters is selected (#560) 2018-12-06 10:53:20 -02:00
Diego Mello a2821af95b
Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
diegolmello bef34f7f96 [FIX] x-instance-id header prop is case insensitive 2018-11-28 10:10:22 -02:00
Diego Mello 4bc54f10e0
[FIX] x-instance-id header prop is case insensitive (#551) 2018-11-27 18:25:00 -02:00
Diego Mello e66dbd8ca3
[FIX] Android stuck on splash screen after hardware back button is pressed (#550)
* [FIX] Android stuck on splash screen after hardware button is pressed

* Fix empty user at asyncstorage

* Remove unused subscribe
2018-11-27 17:40:53 -02:00
Diego Mello 35fac39594
Regression: Deep linking stopped working after react-native-navigation update (#549) 2018-11-22 16:54:38 -02:00
achilles-kosun 50cf3cea59 I18n: Add missing translation of simplified Chinese (#539) 2018-11-20 09:48:50 -02:00
Diego Mello 2692f5222d
[FIX] Upload buttons on Android (#541) 2018-11-19 16:18:15 -02:00
Diego Mello f13d7ed631
DDP Connection badge animation changed (#533) 2018-11-16 09:07:13 -02:00
Diego Mello e9deb577e0
Regression: Resend messages with error (#532) 2018-11-16 09:06:29 -02:00
Diego Mello c6fcfb63fd
[WIP] New Authentication layout (#536)
New Authentication layout
2018-11-14 19:42:03 -02:00
Diego Mello fc1796e098
[FIX] Composer composer's send icon slowness (#528) 2018-11-05 17:03:17 -02:00
Diego Mello 0dd4899789
[FIX] Dismiss keyboard on room close (#530) 2018-11-05 17:02:54 -02:00
Diego Mello 461f865656
[FIX] Room view header crashes when destructuring reducer (#523) 2018-11-05 10:00:58 -02:00
Diego Mello 1c9aa9bf33
[FIX] App connects to previous server instead of the recent added (#518) 2018-10-31 15:41:56 -03:00
Diego Mello e7277be004
[FIX] Flashing avatars on Android after #512 (#519) 2018-10-31 15:41:19 -03:00
Diego Mello afb2e6fd92
Clear iOS notification on resume/open (#520) 2018-10-31 15:40:39 -03:00
Diego Mello ba9cc637d3
[NEW] Room header layout (#521) 2018-10-31 15:40:08 -03:00
Diego Mello 29b74133d4
Fix iOS pop gesture and open sidemenu gesture (#511) 2018-10-29 10:54:23 -03:00
Diego Mello 6dde0f2432
Fetch avatar initials from server (#512) 2018-10-29 10:53:32 -03:00
Diego Mello 11e94b9017
[FIX] Messages not being loaded properly (#513) 2018-10-29 10:52:44 -03:00
Diego Mello 53014ce022
Check if lastMessage has an attachment and show "User sent an attachment" at RoomsList (#510) 2018-10-26 10:24:00 -03:00
Diego Mello 6657ad272e
[FIX] iOS pop gesture not working properly (#509) 2018-10-25 16:27:11 -03:00
achilles-kosun eb93df853a [I18n] Add Simplified Chinese(zh-CN) locale (#505) 2018-10-24 16:10:44 -03:00
Diego Mello 402403f964
Update navigation library (#501)
* 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
2018-10-23 18:39:48 -03:00
Diego Mello ed1988d64d
[FIX] Logout (#497)
* [FIX] Logout

* Removed realm instances on rooms list
2018-10-18 14:56:49 -03:00
Diego Mello abc61342b0
Smaller header icons inside the room (#499) 2018-10-18 14:56:15 -03:00
Diego Mello 158df06d5c
[FIX] OAuth (#496) 2018-10-18 12:47:29 -03:00
Diego Mello 5ea7d49654
Regression: Crash on Android search (#492) 2018-10-17 13:30:00 -03:00
Diego Mello f8b402e505
Regression: Wait for unmount to delete database after logout (#489) 2018-10-17 09:31:24 -03:00
Diego Mello 44fcb327cf
[FIX] Delete room error (#485) 2018-10-16 17:30:04 -03:00
Diego Mello bb8649cac4
Use grouping setting on temp messages (#486) 2018-10-16 17:29:30 -03:00
Diego Mello e4faa73b68
[FIX] Unread rooms group order (#487) 2018-10-16 17:28:04 -03:00
Diego Mello 7dfd57b20c
[FIX] 2FA and LDAP (#488) 2018-10-16 17:27:37 -03:00
Diego Mello 5a3ba40a9f
Use Rocket.Chat JS SDK (#481)
* JS SDK

* API working

* Multiple servers
2018-10-15 17:22:42 -03:00
Diego Mello 8db5723da8
[FIX] DDP badge wasn't hiding on fast connections (#477) 2018-10-15 16:42:23 -03:00
Marcelo Schmidt 3502d4514b Display custom fields on user info (#476)
* Render custom fields on user info

* renderCustomFields fix

* Display custom fields in user info

* Fix lint error
2018-10-15 16:41:39 -03:00
Diego Mello 2d7360f077
Connecting to DDP badge (#471) 2018-10-02 09:33:21 -03:00
Diego Mello 2642a9e808
[FIX] Search rooms (#468) 2018-09-28 17:17:49 -03:00
Diego Mello d5a4ead888
[FIX] Handle deleted messages (#466)
* [FIX] Handle deleted messages

* Fix rest error

* Fix some connection issues
2018-09-28 15:57:29 -03:00
Diego Mello d6c6ac4ae8
Composer layout tweaked (#464)
* Composer layout tweaked

* Fix localization error

* Bump version to 1.3.2
2018-09-27 08:43:19 -03:00
Diego Mello d6162d9fc8
Better touch handling on rooms list (#462)
* Use react-native-gesture-handler at RoomItem

* Fixed info message author

* Edit message render improvement

* Fix ws to http replace
2018-09-26 16:38:06 -03:00
Diego Mello e18491f589
Use inline requires (#459)
* 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
2018-09-26 10:56:36 -03:00
Diego Mello 81c53acd60
Update dependencies (#431)
* 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
2018-09-25 16:28:42 -03:00
Diego Mello e06ba0139d
[NEW] Portuguese translation (#452)
* [NEW] Portuguese translation

* Remove servers from sidebar
2018-09-21 14:24:32 -03:00
Diego Mello 9c007c11b7
[NEW] Show app version (#454) 2018-09-21 14:24:15 -03:00
Diego Mello 46f155d728
[NEW] Use community JSC for Android (#450)
* [NEW] Use community JSC for Android

* Quick fix on unread chats
2018-09-19 14:08:41 -03:00
Diego Mello 5752b865b0
Several fixes for 1.2.1 (#448)
* 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
2018-09-19 11:18:32 -03:00
Diego Mello 4c19de9433
Avoid errors on Audio/Image/Video (#443) 2018-09-14 16:39:52 -03:00
Diego Mello 849de55604
[FIX] Drawer navigation won't refresh chats (#432) 2018-09-13 17:40:03 -03:00
Diego Mello 96d0b1fcbc
[NEW] Message layout (#426)
* 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
2018-09-11 13:32:52 -03:00
Diego Mello 92cedf76c1
[FIX] Missing current server (#427)
* server.current removed

* Increased area of touch on header

* Hide search when sort dropdown is tapped

* default server icon url

* 1.1.1
2018-09-05 15:15:03 -03:00
Diego Mello 101d4c727c
Sort/group rooms local only (#425)
* Update android api from ci

* Sort local only
2018-09-04 11:29:20 -03:00
Diego Mello e1952ca146
[FIX] Open unsupported videos on browser (#422) 2018-08-31 15:15:05 -03:00
Diego Mello de1a63c815
[NEW] Create channel layout (#420)
* 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
2018-08-31 15:13:30 -03:00
Diego Mello dc6d60b28e
[NEW] Rooms list layout (#413)
* 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
2018-08-31 13:46:33 -03:00
Diego Mello 9f9a9b71a4 [FIX] Only single attachment rendered (#417) 2018-08-21 16:37:15 -03:00
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