Diego Mello
3683b8936a
[IMPROVEMENT] Use reselect ( #1696 )
2020-02-11 11:09:14 -03:00
Prateek Jain
9caf3bb016
[FIX] Go to direct message from members list ( #1519 )
2020-01-07 14:31:37 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Diego Mello
96eb86927a
[FIX] Intended direct mutation state running before initial state gets initiated ( #1197 )
2019-09-17 11:43:49 -03:00
Diego Mello
9ba37107c7
[CHORE] Migrate to Watermelon ( #1171 )
...
* Install
* Create subscriptions
* Subscription observing and sorting
* Saving last message
* Stash
* Stash
* stash
* Stash
* Rooms list listing :)
* Animated set state
* Search working
* Fix load rooms on login
* stash db class
* set active db with path
* Remove db on logout
* stash
* Created updateMessages
* Inserting/updating threads
* Persisting thread messages
* Removed unused list
* Loading messages from watermelon
* Debounce updates and rerender message
* optional fields
* Fix realm conflict issues
* Fix some render issues
* stash
* List mount
* stash
* fix message id
* Fix tmsg
* - Save subscription.rid as id on watermelon and _id as _id
- Send room as param to room view
* Throttle room updates
* stash
* comment removeClippedSubviews
* Fetch thread name
* try/catch updateMessages
* Show loading while RoomView.init is still running
* stash
* Fix updateMessages
* Threads
* Delete message
* Permalink
* Pin
* Star
* Report
* MessageActions refactor
* Edit message
* Reply message
* Add reaction
* Auto translate
* Fix connection issues
* Mark message as error if something happened on the call
* Error actions
* get custom emoji
* Always run console.log when __DEV__
* Try to create serversDB
* Don't call updateMessages. Execute that entire logic for one message id instead.
* Refactor update messages
* ServersDB User [Realm -> Watermelon]
* Fix models
* Custom emojis
* Custom emojis on emoji picker
* Frequently used emojis
* Fix add reaction on message
* stash
* Fix
* Read messages
* Fix thread
* Fetch thread header
* Follow/unfollow thread
* Fix thread
* Upload file
* Thread tweak
* Realm -> Watermelon [Share Extension]
* Add RoomsUpdatedAt to Servers Table
* Settings
* Settings
* Fix logout
* SendFileMessage ServersDB
* ServersDB on serverDropdown
* Remove serversDB from Realm
* Load thread messages
* Delete message
* Improve getSettings
* Improve
* Remove subscription
* Remove update
* Update room via socket
* Small refactor
* Fix logout and improve migration
* Refactor updateMessages
* Improve migration
* Remove unnecessary update
* Revert remove runAfterInteractions
* Fix serverDropdown
* Fix merge
* Init room actions Watermelon
* Room actions Watermelon
* Remove realm on room members
* Room swipe -> Watermelon
* Fix hideChannel
* Get roles watermelon
* Get permissions watermelon
* Users typing + memory db
* Auto translate watermelon
* New Message View
* Selected Users View
* try/catch
* Get Slash Commands watermelon
* Slash Commands message box
* Custom emojis message box
* Get rooms message box
* Room info view
* Room info edit
* Save active users
* Small refactor
* Message Actions
* hasPermission await
* last hasPermission fix
* Active users on redux
* Add user roles
* Users typing on redux and remove memory db
* Fix saga delay
* Fix few issues
* Fix slash commands preview
* Draft message
* Add muted
* Unread count watermelon
* Remove realm
* Fiz RoomItem rerenders
* Remove realm config
* Rerender status update on RoomItem
* Refactor RoomsListView
* Fix load missed messages
* Fix room update
* Message refactor
* Fixing lint
* removeClippedSubviews on iOS only
* Added few interaction managers
* Fix few rerenders
* Fix RoomItem status typo
* Fix RoomView.SCU
* Fix broadcast
* Fix user status on RoomActionsView
* Fix RocketChat.hasPermission
* Fix database inconsistencies
* Fix few update issues
* Add rxjs and remove with observables
* Fix tests
* Remove subscriptions
* Fix RoomsListView SCU
* Change database structure and set all schemas to 1
* Fix RoomsListView search
* Fixed errors, removed rerenders and added animation
* Fixed a few errors
* Fix lint
* Fix issues caught by LGTM
* fix ios build
* Fix load unjoined channel messages
* Log on database path on startup
* Fix join channel
* Remove react-native-realm-path
* Set user status on login.user reducer
* Fix status not rendering on RoomsListView
* Fix few reducers
* Fix users going offline
* Never use "watermelon" term directly. Replaced by "database"
* Fix custom emoji
* Creating room from app must update roomUpdatedAt
* Log subscribeRoom start
* Fix room subscribe right after creating a DM
* Refactor is read only on messages actions
* Fix typo
* Fix typo
* Review
* Fix schema
* Fix muted & freq emoji & unpin & unstar
* Remove throttleTime to room info & fix reset on edit room
* Fix openServerDropdown spec & Fix unarchive
* Fix MessageAction
* Refactor RoomInfoEditView
* Remove unnecessary condition
* Remove unnecessary condition
* Remove unnecessary condition
* Remove get database
* Rename Command.js to SlashCommand.js
* Create sanitizer util
* Fix indentation
* Create subscription.t index
* Refactor queries on RoomsListView
* Create subscription.name index
* Fix getPermissions
* Fix indentation
* Add missing await
* Fix rocketchat.hasPermission
* Unnecessary change
* Star, pin e delete message refactored
* Refactor customEmojis reducer
* Remove code
* Remove logs
* Remove throttle
* Call this.init on foreground focus on RoomView
* Bump servers schema migration
* Always mark message as sent after a success
* Fetch only messages needed on updateMessages
* Just leave a comment for now
* Fetch only subscriptions returned by fetch
* Set room param on RoomView header in find room
* Update kotlin
* Fix auto translate constructor
* Fix few setState on constructor
* Fix empty room image blinking while mounting
* Improve fetch/persist execution for custom emojis, permissions and settings
* Query only user tapped on RoomMembersView
* Fix typo on canOpenRoom
2019-09-16 17:26:32 -03:00
IlarionHalushka
59a71ffaef
[CHORE] Bugsnag logging setup ( #1145 )
...
* initial bugsnag setup
* upload sourcemaps to bugsnag during ios-build job
* fix: spacing in config.yml
* add yarn global add react-native
* add separate step: Upload sourcemaps to Bugsnag
* add brew install watchman
* install react-native-cli, remove install watchman
* upload source maps for android build
* add yarn add global react-native react-native-cli for android-build ci job
* add working_directory to android-build
* install npm i -g react-native react-native-cli
* add Install Node step to android-build job
* export path to node to bash_profile
* add step Install React Native CLI to android build job
* use yarn generate-source-maps in ci; exchange firebase log -> bugsnag log
* implement send(toggle) crash reports button
* move BUGSNAG_API_KEY to config file; remove generated source maps files
* unlink bugsnag
* add ios/Pods files connected to Bugsnag; fix ci android build job
* export firebase analytics also from /utils/log
* use `log(e)` instead of `log(error)`
* API Key changes
* pod install
* Fix iOS build
* Simulate error
* lint
* Add navigation
* Use projectRoot
* Revert project root
* - Don't run on forks
- Upload dSYMs
* Remove error sim
* Remove automatic dSYMs upload
* Remove fastlane-plugin-bugsnag
2019-08-23 10:18:47 -03:00
Diego Mello
ba232547f1
[CHORE] Update to react-native 0.60.4 ( #1095 )
...
* Update to 0.59.10
* stash
* stash
* patch RN
* Try to fix openURL
* Fix compile Share Extension
* Minor fixes
* build ios
* tracking view working and added postinstall
* SafeAreaView vertical never
* tracking view patch
* Android build working
* Android notifications working
* Lint and tests
* Fix android build
* Add tools:replace="android:appComponentFactory"
* Android build
* Update vector icons
* Update webview
* Remove jsc
* Update document picker
* Firebase
* jetify on postinstall
* Patch expo-haptics
* CI
* Migrate packages manually
* Disable ci cache
* Revert "Disable ci cache"
This reverts commit 4740d861021f667f0223d7351a1da6f90cc2e417.
* CI
* audio
* adapter
* notifications
* Try RN directly
* Fix gradle
* Revert patches
* Restore cache
* update redux and lodash
* eslint-config-airbnb@17.1.1 eslint-plugin-jsx-a11y@6.2.3
* ejson@2.2.0 react-native-webview@6.7.0 semver@6.3.0 snyk@1.210.0
* codecov@3.5.0 eslint-plugin-react@7.14.3 eslint-plugin-react-native@3.7.0 react-dom@16.8.6
* Update react-redux and remove decorators
* Update redux-saga and reactotron libs
* Husky
* Storybook libs
* react-native-webview@6.8.0 markdown-it-flowdock@0.3.8 react-native-unimodules@0.5.3
* Removed regenerator-runtime
* react-native-picker-select
* react-navigation-header-buttons
* Remove comments
* react-native-notifications
* Fix rnn android build
2019-08-07 10:51:34 -03:00
pranavpandey1998official
aac6da34af
[IMPROVEMENT] Reusable toast ( #1065 )
2019-07-23 11:02:57 -03:00
Diego Mello
3b43cb3fb7
[IMPROVEMENT] Use haptics rather than vibration ( #1016 )
...
* Install expo-haptics
* Use expo-haptics rather than RN's Vibration module
2019-06-28 14:07:17 -03:00
Diego Mello
a148e6d15d
[FIX] Analytics error events ( #930 )
2019-05-28 13:18:46 -03:00
Diego Mello
9e4a4d2454
[CHORE] Use react-native-firebase ( #928 )
...
We need to migrate from deprecated react-native-fabric to react-native-firebase.
This PR enables following Firebase features:
* Analytics
* Crashlytics
* Performance
It also tracks screen view without the necessity of HOC.
Future work:
I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc.
2019-05-28 10:03:08 -03:00
Diego Mello
60418b75a4
Message render performance ( #880 )
...
- Refactored Message component to use React.memo and re-render only what's necessary
- Added a test mode to toggle markdown parse by long press drawer (it'll be removed in the next release)
2019-05-20 17:43:50 -03:00
Diego Mello
28628b4dba
Switch toast lib ( #898 )
...
* removed toast from ios
* changed showToast to showAlert
* removed from android
* fix lint
* conflict resolved
* fixed lint
* Fix toast position
* Change toast style
* Use followMessage from rest
* Temporary disable some visual toast tests
* Unnecessary lib version change
2019-05-15 16:33:30 -03:00
Diego Mello
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
2814a6e091
[FIX] Show ActivityIndicator in RoomMembersView ( #686 )
2019-03-18 16:13:59 -03:00
Diego Mello
38dabfc9ff
Switch to react-navigation ( #687 )
2019-03-12 13:23:06 -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
b1236f2f21
[FIX] Room members filter ( #655 )
2019-02-26 09:46:27 -03: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
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
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
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
c6fcfb63fd
[WIP] New Authentication layout ( #536 )
...
New Authentication layout
2018-11-14 19:42:03 -02:00
Diego Mello
ba9cc637d3
[NEW] Room header layout ( #521 )
2018-10-31 15:40:08 -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
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
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
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
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
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
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
466a57e6b1
I18n ( #312 )
2018-06-01 14:38:13 -03:00
Guilherme Gazzo
182ab69d6f
Detox tests E2E ( #283 )
2018-05-23 10:39:18 -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
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
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
fcf55d259f
Workaround for RN 0.54 on iOS ( #246 )
2018-03-06 14:40:44 -03: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