Skip to content
Snippets Groups Projects
  1. Dec 03, 2019
  2. Nov 27, 2019
  3. Nov 25, 2019
  4. Oct 31, 2019
  5. Oct 28, 2019
  6. Oct 02, 2019
  7. Sep 27, 2019
  8. Sep 26, 2019
  9. Sep 25, 2019
  10. Sep 24, 2019
  11. Sep 19, 2019
  12. Sep 16, 2019
    • Diego Mello's avatar
      [CHORE] Migrate to Watermelon (#1171) · 9ba37107
      Diego Mello authored
      * 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
      9ba37107
  13. Aug 23, 2019
    • IlarionHalushka's avatar
      [CHORE] Bugsnag logging setup (#1145) · 59a71ffa
      IlarionHalushka authored
      * 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
      59a71ffa
  14. Aug 07, 2019
    • Tanuj Singh's avatar
      [IMPROVEMENT] Use autoFocus rather than timeout + focus (#1071) · 7b2185d3
      Tanuj Singh authored
      * autofocus replaced timout+focus
      
      * removed inputRef
      
      * Unnecessary focus on NewServerView when passing server as props
      
      * Removed unnecessary code
      7b2185d3
    • Diego Mello's avatar
      [CHORE] Update to react-native 0.60.4 (#1095) · ba232547
      Diego Mello authored
      * 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
      ba232547
  15. Jul 23, 2019
  16. Jul 16, 2019
  17. Jul 15, 2019
    • Diego Mello's avatar
      [FIX] Swipe animations (#1044) · c2497145
      Diego Mello authored
      * 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
      c2497145
  18. Jul 04, 2019
    • Diego Mello's avatar
      [FIX] Rooms swipes (#1034) · b444c425
      Diego Mello authored
      * 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
      b444c425
  19. Jul 01, 2019
  20. Jun 26, 2019
    • Djorkaeff Alexandre's avatar
      [IMPROVEMENT] Share credentials with Rocket.Chat.iOS (#982) · 255ea845
      Djorkaeff Alexandre authored
      * :sparkles: Create user table
      
      * :sparkles: Introduce user table
      
      * :fire: Remove unused table
      
      * :heavy_plus_sign: Add userdefaults to storage data
      
      * :green_heart: Fix android build
      
      * :sparkles: Get credentials from iOS native client
      
      * :fire: Remove unused code
      
      * :rewind: Revert sign xcode
      
      * :bug: Fix first login-logout
      
      * :art: Use constants to UserDefaults Keys
      
      * :bug: Fix clear server-user-info on logout
      
      * :bug: Fix filter null value
      
      * :ambulance: Remove user object in logout
      
      * :sparkles: Fix get servers from native-client
      
      * :ambulance: Fix error on change server
      255ea845
  21. Jun 17, 2019
    • Diego Mello's avatar
      [FIX] Cancel ongoing tasks on server change (#984) · 31963094
      Diego Mello authored
      * 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
      31963094
  22. Jun 10, 2019
    • Diego Mello's avatar
      [NEW] Directory and Federation (#967) · b7e6d361
      Diego Mello authored
      * Initial
      
      * Search working
      
      * Refactor layout
      
      * Layout and search working
      
      * Navigate
      
      * Remove inline styles and fix i18n
      
      * Federation setting
      
      * Missing i18n
      
      * Fix android style
      
      * Refactor
      b7e6d361
  23. Jun 05, 2019
  24. May 28, 2019
    • Diego Mello's avatar
      [FIX] Analytics error events (#930) · a148e6d1
      Diego Mello authored
      a148e6d1
    • Diego Mello's avatar
      [CHORE] Use react-native-firebase (#928) · 9e4a4d24
      Diego Mello authored
      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.
      9e4a4d24
  25. May 21, 2019
  26. May 20, 2019
    • Diego Mello's avatar
      Message render performance (#880) · 60418b75
      Diego Mello authored
      - 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)
      60418b75
  27. May 03, 2019
    • Diego Mello's avatar
      [FIX] Check if room is mounted before setting state (#864) · 2492371b
      Diego Mello authored
      * 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
      2492371b
    • Diego Mello's avatar
      Tweaks on sequential threads messages layout (#858) · a243b1cc
      Diego Mello authored
      * 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
      a243b1cc
  28. Apr 30, 2019
    • Diego Mello's avatar
      Remove connection badge (#862) · 94e32368
      Diego Mello authored
      * Connecting indicator on RoomsListView header
      
      * Connecting indicator on RoomView header
      
      * Remove ConnectionBadge
      
      * Show updating on RoomView load messages
      94e32368
  29. Apr 26, 2019
  30. Apr 24, 2019
    • Diego Mello's avatar
      [FIX] Threads (#838) · 5744114d
      Diego Mello authored
      Closes #826
      Closes #827
      Closes #828
      Closes #829
      Closes #830
      Closes #831
      Closes #832
      Closes #833
      5744114d
Loading