Commit Graph

56 Commits

Author SHA1 Message Date
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 a2821af95b
Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
Diego Mello 35fac39594
Regression: Deep linking stopped working after react-native-navigation update (#549) 2018-11-22 16:54:38 -02:00
Diego Mello c6fcfb63fd
[WIP] New Authentication layout (#536)
New Authentication layout
2018-11-14 19:42:03 -02: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 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 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 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 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
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 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 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 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
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 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 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
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
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
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 0636fd0266 Emoji picker (#185)
* Emoji picker working

* Gif support on Android
2018-01-16 16:48:05 -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
Guilherme Gazzo 7a1d359a4f
Test improve render (#159)
[NEW] ListView
2018-01-09 15:12:55 -02:00
Diego Mello b9ca7abb52 [WIP] Abstract database calls (#157)
* Databases separated
2017-12-27 13:22:06 -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
Diego Mello 7ea98f1337 Delete/resend message (#136)
* Fixed temp message

* Delete/resend working

* Edit message fixed
2017-12-13 13:00:26 -02:00
Diego Mello c84c5a3565 Header redesign (#133)
* Search

* Custom search on iOS and Android
2017-12-08 17:13:21 -02:00
Diego Mello af5c3efbd2 Manage user's status (#128)
* Init custom header

* Change user status
2017-12-05 17:57:44 -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
Diego Mello f65a284953 Messages permissions (#100) 2017-11-24 18:44:52 -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 5f844f5a85 Messages actions (#90)
- delete
- edit
- pin
- star
- reply
- copy
- quote
2017-11-21 12:55:50 -02:00
Guilherme Gazzo 1c39886deb user typing no style 2017-11-20 20:18:00 -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 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 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
Diego Mello 7027656f4b Forgot my password (#62)
* Forgot password working
2017-11-10 11:42:02 -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
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
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
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
Guilherme Gazzo c498901aac
auto login connect 2017-08-17 17:15:24 -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