Diego Mello
29302ccd08
[FIX] Delete messages ( #1399 )
2019-11-19 12:59:14 -03:00
Djorkaeff Alexandre
5ff07a65fe
[FIX] Server Version ( #1392 )
2019-11-18 14:50:00 -03:00
Diego Mello
0b68e98c2b
[FIX] Load messages issues ( #1373 )
2019-11-07 16:53:39 -03:00
Diego Mello
5e4ce8feac
[FIX] Parse image URL only if it's not empty ( #1372 )
2019-11-07 11:59:17 -03:00
Djorkaeff Alexandre
38523509e0
[FIX] Parse Urls ( #1371 )
2019-11-07 09:35:04 -03:00
Diego Mello
ffeac38034
[FIX] URL preview ( #1360 )
2019-11-01 14:34:35 -03:00
Diego Mello
93356341b9
[UPDATE DEPS] Update RN to 0.61.3 ( #1345 )
2019-10-31 13:21:59 -03:00
Diego Mello
2b82ec4ad6
[IMPROVEMENT] Save last message as message when subscription is updated ( #1344 )
2019-10-30 15:31:26 -03:00
Djorkaeff Alexandre
8bffe1f28c
[FIX] Invalid server version ( #1319 )
2019-10-28 10:37:12 -03:00
Djorkaeff Alexandre
6df7d7b3c3
[FIX] Set User-Agent ( #1318 )
...
* Set User-Agent Fetch & Websocket & XHR
* Set User-Agent
* Custom User Agent on fetch/websocket
* Fix names
* Use DeviceInfo
2019-10-18 13:20:01 -03:00
Diego Mello
145e5c6b55
[FIX] Watermelon batches ( #1277 )
2019-10-08 09:36:15 -03:00
Diego Mello
b9485ad3f8
[FIX] Room subscription issues ( #1255 )
2019-09-27 17:29:25 -03:00
Diego Mello
a1297d0e6c
[FIX] Update last open on message stream received ( #1240 )
2019-09-26 13:54:24 -03:00
Diego Mello
4388b2acb1
[FIX] Try/catch JSON.parse XHR response ( #1238 )
2019-09-26 13:53:04 -03:00
Djorkaeff Alexandre
0ff47f477a
[CHORE] Update react-native-jitsi-meet ( #1235 )
2019-09-25 19:13:39 -03:00
Diego Mello
915d19fbe8
[FIX] Cancel upload and check failed upload ( #1232 )
2019-09-25 18:31:53 -03:00
Diego Mello
319ca7f044
[FIX] Unify upload check ( #1229 )
2019-09-24 17:16:59 -03:00
Djorkaeff Alexandre
99aea22579
[NEW] Jitsi integration ( #1196 )
...
* 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
* Jitsi config (iOS)
* removeClippedSubviews on iOS only
* Added few interaction managers
* Create jitsiBaseURL
* Call buttons
* Fix few rerenders
* Fix RoomItem status typo
* Fix RoomView.SCU
* Fix broadcast
* Fix user status on RoomActionsView
* Jitsi config (Android)
* 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
* Call Jitsi method
* Create onlyAudio option (iOS)
* Create onlyAudio option (Android)
* Fixed errors, removed rerenders and added animation
* Fixed a few errors
* Fix lint
* Fix issues caught by LGTM
* fix ios build
* Revert patch
* jitsiTimeout
* Self-builded Android SDK
* 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 jitsiTimeout
* Fix custom emoji
* Fix duplicated call messsage
* Creating room from app must update roomUpdatedAt
* Log subscribeRoom start
* Fix room subscribe right after creating a DM
* Fix jest
* Move self-builded sdk to node_modules
* 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
* Fix send message
* Create migration - jitsi_timeout
* Fixes & Update e2e tests
* Add translations pt-br
* Bind callJitsi on RocketChat
* Remove unnecessary mocks
* Remove listeners when call finished
* Use gradlew instead self-builded sdk
* Fix lastmessage call username
* Add react-native-background-timer
* Fix background interval
* Remove unnecessary timeout
* Clear timeout in case there's one active
* Add catch to method call
2019-09-18 14:32:12 -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
Djorkaeff Alexandre
c7791b9a38
[FIX] Fix calls to bugsnag.notify ( #1165 )
2019-08-30 09:43:23 -03:00
pranavpandey1998official
86a9d405cc
[IMPROVEMENT] Notification Preference ( #1105 )
2019-08-23 13:24:15 -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
5bb477d00e
[FIX] Handle disconnect and reconnect properly ( #1131 )
2019-08-14 08:16:59 -03:00
Djorkaeff Alexandre
d80dd0e2ce
[FIX] Share Extension issues ( #1064 )
2019-07-29 13:33:28 -03:00
Diego Mello
3619e0ab7f
[FIX] Auto-translate messages as they arrive ( #1049 )
...
* 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] Auto-translate messages as they arrive
2019-07-15 13:56:52 -03:00
pranavpandey1998official
481458285b
[IMPROVEMENT] Use Rest API for file upload ( #1005 )
...
* removed rn-fetch-blob and use native XMLHttpRequest instead
* removed unnessary changes
* fix android bug
* fix android bug
* added tmid support
* fix bug
* fixed isssue with cacel model
* fix problems with audio
* done requested changes
* fix bug with android
2019-06-28 16:07:20 -03:00
Diego Mello
b3986b98b5
[NEW] Auto-translate ( #1012 )
...
* Update realm
* View original and translate working
* Read AutoTranslate_Enabled setting
* RocketChat.canAutoTranslate()
* AutoTranslateView
* Save language
* Auto-translate switch
* Translate message
2019-06-28 14:02:30 -03:00
Diego Mello
e2f9241040
[FIX] App hang on "updating" ( #997 )
...
* [FIX] App hang on "updating"
* Fix iOS notification tap
2019-06-26 09:33:56 -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
pranavpandey1998official
82afb63327
[NEW] Slash commands ( #886 )
...
* setup database
* added getSlashCommands to loginSucess
* added slash command first prototype
* added preview feture for commands that have preview enabled
* address requested changes
* added preview options for other types of files too
* address changes
* done requested changes
* undone un-nessary changes
* done suggested changes
* fixed lint
* done requested changes
* fixed lint
* fix e2e
2019-06-10 15:36:56 -03:00
Diego Mello
d68eb01b82
[NEW] Read receipt ( #975 )
...
* switching to ubountu
* added read Recipt functionality to the app
fix : #542
* placed the check icon on the end of timestamp
* removed linting errors
* updating snapshots
* done requested changes
* removed width scrollView
* done required changes
* fixed linting errors
* added migrations
* resolved conflicts and done requested changes
* undone uneesasary changes
* adding migrations
* done requested changes
* Add stories and fix some issues
2019-06-10 15:36:31 -03:00
Diego Mello
467a2d4002
[NEW] In-app notification ( #964 )
...
* added Notification badge
* added notification to state
* added condition not see notification of current room
* fixed lint
* fixed some bugs
* fixed some bugs
* removed navigation prop
* fixed navigation bug
* removed unessary changes
* done requested chamges
* made separate notification for ios and android
* merged notification
* Removed unnecessary sub
* Animation
* Layout changes
* Refactor
2019-06-10 13:23:19 -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
IlarionHalushka
3733f776fc
issue #799 merger message views ( #876 )
...
On Room Actions, we have Files, Mentions, Starred and Pinned.
They have similar APIs and logic.
All of those could be merged into one generic view (MessagesView).
Maybe even Search could be in this merge.
Note: They're similar, but have own rules (unstar, unpin, etc).
This change may reduce 1MB to our release bundle size, since we're going to remove a lot of boilerplate.
2019-05-10 14:09:07 -03:00
Diego Mello
10210d0dcf
[FIX] Typing not getting cleared after popping a room ( #873 )
2019-05-03 14:17:29 -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
75e4b86a95
Fetch roles from rest api ( #853 )
...
* Fetch roles from rest api
* Fix RoomInfoView role get
* Remove roles from redux
2019-04-26 18:15:25 -03:00
Diego Mello
5c1be71fa1
Update custom emojis endpoint ( #852 )
...
* Update emoji endpoint
* Use React.memo on Markdown
* Support RC versions lower than 0.75.0
* Realm migration
2019-04-26 18:13:07 -03:00
Diego Mello
c340829638
Update fetch permissions api ( #850 )
2019-04-26 17:54:58 -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
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
9e107bfdf6
Room item layout ( #771 )
2019-03-29 16:36:07 -03:00
Diego Mello
6106c40557
[FIX] Fetch rooms date ( #662 )
2019-02-27 17:29:37 -03:00
Diego Mello
025c5cba74
[FIX] uploadProgress is not a function ( #656 )
2019-02-26 09:47:06 -03:00
Diego Mello
df78a6831c
[FIX] Handle database errors properly ( #650 )
2019-02-25 13:23:17 -03:00
Diego Mello
d795aea8c4
[FIX] Remove rooms listener ( #630 )
2019-02-14 14:43:56 -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