Gerzon Z
1f0ff830a3
[NEW] Create Team ( #3082 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-12 16:01:29 -03:00
Diego Mello
8f571fd029
[FIX] App making calls to DDP after socket was killed by OS ( #3062 )
...
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-05-06 11:06:52 -03:00
Noach Magedman
fc52286bfa
[FIX] Connecting stream listener not being cleared ( #3008 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-05 13:02:26 -03:00
Diego Mello
eb38313075
[REGRESSION] Fallback not working when device's language is available ( #3091 )
...
* Always add 'en' i18n
* Add tests
2021-04-27 13:18:15 -03:00
Diego Mello
21b587749c
[FIX] Message author touchable taking whole space available ( #3048 )
...
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-04-19 11:33:07 -03:00
Gerzon Z
3f4fa04f04
[CHORE] Update Detox to 18.10.0 ( #3052 )
...
* Updated detox and 5 tests
* Update e2e cases for Detox v18, update setUserStatus and added SET_STATUS_FAIL
* Downgrade mocha
* Exclude arm64 from building and update tests cases
* Update more tests cases, add registeringUser4
* Update more test files and add room-actions-scrollview testID
* Update package.json
* Remove unused username from test file and update 08-roominfo test file
* Fixing
* Mark as unread
* Fixing flaky tests
* Minor fixes
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-19 11:31:43 -03:00
Diego Mello
f14868678b
[REGRESSION] Fallback language stopped working ( #3072 )
2021-04-15 10:31:22 -03:00
Diego Mello
d555f19376
[REGRESSION] Room actions not loading on tablet ( #3061 )
2021-04-14 13:03:58 -03:00
Diego Mello
d71805347b
[REGRESSION] SAML stopped working after #2978 ( #3060 )
2021-04-14 11:24:13 -03:00
Diego Mello
ecc0052c91
Search stops working after some time ( #3044 )
2021-04-07 17:41:19 -03:00
Gerzon Z
5a800fe21d
[FIX] Unable to search non-latin alphabet names on members list ( #3039 )
...
* Add search by name in members list
* Update RoomMembersView search
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-07 16:15:05 -03:00
Gerzon Z
23a7f0f689
[FIX] Status text not being updated on sidebar ( #3041 )
...
* Update StatusView.js
* Minor tweak
* Minor tweaks
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-07 16:11:15 -03:00
Sumukha Hegde
9ce374dc2d
[CHORE] Refactor mention tracking logic ( #2997 )
...
* [Improvement] Improve mentions
This PR focuses on improving command, emoji, channel and user mentions.
* [Tests] Added e2e tests for mention improvement
* [Improvement] Modify slash command mention logic.
Added slash command with argument preview
Slash command should show only if the message bigins with /
* Return data on search for empty text
* Minor fixes
* Update e2e tests
* Minor fix
* [FIX] allow command mentioning in between text
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-07 15:56:16 -03:00
Diego Mello
d04d0f27b6
[NEW] Basic support to Teams ( #3016 )
...
* Database migration
* RoomItem icon
* Team icons
* Teams group
* Small tweak on RoomTypeIcon
* RoomView Header
* Add team's channels to RoomView header
* Starting TeamChannelsView
* Icon size
* o data found
* Update TeamChannelsView, add teams subscriptions and send params to TeamChannelsView
* Use teams.ListRooms endpoint, render rooms list, remove unused functions
* Show team main on TeamChannelsView
* Disable swipe
* Pagination working
* Fix blinking no data found
* Search working
* Refactor to use BackgroundContainer while loading
* Go to room
* Cleanup
* Go to actions
* Events
* Lint
* Add debounce to go room
* Fix for tablet
* i18n
* Small fix
* Minor refactor
* Use local data when it exists
* Show last message
* Force teams migration
* Add stories to BackgroundContainer
* Remove unused component
* Move RoomViewHeader into containers folder
* Refactoring
* Testing RoomHeader
* i18n
* Fix server endpoint version
* Fix events
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2021-04-07 15:31:25 -03:00
Diego Mello
8649c17f0c
Revert "[FIX] Make attachment validation compatible with web client ( #2927 )" ( #3036 )
...
This reverts commit d6200745c0
.
2021-04-05 14:36:04 -03:00
sadegh
71da1e370b
[FIX] i18n not being applied on login/register labels ( #2930 )
...
* Use I18n translate in login text input label
* Add to register and add missing strings
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 18:17:21 -03:00
Anant Bhasin
28ab90857c
[FIX] Non-reply attachments displaying time ( #2902 )
...
* Remove time if no message_link
* Fix message stories for replies
* Final stories fix
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 18:06:50 -03:00
Anant Bhasin
d6200745c0
[FIX] Make attachment validation compatible with web client ( #2927 )
...
* [FIX] Make attachment validation compatible with web client
* Added stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 18:01:58 -03:00
Anant Bhasin
e32ed8be09
[FIX] Regex typo on markdown ( #2928 )
...
* [FIX] Fix Regex Typo
* Add story for testing
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 17:54:31 -03:00
Gung Wah
704e071275
[FIX] E2EE password hiding automatically ( #2972 )
...
* [FIX] E2EE password hiding automatically
* add e2e test
* fixed hiding banner
* move e2e tests to 01-e2eencryption
* remove console.log
* Fix tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 16:27:46 -03:00
Gung Wah
632751898c
[FIX] Search input not using the whole header space ( #3012 )
...
* [FIX] Search input not using the whole space
* Fix on getHeaderTitlePosition
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 11:09:02 -03:00
Gung Wah
8f0eae7a25
[FIX] Can't change status ( #3018 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 11:00:20 -03:00
Gung Wah
0ff916dc50
[IMPROVEMENT] Add "Message" option to Room Info ( #3029 )
...
* [CHORE] Go to room from hashtag
* Layout tweaks
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-04-01 10:54:39 -03:00
Diego Mello
656127aaab
[FIX] App crashing when attachment color is an invalid HEX ( #3021 )
2021-04-01 10:32:03 -03:00
Diego Mello
31d3594c2c
[FIX] Custom OAuth and iframe login attempts being called multiple times ( #3020 )
2021-04-01 10:29:21 -03:00
Diego Mello
bb844e52fb
[REGRESSION] Clear local server cache not loading rooms ( #3007 )
...
* Fix clear cache
* Write e2e tests
* Fix lint
* Fix isRTL
2021-04-01 09:58:20 -03:00
Diego Mello
ed181aa863
[IMPROVEMENT] Load only i18n files needed ( #3014 )
...
* Use json
* Load only i18n files needed
2021-04-01 09:38:16 -03:00
Diego Mello
98b2b0af4a
[CHORE] Use JSON files for i18n ( #3011 )
2021-04-01 09:28:39 -03:00
Diego Mello
4e0dc784c1
[FIX] Create discussion request being sent with null value on encryption param ( #3033 )
2021-04-01 09:24:28 -03:00
Gerzon Z
c5bf13c22d
[REGRESSION] Auth via deep linking not working ( #3015 )
...
* Update rocketchat and add e2e test for deep linking
* Update rocketchat and add e2e test for deep linking
* Update deeplinking e2e
* fix deep linking auth
* Test deep linking auth
* Fix deeplink to rid and add tests
* Small refactor
* Add non existing server test
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-31 18:01:20 -03:00
Gerzon Z
25b71155e6
[IMPROVEMENT] User status icons ( #2991 )
...
* Add status and teams
* Update icons, icon size and getUsersPresence
* Minor changes
* Refactor RoomTypeIcon
* Minor tweaks
* Update unit tests
* Minor fixes
* Fix styles
* Small refactor
* Update jest
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-31 14:47:17 -03:00
Gerzon Z
8bc8a07e72
[FIX] SSO not working with 2FA (TOTP) ( #2978 )
...
* Update AuthenticationWebView.js
* Updated loginTOTP
* Added validation
* Update rocketchat.js
* Update rocketchat.js
* Update rocketchat.js
* Update rocketchat.js
* Fix resolve
* Remove incognito
* Fix totp being requested on webview
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-22 14:26:44 -03:00
Diego Mello
d7562f7b79
[CHORE] Add status and teams icons ( #2989 )
...
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-03-18 15:33:02 -03:00
Gung Wah
83b7f3867d
[CHORE] Refactor RoomActionsView permissions ( #2872 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 14:33:20 -03:00
Anant Bhasin
2ea7e9d3f9
[FIX] Attachment not rendering markdown ( #2924 )
...
* [FIX] Render markdown in Fields content
* Added stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 11:44:09 -03:00
Gung Wah
e1a7f43552
[TESTS] Add E2E tests to discussions ( #2970 )
...
* [E2E TEST] Discussions
* fix error Cannot find UI elemen
* Fix tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 11:36:50 -03:00
Gerzon Z
460e82f759
[CHORE] Simplify server version comparison ( #2922 )
...
* Simplify server version where needed
* Added lte and gte functions and updated imports
* Updated functions names
* Update util functions
* Update util function and added methods
* Remove lt and coerce from getPermissions and mergeSubscriptionsRooms
* Fix comparison
* Update getPermissions.js
* Remove unused import
* Fix lint
* Fix lint
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:33:35 -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
Gerzon Z
1ff6530a19
[FIX] App forgetting workspace when server is not finished added ( #2798 )
...
* [FIX] App forgetting workspace
* Added e2e tests
* Update login.js
* Update logout.js
* Reverted changes on login and share, updated init
* Update 08-persistantworkspace.spec.js
* Revert unnecessary changes
* Revert line change
* Update share.js
* Tweak tests
* Use wm shorthand
* Remove irrelevant calls to RocketChat.TOKEN_KEY
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:18:33 -03:00
Gerzon Z
b2c200a5d1
[IMPROVEMENT] Message attachment colors ( #2860 )
...
* Added convertStrToHex function and updated Reply component
* Removed convertStrtToHex function and added attachmentBackground
* Added color2k, removed transparent view and applied transparentize to backgroundColor
* Added stories
* Update Reply stories
* Update Reply stories
* Fix lint
* Update Reply stories
* Fix props
* Move tests to Message stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-18 10:13:44 -03:00
Diego Mello
a56dade12b
[FIX] Messagebox's placeholder color is too bright ( #2968 )
2021-03-05 13:21:18 -03:00
Diego Mello
cc8dc6a75a
[FIX] Deep linking and other connectivity issues ( #2894 )
...
* Navigate from push notification only if necessary
* Use JS SDK branch
* Stop reconnecting if it's already connected
* Fix RoomsListView forever loading after tapping push notification of another server
* Execute fewer operations on app/index
* Remove roomsRequest call from onForeground
* Apply check and reopen
* Stop opening in-app notification when the app is on backgorund
* Connecting tweaks
* Fix deep linking not working if the app is on background
* Force reset yarn cache
* Upgrade JS SDK
* Remove listener on unmount
* Fix resume on Android after back button is pressed
* Fix local authentication resume
* Fix back button android
* Change JS SDK branch
2021-03-05 13:10:21 -03:00
Gung Wah
40c075d748
[FIX] Cannot read property 'some' of undefined on hasPermission ( #2966 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-03-05 10:44:46 -03:00
Gerzon Z
3e8d22336d
[FIX] Reactions modal's backdrop color too light ( #2949 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 15:44:00 -03:00
Gerzon Z
99a32479f4
[FIX] Support chats order for older versions of the server ( #2934 )
...
* Update mergeSubscriptionsRooms.js
* Update mergeSubscriptionsRooms.js
* Update mergeSubscriptionsRooms.js
* Minor refactor
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 15:31:35 -03:00
Diego Mello
5d3776d4f1
[FIX] Limit new message list query size to 50 ( #2947 )
...
* Limit query to 50
* Remove observable
2021-02-26 13:49:21 -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
Gung Wah
98890df773
[CHORE] Use shortcut syntax for get collections ( #2932 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:25:51 -03:00
ankar84
a1c9fdfdb9
[I18N] Add missing Russian strings ( #2946 )
...
* [i18n] Add missing Russian strings
* Couple fixes
* Fix Direct_message
Translate Direct_message as already has been translated
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:07:57 -03:00
Gerzon Z
d6da8665c6
[IMPROVEMENT] Remove lodash.isEqual ( #2893 )
...
* Added dequal and react-fast-compare as substitutes to lodash.isEqual
* Update ReplyPreview.js
* Remove react-fast-compare
* Removed deep-equal and upgrade babel-eslint dev dependency
* Fix avatar
* Fix Messagebox
* Fix CreateDiscussionView
* ModalBlockView
* NewMessageView
* ProfileView
* RoomInfoEditView
* ServerDropdown
* Return local search as object instead of observable
* SelectedUsersView
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:01:45 -03:00