Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Merge 4.47.0 into master #5611

Merged
merged 45 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
8dcc939
chore: Bump version to 4.47.0 (#5513)
diegolmello Jan 25, 2024
7bf7111
feat: New message composer (#5205)
diegolmello Jan 25, 2024
6122c71
fix: room actions header not using i18n on tablets (#5510)
diegolmello Jan 25, 2024
cedd0b9
feat: Send native calculated keyboard and tracking view height to TS …
diegolmello Jan 26, 2024
501e421
feat: adds scroll when a new quote is added to the list (#5516)
dnlsilva Jan 26, 2024
e06aaf1
feat: haptics feedback in app notificaiton (#5507)
reinaldonetof Jan 29, 2024
7b73eac
feat: better composer height calculation (#5523)
diegolmello Jan 31, 2024
39f8a92
feat: audio recording permission handling in MicOrSendButton componen…
dnlsilva Jan 31, 2024
cc7d089
fix: remove blocks when updating an old message (#5522)
reinaldonetof Jan 31, 2024
6907771
feat: add take a photo button in profile (#5524)
AmitGiriDev Feb 1, 2024
50d534f
chore: improve encrypted button on create discussion view (#5466)
SanjaySargam Feb 1, 2024
d9dd6a3
feat: button to refresh cloud data on support window expired screen …
diegolmello Feb 1, 2024
aa3938a
fix: Disconnect from server when on expired support window screen (#5…
diegolmello Feb 1, 2024
27c716c
chore: Use Xcode 15.2.0 on CI (#5532)
diegolmello Feb 6, 2024
b81e22c
feat: add draft and quote on shareview support (#5540)
dnlsilva Feb 7, 2024
c8e1f20
feat: add support for tasks and unordered list markdown (#5057)
imf-ali Feb 7, 2024
b189f59
fix: NavBottomFAB position (#5555)
diegolmello Feb 8, 2024
2a1b59c
tests: add draft e2e tests (#5553)
dnlsilva Feb 15, 2024
f89a28e
regression: open self profile from messages (#5554)
reinaldonetof Feb 15, 2024
079b401
fix: add alignSelf style for Android to prevent text from getting cut…
dnlsilva Feb 16, 2024
7745de0
chore: remove todos related to actions (#5572)
dnlsilva Feb 16, 2024
e55b172
tests: message composer unit tests (#5556)
diegolmello Feb 19, 2024
1beb0d0
fix: fixes the behavior of the alsoSendThreadToChannel property (#5573)
dnlsilva Feb 19, 2024
c4a3f9c
fix: add a style to prevent Android from breaking when rendering a ka…
dnlsilva Feb 19, 2024
37e936e
chore: update totp copy (#5579)
dnlsilva Feb 19, 2024
316f771
feat: play audio in sequence (#5526)
reinaldonetof Feb 20, 2024
116c217
chore: apply alignSelf style only on LastMessage (#5580)
dnlsilva Feb 20, 2024
06b8910
chore: add a script to organize translations (#5586)
dnlsilva Feb 21, 2024
94807ef
fix: commonmark code_block (#5531)
reinaldonetof Feb 22, 2024
645b188
fix: fix unread count on Header and roomListView (#5588)
dnlsilva Feb 22, 2024
2389a27
fix: the download's key for files with the same filename (#5534)
reinaldonetof Feb 22, 2024
65660f5
chore(Android): Update CircleCI images (#5587)
diegolmello Feb 23, 2024
fb9c271
fix: floating promises and fork usage on login saga (#5589)
diegolmello Feb 23, 2024
55f3de5
test: correction and improvement of unit tests in CI (#5591)
dnlsilva Feb 26, 2024
f56f19a
feat: add search emoji by substring (#5585)
Lao-Ax Feb 26, 2024
f3ee2dc
feat: improve login error message (#5594)
dnlsilva Feb 28, 2024
54f2cea
fix: empty draft when the message is sent (#5595)
dnlsilva Feb 28, 2024
65e076b
feat: show toast msg in members view if direct msg is not allowed (#5…
jsathu07 Mar 1, 2024
eefb879
feat: display language icon for auto translated msgs (#5398)
jsathu07 Mar 4, 2024
4c8caf0
feat: mobile troubleshoot notifications (#5330)
reinaldonetof Mar 4, 2024
2f4bde7
chore: update notification troubleshoot page copy (#5603)
dnlsilva Mar 6, 2024
2c0cfa1
regression: validate that the login error value is actually a string …
dnlsilva Mar 6, 2024
3b61770
fix: message.md not getting cleaned up correctly (#5606)
diegolmello Mar 6, 2024
29421c9
fix: request room e2ee key not working properly (#5607)
diegolmello Mar 7, 2024
85f8d6b
Merge branch 'master' into 4.47.0-master
diegolmello Mar 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
50 changes: 37 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:

macos: &macos
macos:
xcode: "14.2.0"
xcode: "15.2.0"
resource_class: macos.m1.medium.gen1

bash-env: &bash-env
Expand All @@ -19,7 +19,9 @@ android-env: &android-env

install-npm-modules: &install-npm-modules
name: Install NPM modules
command: yarn
command: |
yarn global add node-gyp
yarn

restore-npm-cache-linux: &restore-npm-cache-linux
name: Restore NPM cache
Expand Down Expand Up @@ -54,15 +56,13 @@ save-gems-cache: &save-gems-cache
update-fastlane-ios: &update-fastlane-ios
name: Update Fastlane
command: |
echo "ruby-2.7.7" > ~/.ruby-version
bundle install
working_directory: ios

update-fastlane-android: &update-fastlane-android
name: Update Fastlane
command: |
echo "ruby-2.7.7" > ~/.ruby-version
bundle install
bundle install --path gems
working_directory: android

save-gradle-cache: &save-gradle-cache
Expand All @@ -78,6 +78,27 @@ restore_cache: &restore-gradle-cache
# COMMANDS
commands:

manage-ruby:
description: "Manage ruby version"
steps:
- restore_cache:
name: Restore ruby
key: ruby-v2-{{ checksum ".ruby-version" }}
- run:
name: Install ruby
command: |
echo "ruby-2.7.7" > ~/.ruby-version
if [ -d ~/.rbenv/versions/2.7.7 ]; then
echo "Ruby already installed"
else
rbenv install 2.7.7
fi
- save_cache:
name: Save ruby cache
key: ruby-v2-{{ checksum ".ruby-version" }}
paths:
- ~/.rbenv/versions/2.7.7

manage-pods:
description: "Restore/Get/Save cache of pods libs"
steps:
Expand Down Expand Up @@ -204,6 +225,7 @@ commands:
- checkout
- restore_cache: *restore-gems-cache
- restore_cache: *restore-npm-cache-mac
- manage-ruby
- run: *install-npm-modules
- run: *update-fastlane-ios
- manage-pods
Expand Down Expand Up @@ -328,6 +350,7 @@ commands:
at: ios
- restore_cache: *restore-gems-cache
- restore_cache: *restore-npm-cache-mac
- manage-ruby
- run: *install-npm-modules
- run: *update-fastlane-ios
- manage-pods
Expand Down Expand Up @@ -381,7 +404,7 @@ jobs:
- run:
name: Test
command: |
yarn test -w 8
yarn test --runInBand

- run:
name: Codecov
Expand All @@ -394,7 +417,7 @@ jobs:
android-build-experimental:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node
environment:
<<: *android-env
<<: *bash-env
Expand All @@ -406,7 +429,7 @@ jobs:
android-automatic-build-experimental:
<<: *defaults
docker:
- image: circleci/android:api-29-node
- image: cimg/android:2023.11-node
environment:
<<: *android-env
<<: *bash-env
Expand All @@ -417,7 +440,7 @@ jobs:
android-build-official:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node
environment:
<<: *android-env
<<: *bash-env
Expand All @@ -428,15 +451,15 @@ jobs:
android-internal-app-sharing-experimental:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node

steps:
- upload-to-internal-app-sharing

android-google-play-beta-experimental:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node

steps:
- upload-to-google-play-beta:
Expand All @@ -445,14 +468,14 @@ jobs:
android-google-play-production-experimental:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node
steps:
- upload-to-google-play-production

android-google-play-beta-official:
<<: *defaults
docker:
- image: cimg/android:2022.03.1-node
- image: cimg/android:2023.11-node

steps:
- upload-to-google-play-beta:
Expand Down Expand Up @@ -575,6 +598,7 @@ jobs:
- checkout
- restore_cache: *restore-gems-cache
- restore_cache: *restore-npm-cache-mac
- manage-ruby
- run: *install-npm-modules
- run: *update-fastlane-ios
- save_cache: *save-npm-cache-mac
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/organize_translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: organize translations

on:
push:
paths:
- 'app/i18n/locales/**.json'

jobs:
organize-and-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Run script to organize JSON keys
run: node scripts/organize-translations.js

- name: Get changed files
id: git-check
uses: tj-actions/changed-files@v42
with:
files: |
**.json

- name: List all changed files
if: steps.git-check.outputs.any_changed == 'true'
env:
ALL_CHANGED_FILES: ${{ steps.git-check.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done

- name: Commit and push if changes
if: steps.git-check.outputs.any_changed == 'true'
uses: EndBug/add-and-commit@v9
with:
message: 'action: organized translations'
2 changes: 1 addition & 1 deletion .storybook/storybook.requires.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const getStories = () => {
require("../app/containers/BackgroundContainer/index.stories.tsx"),
require("../app/containers/Button/Button.stories.tsx"),
require("../app/containers/Chip/Chip.stories.tsx"),
require("../app/containers/CollapsibleText/CollapsibleText.stories.tsx"),
require("../app/containers/HeaderButton/HeaderButtons.stories.tsx"),
require("../app/containers/List/List.stories.tsx"),
require("../app/containers/LoginServices/LoginServices.stories.tsx"),
require("../app/containers/markdown/Markdown.stories.tsx"),
require("../app/containers/markdown/new/NewMarkdown.stories.tsx"),
require("../app/containers/message/Components/CollapsibleQuote/CollapsibleQuote.stories.tsx"),
require("../app/containers/CollapsibleText/CollapsibleText.stories.tsx"),
require("../app/containers/message/Message.stories.tsx"),
require("../app/containers/ReactionsList/ReactionsList.stories.tsx"),
require("../app/containers/RoomHeader/RoomHeader.stories.tsx"),
Expand Down
5 changes: 0 additions & 5 deletions __mocks__/react-native-gesture-handler.js

This file was deleted.

3 changes: 3 additions & 0 deletions __mocks__/react-native-image-crop-picker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
openPicker: jest.fn().mockImplementation(() => Promise.resolve())
};
3 changes: 2 additions & 1 deletion __mocks__/react-native-mmkv-storage.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export class MMKVLoader {
// eslint-disable-next-line no-useless-constructor
constructor() {
console.log('MMKVLoader constructor mock');
// console.log('MMKVLoader constructor mock');
}

setProcessingMode = jest.fn().mockImplementation(() => ({
Expand Down
3 changes: 0 additions & 3 deletions __mocks__/react-navigation.js

This file was deleted.

12 changes: 6 additions & 6 deletions __tests__/containers/List/__snapshots__/List.stories.storyshot

Large diffs are not rendered by default.

Loading