* 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>
* [IMPROVE] Check permission to create new message, channels, teams
* Show or not the button to create at RoomListView
* Check permission for each button inside NewMessageView
* Check permission to create private or public channel
* Minor tweak
* Refactor to create a function tuserHasRolePermission
* Refactor to use only one function at rocketchat to check the user permission
* Minor tweaks
* Reactive create channel
* reactive new message view, and handleHasPermission out of constructor
* handleHasPermission to didMount in roomListView
* remove console.log
* Call the function in componentDidMount
* Changed === to dequal, to check array
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Pagination in SearchMessage through the javascript
* Minor tweak
* Remove unnecessary state update
* Fix inconsistent value update
* Minor change
* Fixed searchMessages to work with new value of count
* minor tweak
* minor tweak
* minor tweak
* Fix encrypted search
* Added Offset to lib/rocketchat and fixed the search
* fixed the debounce in search message view
* Needed to compare server version to lower than 3.17.0
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Levy Costa <levycosta471@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* [FIX] Fetch members on RoomMembersView
* needed to add a conditional to the response
* result back properly from rocketchat lib
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>