Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
5d2050b
[FIX] RoomItem using deprecated animated event signature (#2771)
gerzonc Jan 7, 2021
59fd703
[FIX] Server autocomplete text breaking line (#2774)
gerzonc Jan 12, 2021
3b4f457
[FIX] ServerDropdown flashing bigger server icon (#2775)
gerzonc Jan 13, 2021
7f0abe1
[FIX] Rooms list not being updated on some cases (#2765)
diegolmello Jan 13, 2021
32b1b36
[FIX] Share Extension hitting memory limit on iOS (#2788)
diegolmello Jan 13, 2021
4d13689
[IMPROVEMENT] Threads layout tweaks (#2686)
djorkaeffalexandre Jan 14, 2021
6457546
[CHORE] Remove some migrations (#2792)
diegolmello Jan 14, 2021
0330219
Bump version to 4.14.0 (#2797)
diegolmello Jan 14, 2021
b77603c
[FIX] Messagebox tracking lost on pop gesture navigation (#2799)
diegolmello Jan 15, 2021
a51a985
[FIX] Back button closing activity when on root stack screen (#2804)
diegolmello Jan 15, 2021
a1bd97f
[i18n] Add missing German strings (#2715)
phriedrich Jan 19, 2021
db5074a
[NEW] Encrypted Discussions (#2813)
diegolmello Jan 20, 2021
4b96d30
[FIX] Messagebox missing style for text color (#2786)
yash-rajpal Jan 20, 2021
54f3fb9
[I18N] Update arabic (#2696)
faziloub Jan 20, 2021
61bc2a4
[FIX] Workspace input without i18n (#2689)
sumukhah Jan 20, 2021
d83631d
[FIX] Spotlight returning duplicated entries (#2805)
gerzonc Jan 20, 2021
8d1dd27
[CHORE] Refactor ServerItem (#2778)
gerzonc Jan 20, 2021
af34e5a
[DOCS] Updated Quick Start docs link in e2e/readme (#2802)
yash-rajpal Jan 20, 2021
8abc3a8
[I18N] Add Turkish (#2793)
mukerremyilmaz Jan 20, 2021
94d94cf
[FIX] Lint on #2793 (#2818)
diegolmello Jan 20, 2021
e2d0a00
[I18N] Add missing german strings (#2689) (#2820)
phriedrich Jan 21, 2021
f0046f6
[I18N] Add missing italian strings (#2817)
aenonGit Jan 21, 2021
0fdb8f2
[FIX] Server version becoming null on server change (#2821)
diegolmello Jan 21, 2021
bd09cd3
[FIX] Wrong styling on E2E encryption banner (#2767)
gerzonc Jan 21, 2021
b10c5db
[FIX] App Store using Experimental's app id (#2826)
diegolmello Jan 22, 2021
cf59644
[FIX] Wrong username on push notifications (#2825)
diegolmello Jan 22, 2021
acd5f04
[FIX] Share extension memory issues on iOS (#2845)
diegolmello Feb 1, 2021
bdc495d
[FIX] Logout from other locations not prompting confirmation option (…
ARKEOLOGIST Feb 1, 2021
d42dab1
Bump version to 4.14.1 (#2859)
diegolmello Feb 4, 2021
4d9410a
[IMPROVEMENT] Check for focused rooms on in-app notifications (#2857)
gerzonc Feb 11, 2021
036dee1
[FIX] Real name being ignored in SearchMessagesView (#2838)
aKn1ghtOut Feb 11, 2021
491bc70
[CHORE] Remove unnecessary share reducer calls (#2861)
gerzonc Feb 11, 2021
3264746
[FIX] Breadcrumbs exceeding characters limit (#2862)
kresnaputra Feb 11, 2021
ba3de14
[FIX] App compressing videos on iOS (#2915)
gerzonc Feb 18, 2021
0d5e50e
[FIX] Real name setting ignored on reply preview (#2908)
yash-rajpal Feb 18, 2021
9a8047e
[FIX] Reply component sending unused prop to Description (#2900)
aKn1ghtOut Feb 18, 2021
4c148bd
[CHORE] BackdropOpacity based on themes (#2863)
gerzonc Feb 19, 2021
3532cb3
[FIX] Webview not falling back to default auth challenge when no cert…
newmanw Feb 22, 2021
f579641
[FIX] Support Jitsi_URL_Room_Hash (#2905)
diegolmello Feb 22, 2021
7551de7
[FIX] Temp attachment files not being flushed after saved to gallery …
gerzonc Feb 22, 2021
1f6385c
[CHORE] Update iOS profiles for Experimental app (#2933)
diegolmello Feb 22, 2021
cecffdb
[IMPROVE] Deleted thread reply redirects to thread (#2840)
aKn1ghtOut Feb 23, 2021
dbd8c94
[FIX] Thread showing typing indicator from main room (#2869)
kresnaputra Feb 23, 2021
450aca4
[FIX] DM rooms show typing status from last group room (#2878)
kresnaputra Feb 23, 2021
5b518b4
[FIX] Can't copy or edit media's description (#2885)
kresnaputra Feb 23, 2021
120f50d
[FIX] RightButtonsContainer re-render check not returning default val…
kresnaputra Feb 23, 2021
3a95054
[CHORE] Remove InteractionManager blocks (#2906)
kresnaputra Feb 23, 2021
09843aa
[FIX] App not sending second argument for EventEmitter.removeListener…
kresnaputra Feb 23, 2021
ef00edc
[FIX] Temp message ignoring real name (#2919)
gerzonc Feb 23, 2021
6e32a15
[FIX] System message of e2e encryption is missing (#2888)
kresnaputra Feb 24, 2021
e981165
[CHORE] Add permissions to Redux (#2914)
kresnaputra Feb 25, 2021
0957671
[CHORE] Add hold step for ios and android build experimental (#2943)
kresnaputra Feb 26, 2021
d6da866
[IMPROVEMENT] Remove lodash.isEqual (#2893)
gerzonc Feb 26, 2021
a1c9fdf
[I18N] Add missing Russian strings (#2946)
ankar84 Feb 26, 2021
98890df
[CHORE] Use shortcut syntax for get collections (#2932)
kresnaputra Feb 26, 2021
bc8d6b7
[FIX] Use List.Separator in all places (#2931)
kresnaputra Feb 26, 2021
5d3776d
[FIX] Limit new message list query size to 50 (#2947)
diegolmello Feb 26, 2021
99a3247
[FIX] Support chats order for older versions of the server (#2934)
gerzonc Feb 26, 2021
3e8d223
[FIX] Reactions modal's backdrop color too light (#2949)
gerzonc Feb 26, 2021
eedea40
Bump version to 4.15.0 (#2950)
diegolmello Feb 26, 2021
e35f7fe
[FIX] Share extension not working correctly on Official app (#2963)
diegolmello Mar 5, 2021
40c075d
[FIX] Cannot read property 'some' of undefined on hasPermission (#2966)
kresnaputra Mar 5, 2021
cc8dc6a
[FIX] Deep linking and other connectivity issues (#2894)
diegolmello Mar 5, 2021
a56dade
[FIX] Messagebox's placeholder color is too bright (#2968)
diegolmello Mar 5, 2021
b2c200a
[IMPROVEMENT] Message attachment colors (#2860)
gerzonc Mar 18, 2021
1ff6530
[FIX] App forgetting workspace when server is not finished added (#2798)
gerzonc Mar 18, 2021
e164b64
[TESTS] Add E2E tests to draft message (#2960)
kresnaputra Mar 18, 2021
ec5840c
[TESTS] Add E2E tests to group DM (#2961)
kresnaputra Mar 18, 2021
45d0d4a
[TESTS] Add E2E tests to directory (#2964)
kresnaputra Mar 18, 2021
460e82f
[CHORE] Simplify server version comparison (#2922)
gerzonc Mar 18, 2021
e1a7f43
[TESTS] Add E2E tests to discussions (#2970)
kresnaputra Mar 18, 2021
2ea7e9d
[FIX] Attachment not rendering markdown (#2924)
aKn1ghtOut Mar 18, 2021
1eaf4b8
[TESTS] Add e2e tests for mark message as unread (#2953)
kresnaputra Mar 18, 2021
715cc1e
[TESTS] Add E2E tests to delete server (#2954)
kresnaputra Mar 18, 2021
83b7f38
[CHORE] Refactor RoomActionsView permissions (#2872)
kresnaputra Mar 18, 2021
d7562f7
[CHORE] Add status and teams icons (#2989)
diegolmello Mar 18, 2021
8bc8a07
[FIX] SSO not working with 2FA (TOTP) (#2978)
gerzonc Mar 22, 2021
25b7115
[IMPROVEMENT] User status icons (#2991)
gerzonc Mar 31, 2021
c5bf13c
[REGRESSION] Auth via deep linking not working (#3015)
gerzonc Mar 31, 2021
4e0dc78
[FIX] Create discussion request being sent with null value on encrypt…
diegolmello Apr 1, 2021
98b2b0a
[CHORE] Use JSON files for i18n (#3011)
diegolmello Apr 1, 2021
ed181aa
[IMPROVEMENT] Load only i18n files needed (#3014)
diegolmello Apr 1, 2021
bb844e5
[REGRESSION] Clear local server cache not loading rooms (#3007)
diegolmello Apr 1, 2021
31d3594
[FIX] Custom OAuth and iframe login attempts being called multiple ti…
diegolmello Apr 1, 2021
656127a
[FIX] App crashing when attachment color is an invalid HEX (#3021)
diegolmello Apr 1, 2021
0ff916d
[IMPROVEMENT] Add "Message" option to Room Info (#3029)
kresnaputra Apr 1, 2021
8f0eae7
[FIX] Can't change status (#3018)
kresnaputra Apr 1, 2021
6327518
[FIX] Search input not using the whole header space (#3012)
kresnaputra Apr 1, 2021
704e071
[FIX] E2EE password hiding automatically (#2972)
kresnaputra Apr 1, 2021
45fe061
[TESTS] Move threads tests to its own file (#2965)
kresnaputra Apr 1, 2021
e32ed8b
[FIX] Regex typo on markdown (#2928)
aKn1ghtOut Apr 1, 2021
d620074
[FIX] Make attachment validation compatible with web client (#2927)
aKn1ghtOut Apr 1, 2021
28ab908
[FIX] Non-reply attachments displaying time (#2902)
aKn1ghtOut Apr 1, 2021
71da1e3
[FIX] i18n not being applied on login/register labels (#2930)
sadeghpro Apr 1, 2021
8649c17
Revert "[FIX] Make attachment validation compatible with web client (…
diegolmello Apr 5, 2021
5a96f1f
Bump version to 4.16.0 (#3037)
diegolmello Apr 5, 2021
d04d0f2
[NEW] Basic support to Teams (#3016)
diegolmello Apr 7, 2021
9ce374d
[CHORE] Refactor mention tracking logic (#2997)
sumukhah Apr 7, 2021
23a7f0f
[FIX] Status text not being updated on sidebar (#3041)
gerzonc Apr 7, 2021
5a800fe
[FIX] Unable to search non-latin alphabet names on members list (#3039)
gerzonc Apr 7, 2021
ecc0052
Search stops working after some time (#3044)
diegolmello Apr 7, 2021
69c0ccd
Bump version to 4.17.0 (#3058)
diegolmello Apr 13, 2021
f7f13da
[CHORE] Add job to upload Experimental to Google Play production (#3050)
diegolmello Apr 13, 2021
d718053
[REGRESSION] SAML stopped working after #2978 (#3060)
diegolmello Apr 14, 2021
d555f19
[REGRESSION] Room actions not loading on tablet (#3061)
diegolmello Apr 14, 2021
14078c0
Bump version to 4.16.1 (#3063)
diegolmello Apr 14, 2021
a2f2f1b
Merge branch 'single-server' into single-server-4.16.1
diegolmello Apr 14, 2021
f148686
[REGRESSION] Fallback language stopped working (#3072)
diegolmello Apr 15, 2021
1ea7bc6
Merge branch 'develop' into single-server-4.16.1
diegolmello Apr 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,24 @@ commands:
command: bundle exec fastlane android beta official:<< parameters.official >>
working_directory: android

# EXPERIMENTAL ONLY
# No plans to do it for Official
upload-to-google-play-production:
description: "Upload to Google Play production"
steps:
- checkout
- attach_workspace:
at: android
- run:
name: Store the google service account key
command: echo "$FASTLANE_GOOGLE_SERVICE_ACCOUNT" | base64 --decode > service_account.json
working_directory: android
- run: *update-fastlane-android
- run:
name: Fastlane Play Store Upload
command: bundle exec fastlane android production
working_directory: android

upload-to-testflight:
description: "Upload to TestFlight"
parameters:
Expand Down Expand Up @@ -382,6 +400,13 @@ jobs:
- upload-to-google-play-beta:
official: false

android-google-play-production-experimental:
<<: *defaults
docker:
- image: circleci/android:api-28-node
steps:
- upload-to-google-play-production

android-google-play-beta-official:
<<: *defaults
docker:
Expand Down Expand Up @@ -466,6 +491,13 @@ workflows:
- android-google-play-beta-experimental:
requires:
- android-hold-google-play-beta-experimental
- android-hold-google-play-production-experimental:
type: approval
requires:
- android-build-experimental
- android-google-play-production-experimental:
requires:
- android-hold-google-play-production-experimental

# Android Official
- android-hold-build-official:
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode VERSIONCODE as Integer
versionName "4.16.0"
versionName "4.16.1"
vectorDrawables.useSupportLibrary = true
if (!isFoss) {
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
Expand Down
9 changes: 9 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,13 @@ platform :android do
)
end
end

desc "Upload App to Play Store Production"
lane :production do |options|
upload_to_play_store(
package_name: 'chat.rocket.reactnative',
track: 'production',
aab: 'android/app/build/outputs/bundle/experimentalPlayRelease/app-experimental-play-release.aab'
)
end
end
6 changes: 4 additions & 2 deletions app/containers/RoomHeader/RoomHeader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import React, { useCallback } from 'react';
import PropTypes from 'prop-types';
import {
View, Text, StyleSheet, TouchableOpacity
Expand Down Expand Up @@ -149,11 +149,13 @@ const Header = React.memo(({
);
}

const handleOnPress = useCallback(() => onPress(), []);

return (
<TouchableOpacity
testID='room-header'
accessibilityLabel={title}
onPress={onPress}
onPress={handleOnPress}
style={styles.container}
disabled={tmid}
hitSlop={HIT_SLOP}
Expand Down
7 changes: 5 additions & 2 deletions app/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,16 @@ export const setLanguage = (l) => {
return;
}
// server uses lowercase pattern (pt-br), but we're forced to use standard pattern (pt-BR)
const locale = LANGUAGES.find(ll => ll.value.toLowerCase() === l.toLowerCase())?.value;
let locale = LANGUAGES.find(ll => ll.value.toLowerCase() === l.toLowerCase())?.value;
if (!locale) {
locale = 'en';
}
// don't go forward if it's the same language and default language (en) was setup already
if (i18n.locale === locale && i18n.translations?.en) {
return;
}
i18n.locale = locale;
i18n.translations = { ...i18n.translations, [locale]: translations[locale]() };
i18n.translations = { ...i18n.translations, [locale]: translations[locale]?.() };
I18nManager.forceRTL(isRTL(locale));
I18nManager.swapLeftAndRightInRTL(isRTL(locale));
i18n.isRTL = I18nManager.isRTL;
Expand Down
2 changes: 1 addition & 1 deletion app/sagas/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const restore = function* restore() {
UserPreferences.removeItem(RocketChat.CURRENT_SERVER)
]);
yield put(serverRequest(appConfig.server));
// yield put(appStart({ root: ROOT_OUTSIDE }));
yield put(appStart({ root: ROOT_OUTSIDE }));
} else {
const serversDB = database.servers;
const serverCollections = serversDB.get('servers');
Expand Down
4 changes: 2 additions & 2 deletions app/views/AuthenticationWebView.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class AuthenticationWebView extends React.PureComponent {
this.dismiss();
}

// eslint-disable-next-line react/sort-comp
debouncedLogin = debounce(params => this.login(params), 3000, true);
// Force 3s delay so the server has time to evaluate the token
debouncedLogin = debounce(params => this.login(params), 3000);

tryLogin = debounce(async() => {
const { Accounts_Iframe_api_url, Accounts_Iframe_api_method } = this.props;
Expand Down
10 changes: 0 additions & 10 deletions app/views/RoomActionsView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,16 +219,6 @@ class RoomActionsView extends React.Component {
return canToggleEncryption;
}

canToggleEncryption = async() => {
const { room } = this.state;
const { toggleRoomE2EEncryptionPermission } = this.props;
const { rid } = room;
const permissions = await RocketChat.hasPermission([toggleRoomE2EEncryptionPermission], rid);

const canToggleEncryption = permissions[0];
this.setState({ canToggleEncryption });
}

canViewMembers = async() => {
const { room } = this.state;
const { viewBroadcastMemberListPermission } = this.props;
Expand Down
4 changes: 2 additions & 2 deletions ios/RocketChatRN.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@
INFOPLIST_FILE = NotificationService/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 4.16.0;
MARKETING_VERSION = 4.16.1;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
Expand Down Expand Up @@ -1724,7 +1724,7 @@
INFOPLIST_FILE = NotificationService/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 4.16.0;
MARKETING_VERSION = 4.16.1;
MTL_FAST_MATH = YES;
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion ios/RocketChatRN/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>4.16.0</string>
<string>4.16.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ShareRocketChatRN/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>4.16.0</string>
<string>4.16.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>KeychainGroup</key>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rocket-chat-reactnative",
"version": "4.16.0",
"version": "4.16.1",
"private": true,
"scripts": {
"start": "react-native start",
Expand Down