1. 30 Oct, 2020 3 commits
    • Diego Mello's avatar
      [IMPROVEMENT] List Component (#2506) · 52850cbc
      Diego Mello authored
      
      
      * List.Item
      
      * section
      
      * Start removing theme as prop
      
      * Remove StatusBar theme prop
      
      * SafeAreaView theme prop
      
      * Minor fixes
      
      * List.Container
      
      * Add translateTitle and translateSubtitle props
      
      * Storybook
      
      * Show action indicator
      
      * Header
      
      * Info
      
      * Theme stories
      
      * FlatList
      
      * DisplayName
      
      * Fix settings
      
      * FlatList tweaks
      
      * ThemeView
      
      * Screen Lock Config
      
      * DefaultBrowserView
      
      * PickerView and User Prefs
      
      * Notification Prefs
      
      * StatusView
      
      * Auto Translate
      
      * InviteUsersEdit
      
      * Visitor
      
      * Minor fixes
      
      * Remove Separator
      
      * Remove iteminfo
      
      * Font scale
      
      * Legal
      
      * Jitsi and e2e
      
      * Block
      
      * search, star, etc
      
      * auto translate and notifications
      
      * RoomInfo
      
      * Refactor RoomActions
      
      * lint
      
      * Remove DisclosureIndicator
      
      * padding horizontal 12
      
      * Detox
      
      * Tests
      
      * Address review comments
      
      * Fix vertical scroll
      
      Co-authored-by: default avatarDjorkaeff Alexandre <djorkaeff.unb@gmail.com>
      52850cbc
    • Djorkaeff Alexandre's avatar
      [NEW] Channel avatars (#2504) · 46e3db97
      Djorkaeff Alexandre authored
      
      
      * [WIP] Avatar cache invalidation
      
      * [WIP] Avatar container
      
      * [IMPROVEMENT] Avatar container
      
      * [CHORE] Improve code
      
      * Allow static image on Avatar
      
      * Fix avatar changing while change username (#1583)
      
      Co-authored-by: default avatarPrateek93a <prateek93a@gmail.com>
      
      * Add default props to properly update on Sidebar and ProfileView
      
      * Fix subscribing on the wrong moment
      
      * Storyshots update
      
      * RoomItem using Avatar Component
      
      * use iife to unsubscribe from user
      
      * Use component on avatar container
      
      * RoomItem as a React.Component
      
      * Move servers models to servers folder
      
      * Avatar -> AvatarContainer
      
      * Users indexed fields
      
      * Initialize author and check if u is present
      
      * Not was found -> User not found (turn comments more relevant)
      
      * RoomItemInner -> Wrapper
      
      * Revert Avatar Touchable logic
      
      * Revert responsability of LeftButton on Tablet Mode
      
      * Prevent setState on constructor
      
      * Run avatarURL only when its not static
      
      * Add streams RC Version
      
      * Move entire add user logic to result.success
      
      * Reorder init on RoomItem
      
      * onPress as a class function
      
      * Fix roomItem using same username
      
      * Add avatar Stories
      
      * Fix pick an image from gallery on ProfileView
      
      * Format Avatar URL to use RoomId.
      
      Co-authored-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * edit room avatar
      
      * invalidate cache of room images
      
      * reinit avatar if something change
      
      * read avatar cache on search
      
      * room avatar changed system message
      
      * add avatar by rid test
      
      * update snapshot
      
      * etag cache on select channel
      
      * reset room avatar
      
      * increase caching to have a better image quality
      
      * fix lgtm warn
      
      * invalidate ci cache
      
      * get avatar etag on select users of create discussion
      
      * invalidate ci cache
      
      * Fix migration
      
      * Fix sidebar avatar not updating
      
      * Remove outdated comment
      
      * Tests
      
      Co-authored-by: default avatarPrateek93a <prateek93a@gmail.com>
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      Co-authored-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      46e3db97
    • Djorkaeff Alexandre's avatar
      [FIX] Avatar cache invalidation (#2311) · 73403919
      Djorkaeff Alexandre authored
      
      
      * [WIP] Avatar cache invalidation
      
      * [WIP] Avatar container
      
      * [IMPROVEMENT] Avatar container
      
      * [CHORE] Improve code
      
      * Allow static image on Avatar
      
      * Fix avatar changing while change username (#1583)
      
      Co-authored-by: default avatarPrateek93a <prateek93a@gmail.com>
      
      * Add default props to properly update on Sidebar and ProfileView
      
      * Fix subscribing on the wrong moment
      
      * Storyshots update
      
      * RoomItem using Avatar Component
      
      * use iife to unsubscribe from user
      
      * Use component on avatar container
      
      * RoomItem as a React.Component
      
      * Move servers models to servers folder
      
      * Avatar -> AvatarContainer
      
      * Users indexed fields
      
      * Initialize author and check if u is present
      
      * Not was found -> User not found (turn comments more relevant)
      
      * RoomItemInner -> Wrapper
      
      * Revert Avatar Touchable logic
      
      * Revert responsability of LeftButton on Tablet Mode
      
      * Prevent setState on constructor
      
      * Run avatarURL only when its not static
      
      * Add streams RC Version
      
      * Move entire add user logic to result.success
      
      * Reorder init on RoomItem
      
      * onPress as a class function
      
      * Fix roomItem using same username
      
      * Add avatar Stories
      
      * Fix pick an image from gallery on ProfileView
      
      * get avatar etag on select users of create discussion
      
      * invalidate ci cache
      
      * Fix migration
      
      * Fix sidebar avatar not updating
      
      Co-authored-by: default avatarPrateek93a <prateek93a@gmail.com>
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      73403919
  2. 15 Oct, 2020 1 commit
  3. 13 Oct, 2020 2 commits
  4. 01 Oct, 2020 1 commit
  5. 30 Sep, 2020 2 commits
  6. 28 Sep, 2020 1 commit
  7. 25 Sep, 2020 2 commits
  8. 24 Sep, 2020 6 commits
    • Djorkaeff Alexandre's avatar
      [REGRESSION] HTTP Basic Auth (#2490) · 101aad49
      Djorkaeff Alexandre authored
      101aad49
    • Djorkaeff Alexandre's avatar
      [NEW] E2E Encryption push (iOS) (#2463) · 60dc128c
      Djorkaeff Alexandre authored
      
      
      * link pods to notification service
      
      * push encryption poc
      
      * decrypt room key poc
      
      * read user key from mmkv and cast into a pkcs
      
      * push decrypt poc (iOS)
      
      * expose needed watermelon methods
      
      * watermelon -> database
      
      * indent & simple-crypto update
      
      * string extensions
      
      * storage
      
      * toBase64 -> toData
      
      * remove a forced unwrap
      
      * remove unused import
      
      * database driver
      
      * improvement
      
      * folder structure & watermelon bridge
      
      * more improvement stuff
      
      * watermelon -> database
      
      * reuse database instance
      
      * improvement
      
      * database fix: bypass watermelon cache
      
      * some code improvements
      
      * encryption instances
      
      * start api stuff
      
      * network layer
      
      * improve notification service
      
      * improve folder structure
      
      * watermelon patch
      
      * retry fetch logic
      
      * rocketchat class
      
      * fix try to decrypt without a roomKey
      
      * fallback to original content that is translated
      
      * some fixes to rocketchat logic
      
      * merge develop
      
      * remove unnecessary extension
      
      * [CHORE] Improve reply notification code (iOS)
      
      * undo sign changes
      
      * remove mocked value
      
      * import direct from library
      
      * send message request
      
      * reply notification with encrypted message working properly
      
      * revert apple sign
      
      * fix api onerror
      
      * trick to display sender name on group notifications
      
      * revert data.host change
      
      * fix some multithread issues
      
      * use sendername sent by server
      
      * small improvement
      
      * Bump crypto lib
      
      * Update ios/NotificationService/NotificationService.swift
      
      * add experimental string
      
      * remove trailing slash
      
      * remove trailing slash on reply
      
      * fix decrypt messages
      
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      60dc128c
    • Vincenzo Esposito's avatar
      [i18n] Add missing italian strings (#2487) · f30c405d
      Vincenzo Esposito authored
      fix some existing ones too
      f30c405d
    • David-Tsui's avatar
      088a9262
    • Djorkaeff Alexandre's avatar
      b9a79a17
    • Djorkaeff Alexandre's avatar
      [NEW] E2E Encryption push (Android) (#2481) · 01955065
      Djorkaeff Alexandre authored
      
      
      * poc push encryption android
      
      * eof
      
      * format code
      
      * react-native-simple-crypto update
      
      * prevent find sub twice
      
      * remove storage and use ejson storage
      
      * invalidate yarn cache
      
      * Bump crypto and fix db path
      
      * Fix google-services path
      
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      01955065
  9. 23 Sep, 2020 2 commits
  10. 17 Sep, 2020 2 commits
  11. 16 Sep, 2020 5 commits
  12. 15 Sep, 2020 3 commits
  13. 11 Sep, 2020 5 commits
    • Youssef Muhamad's avatar
      [NEW] Toggle analytics events (#2422) · 639d6678
      Youssef Muhamad authored
      
      
      * Create flow to toggle analytics events on memory
      
      * Persist toggle analytics events
      
      * Update crash report to contemplate analytics events
      
      * Minor tweaks
      
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      639d6678
    • Ezequiel de Oliveira's avatar
      [NEW] Show server history (#2421) · d37678b3
      Ezequiel de Oliveira authored
      
      
      * Add dropdown
      
      Signed-off-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * Adding new table to serverSchema
      
      Signed-off-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * Saving if not exists
      
      Signed-off-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * list of visited servers finished
      
      Signed-off-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * Fix lint
      
      Signed-off-by: default avatarEzequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
      
      * Rename ServerLinks to ServersHistory
      
      * Refactor
      
      * Save username
      
      * Sort servers desc
      
      * ServerInput
      
      * Item
      
      * Refactor
      
      * Layout tweaks
      
      * Layout
      
      * query by text
      
      * Small refactor
      
      * Redirecting to login
      
      * Save username for oauth
      
      * Fix keyboard persist
      
      * Add tests
      
      * Unnecessary yield
      
      * Stop rendering FlatList logic when there's no servers on history
      
      * Dismiss keyboard and autocomplete when tapped outside server TextInput
      
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      d37678b3
    • Diego Mello's avatar
      [IMPROVEMENT] Show errors on server enter (#2449) · 334140df
      Diego Mello authored
      * Catching errors
      
      * [IMPROVEMENT] Show errors on server enter
      
      * "Not rc server" instead of "invalid or insecure url" msg
      334140df
    • Diego Mello's avatar
      03aba6f6
    • Djorkaeff Alexandre's avatar
      [NEW] E2E Encryption (#2394) · 3c9017a6
      Djorkaeff Alexandre authored
      
      
      * Add E2EKey to Subscription Model
      
      * Install react-native-simple-crypto
      
      * Install bytebuffer
      
      * Add translations
      
      * CreateChannel Encrypted toggle
      
      * Request E2E_Enabled setting
      
      * Add some E2E API methods
      
      * POC E2E Encryption
      
      * Garbage remove
      
      * Remove keys cleaner
      
      * Android cast JWK -> PKCS1
      
      * Initialize E2E when Login Success
      
      * Add some translations
      
      * Add e2e property to Message model
      
      * Send Encrypted messages
      
      * (iOS) PKCS1 -> JWK & e2e.setUserPublicAndPrivateKeys
      
      * (Android) PKCS1 -> JWK & e2e.setUserPublicAndPrivateKeys
      
      * Create an encrypted channel
      
      * Fix app crashing on RoomsList
      
      * Create room key
      
      * Set Room E2E Key (Android)
      
      * Edit room encrypted
      
      * Show encrypted icon on messages
      
      * logEvents
      
      * Decrypt pending subscriptions & messages
      
      * Handle user cancel e2e password entry
      
      * E2ESavePasswordView
      
      * Update Snapshot
      
      * Add encrypted props to message on Send
      
      * Thread messages encryption
      
      * E2E -> Encryption
      
      * Share Extension: Share encrypted text
      
      * (POC) Search messages on Encrypted room
      
      * Provide room key to new users
      
      * Request roomKey on stream-notify-room-users
      
      * Add e2eKeyId to Room Model
      
      * (WIP) E2E Encryption Screens
      
      * Remove encryption subscription file
      
      * Move E2E_Enable to Server Model
      
      * Encryption List Banner
      
      * Move Encryption init to Sagas
      
      * Show banner only when enabled
      
      * Use RocketChat/react-native-simple-crypto
      
      * Search on WM only when is an Encrypted channel
      
      * (WIP) Encryption Banner
      
      * Encryption banner
      
      * Patch -> Fork
      
      * Improve send encrypted message
      
      * Update simple-crypto
      
      * Not decrypt already decrypted messages
      
      * Add comments
      
      * Change eslint disable to inline
      
      * Improve code
      
      * Remove comment
      
      * Some fixes
      
      * (WIP) Encryption Screens
      
      * Improve sub find
      
      * Resend an encrypted message
      
      * Fix comment
      
      * Code improvements
      
      * Hide e2e buttons on features if it is not enabled
      
      * InApp notifications of a encrypted room
      
      * Encryption stop logic
      
      * Edit encrypted message
      
      * DB batch on decryptPending
      
      * Encryption ready client
      
      * Comments
      
      * Handle getRoomInstance errors
      
      * Multiple messages decrypt
      
      * Remove unnecessary try/catch
      
      * Fix decrypt all messages history
      
      * Just add a questionmark
      
      * Fix some subscriptions missing decrypt
      
      * Disable request key logic
      
      * Fix unicode emojis
      
      * Fix e2ekey request
      
      * roomId -> subscription
      
      * Decrypt subscription after merge
      
      * E2ERoom -> EncryptionRoom
      
      * Fix infinite loading
      
      * Handle import key errors
      
      * Handle request key errors
      
      * Move e2eRequestRoomKey to Rocket.Chat
      
      * WIP handshake when key should be requested
      
      * Add search messages explanation
      
      * Remove some TODO and update comments
      
      * Improvements
      
      * Dont show message hash to user
      
      * Handle key request & prevent multiple calls
      
      * Request E2EKey on decryptSubscription that doesn't exists on database yet
      
      * Insert decrypted subscription
      
      * Fix crash after login
      
      * Decrypt sub when receive the key
      
      * Decrypt pending messages of a room
      
      * Encrypted as a switch
      
      * Buffer to Base64 URI Safe
      
      * Add a relevant comment
      
      * Prevent import key without a privateKey
      
      * Prevent create a new instance when client is not ready
      
      * Update simple-crypto & remove replace trick
      
      * More comments
      
      * Remove useless comment
      
      * Remove useless try/catch
      
      * I18n all E2E screens
      
      * E2ESavePassword -> E2ESaveYourPassword
      
      * Prevent multiple views on message when is not encrypted
      
      * Fix encryption toggle not working sometimes
      
      * follow some suggestions
      
      * dont rotate icons
      
      * remove unnecessary condition
      
      * remove unreachable event
      
      * create channel comment
      
      * disable no-bitwise rule for entire file
      
      * loadKeys -> persistKeys
      
      * getMasterKey -> generateMasterKey
      
      * explicit difference between E2EKey & e2eKeyId
      
      * roomId -> rid
      
      * group columns
      
      * Remove server selector
      
      * missing log events
      
      * remove comment
      
      * use stored public key
      
      * update simple-crypto & remove base64-js patch
      
      * add some logs
      
      * remove unreachable condition
      
      * log errors
      
      * handle errors on provide key directly on subscription
      
      * Downgrade RocketChat/react-native-simple-crypto
      
      * improve get room instance
      
      * migration of older apps
      
      * check encrypted status before send a message
      
      * wait client ready
      
      * use our own base64-js
      
      * add more jest tests
      
      * explain return
      
      * remove unncessary stop
      
      * thrown error to caller
      
      * remove superfluous checks
      
      * use Encryption property
      
      * change ready state logic
      
      * ready -> establishing
      
      * encryption.room -> encryptionRoom
      
      * EncryptionRoom -> Room
      
      * add documentation
      
      * wait establishing before provide a room key
      
      * remove superfluous condition
      
      * improve error handling logic
      
      * fallback e2ekey set
      
      * remove no longer necessary check
      
      * remove e.g.
      
      * improve getRoomInstance
      
      * import from index
      
      * use batch
      
      * fix a comment
      
      * decrypt tmsg
      
      * dont show hash when message is encrypted
      
      * Fix detox
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
      3c9017a6
  14. 02 Sep, 2020 1 commit
  15. 31 Aug, 2020 2 commits
  16. 28 Aug, 2020 2 commits