Diego Mello
61afa86c0e
[NEW] Passcode and biometric unlock ( #2059 )
...
* Update expo libs
* Configure expo-local-authentication
* ScreenLockedView
* Authenticate server change
* Auth on app resume
* localAuthentication util
* Add servers.lastLocalAuthenticatedSession column
* Save last session date on background
* Use our own version of app state redux
* Fix libs
* Remove inactive
* ScreenLockConfigView
* Apply on saved data
* Auto lock option label
* Starting passcode
* Basic passcode flow working
* Change passcode
* Check if biometry is enrolled
* Use fork
* Migration
* Patch expo-local-authentication
* Use async storage
* Styling
* Timer
* Refactor
* Lock orientation portrait when not on tablet
* share extension
* Deep linking
* Share extension
* Refactoring passcode
* use state
* Stash
* Refactor
* Change passcode
* Animate dots on error
* Matching passcodes
* Shake
* Remove lib
* Delete button
* Fade animation on modal
* Refactoring
* ItemInfo
* I18n
* I18n
* Remove unnecessary prop
* Save biometry column
* Raise time to lock to 30 seconds
* Vibrate on wrong confirmation passcode
* Reset attempts and save last authentication on local passcode confirmation
* Remove inline style
* Save last auth
* Fix header blink
* Change function name
* Fix android modal
* Fix vibration permission
* PasscodeEnter calls biometry
* Passcode on the state
* Biometry button on PasscodeEnter
* Show whole passcode
* Secure passcode
* Save passcode with promise to prevent empty passcodes and immediately lock
* Patch expo-local-authentication
* I18n
* Fix biometry being called every time
* Blur screen on app inactive
* Revert "Blur screen on app inactive"
This reverts commit a4ce812934adcf6cf87eb1a92aec9283e2f26753.
* Remove immediately because of how Activities work on Android
* Pods
* New layout
* stash
* Layout refactored
* Fix icons
* Force set passcode from server
* Lint
* Improve permission message
* Forced passcode subtitle
* Disable based on admin's choice
* Require local authentication on login success
* Refactor
* Update tests
* Update react-native-device-info to fix notch
* Lint
* Fix modal
* Fix icons
* Fix min auto lock time
* Review
* keep enabled on mobile
* fix forced by admin when enable unlock with passcode
* use DEFAULT_AUTO_LOCK when manual enable screenLock
* fix check has passcode
* request biometry on first password
* reset auto time lock when disabled on server
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-05-08 14:04:37 -03:00
Diego Mello
ce51982bb0
Update all dependencies ( #2008 )
...
* Android RN 62
* First steps iOS
* Second step iOS
* iOS compiling
* "New" build system
* Finish iOS
* Flipper
* Update to RN 0.62.1
* expo libs
* Hermes working
* Fix lint
* Fix android build
* Patches
* Dev patches
* Patch WatermelonDB: https://github.com/Nozbe/WatermelonDB/pull/660
* Fix jitsi
* Update several minors
* Update dev minors and lint
* react-native-keyboard-input
* Few updates
* device info
* react-native-fast-image
* Navigation bar color
* react-native-picker-select
* webview
* reactotron-react-native
* Watermelondb
* RN 0.62.2
* Few updates
* Fix selection
* update gems
* remove lib
* finishing
* tests
* Use node 10
* Re-enable app bundle
* iOS build
* Update jitsi ios
2020-05-08 13:37:49 -03:00
Djorkaeff Alexandre
c578f1bbe8
[IMPROVEMENT] Change server while connecting/updating ( #1981 )
...
* [IMPROVEMENT] Change server while connecting
* [FIX] Not login/reconnect to previous server
* [FIX] Abort all fetch while connecting
* [FIX] Abort sdk fetch
* [FIX] Patch-package
* Add comments
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-05 10:11:28 -03:00
Djorkaeff Alexandre
ee5b7592b4
[NEW] Delete Server ( #1975 )
...
* [NEW] Delete server
Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
* [FIX] Revert removed function
Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
* pods
* i18n
* Revert "pods"
This reverts commit 2854a1650538159aeeafe90fdb2118d12b76a82f.
Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-04 17:20:45 -03:00
Djorkaeff Alexandre
022b0330bf
[FIX] RoomsList update sometimes isn't fired ( #2071 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 14:38:57 -03:00
Djorkaeff Alexandre
f3b98c29c5
[FIX] Prevent double click ( #2079 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 13:03:07 -03:00
Djorkaeff Alexandre
404c381ca2
[FIX] Read only channel/broadcast ( #1951 )
...
* [FIX] Read only channel/broadcast
* [FIX] Roles missing
* [FIX] Check roles to readOnly
* [FIX] Can post
* [FIX] Respect post-readonly permission
* [FIX] Search a room readOnly
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 09:51:16 -03:00
Djorkaeff Alexandre
2e65a795df
[FIX] DM header blink ( #2011 )
2020-04-09 02:20:57 -03:00
Djorkaeff Alexandre
ee0e7bb9d1
[FIX] Investigate app losing connection issues ( #1890 )
...
* [WIP] Reopen without timeOut & ping with 5 sec & Fix Unsubscribe
* [FIX] Remove duplicated close
* [FIX] Use no-dist lib
* [FIX] Try minor fix
* [FIX] Try reopen connection when app was put on foreground
* [FIX] Remove timeout
* [FIX] Build
* [FIX] Patch
* [FIX] Snapshot
* [IMPROVEMENT] Decrease time to reopen
* [FIX] Some fixes
* [FIX] Update sdk version
* [FIX] Subscribe Room Once
* [CHORE] Update sdk
* [FIX] Subscribe Room
* [FIX] Try to resend missed subs
* [FIX] Users never show status when start app without network
* [FIX] Subscribe to room
* [FIX] Multiple servers
* [CHORE] Update SDK
* [FIX] Don't duplicate streams on subscribeAll
* [FIX] Server version when start the app offline
* [FIX] Server version cached
* [CHORE] Remove unnecessary code
* [FIX] Offline server version
* [FIX] Subscribe before connect
* [FIX] Remove unncessary props
* [FIX] Update sdk
* [FIX] User status & Unsubscribe Typing
* [FIX] Typing at incorrect room
* [FIX] Multiple Servers
* [CHORE] Update SDK
* [REVERT] Undo some changes on SDK
* [CHORE] Update sdk to prevent incorrect subscribes
* [FIX] Prevent no reconnect
* [FIX] Remove close on open
* [FIX] Clear typing when disconnect/connect to SDK
* [CHORE] Update SDK
* [CHORE] Update SDK
* Update SDK
* fix merge develop
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-03 15:03:53 -03:00
Diego Mello
e62a7e84c8
[FIX] Add server and hide login ( #1968 )
...
* Navigate to new server workspace from ServerDropdown if there's no token
* Hide login button based on login services and Accounts_ShowFormLogin setting
* [FIX] Lint
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-04-01 12:56:08 -03:00
Djorkaeff Alexandre
076e5e87c6
[NEW] Direct Message between multiple users ( #1958 )
...
* [WIP] DM between multiple users
* [WIP][NEW] Create new DM between multiple users
* [IMPROVEMENT] Improve createChannel Sagas
* [IMPROVEMENT] Selected Users view
* [IMPROVEMENT] Room Actions of Group DM
* [NEW] Create new DM between multiple users
* [NEW] Group DM avatar
* [FIX] Directory border
* [IMPROVEMENT] Use isGroupChat
* [CHORE] Remove legacy getRoomMemberId
* [NEW] RoomTypeIcon
* [FIX] No use legacy method on RoomInfoView
* [FIX] Blink header when create new DM
* [FIX] Only show create direct message option when allowed
* [FIX] RoomInfoView
* pt-BR
* Few fixes
* Create button name
* Show create button only after a user is selected
* Fix max users issues
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-01 09:28:54 -03:00
Diego Mello
acdf39b32d
[NEW] Onboarding layout ( #1954 )
...
* Onboarding texts
* OnboardingView
* FormContainer
* Minor fixes
* NewServerView
* Remove code
* Refactor
* WorkspaceView
* Stash
* Login with email working
* Login with
* Join open
* Revert "Login with"
This reverts commit d05dc507d2e9a2db76d433b9b1f62192eba35dbd.
* Fix create account styles
* Register
* Refactor
* LoginServices component
* Refactor
* Multiple servers
* Remove native images
* Refactor styles
* Fix testid
* Fix add server on tablet
* i18n
* Fix close modal
* Fix TOTP
* [FIX] Registration disabled
* [FIX] Login Services separator
* Fix logos
* Fix AppVersion name
* I18n
* Minor fixes
* [FIX] Custom Fields
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-03-30 16:20:50 -03:00
Djorkaeff Alexandre
6ada35e460
[IMPROVEMENT] Request user presence on demand ( #1813 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-03 18:10:39 -03:00
Djorkaeff Alexandre
9e4cef5742
[FIX] Use RealName when necessary ( #1758 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-21 13:13:05 -03:00
Diego Mello
6a40d4cefb
[CHORE] Memory leaks investigation ( #1675 )
2020-02-17 16:06:18 -03:00
Diego Mello
58e5781ed2
[FIX] Spotlight ( #1719 )
2020-02-13 16:24:39 -03:00
Djorkaeff Alexandre
3a87872415
[FIX] Small fixes on UIKit ( #1709 )
2020-02-12 14:21:11 -03:00
Djorkaeff Alexandre
42a53b4c9d
[NEW] Pull to refresh RoomsList ( #1701 )
2020-02-11 17:13:44 -03:00
Diego Mello
3683b8936a
[IMPROVEMENT] Use reselect ( #1696 )
2020-02-11 11:09:14 -03:00
Djorkaeff Alexandre
b90cf9e486
[NEW] Omnichannel Beta ( #1674 )
2020-02-07 10:24:16 -03:00
Diego Mello
0673081465
[NEW] Invite links ( #1534 )
2020-01-28 10:22:35 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Diego Mello
224ff5fe44
[FIX] Rooms grouping not working properly ( #1435 )
2019-12-03 09:32:02 -03:00
Diego Mello
3d82cce004
[FIX] BackHandler remove random failing on development ( #1423 )
2019-11-27 17:53:46 -03:00
Djorkaeff Alexandre
a0dc2bad4a
[NEW] Tablet support ( #1300 )
2019-11-25 17:01:17 -03:00
Diego Mello
93356341b9
[UPDATE DEPS] Update RN to 0.61.3 ( #1345 )
2019-10-31 13:21:59 -03:00
Calebe Rios
20a73907ff
[IMPROVEMENT] Respect "Hide counter" preference ( #1306 )
2019-10-28 17:04:44 -03:00
Lucas Siqueira
d52a7e00cc
[FIX] Server dropdown not closing after changing stack ( #1299 )
2019-10-28 09:46:50 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Diego Mello
b9485ad3f8
[FIX] Room subscription issues ( #1255 )
2019-09-27 17:29:25 -03:00
Djorkaeff Alexandre
3dd47519fe
[CHORE] Update react-native-reanimated to 1.3.0 ( #1246 )
2019-09-27 14:18:11 -03:00
Djorkaeff Alexandre
22899f316c
[FIX] Avatar shown when useRealName is activated ( #1162 )
...
* Fix avatar when use real name
* Wrong indentation
2019-09-26 15:35:33 -03:00
Diego Mello
6889241b45
[FIX] Remove animation from RoomsListView.willFocus ( #1239 )
2019-09-26 13:54:39 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Diego Mello
c9d016376c
[FIX] Dispatch roomsRequest on app foreground event even if not connected ( #1234 )
2019-09-25 18:32:30 -03:00
Prateek Jain
bbc8fe5398
[FIX] Close SortDropdown on sort select ( #1230 )
2019-09-25 17:43:17 -03:00
vitorandos
94346634ae
[CHORE] Use React Fragment shorthand ( #1212 )
2019-09-24 17:26:56 -03:00
Djorkaeff Alexandre
f29b9aaa75
[FIX] Unnecessary rooms list render on focus ( #1226 )
2019-09-24 15:19:33 -03:00
Diego Mello
81198b4c4f
[IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation ( #1206 )
...
* [IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation
* Don't run on Android
* Refactor
* Remove unnecessary code
2019-09-19 10:32:24 -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
Tanuj Singh
7b2185d361
[IMPROVEMENT] Use autoFocus rather than timeout + focus ( #1071 )
...
* autofocus replaced timout+focus
* removed inputRef
* Unnecessary focus on NewServerView when passing server as props
* Removed unnecessary code
2019-08-07 16:20:16 -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
Djorkaeff Alexandre
805be06c4a
[FIX] Moment locales ( #1066 )
2019-07-23 11:07:18 -03:00
Djorkaeff Alexandre
13859fa17d
[CHORE] Switch to react-native-localize ( #1043 )
2019-07-16 11:30:29 -03:00
Diego Mello
c2497145fc
[FIX] Swipe animations ( #1044 )
...
* Comment removeClippedSubviews
* Comment width animation
* Remove redux from RoomItem
* Fix wrong re-render comparison
* Remove listener
* Raise minDeltaX
* memo actions
* Spring with native driver
* Refactor functions
* Fix props issues
* Remove RoomItem.height
* Long swipe
* Refactor animations
* this.rowTranslation -> this.transX
* Moved state to this
* Fix favorite button
2019-07-15 13:54:28 -03:00
Diego Mello
b444c425d2
[FIX] Rooms swipes ( #1034 )
...
* Regression: on press style feedback
* Action button styles
* Fix animations
* Styles changed
* Update subscription without having to wait for socket
* Calculate width on RoomsListView instead
2019-07-04 13:15:30 -03:00
pranavpandey1998official
47676c2286
[NEW] Room swipe actions: mark as read/unread, hide, fav ( #976 )
...
* added unread and fav feature
* changed the layout
* fix jest
* done requested changes
* added requested changes
2019-07-01 11:20:38 -03:00
Djorkaeff Alexandre
255ea84599
[IMPROVEMENT] Share credentials with Rocket.Chat.iOS ( #982 )
...
* ✨ Create user table
* ✨ Introduce user table
* 🔥 Remove unused table
* ➕ Add userdefaults to storage data
* 💚 Fix android build
* ✨ Get credentials from iOS native client
* 🔥 Remove unused code
* ⏪ Revert sign xcode
* 🐛 Fix first login-logout
* 🎨 Use constants to UserDefaults Keys
* 🐛 Fix clear server-user-info on logout
* 🐛 Fix filter null value
* 🚑 Remove user object in logout
* ✨ Fix get servers from native-client
* 🚑 Fix error on change server
2019-06-26 16:50:03 -03:00
Diego Mello
319630949e
[FIX] Cancel ongoing tasks on server change ( #984 )
...
* Fork selectServer and loginSuccess
* Fork tasks on login
* Refactor
* Remove room sub and requests on logout
* Comment room header disabled rule
* Check server on rooms stream
* Uncomment disabled props
* Fix updating state
* Comment last fetch user presence date
2019-06-17 10:57:07 -03:00
Diego Mello
b7e6d3615f
[NEW] Directory and Federation ( #967 )
...
* Initial
* Search working
* Refactor layout
* Layout and search working
* Navigate
* Remove inline styles and fix i18n
* Federation setting
* Missing i18n
* Fix android style
* Refactor
2019-06-10 13:22:35 -03:00
Diego Mello
3cd84a10f6
[FIX] Change server issue ( #960 )
...
* [FIX] Lazy fetch server info
* [FIX] Multiple servers issues
2019-06-05 16:11:29 -03:00
Diego Mello
27de8c1f84
[REGRESSION] Get rooms on app restore ( #958 )
2019-06-05 10:39:12 -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
896240457f
[IMPROVEMENT] Add toggle markdown to settings ( #907 )
...
* Add toggle markdown to settings
* Remove unused translation
2019-05-21 09:12:15 -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
2492371b50
[FIX] Check if room is mounted before setting state ( #864 )
...
* Tweaks on sequential threads messages
* Update tests
* Fix quote
* Prevent from deleting thread start message when positioned inside the thread
* Remove thread listener from RightButtons
* Fix error on thread start parse
* Stop parsing threads on render
* Check replied thread only if necessary
* Fix messages don't displaying
* Fix threads e2e
* RoomsListView.updateState slice
* Stop fetching hidden messages on threads
* Check if RoomView is mounted before rendering
* Refactor navigation events on RoomsListView
* Fix lint
* Fix listener
2019-05-03 11:54:57 -03:00
Diego Mello
a243b1ccd7
Tweaks on sequential threads messages layout ( #858 )
...
* Tweaks on sequential threads messages
* Update tests
* Fix quote
* Prevent from deleting thread start message when positioned inside the thread
* Remove thread listener from RightButtons
* Fix error on thread start parse
* Stop parsing threads on render
* Check replied thread only if necessary
* Fix messages don't displaying
* Fix threads e2e
* RoomsListView.updateState slice
* Stop fetching hidden messages on threads
* Set initialNumToRender to 5
2019-05-03 10:33:38 -03:00
Diego Mello
94e32368dd
Remove connection badge ( #862 )
...
* Connecting indicator on RoomsListView header
* Connecting indicator on RoomView header
* Remove ConnectionBadge
* Show updating on RoomView load messages
2019-04-30 16:31:51 -03:00
Diego Mello
2f25b10681
[Regression] Search stopped working on Android after LastMessage refactor ( #851 )
2019-04-26 09:14:30 -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
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
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
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
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
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
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
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
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
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
c6fcfb63fd
[WIP] New Authentication layout ( #536 )
...
New Authentication layout
2018-11-14 19:42:03 -02:00
Diego Mello
0dd4899789
[FIX] Dismiss keyboard on room close ( #530 )
2018-11-05 17:02:54 -02: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
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
e4faa73b68
[FIX] Unread rooms group order ( #487 )
2018-10-16 17:28:04 -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
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
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
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
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