* fix: replying with a quote to a image with custom emoji in description
* remove the styles from custom emojis and deleted the removeMargins from styles
* add a new storyshot test for attachment with custom emoji
* [NEW] Quotes on E2EE Messages
* parser inside the model
* refactor and tweaks
* minor tweak
* add e2e tests to test the e2e quotes
* update storyshot
* added the test for quoted message
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] Link preview with embed image
* refactor the location
* refactor and added test
* minor tweak
* image test
* fix the MessageURl showing when there isn't hasContent or imageUrl
* refactor how to test if it's an image
* update tests
* keep the same behavior for android and ios
* refactor
* update storyshot
* minor tweak, pass hasContent and imageLoadedState instead of style
* remove react memo from urlImage
* merge urlimage inside url
* minor tweak useTheme
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* fix regression on plain text
* update stories
* fix where to add the color
* fit content taskList
---------
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* [FIX] Quote rendering with leading empty space on mobile only
* update the message storyshot
* compareServerVersion to connection string
* fix time
* fix lint
* update to servers greater or equal than 6.0
* refactor tests
* minor tweak
---------
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* border radius complete
* increase to chip
* Apply in missing places
* tweak slash command and update test
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [NEW] Emphasis Elements (italic, strike and bold) in Message Parser Components
* update storyshot
* minor tweak and remove of isLink
* Add theme provider to new md stories
* Cleanup
* Update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Apply thicker border width and remove fixed height on TextInput
* changed the last input border from hairline to 2
* update formtextinput storyshot test
* [FIX] Decrease space between sections on List
* minor tweak listcontainer
* update test
* Small fixes for header/info
* Update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* add: @react-native-clipboard/clipboard
* create jest.setup.js file and centralizes all mocks on these folder for jest
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* chore: updating mmkv library
* feat: updating android ejson to use the getSecureKey new version
* feat: updating IOS files to use the getSecureKey new version
* feat: changing all mmkv methods to use sync calls
* feat: changing mmkv methods from Screen lock
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from login, ssl certificate and change/add server
* feat: changing all mmkv methods from logout
* feat: changing all mmkv methods from e2e
* fix: small fix at encryption and server drop down
* feat: changing all mmkv methods from set theme
* feat: changing all mmkv methods from openLink
* fix: setting up mmkv to works property on Android
* fix: fix an error to set the theme when open the app
* refactor: change the react-native branch (temporary)
* refactor: removing all `Async` from mmkv functions name
* refactor: removing await from unnecessary functions, removing console.log and update cocoapods
* refactor: removing unnecessary undefined from methods
* feat: creating a custom hook for mmkv
* refactor: changing the fetchPasscode to use the useUserPreferences hook
* refactor: changing setTheme from app/index
* refactor: small fix on setTheme
* chore: update mmkv to 0.6.11
* chore: update mmkv to 0.6.11
* chore: minor tweak
* chore: update mmkv to 0.6.12
* chore: mock NativeModules
* chore: fix test mmkv
* chore: removing custom MMKV JSI module, since is no more necessary after 0.6.11 version
* feat: removing some async calls from mmkv after update from develop
* feat: creating a function to get the initialTheme
* feat: removing unnecessary try/catch
* fix: fixing the blink white when open the app
* feat: changing useMMKVStorage to create from mmkv lib
* test: creating a mock for mmkv create function
* chore: fix errors on tablet
* minor tweak
* Add message parser to profile view and db
* Add md to db
* Remove changes to Xcode project
* Remove message-parser lib and add enable message parser field to User model
* Fix message parser
* Remove admin enableMessageParserEarlyAdoption
* Add NewMarkdown component
* Remove NewMarkdown component and add specific components for new message parser
* Add new parser components
* Fix BigEmoji
* Updated components and added more Code components
* update components and add storybooks
* Update Code component and add it to storybooks
* Update Mention component
* Minor tweaks
* Add server message parser validation
* Renamed folder, add @rocket.chat/message-parser, migrate some files to TypeScript
* Migrate components to TypeScript and fix styling
* Change interfaces and add TaskListComponent and styles
* Fix new markdown and styles
* Fix inlinecode
* Stop using server setting
* Use enableMessageParserEarlyAdoption on mapStateToProps
* Remove React.FC
* add link to bold, italic and strike
* Update parser components
* Fix missing components
* Minor tweak
* Fix lint and add getCustomEmojis
* Fix customEmojis
* Update emojis
* Minor tweak
* disconnect markdown from store
* Use @rocket.chat/message-parser@0.30.0
* Fix link style
* Unify lists and styles
* Remove style prop
* Use big emoji as a normal token
* Remove unnecessary memo
* Fix code styles
* Update tests
* Conditionally create renderer
* Use Context instead of prop drill
* Fix Link component
* Fix plain text regression and update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
- Change the first screen of the app
- Minor changes on NewServerView and make it the first screen of the app
- Add "Create workspace" to ServerDropdown
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update TextInput's padding
* Chante textAlign to auto and to ellipses longer text than the width
* Added story with changes in text input
* Changed in TextInput stories
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Show button attachment in message list
fixes: #2684
* Changed the Button and theme, text theme and how to call the function
* Fix the props passed in Message
* Function to context
* Added button attachment to stories
* New snapshot
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Levy Costa <levycosta471@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Show thumbnails in message view
fixes: #2853
* Add stories for thumbnails and update test
* [Test] Update tests
* added stories
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Levy Costa <levycosta471@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update non-dev patches
* Update dev patches
* Update minors
* Update dev minors
* Update few non semver
* Cookies
* datepicker, netinfo, base64 and bootsplash
* Patch cookies
* Update navigation
* Device info
* mocha
* localize
* react-native-picker-select
* vector icons, xregexp, popover
* try save husky
* document picker
* Remove emotion dev
* Downgrade some libs and make sure jest is passing
* Update storybook to stable
* mocha, axios, bootsplash
* Update lint job to node 15
* Update android image to api 29 and xcode to 12.4
* building
* Fix lint
* Get rid of Storybooks errors
* Patch react-native-simple-crypto
* Remove pods from git
* Stash simple crypto
* Stash Flipper
* Remove single crypto patch
* Add manage-pods command
* Update Xcode to 12.5.0
* Fix E2E tests
* Cleanup podfile
* Fix Storybook
* Remove RN patch
* Fix iOS build release
* Fix cocoapods cache on CI
* Try to fix pods using bundle
* Update gems
* Add app_store_connect_api_key env to CI
* APP_STORE_CONNECT_API_KEY -> APP_STORE_CONNECT_API_BASE64
* Rollback to older usage of app_store_connect_api_key
* tmp
* Run manage-pods on TestFlight
* Use Podfile instead of Podfile.lock for cache
* Increase no_output_timeout from 20 minutes to 40
* Restore node modules on upload-to-testflight
* Add pod install to docs