Alex Junior
d99b31849a
Chore: Evaluate Icon - Typescript ( #3982 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-05-02 16:21:15 -03:00
Reinaldo Neto
a27d63c22e
Chore: Evaluate DirectoryView - TypeScript ( #4130 )
2022-05-02 08:53:47 -03:00
Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Gerzon Z
349e10e328
Chore: TypeScript Migration - evaluate DirectoryItem ( #4016 )
...
* chore: evaluate DirectoryItem
* chore: move `DirectoryItem` to `containers`
* update: `themes` import
2022-04-07 16:25:25 -04:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Alex Junior
ddfa8b1ca4
[FIX] Navigate to team from directory ( #3953 )
2022-03-24 18:52:35 -03:00
Alex Junior
6f31a00e90
Chore: Clean Check component - TypeScript ( #3919 )
...
* chore: clear Check component
* chore: update tests
2022-03-22 10:53:09 -03:00
Gerzon Z
38b2b08278
Chore: Evaluate ActivityIndicator - TypeScript ( #3914 )
...
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
2022-03-17 22:37:10 -04:00
Alex Junior
ccdbd9543c
Chore: Migrate REST API - getRoomInfo to Typescript ( #3823 )
...
* chore: add rest api return
* chore: add rest api return
2022-03-15 21:04:10 -03:00
Diego Mello
1ffa592201
Chore: dehydrate small server requests away from rocketchat.js ( #3740 )
2022-02-15 15:50:55 -03:00
Gerzon Z
2946c4724e
[FIX] TypeScript's errors raised by HOCs ( #3535 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Gerzon Z
691bf1ef17
Chore: Migrate react-navigation to TypeScript ( #3480 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
Anant Bhasin
f69b82dae9
Tests: Make Detox work on Android ( #3051 )
2021-12-02 10:19:15 -03:00
Alex Junior
5bc74c6c68
Chore: Migrate DirectoryView to Typescript ( #3379 )
...
* [improve] - migrate the view: DirectoryView to typescript
* [improve] - migrate the view: removing unnecessary variables
* minor changes
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-09-15 17:37:21 -03:00
Alex Junior
69a67ea998
Chore: Start Typescript migration ( #3279 )
2021-09-13 17:41:05 -03:00
Reinaldo Neto
29ccb47456
[FIX] Directory sending incorrect room type ( #3188 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-07 11:56:11 -03:00
Gerzon Z
91371e88d9
[NEW] Add Teams to Directory ( #3181 )
...
* Added Teams to DirectoryView
* Fix icon
* Minor tweaks
* add tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-04 15:07:26 -03:00
Gung Wah
45d0d4a5f0
[TESTS] Add E2E tests to directory ( #2964 )
...
* [E2E TEST] Directory
* Fix tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:32:48 -03:00
Gung Wah
bc8d6b72f5
[FIX] Use List.Separator in all places ( #2931 )
...
* [FIX] Use List.Separator in all places
* add List.Separator
* change List.Separator
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:27:04 -03:00
Gerzon Z
4c148bde3b
[CHORE] BackdropOpacity based on themes ( #2863 )
...
* Added backdropOpacity based on theme
* Updated ActionSheet, ReactionsModal, ReactionPicker and Sidebar
* Updated MultiSelect
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-19 15:05:47 -03:00
Daniel Maike
13985cf724
[FIX] App not prompting join code for password protected channels ( #2514 )
...
* Adding joinCode parameter
Co-authored-by: Vitor Leal <vitor_leal2201@hotmail.com>
Co-authored-by: Fernando Aguilar <fernando.aguilar@hotmail.com.br>
* Insert join code input
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
* Add joinCode field on db
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
* Add label i18 pt-br and en-us
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
* Add insert join code text
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
* Fix atribute name
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
* Add join text
Signed-off-by: Vitor.Leal <vitor_leal2201@hotmail.com>
Co-authored-by: Daniel Maike <danmke@hotmail.com>
Co-authored-by: Fernando Aguilar <fernando.aguilar@hotmail.com.br>
* Fix attributes joinCode, joinCodeRequired and pass attribute param in navigation
Signed-off-by: Daniel Maike <danmke@hotmail.com>
Co-authored-by: Vitor Leal <vitor_leal2201@hotmail.com>
* Fixing attribute joinCodeRequired pass to goRoom
Signed-off-by: Daniel Maike <danmke@hotmail.com>
* Changed textinput style
Signed-off-by: Daniel Maike <danmke@hotmail.com>
Co-authored-by: Vitor Leal <vitor_leal2201@hotmail.com>
* Delete not necessary attribute
Signed-off-by: Daniel Maike <danmke@hotmail.com>
* Fixing input style
Co-authored-by: Vitor Leal <vitor_leal2201@hotmail.com>
* Undo unncessary changes
* use a join code modal
* tests: e2e tests to join protected channel
* fix: undo unnecessary change
* tests: cancel join code
* Remove some tests
* Minor fixes
Co-authored-by: Vitor Leal <vitor_leal2201@hotmail.com>
Co-authored-by: Fernando Aguilar <fernando.aguilar@hotmail.com.br>
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: youssef-md <emaildeyoussefmuhamad@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-01 14:30:39 -03:00
Alexandru Naiman
4b3223198a
[IMPROVEMENT] Auto search when text changes in directory textfield ( #2547 )
...
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-03 09:40:33 -03:00
Diego Mello
81bb89da6c
[IMPROVEMENT] Support badge number on header buttons ( #2566 )
...
* Beginning header buttons refactor
* Add HeaderButtons
* item with title
* Refactor
* Remove lib
* Refactor
* Update snapshot
* Refactor
* Update tests
* Lint
2020-10-30 13:15:58 -03:00
Diego Mello
52850cbccc
[IMPROVEMENT] List Component ( #2506 )
...
* 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: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-10-30 10:59:44 -03:00
Djorkaeff Alexandre
46e3db97e8
[NEW] Channel avatars ( #2504 )
...
* [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: Prateek93a <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: Ezequiel 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: Prateek93a <prateek93a@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
2020-10-30 10:51:04 -03:00
Ezequiel de Oliveira
664ddb4daa
[FIX] Apply theme on Directory description ( #2428 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-26 11:10:26 -03:00
Youssef Muhamad
e05aa1eb52
[NEW] Log events from RoomsList, SideDrawer and Profile ( #2190 )
...
* Create method to track user event to isolate the logic to improve future refactoring
* Track Onboarding view
* Track NewServer view
* Refactor track method due to firebase already send the current screen
* Track default login and all the oAuth options
* Track default sign up in RegisterView
* Change trackUserEvent signature and update all the files
* Track the remaining login services
* track add server, change server and search
* Track SidebarView and refactor to use react-navigation
* Track profile events and handle exceptions
* Track create channel flux
* Track send message to user via NewMessageView
* Track create direct message flux
* Handle failure of create channel and group in the saga
* Track create discussion flux
* Track navigate to directory and its actions
* Track read, favorite and hide a channel, handling its errors
* Track all channels sorting and grouping
* Resolve requests to improve the importing logs and events
* Remove unused events file
* Leave a bugsnag breadcrumb when logging an event
* Move all logEvent to the top of code block and log remaining fail events
* Move all the non-logic-dependent logEvent to the top of code block
* Improve the logging of sidebar events
* Improve events from onboarding and newserver
* Improve events from login and register view, and log enter with apple
* Improve NewMessageView events
* Improve CreateChannel events
* Improve CreateDiscussion and SelectedUsers create group events
* Improve RoomsList events and log trivial events
* Improve ProfileView events
* Remove single line function body for the sidebarNavigate
* Navigate to Status and AdminPanel View using the defined sidebarNavigate method
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-30 10:26:17 -03:00
Diego Mello
74ecab858f
[CHORE] Update icon names ( #2318 )
2020-07-27 16:53:33 -03:00
Diego Mello
98ed84ba5c
[CHORE] Update react-navigation to v5 ( #2154 )
...
* react-navigation v5 installed
* compiling
* Outside working
* InsideStack compiling
* Switch stack
* Starting room
* RoomView header
* SafeAreaView
* Slide from right stack animation
* stash
* Fix params
* Create channel
* inapp notification
* Custom status
* Add server working
* Refactor appStart
* Attachment
* in-app notification
* AuthLoadingView
* Remove compat
* Navigation
* Outside animations
* Fix new server icon
* block modal
* AttachmentView header
* Remove unnecessary code
* SelectedUsersView header
* StatusView
* CreateDiscussionView
* RoomInfoView
* RoomInfoEditView style
* RoomMembersView
* RoomsListView header
* RoomView header
* Share extension
* getParam
* Focus/blur
* Trying to fix inapp
* Lint
* Simpler app container
* Update libs
* Revert "Simpler app container"
This reverts commit 1e49d80bb4
.
* Load messages faster
* Fix safearea on ReactionsModal
* Update safe area to v3
* lint
* Fix transition
* stash - drawer replace working
* stash - modal nav
* RoomActionsView as tablet modal
* RoomStack
* Stop showing RoomView header when there's no room
* Custom Header and different navigation based on stack
* Refactor setHeader
* MasterDetailContext
* RoomView header
* Fix isMasterDetail rule
* KeyCommands kind of working
* Create channel on tablet
* RoomView sCU
* Remove withSplit
* Settings opening as modal
* Settings
* StatusView headerLeft
* Admin panel
* TwoFactor style
* DirectoryView
* ServerDropdown and SortDropdown animations
* ThreadMessagesView
* Navigate to empty RoomView on server switch when in master detail
* ProfileView header
* Fix navigation issues
* Nav to any room info on tablet
* Room info
* Refactoring
* Fix rooms search
* Roomslist commands
* SearchMessagesView close modal
* Key commands
* Fix undefined subscription
* Disallow navigate to focused room
* isFocused state on RoomsListView
* Blur text inputs when focus is lost
* Replace animation
* Default nav theme
* Refactoring
* Always open Attachment with close modal button
* ModalContainer backdrop following themes
* Screen tracking
* Refactor get active route for in-app notification
* Only mark room as focused when in master detail layout
* Lint
* Open modals as fade from bottom on Android
* typo
* Fixing tests
* Fix in-app update
* Fixing goRoom issues
* Refactor stack names
* Fix unreadsCount
* Fix stack
* Fix header animation
* Refactor ShareNavigation
* Refactor navigation theme
* Make sure title is set
* Fix create discussion navigation
* Remove unused variable
* Create discussions from actions fixed
* Layout animation
* Screen lock on share extension
* Unnecessary change
* Admin border
* Set header after state callback
* Fix key commands on outside stack
* Fix back button pressed
* Remove layout animations from Android
* Tweak animations on Android
* Disable swipe gesture to open drawer
* Fix current item on RoomsListView
* Fix add server
* Fix drawer
* Fix broadcast
* LayoutAnimation instead of Transitions
* Fix onboarding back press
* Fix assorted tests
* Create discussion fix
* RoomInfoView header
* Drawer active item
2020-06-15 11:00:46 -03:00
Djorkaeff Alexandre
c0c4affd80
[IMPROVEMENT] Refactor icon package ( #2146 )
...
* [IMPROVEMENT] Refactor Icon Package
* some size fixes
2020-06-05 10:28:58 -03:00
Djorkaeff Alexandre
404c381ca2
[FIX] Read only channel/broadcast ( #1951 )
...
* [FIX] Read only channel/broadcast
* [FIX] Roles missing
* [FIX] Check roles to readOnly
* [FIX] Can post
* [FIX] Respect post-readonly permission
* [FIX] Search a room readOnly
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-13 09:51:16 -03:00
Djorkaeff Alexandre
076e5e87c6
[NEW] Direct Message between multiple users ( #1958 )
...
* [WIP] DM between multiple users
* [WIP][NEW] Create new DM between multiple users
* [IMPROVEMENT] Improve createChannel Sagas
* [IMPROVEMENT] Selected Users view
* [IMPROVEMENT] Room Actions of Group DM
* [NEW] Create new DM between multiple users
* [NEW] Group DM avatar
* [FIX] Directory border
* [IMPROVEMENT] Use isGroupChat
* [CHORE] Remove legacy getRoomMemberId
* [NEW] RoomTypeIcon
* [FIX] No use legacy method on RoomInfoView
* [FIX] Blink header when create new DM
* [FIX] Only show create direct message option when allowed
* [FIX] RoomInfoView
* pt-BR
* Few fixes
* Create button name
* Show create button only after a user is selected
* Fix max users issues
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-01 09:28:54 -03:00
Govind Dixit
1ce0f6db59
[FIX] Change default directory listing to Users ( #1948 )
...
* fix: change default directory listing to Users
* follow server settings
* Fix state to props
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 11:20:55 -03:00
Diego Mello
3683b8936a
[IMPROVEMENT] Use reselect ( #1696 )
2020-02-11 11:09:14 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Djorkaeff Alexandre
a0dc2bad4a
[NEW] Tablet support ( #1300 )
2019-11-25 17:01:17 -03:00
Diego Mello
93356341b9
[UPDATE DEPS] Update RN to 0.61.3 ( #1345 )
2019-10-31 13:21:59 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
vitorandos
94346634ae
[CHORE] Use React Fragment shorthand ( #1212 )
2019-09-24 17:26:56 -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
ba232547f1
[CHORE] Update to react-native 0.60.4 ( #1095 )
...
* 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 4740d86102
.
* 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
2019-08-07 10:51:34 -03:00
Djorkaeff Alexandre
18ef6c5430
[NEW] Share extension ( #942 )
2019-07-18 14:44:02 -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
b7e6d3615f
[NEW] Directory and Federation ( #967 )
...
* Initial
* Search working
* Refactor layout
* Layout and search working
* Navigate
* Remove inline styles and fix i18n
* Federation setting
* Missing i18n
* Fix android style
* Refactor
2019-06-10 13:22:35 -03:00