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

Build beta 486 #3

Merged
merged 242 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
242 commits
Select commit Hold shift + click to select a range
a6a2ea6
Added convert option to GM
harshilsharma63 Sep 26, 2023
a5039fc
Created screen
harshilsharma63 Oct 16, 2023
65dc65d
Used goToScreen instead of shoModal
harshilsharma63 Oct 17, 2023
cd3ff8b
Added message box
harshilsharma63 Oct 17, 2023
6b0de22
Merge branch 'main' into gm_to_channel
harshilsharma63 Oct 18, 2023
9ae6db4
WIP
harshilsharma63 Oct 18, 2023
fc7d8a3
include encoded
calebroseland Oct 18, 2023
ec7252a
Added team selector screen
harshilsharma63 Oct 19, 2023
c70b50f
WIP
harshilsharma63 Oct 19, 2023
a717ea5
WIP
harshilsharma63 Oct 20, 2023
91f87e0
WIP
harshilsharma63 Oct 20, 2023
3386966
WIP
harshilsharma63 Oct 20, 2023
2574c90
WIP
harshilsharma63 Oct 22, 2023
03ccfda
better support variations
calebroseland Oct 23, 2023
c59d7fe
WIP
harshilsharma63 Oct 24, 2023
2acd873
WIP
harshilsharma63 Oct 24, 2023
bac0136
WIP
harshilsharma63 Oct 25, 2023
29c64c8
Handled case of all members deactivated
harshilsharma63 Oct 26, 2023
d3ba843
Handled case of single common team
harshilsharma63 Oct 26, 2023
6752d84
Handled case of no common team
harshilsharma63 Oct 27, 2023
723f88c
Handled case of no common team
harshilsharma63 Oct 27, 2023
7c008a9
Merge branch 'main' into gm_to_channel
harshilsharma63 Oct 30, 2023
66dc8a4
Set teammate display name
harshilsharma63 Oct 30, 2023
978a13a
Set teammate display name
harshilsharma63 Oct 30, 2023
67f6740
Making conversion API call
harshilsharma63 Oct 30, 2023
2a65fa7
Merge branch 'main' into gm_to_channel
harshilsharma63 Oct 31, 2023
8ae4c1b
Merge branch 'main' into gm_to_channel
harshilsharma63 Oct 31, 2023
761fcc8
WIP
harshilsharma63 Nov 1, 2023
3555eb5
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 1, 2023
bf2fd65
WIP
harshilsharma63 Nov 1, 2023
e171c82
Disabled option for guest users
harshilsharma63 Nov 2, 2023
a8fe979
Merge branch 'main' into MM-53902-cont
calebroseland Nov 2, 2023
ea34873
Handled category updates
harshilsharma63 Nov 3, 2023
744d5c1
include backslashes
calebroseland Nov 3, 2023
aff3104
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 6, 2023
082b3c7
Handled websocket notification race condition
harshilsharma63 Nov 7, 2023
4138a20
removed debug logs
harshilsharma63 Nov 7, 2023
742739f
Handled onreconnect sync
harshilsharma63 Nov 9, 2023
34567cb
Cleanup
harshilsharma63 Nov 9, 2023
f183c2f
Restored xcode project file
harshilsharma63 Nov 9, 2023
799e78c
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 10, 2023
7106c18
Somre review fixes
harshilsharma63 Nov 10, 2023
49272f0
Apply suggestions from code review
harshilsharma63 Nov 10, 2023
8fe529a
WIP
harshilsharma63 Nov 10, 2023
eebd484
Review fixes
harshilsharma63 Nov 13, 2023
270c25a
Added server version check
harshilsharma63 Nov 13, 2023
e3d67af
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 14, 2023
77a1f79
Review fixes
harshilsharma63 Nov 14, 2023
805c794
MM 45015 - auto follow threads (#7463)
tanmaythole Nov 14, 2023
0164c1b
Review fixes
harshilsharma63 Nov 14, 2023
9c6ae71
Review fixes
harshilsharma63 Nov 14, 2023
94a9103
Allow connecting to a previous server if credentials are not in the k…
enahum Nov 14, 2023
f0334d8
MM-54323 - Calls: Incoming call from different server (#7646)
cpoile Nov 14, 2023
4af2ad2
review fixes
harshilsharma63 Nov 15, 2023
e0239a0
Review fixes
harshilsharma63 Nov 15, 2023
316971f
Reverted accidental change
harshilsharma63 Nov 15, 2023
8f93b15
reverted podfile
harshilsharma63 Nov 15, 2023
b0becb4
Fixed menu icon
harshilsharma63 Nov 15, 2023
94e1334
Maintenance fixes (#7665)
larkox Nov 15, 2023
bf25f10
refactor parseDeepLink with path-to-regexp
calebroseland Nov 16, 2023
cd460e9
Merge branch 'main' into MM-53902-cont
calebroseland Nov 16, 2023
bf91340
put back plugin case
calebroseland Nov 16, 2023
72d5139
fixes
harshilsharma63 Nov 16, 2023
0ae4210
reverted podfile.lock
harshilsharma63 Nov 16, 2023
ba9a84e
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 16, 2023
e7b3aed
reverted podfile.lock
harshilsharma63 Nov 16, 2023
cec7961
Displayed channel related error with name field
harshilsharma63 Nov 16, 2023
6fb5d85
MM-55036 - Calls: Fix: Receiving in-app notifications for calls notif…
cpoile Nov 16, 2023
6c852fb
Bump app version number to 2.11.0
larkox Nov 16, 2023
88240ae
Bump app build number to 494
larkox Nov 16, 2023
6477418
Merge pull request #7668 from larkox/bump-build-main-494
mvitale1989 Nov 16, 2023
bd36c9d
Translated using Weblate (Polish)
Oct 11, 2023
1233af2
Translated using Weblate (Russian)
Oct 11, 2023
509fd38
Translated using Weblate (Turkish)
kayazeren Oct 12, 2023
b52fef6
Translated using Weblate (Chinese (Simplified))
Sharuru Oct 12, 2023
5ac25fd
Translated using Weblate (Korean)
seoyeongeun Oct 13, 2023
62e6da1
Translated using Weblate (Dutch)
Oct 13, 2023
b7fc52d
Translated using Weblate (Dutch)
anneschuth Oct 13, 2023
63e0147
Translated using Weblate (Swedish)
johnsonbrothers Oct 14, 2023
d458f85
Translated using Weblate (Swedish)
johnsonbrothers Oct 14, 2023
c76ca6e
Translated using Weblate (French)
Oct 15, 2023
335ed51
Translated using Weblate (French)
Oct 15, 2023
7c77a78
Translated using Weblate (German)
milotype Oct 16, 2023
a1bbfbf
Translated using Weblate (Croatian)
milotype Oct 16, 2023
f4bbff8
Translated using Weblate (German)
jprusch Oct 17, 2023
a2dd893
Translated using Weblate (Kazakh)
akbarkz Oct 18, 2023
e27d043
Translated using Weblate (Kazakh)
akbarkz Oct 19, 2023
1dd79fd
Translated using Weblate (Japanese)
kaakaa Oct 19, 2023
a155acd
Translated using Weblate (Albanian)
rubinaga Oct 20, 2023
4b42ec7
Translated using Weblate (Chinese (Simplified))
ThrRip Oct 25, 2023
cee7c0d
Translated using Weblate (French)
Oct 26, 2023
3755a4a
Translated using Weblate (Polish)
Oct 26, 2023
0f5a2e1
Translated using Weblate (Hebrew)
TomerPacific Oct 25, 2023
9760d2e
Translated using Weblate (Hebrew)
TomerPacific Oct 26, 2023
7bc4da6
Translated using Weblate (French)
maxtrem271991 Oct 29, 2023
b3cbed5
Translated using Weblate (German)
jprusch Oct 30, 2023
40cad2e
Translated using Weblate (Polish)
Oct 31, 2023
b86816d
Translated using Weblate (Korean)
amigo7kr Oct 31, 2023
7729f03
Translated using Weblate (Turkish)
kayazeren Oct 31, 2023
c50513d
Translated using Weblate (Croatian)
milotype Oct 31, 2023
e867656
Translated using Weblate (Russian)
Nov 1, 2023
37b88c2
Translated using Weblate (Croatian)
milotype Nov 1, 2023
2382130
Translated using Weblate (Croatian)
milotype Nov 2, 2023
8a10232
Update translation files
weblate Nov 2, 2023
cd3ad63
Translated using Weblate (Croatian)
milotype Nov 2, 2023
8e8228e
Translated using Weblate (German)
jprusch Nov 3, 2023
af763b4
Translated using Weblate (Croatian)
milotype Nov 3, 2023
6c0376b
Update translation files
weblate Nov 3, 2023
3c14f71
Translated using Weblate (Croatian)
milotype Nov 3, 2023
59f3902
Translated using Weblate (Swedish)
johnsonbrothers Nov 5, 2023
6e8c252
Translated using Weblate (Croatian)
milotype Nov 4, 2023
0fd8430
Translated using Weblate (Dutch)
Nov 6, 2023
a7d74e7
Translated using Weblate (Hungarian)
tsabi Nov 6, 2023
1390879
Translated using Weblate (Croatian)
milotype Nov 6, 2023
64e2844
Translated using Weblate (Croatian)
milotype Nov 6, 2023
5395980
Translated using Weblate (English (Australia))
matt-w99 Nov 8, 2023
5630658
Translated using Weblate (Russian)
Nov 7, 2023
1d7857e
Translated using Weblate (Croatian)
milotype Nov 7, 2023
8dcfdcb
Translated using Weblate (Croatian)
milotype Nov 8, 2023
323e112
Translated using Weblate (Turkish)
kayazeren Nov 10, 2023
63857a3
Translated using Weblate (Korean)
Sn-Kinos Nov 13, 2023
c9fe724
MM-54865 - Calls: Multisession support (#7647)
cpoile Nov 16, 2023
c6967b7
text fix
harshilsharma63 Nov 17, 2023
044cebc
Show at mentions in RemoveMarkdown renderer (#7664)
larkox Nov 17, 2023
d4f3590
add ci checks to main and release branches (#7670)
cpoile Nov 17, 2023
f8f4e9e
review changes
calebroseland Nov 17, 2023
f58987e
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 20, 2023
daa2b1a
MM-54351 - Calls: Improve logging (#7671)
cpoile Nov 21, 2023
12a80c4
subpath tests, variations test
calebroseland Nov 22, 2023
55004c9
Merge branch 'main' into gm_to_channel
harshilsharma63 Nov 22, 2023
c037c33
Merge pull request #7667 from mattermost/show-conversion-error
harshilsharma63 Nov 22, 2023
908e4c0
Merge pull request #7654 from mattermost/gm_to_channel
harshilsharma63 Nov 22, 2023
1a59bd9
[MM-42586] Reaction toggle behavior (#7674)
kyeongsoosoo Nov 22, 2023
a26f011
Translated using Weblate (Japanese)
kaakaa Nov 13, 2023
72d2984
Translated using Weblate (Polish)
Nov 13, 2023
4d97b25
Translated using Weblate (Croatian)
milotype Nov 13, 2023
5a6e8c1
Translated using Weblate (Hungarian)
tsabi Nov 14, 2023
1a75c53
Translated using Weblate (Croatian)
milotype Nov 14, 2023
1c1542e
Translated using Weblate (German)
jprusch Nov 15, 2023
14980a9
Translated using Weblate (Hungarian)
tsabi Nov 15, 2023
3a016ea
Translated using Weblate (Polish)
Nov 15, 2023
1ea59ac
Translated using Weblate (Chinese (Simplified))
ThrRip Nov 15, 2023
f603a4a
Translated using Weblate (Chinese (Simplified))
ThrRip Nov 15, 2023
fb57ec1
Translated using Weblate (German)
jprusch Nov 16, 2023
7965f12
Translated using Weblate (Hungarian)
tsabi Nov 16, 2023
2093634
Translated using Weblate (Polish)
Nov 16, 2023
24ba082
Translated using Weblate (Dutch)
Nov 17, 2023
c3e831b
Translated using Weblate (Russian)
Nov 20, 2023
093d371
resolve weblate merge conflicts
Nov 22, 2023
6baa850
MM-54277 - Calls: Add incoming banners to channel_list screen (#7673)
cpoile Nov 22, 2023
a3b811d
refactor
calebroseland Nov 22, 2023
e39736b
parameter cleanup
calebroseland Nov 23, 2023
5d35b4a
remove unneeded decode
calebroseland Nov 23, 2023
58fc869
Added onReconnect handling for converted GM
harshilsharma63 Nov 23, 2023
28949d5
Merge branch 'main' into gm_conversion_on_reconnect_handler
harshilsharma63 Nov 23, 2023
d49dfa5
Restored podfile
harshilsharma63 Nov 23, 2023
4b5489c
[MM-53810] Add mobile markdown support for highlighting without notif…
M-ZubairAhmed Nov 23, 2023
878ed56
nit fix
harshilsharma63 Nov 24, 2023
d31887b
Merge branch 'main' into gm_conversion_on_reconnect_handler
harshilsharma63 Nov 24, 2023
89fc14b
fix plugin path matching, add coverage
calebroseland Nov 24, 2023
4a422af
refactor /:route param
calebroseland Nov 24, 2023
edef4ec
Update libraries and dependencies (#7678)
enahum Nov 24, 2023
59a6936
Added one important test (#7683)
harshilsharma63 Nov 24, 2023
46125b2
Fix issue when logout is called several times for the same server (#7…
larkox Nov 27, 2023
3c6638f
Optimized the number of calls to fetchMyChannelsForTeam
harshilsharma63 Nov 27, 2023
946ccf0
Merge branch 'main' into gm_conversion_on_reconnect_handler
harshilsharma63 Nov 27, 2023
7d34dfa
Translated using Weblate (Dutch)
Nov 22, 2023
c4a77d4
Translated using Weblate (Russian)
Nov 23, 2023
67d59c2
Translated using Weblate (German)
jprusch Nov 23, 2023
5f94210
Translated using Weblate (Dutch)
Nov 23, 2023
87e6ec0
Translated using Weblate (Polish)
Nov 23, 2023
ef8f379
Translated using Weblate (Croatian)
milotype Nov 23, 2023
8a097ba
Translated using Weblate (Hungarian)
tsabi Nov 25, 2023
79d7c62
Merge branch 'main' into MM-53902-cont
calebroseland Nov 27, 2023
bf44982
Bump app build number to 495 (#7687)
unified-ci-app[bot] Nov 28, 2023
ce343c8
Merge pull request #7613 from mattermost/MM-53902-cont
calebroseland Nov 28, 2023
9ff24a8
Merge pull request #7682 from mattermost/gm_conversion_on_reconnect_h…
harshilsharma63 Nov 29, 2023
1fc0611
Bump build 497 (#7692)
mvitale1989 Nov 29, 2023
7c747c2
[MM-54529] Prevent Persistent Notifications Error Message for DM Chan…
escofresco Nov 30, 2023
ab7da5f
fix opening same modal twice (#7639)
FokinAleksandr Dec 1, 2023
d469470
Make app init more idempotent (#7676)
larkox Dec 4, 2023
de57c34
MM-55621 fix layout for tablets and foldables (#7697)
enahum Dec 5, 2023
fc8bdba
Translated using Weblate (Swedish)
johnsonbrothers Nov 27, 2023
2117d4f
Translated using Weblate (Thai)
RyoKub Nov 27, 2023
eb31eab
Translated using Weblate (French)
arthurhrg Nov 28, 2023
27c9c8a
Translated using Weblate (Chinese (Simplified))
ThrRip Nov 29, 2023
b83aa83
Translated using Weblate (Russian)
Nov 30, 2023
2d5b9bc
Translated using Weblate (English (Australia))
matt-w99 Dec 3, 2023
d50e645
Translated using Weblate (Lithuanian)
andriuspetrauskis Dec 3, 2023
21acf6b
Bump build version to 498 (#7700)
mvitale1989 Dec 5, 2023
bcf3dc6
MM-54575 fix server & user list tutorials (#7698)
enahum Dec 6, 2023
55e4750
Update NOTICE.txt (#7701)
amyblais Dec 7, 2023
c90ed51
Bump to version 2.12.0 build 499 (#7705)
mvitale1989 Dec 8, 2023
e67ac47
Translated using Weblate (Chinese (Simplified))
ThrRip Dec 7, 2023
36f2422
CLD-6707 Automate weekly build (#7685)
mvitale1989 Dec 11, 2023
5db1888
CLD-6707 Followup fixes (#7711)
mvitale1989 Dec 12, 2023
15fb636
fix: height for multiple line floating text input (#7688)
tanmaythole Dec 13, 2023
87a1332
Merge pull request #7707 from weblate/weblate-mattermost-mattermost-m…
ctlaltdieliet Dec 13, 2023
b405b3a
Bump app build number to 500 (#7717)
unified-ci-app[bot] Dec 15, 2023
ff8ebb0
Fix typo: use correct base branch in PR creation (#7720)
mvitale1989 Dec 15, 2023
5ee400c
Translated using Weblate (Korean)
cyberjam Dec 17, 2023
025aefb
feat: Enable true labeled trigger and deprecate mattermod (#7718)
toninis Dec 18, 2023
9ac0069
Merge pull request #7726 from weblate/weblate-mattermost-mattermost-m…
ctlaltdieliet Dec 18, 2023
2c1f318
MM-54866 - Calls: Transcription support (#7703)
cpoile Dec 21, 2023
d6566b5
MM-54866 - Calls: Transcription notifications (#7704)
cpoile Dec 21, 2023
5d99e1d
Translated using Weblate (Czech)
morgancz Dec 19, 2023
14fc70f
Translated using Weblate (Chinese (Traditional))
CI-YU Dec 21, 2023
7706a84
Translated using Weblate (Vietnamese)
caotanduc99 Dec 21, 2023
746172e
Translated using Weblate (Czech)
morgancz Dec 21, 2023
96789ba
Translated using Weblate (Dutch)
Dec 22, 2023
78f3a51
Translated using Weblate (Polish)
Dec 22, 2023
4095212
Improves get roles by names requests to batch them following the new …
mgdelacroix Dec 22, 2023
bc289a2
Translated using Weblate (Chinese (Simplified))
Sharuru Dec 25, 2023
c4e9f1a
Merge pull request #7735 from weblate/weblate-mattermost-mattermost-m…
ctlaltdieliet Dec 26, 2023
9e9a648
Translated using Weblate (Polish)
Dec 29, 2023
c575e5e
fix: Fix branch convention for beta android single build (#7730)
toninis Jan 2, 2024
85163ee
Merge pull request #7737 from weblate/weblate-mattermost-mattermost-m…
ctlaltdieliet Jan 5, 2024
d0efda9
Translated using Weblate (German)
jprusch Jan 5, 2024
3733a07
Translated using Weblate (Japanese)
kaakaa Jan 5, 2024
0a27479
Merge pull request #7744 from weblate/weblate-mattermost-mattermost-m…
ctlaltdieliet Jan 8, 2024
0a8f3ce
Fix build script failure (#7740)
mvitale1989 Jan 8, 2024
810f4b3
Bump app build number to 501 (#7733)
unified-ci-app[bot] Jan 8, 2024
45aef7b
chore: upgrade mattermost
L3o-pold Jan 12, 2024
ea6a4f1
chore: 1.0.17-rc.1
L3o-pold Jan 12, 2024
03395de
chore: 1.0.17-rc.2
L3o-pold Jan 12, 2024
da4c1db
chore: 1.0.17-rc.3
L3o-pold Jan 12, 2024
f5d499a
chore: change font to SuisseIntl
L3o-pold Jan 12, 2024
877a89a
chore: 1.0.17-rc.4
L3o-pold Jan 12, 2024
cc96982
MM-53479 : Improve design of keyword that trigger notification in mob…
M-ZubairAhmed Jan 13, 2024
4165a6d
fix: joining a conference call
L3o-pold Jan 13, 2024
95b65a8
chore: 1.0.17-rc.5
L3o-pold Jan 13, 2024
8bd9cac
Fix joining channels from the find channels screen (#7732)
larkox Jan 15, 2024
9ea38cf
Fix MM55258 (#7729)
larkox Jan 15, 2024
4fb682f
Merge branch 'build-beta-501' into build-beta-486
L3o-pold Jan 15, 2024
2e1b814
Merge branch 'main' into build-beta-486
L3o-pold Jan 15, 2024
cebfd65
chore: 1.0.17-rc.6
L3o-pold Jan 15, 2024
fcc7823
fix: login on android
L3o-pold Jan 16, 2024
7fa0077
chore: 1.0.17-rc.7
L3o-pold Jan 16, 2024
e299e39
fix: fetch user status peridicly
L3o-pold Jan 17, 2024
1c3fba2
fix: start call button text
L3o-pold Jan 17, 2024
7d55acb
fix: update markdown render when image metadata change
L3o-pold Jan 17, 2024
b31ee5d
chore: 1.0.17-rc.8
L3o-pold Jan 17, 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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/actions/prepare-android-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,10 @@ runs:
echo ${STORE_ALIAS} | tee -a android/gradle.properties > /dev/null
echo ${STORE_PASSWORD} | tee -a android/gradle.properties > /dev/null
echo "::endgroup::"

- name: ci/append-fonts-to-build
shell: bash
run: |
echo "::group::append-fonts-to-build"
cp ${{ github.workspace }}/mobile-private/fonts/* assets/fonts/
echo "::endgroup::"
14 changes: 14 additions & 0 deletions .github/actions/prepare-ios-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@ runs:
npm run ios-gems
npm run pod-install
echo "::endgroup::"

- name: ci/checkout-private-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
repository: infomaniak/mobile-private
token: ${{ env.MATTERMOST_BUILD_GH_TOKEN }}
path: ${{ github.workspace }}/mobile-private

- name: ci/append-fonts-to-build
shell: bash
run: |
echo "::group::append-fonts-to-build"
cp ${{ github.workspace }}/mobile-private/fonts/* assets/fonts/
echo "::endgroup::"
3 changes: 1 addition & 2 deletions .github/workflows/build-android-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
push:
branches:
- build-beta-[0-9]+
- build-android-[0-9]+
- build-android-beta-[0-9]+
- build-beta-android-[0-9]+

env:
NODE_VERSION: 18.7.0
Expand Down
30 changes: 2 additions & 28 deletions .github/workflows/build-ios-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,6 @@ jobs:
- name: ci/test
uses: ./.github/actions/test

build-ios-simulator:
runs-on: macos-12
if: ${{ !contains(github.ref_name, 'beta-ios') }}
needs:
- test
steps:
- name: ci/checkout-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build

- name: ci/build-ios-simulator
env:
TAG: "${{ github.ref_name }}"
AWS_ACCESS_KEY_ID: "${{ secrets.MM_MOBILE_BETA_AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.MM_MOBILE_BETA_AWS_SECRET_ACCESS_KEY }}"
MATTERMOST_WEBHOOK_URL: "${{ secrets.MM_MOBILE_BETA_MATTERMOST_WEBHOOK_URL }}"
GITHUB_TOKEN: "${{ secrets.MM_MOBILE_GITHUB_TOKEN }}"
run: bundle exec fastlane ios simulator --env ios.simulator
working-directory: ./fastlane

- name: ci/upload-ios-pr-simulator
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: ios-build-simulator-${{ github.run_id }}
path: Mattermost-simulator-x86_64.app.zip

build-and-deploy-ios-beta:
runs-on: macos-12
if: ${{ !contains(github.ref_name, 'beta-sim') }}
Expand All @@ -69,6 +41,8 @@ jobs:

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build
env:
MATTERMOST_BUILD_GH_TOKEN: "${{ secrets.MATTERMOST_BUILD_GH_TOKEN }}"

- name: ci/build-and-deploy-ios-beta
env:
Expand Down
29 changes: 2 additions & 27 deletions .github/workflows/build-ios-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build
env:
MATTERMOST_BUILD_GH_TOKEN: "${{ secrets.MATTERMOST_BUILD_GH_TOKEN }}"

- name: ci/output-ssh-private-key
shell: bash
Expand Down Expand Up @@ -70,30 +72,3 @@ jobs:
name: ios-build-release-${{ github.run_id }}
path: "*.ipa"

build-ios-simulator:
runs-on: macos-12
if: ${{ !contains(github.ref_name , 'release-ios') }}
needs:
- test
steps:
- name: ci/checkout-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build

- name: ci/build-ios-simulator
env:
TAG: "${{ github.ref_name }}"
AWS_ACCESS_KEY_ID: "${{ secrets.MM_MOBILE_BETA_AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.MM_MOBILE_BETA_AWS_SECRET_ACCESS_KEY }}"
MATTERMOST_WEBHOOK_URL: "${{ secrets.MM_MOBILE_BETA_MATTERMOST_WEBHOOK_URL }}"
GITHUB_TOKEN: "${{ secrets.MM_MOBILE_GITHUB_TOKEN }}"
run: bundle exec fastlane ios simulator --env ios.simulator
working-directory: ./fastlane

- name: ci/upload-ios-pr-simulator
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: ios-build-simulator-${{ github.run_id }}
path: Mattermost-simulator-x86_64.app.zip
25 changes: 16 additions & 9 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
name: build-pr
on:
push:
branches:
- build-pr-*
- build-pr-android-*
- build-pr-ios-*
pull_request:
types:
- labeled

env:
NODE_VERSION: 18.7.0
Expand All @@ -14,23 +12,30 @@ env:
jobs:
test:
runs-on: ubuntu-22.04
if: ${{ github.event.label.name == 'Build Apps for PR' || github.event.label.name == 'Build App for iOS' || github.event.label.name == 'Build App for Android' }}
steps:
- name: ci/checkout-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: ci/test
uses: ./.github/actions/test

build-ios-pr:
runs-on: macos-12
if: ${{ !contains(github.ref_name, 'android') }}
if: ${{ github.event.label.name == 'Build Apps for PR' || github.event.label.name == 'Build App for iOS' }}
needs:
- test
steps:
- name: ci/checkout-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build
env:
MATTERMOST_BUILD_GH_TOKEN: "${{ secrets.MATTERMOST_BUILD_GH_TOKEN }}"

- name: ci/output-ssh-private-key
shell: bash
Expand All @@ -43,7 +48,7 @@ jobs:

- name: ci/build-ios-pr
env:
BRANCH_TO_BUILD: "${{ github.ref_name }}"
BRANCH_TO_BUILD: "${{ github.event.pull_request.head.ref }}"
AWS_ACCESS_KEY_ID: "${{ secrets.MM_MOBILE_PR_AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.MM_MOBILE_PR_AWS_SECRET_ACCESS_KEY }}"
FASTLANE_TEAM_ID: "${{ secrets.MM_MOBILE_FASTLANE_TEAM_ID }}"
Expand All @@ -64,12 +69,14 @@ jobs:

build-android-pr:
runs-on: ubuntu-22.04
if: ${{ !contains(github.ref_name, 'ios') }}
if: ${{ github.event.label.name == 'Build Apps for PR' || github.event.label.name == 'Build App for Android' }}
needs:
- test
steps:
- name: ci/checkout-repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: ci/prepare-android-build
uses: ./.github/actions/prepare-android-build
Expand All @@ -81,7 +88,7 @@ jobs:

- name: ci/build-android-pr
env:
BRANCH_TO_BUILD: "${{ github.ref_name }}"
BRANCH_TO_BUILD: "${{ github.event.pull_request.head.ref }}"
AWS_ACCESS_KEY_ID: "${{ secrets.MM_MOBILE_PR_AWS_ACCESS_KEY_ID }}"
AWS_SECRET_ACCESS_KEY: "${{ secrets.MM_MOBILE_PR_AWS_SECRET_ACCESS_KEY }}"
MATTERMOST_WEBHOOK_URL: "${{ secrets.MM_MOBILE_PR_MATTERMOST_WEBHOOK_URL }}"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
name: ci
on:
push:
branches:
- main
- 'release*'
pull_request:

env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

- name: ci/prepare-ios-build
uses: ./.github/actions/prepare-ios-build
env:
MATTERMOST_BUILD_GH_TOKEN: "${{ secrets.MATTERMOST_BUILD_GH_TOKEN }}"

- name: ci/output-ssh-private-key
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
assets/override
assets/fonts/SuisseIntl*.ttf
dist
build-ios
*.zip
Expand Down
2 changes: 1 addition & 1 deletion .solidarity
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
"rule": "cli",
"binary": "pod",
"semver": "1.12.1",
"semver": "1.14.3",
"platform": "darwin"
}
],
Expand Down
Loading
Loading