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

7.0 #1119

Merged
merged 176 commits into from
Jul 22, 2024
Merged

7.0 #1119

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
bf6f55b
--- 899 ---
tmolitor-stud-tu Apr 29, 2024
4d06a68
Nicer output when creating a release
tmolitor-stud-tu Apr 29, 2024
8acf65b
Fix flickering of default background image (Tie_My_Boat)
tmolitor-stud-tu Apr 30, 2024
f9f882e
fixup_workflow
tmolitor-stud-tu Apr 30, 2024
8c6e45f
Add filtering entitlement to macos alpha builds
tmolitor-stud-tu Apr 30, 2024
6a33414
Fix debug view appearance on macOS
tmolitor-stud-tu May 1, 2024
42bcdc0
Make keyboard auto-appear configurable
tmolitor-stud-tu May 1, 2024
5f6ee3c
Better error propagation in MLFiletransfer
tmolitor-stud-tu May 1, 2024
5238c48
Clean up Privacy Settings code
tmolitor-stud-tu May 1, 2024
f6a55e0
Fix detection of omemo keys in group-type mucs, fixes #1051
tmolitor-stud-tu May 2, 2024
cb5d6ce
Add workflows to only update translations
tmolitor-stud-tu May 1, 2024
0daadbe
Rework swift localizable strings extraction
tmolitor-stud-tu May 1, 2024
fad2b76
Make Toggle() translatable
tmolitor-stud-tu May 2, 2024
91e943a
Clean up "omemo not posible" code
tmolitor-stud-tu May 2, 2024
82a4b71
Change height to fit notification privacy picker items
tmolitor-stud-tu May 2, 2024
bb386e5
Show muc server in server details
tmolitor-stud-tu May 2, 2024
4e6df1b
Fix muc error display, fix muc server discovery, cleanup code
tmolitor-stud-tu May 2, 2024
b2b17e7
Fix localization update script
tmolitor-stud-tu May 2, 2024
230b17e
Fix timeout handling when creating mucs
tmolitor-stud-tu May 2, 2024
26ddd11
Don't assert when activating same audio session (pointer equality)
tmolitor-stud-tu May 2, 2024
d2b6d55
Make Picker() translatable, too
tmolitor-stud-tu May 2, 2024
02fb8b6
Bump marketing version to 6.3.1
tmolitor-stud-tu May 2, 2024
f1276d0
Update privacy settings submenu label
tmolitor-stud-tu May 2, 2024
c0222aa
Update privacy settings submenu label
tmolitor-stud-tu May 2, 2024
dfa2399
6.3.1b1 (#1057)
tmolitor-stud-tu May 2, 2024
e36f478
--- 901 ---
tmolitor-stud-tu May 3, 2024
20838b1
Make sure our localization update runs on a clean checkout
tmolitor-stud-tu May 3, 2024
9199038
6.3.1 (#1058)
tmolitor-stud-tu May 3, 2024
9a66934
Better handling of objc block typedefs in swift
tmolitor-stud-tu May 4, 2024
4456b84
Implement MUC destroy
tmolitor-stud-tu May 2, 2024
ccb9bc9
Simplify addUIHandler() callbacks
tmolitor-stud-tu May 4, 2024
4dadece
Fix members list to also invite new members to muc
tmolitor-stud-tu May 4, 2024
e16f3e3
Allow multiline group subjects when editing
tmolitor-stud-tu May 4, 2024
64c3a5b
Rework whole muc edit ui to be more modern
tmolitor-stud-tu May 4, 2024
ced8624
Fix stanzaid handling for muc reflections, fixes message retraction
tmolitor-stud-tu May 4, 2024
4e2f710
Only update stanzaid on jid equality
tmolitor-stud-tu May 4, 2024
3b76746
Throw exception if sqlite bind and arg count don't match
tmolitor-stud-tu May 4, 2024
bb70394
Let ObservableKVOWrapper return description of wrapped object
tmolitor-stud-tu May 4, 2024
f7ae858
Make ObservableKVOWrapper conform to Identifiable
tmolitor-stud-tu May 4, 2024
70fa596
Rework whole group members list ui
tmolitor-stud-tu May 4, 2024
e2b48ed
Fix contact picker and completely rework it
tmolitor-stud-tu May 4, 2024
8124c69
Slight overhaul of create group menu
tmolitor-stud-tu May 4, 2024
73c1022
Clean up swiftui implementations
tmolitor-stud-tu May 5, 2024
162bf6f
Fix mds bug when receiving while not in catchup
tmolitor-stud-tu May 7, 2024
2b9e0f7
Improve WebRTC handling and add macOS CallKit experiment
tmolitor-stud-tu Apr 30, 2024
ae4764f
Activate DNSSEC validation for all HTTP requests and TCP connections
tmolitor-stud-tu May 7, 2024
c2c0279
Don't loop on repeated pubsub precondition fails
tmolitor-stud-tu May 10, 2024
c640946
Don't advertise support for urn:xmpp:idle:1 if deactivated by user
tmolitor-stud-tu May 10, 2024
5417ea2
Change advertised caps hash for privacy setting changes
tmolitor-stud-tu May 10, 2024
f515e71
Allo comparison of ObservableKVOWrapper with object of wrapped type
tmolitor-stud-tu May 10, 2024
7808d69
Make MLContact instances true singletons
tmolitor-stud-tu May 10, 2024
a37e0bd
Fix crash in contact details
tmolitor-stud-tu May 10, 2024
5f20a13
Improve appearance of LoadingOverlay
tmolitor-stud-tu May 10, 2024
c3313b2
Make group members editor fully dynamic and handle all errors
tmolitor-stud-tu May 10, 2024
21ed2f0
Implement channel management
tmolitor-stud-tu May 10, 2024
75e1502
Dynamically handle affiliation and role changes in contact details
tmolitor-stud-tu May 10, 2024
5d17bde
Fix group avatar image picker on macos
tmolitor-stud-tu May 10, 2024
32217fb
Make channel members list dynamic, too
tmolitor-stud-tu May 19, 2024
e06c327
Make sure to update muc contact on delete/remove/ban etc.
tmolitor-stud-tu May 19, 2024
27e7e16
Improve group/channel admin mode even further
tmolitor-stud-tu May 10, 2024
2d229b8
Bring back upload hud when sharing through sharesheet
tmolitor-stud-tu May 19, 2024
212dcbc
Fix all types of scrolling (initial, scroll down, keyboard open etc.)
tmolitor-stud-tu May 20, 2024
cc052b5
Set thread name in getExtraRunloopWithIdentifier, too
tmolitor-stud-tu May 20, 2024
fe2d28d
Fix scrolling for catalyst, too
tmolitor-stud-tu May 20, 2024
7ecf7a5
Make DNSSEC validation configurable (default: off)
tmolitor-stud-tu May 20, 2024
7991a3d
Fix swiftui warning in privacy settings
tmolitor-stud-tu May 20, 2024
acece90
Rework scroll to bottom again
tmolitor-stud-tu May 20, 2024
0b3847b
Prepare SRV resolver for DNSSEC (but commented out)
tmolitor-stud-tu May 20, 2024
51af80d
Only send outgoing displayed markers if request by contact (XEP-0333)
tmolitor-stud-tu May 20, 2024
d4c2116
Fix unread badge that got broken by MLContact singleton implementation
tmolitor-stud-tu May 20, 2024
089794d
Rework settings to have more natural categories
tmolitor-stud-tu May 21, 2024
caecd69
Clean up some older code
tmolitor-stud-tu May 21, 2024
f3b1e60
Make sure privacy settings get displayed after first login/register
tmolitor-stud-tu May 21, 2024
1bb2e0c
Fix some very rare race conditions on incoming calls
tmolitor-stud-tu May 21, 2024
c0b2f55
Add new addTopRight view modifier to add a top-right overlay
tmolitor-stud-tu May 24, 2024
5d01419
Update muc contact details to allow removal of avatars
tmolitor-stud-tu May 24, 2024
faf7e0f
--- 901 ---
tmolitor-stud-tu May 3, 2024
67f96c2
Make sure our localization update runs on a clean checkout
tmolitor-stud-tu May 3, 2024
b0adb86
Better handling of objc block typedefs in swift
tmolitor-stud-tu May 4, 2024
bf4e522
Implement MUC destroy
tmolitor-stud-tu May 2, 2024
dde4d1f
Simplify addUIHandler() callbacks
tmolitor-stud-tu May 4, 2024
a859aed
Fix members list to also invite new members to muc
tmolitor-stud-tu May 4, 2024
0ce8b61
Allow multiline group subjects when editing
tmolitor-stud-tu May 4, 2024
eeea273
Rework whole muc edit ui to be more modern
tmolitor-stud-tu May 4, 2024
dedecaa
Fix stanzaid handling for muc reflections, fixes message retraction
tmolitor-stud-tu May 4, 2024
38d4da3
Only update stanzaid on jid equality
tmolitor-stud-tu May 4, 2024
0ba785c
Throw exception if sqlite bind and arg count don't match
tmolitor-stud-tu May 4, 2024
4d75186
Let ObservableKVOWrapper return description of wrapped object
tmolitor-stud-tu May 4, 2024
f1a4932
Make ObservableKVOWrapper conform to Identifiable
tmolitor-stud-tu May 4, 2024
6d4b835
Rework whole group members list ui
tmolitor-stud-tu May 4, 2024
27804e7
Fix contact picker and completely rework it
tmolitor-stud-tu May 4, 2024
95f2d45
Slight overhaul of create group menu
tmolitor-stud-tu May 4, 2024
dde2972
Clean up swiftui implementations
tmolitor-stud-tu May 5, 2024
d65bc84
Fix mds bug when receiving while not in catchup
tmolitor-stud-tu May 7, 2024
28f67ad
Improve WebRTC handling and add macOS CallKit experiment
tmolitor-stud-tu Apr 30, 2024
634f108
Activate DNSSEC validation for all HTTP requests and TCP connections
tmolitor-stud-tu May 7, 2024
06dbaf8
Don't loop on repeated pubsub precondition fails
tmolitor-stud-tu May 10, 2024
8144451
Don't advertise support for urn:xmpp:idle:1 if deactivated by user
tmolitor-stud-tu May 10, 2024
263addf
Change advertised caps hash for privacy setting changes
tmolitor-stud-tu May 10, 2024
73fefcd
Allo comparison of ObservableKVOWrapper with object of wrapped type
tmolitor-stud-tu May 10, 2024
90f2e01
Make MLContact instances true singletons
tmolitor-stud-tu May 10, 2024
2a023db
Fix crash in contact details
tmolitor-stud-tu May 10, 2024
b0214fb
Improve appearance of LoadingOverlay
tmolitor-stud-tu May 10, 2024
a4b3a9c
Make group members editor fully dynamic and handle all errors
tmolitor-stud-tu May 10, 2024
1adabe5
Implement channel management
tmolitor-stud-tu May 10, 2024
54410e8
Dynamically handle affiliation and role changes in contact details
tmolitor-stud-tu May 10, 2024
21105a7
Fix group avatar image picker on macos
tmolitor-stud-tu May 10, 2024
665ee53
Make channel members list dynamic, too
tmolitor-stud-tu May 19, 2024
8d01fba
Make sure to update muc contact on delete/remove/ban etc.
tmolitor-stud-tu May 19, 2024
93f306d
Improve group/channel admin mode even further
tmolitor-stud-tu May 10, 2024
bed01d0
Bring back upload hud when sharing through sharesheet
tmolitor-stud-tu May 19, 2024
18ef383
Fix all types of scrolling (initial, scroll down, keyboard open etc.)
tmolitor-stud-tu May 20, 2024
e3a3591
Set thread name in getExtraRunloopWithIdentifier, too
tmolitor-stud-tu May 20, 2024
6a3abdf
Fix scrolling for catalyst, too
tmolitor-stud-tu May 20, 2024
0c72aa2
Make DNSSEC validation configurable (default: off)
tmolitor-stud-tu May 20, 2024
aafd607
Fix swiftui warning in privacy settings
tmolitor-stud-tu May 20, 2024
957f47f
Rework scroll to bottom again
tmolitor-stud-tu May 20, 2024
180d936
Prepare SRV resolver for DNSSEC (but commented out)
tmolitor-stud-tu May 20, 2024
abfc7a6
Only send outgoing displayed markers if request by contact (XEP-0333)
tmolitor-stud-tu May 20, 2024
cc0c616
Fix unread badge that got broken by MLContact singleton implementation
tmolitor-stud-tu May 20, 2024
d3f12fb
Rework settings to have more natural categories
tmolitor-stud-tu May 21, 2024
9ca9352
Clean up some older code
tmolitor-stud-tu May 21, 2024
95908d1
Make sure privacy settings get displayed after first login/register
tmolitor-stud-tu May 21, 2024
4b3bd91
Fix some very rare race conditions on incoming calls
tmolitor-stud-tu May 21, 2024
e3ea2cf
Add new addTopRight view modifier to add a top-right overlay
tmolitor-stud-tu May 24, 2024
c0eaa51
Update muc contact details to allow removal of avatars
tmolitor-stud-tu May 24, 2024
eb10219
6.4.0b1 (#1063)
tmolitor-stud-tu May 24, 2024
bdede99
Bump version to 6.4.0
tmolitor-stud-tu May 24, 2024
376c207
Bump version to 6.4.0
tmolitor-stud-tu May 24, 2024
1404357
Bump version to 6.4.0 (#1066)
tmolitor-stud-tu May 24, 2024
48f386f
--- 905 ---
tmolitor-stud-tu May 25, 2024
958fd65
Harmonize navigation bar translatability
tmolitor-stud-tu May 25, 2024
751043f
docs: update Homebrew beta install instructions
krehel May 26, 2024
f11b426
Update doap file
tmolitor-stud-tu May 26, 2024
d670bcb
Use "device" instead of "phone" in general settings explanation string
tmolitor-stud-tu May 26, 2024
dc51c3a
Show "old app" notifications for every incoming push for alpha builds
tmolitor-stud-tu May 26, 2024
d882964
Add es-AR and copy over es-419
tmolitor-stud-tu Jun 5, 2024
8b355eb
Try to get rid of parse queue freeze glitch
tmolitor-stud-tu Jun 5, 2024
6bdc840
Make muc invites call ui error handlers, too
tmolitor-stud-tu Jun 5, 2024
c747372
Make string translatable in OmemoKeys
tmolitor-stud-tu Jun 5, 2024
642fc08
Introduce promises and simplify muc ui handler using promises
tmolitor-stud-tu Jun 5, 2024
d1806cc
Don't show new deviceid alers on first login, see #1071
tmolitor-stud-tu Jun 6, 2024
ea43a73
Don't show "unknown error" omemo errors on alpha
tmolitor-stud-tu Jun 6, 2024
f605172
Implement inline safari versus default browser app setting
tmolitor-stud-tu Jun 6, 2024
7060468
Improve display of general settings
tmolitor-stud-tu Jun 6, 2024
3f2a03d
Add FrameUp lib written by Ryan Lintott
tmolitor-stud-tu Jun 9, 2024
56e3f5d
Fix display and accessibility of group members
tmolitor-stud-tu Jun 9, 2024
21cda8b
Add bigger margin around loading overlay bubble to look better
tmolitor-stud-tu Jun 9, 2024
f194673
Oder muc members list by online status and affiliation
tmolitor-stud-tu Jun 9, 2024
25484e5
Make all accessibility labels translatable
tmolitor-stud-tu Jun 9, 2024
caed641
Make RichAlert smart scrollable, thanks Ryan Lintott
tmolitor-stud-tu Jun 9, 2024
81cb333
Merge branch 'beta' into 6.4.0b2
tmolitor-stud-tu Jun 9, 2024
0fbbb14
Remove leftover code
tmolitor-stud-tu Jun 9, 2024
406d067
Remove leftover code
tmolitor-stud-tu Jun 9, 2024
23be752
Fix broken merge-conflict fix
tmolitor-stud-tu Jun 9, 2024
32e7775
6.4.0b2 (#1075)
tmolitor-stud-tu Jun 9, 2024
dbe99aa
--- 906 ---
tmolitor-stud-tu Jun 9, 2024
a48fdf6
Fix missing MLContact singleton update
tmolitor-stud-tu Jun 9, 2024
0d25fd3
6.4.0rc1 (#1076)
tmolitor-stud-tu Jun 9, 2024
39a8f07
--- 907 ---
tmolitor-stud-tu Jun 9, 2024
4f4bd01
Fix audio recorder typos
tmolitor-stud-tu Jun 9, 2024
7ae2f11
Relax jid faulty pattern and improve error message after jid parse
tmolitor-stud-tu Jun 9, 2024
8d5e7cc
Update opensource.html to include PromiseKit, FrameUp and art.of-sopy.ch
tmolitor-stud-tu Jun 9, 2024
adbba51
Show all websites linked in Settings as inline using MLWebViewControl…
tmolitor-stud-tu Jun 9, 2024
26b0558
Update doap file
tmolitor-stud-tu Jun 10, 2024
9ca1654
Implement proper SVG support
tmolitor-stud-tu Jun 10, 2024
d4c4d2b
Remove deprecated UIGraphicsBeginImageContextWithOptions
tmolitor-stud-tu Jun 10, 2024
11ffdb9
Simplify UIHandler handling in MLMucProcessor
tmolitor-stud-tu Jun 10, 2024
f7eea5b
Cleanup connectionProperties, fixes #1056
tmolitor-stud-tu Jun 10, 2024
a9fb4bd
Support SVG avatars, too
tmolitor-stud-tu Jun 10, 2024
869f07a
Increase resolution of SVGs when rendered in main app
tmolitor-stud-tu Jun 10, 2024
7334419
6.4.0rc2 (#1079)
tmolitor-stud-tu Jun 13, 2024
f0dae09
--- 908 ---
tmolitor-stud-tu Jun 13, 2024
9d32275
Call real callSuccessUIHandlerForMuc function, fixes #1080
tmolitor-stud-tu Jun 15, 2024
7d43529
6.4.0rc3 (#1082)
tmolitor-stud-tu Jun 15, 2024
3a5baf1
6.4.0 (#1084)
tmolitor-stud-tu Jun 17, 2024
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
37 changes: 27 additions & 10 deletions .github/workflows/beta.build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
# This workflow contains a single job called "build"
buildAndPublishBeta:
# The type of runner that the job will run on
name: "Build and Publish Beta Release"
runs-on: self-hosted
env:
APP_NAME: "Monal"
Expand Down Expand Up @@ -70,28 +70,45 @@ jobs:
run: ./scripts/uploadNonAlpha.sh beta
- name: Publish catalyst to appstore connect
run: xcrun altool --upload-app --file ./Monal/build/app/Monal.pkg --type macos --asc-provider S8D843U34Y -u "$(cat /Users/ci/apple_connect_upload_mail.txt)" -p "$(cat /Users/ci/apple_connect_upload_secret.txt)" --primary-bundle-id org.monal-im.prod.catalyst.monal
- name: Update translations
run: |
chmod +x ./scripts/updateLocalization.sh
chmod +x ./scripts/xliff_extractor.py
./scripts/updateLocalization.sh BUILDSERVER
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-catalyst
path: Monal/build/app/Monal.zip
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-ios
path: Monal/build/ipa/Monal.ipa
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-catalyst-dsym
path: Monal/build/macos_Monal.xcarchive/dSYMs
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-ios-dsym
path: Monal/build/ios_Monal.xcarchive/dSYMs
if-no-files-found: error

updateTranslations:
name: Update Translations using Beta-Branch
runs-on: self-hosted
needs: [buildAndPublishBeta]
env:
APP_NAME: "Monal"
APP_DIR: "Monal.app"
BUILD_TYPE: "Beta"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
with:
clean: true
submodules: true
- name: Checkout submodules
run: git submodule update -f --init --remote
- name: Update translations
run: |
chmod +x ./scripts/updateLocalization.sh
chmod +x ./scripts/xliff_extractor.py
./scripts/updateLocalization.sh BUILDSERVER
33 changes: 19 additions & 14 deletions .github/workflows/develop-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,28 @@ jobs:
run: xcrun notarytool submit ./Monal/build/app/Monal.alpha.zip --wait --team-id S8D843U34Y --key "/Users/ci/appstoreconnect/apiKey.p8" --key-id "$(cat /Users/ci/appstoreconnect/apiKeyId.txt)" --issuer "$(cat /Users/ci/appstoreconnect/apiIssuerId.txt)"
- name: Update monal homebrew alpha repo
run: scripts/updateAlphaHomebrew.sh
#- uses: actions/upload-artifact@v3
# with:
# name: monal-catalyst
# path: "Monal/build/app/Monal.alpha.tar"
# if-no-files-found: error
#- uses: actions/upload-artifact@v3
# with:
# name: monal-ios
# path: "Monal/build/ipa/Monal.alpha.ipa"
# if-no-files-found: error
#- uses: actions/upload-artifact@v3
# with:
- uses: actions/upload-artifact@v4
with:
name: monal-catalyst
path: "Monal/build/app/Monal.alpha.tar"
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: monal-ios
path: "Monal/build/ipa/Monal.alpha.ipa"
if-no-files-found: error
# - uses: actions/upload-artifact@v4
# with:
# name: monal-catalyst-dsym
# path: Monal/build/macos_Monal.xcarchive/dSYMs
# if-no-files-found: error
#- uses: actions/upload-artifact@v3
# with:
# - uses: actions/upload-artifact@v4
# with:
# name: monal-ios-dsym
# path: Monal/build/ios_Monal.xcarchive/dSYMs
# if-no-files-found: error
# - name: Update translations
# run: |
# chmod +x ./scripts/updateLocalization.sh
# chmod +x ./scripts/xliff_extractor.py
# ./scripts/updateLocalization.sh NOCOMMIT
34 changes: 17 additions & 17 deletions .github/workflows/stable.build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,41 +76,41 @@ jobs:
- name: Extract version number and changelog from newest merge commit
id: releasenotes
run: |
buildNumber=$(git tag --sort="v:refname" |grep "Build_iOS" | tail -n1 | sed 's/Build_iOS_//g')
buildNumber=$(git tag --sort="v:refname" | grep "Build_iOS" | tail -n1 | sed 's/Build_iOS_//g')
echo "tag=Build_iOS_$buildNumber" >> "$GITHUB_OUTPUT"
echo "name=$(git log -n 1 --merges --pretty=format:%s)" >> "$GITHUB_OUTPUT"
echo "name=$(git log -n 1 --merges --pretty=format:%s | sed -E 's/^\s*([^\s]+)\s+\(([^\s]+)\)$/\1 (Build '$buildNumber', PR \2)/g')" >> "$GITHUB_OUTPUT"
echo "notes=$(git log -n 1 --merges --pretty=format:%b)" >> "$GITHUB_OUTPUT"
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ steps.releasenotes.outputs.name }}
tag_name: ${{ steps.releasenotes.outputs.tag }}
name: "Release ${{ steps.releasenotes.outputs.name }}"
tag_name: "${{ steps.releasenotes.outputs.tag }}"
target_commitish: stable
generate_release_notes: false
body: ${{ steps.releasenotes.outputs.notes }}
body: "${{ steps.releasenotes.outputs.notes }}"
files: |
./Monal/build/ipa/Monal.ipa
./Monal/build/app/Monal.zip
fail_on_unmatched_files: true
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-catalyst-pkg
path: Monal/build/app/Monal.pkg
if-no-files-found: error
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: monal-ios
path: Monal/build/ipa/Monal.ipa
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: monal-catalyst-dsym
path: Monal/build/macos_Monal.xcarchive/dSYMs
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: monal-ios-dsym
path: Monal/build/ios_Monal.xcarchive/dSYMs
if-no-files-found: error
# - uses: actions/upload-artifact@v4
# with:
# name: monal-catalyst-dsym
# path: Monal/build/macos_Monal.xcarchive/dSYMs
# if-no-files-found: error
# - uses: actions/upload-artifact@v4
# with:
# name: monal-ios-dsym
# path: Monal/build/ios_Monal.xcarchive/dSYMs
# if-no-files-found: error
33 changes: 33 additions & 0 deletions .github/workflows/update-translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# build a new beta release and push it to apple
name: update-translations

# Controls when the action will run.
on:
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
updateTranslations:
# The type of runner that the job will run on
runs-on: self-hosted
env:
APP_NAME: "Monal"
APP_DIR: "Monal.app"
BUILD_TYPE: "Beta"
EXPORT_OPTIONS_CATALYST_APPSTORE: "../scripts/exportOptions/Stable_Catalyst_ExportOptions.plist"
EXPORT_OPTIONS_CATALYST_APP_EXPORT: "../scripts/exportOptions/Beta_Catalyst_ExportOptions.plist"
EXPORT_OPTIONS_IOS: "../scripts/exportOptions/Beta_iOS_ExportOptions.plist"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
with:
clean: true
submodules: true
- name: Checkout submodules
run: git submodule update -f --init --remote
- name: Update translations
run: |
chmod +x ./scripts/updateLocalization.sh
chmod +x ./scripts/xliff_extractor.py
./scripts/updateLocalization.sh BUILDSERVER
4 changes: 4 additions & 0 deletions Monal/Alpha.Monal.macos.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<dict>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.usernotifications.filtering</key>
<true/>
<key>com.apple.developer.usernotifications.communication</key>
<true/>
<key>com.apple.security.app-sandbox</key>
Expand All @@ -20,6 +22,8 @@
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.personal-information.location</key>
<true/>
<key>keychain-access-groups</key>
Expand Down
17 changes: 2 additions & 15 deletions Monal/Classes/AccountPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
// Copyright © 2023 monal-im.org. All rights reserved.
//

import SwiftUI
import monalxmpp

struct AccountPicker: View {
let delegate: SheetDismisserProtocol
let contacts: [MLContact]
Expand Down Expand Up @@ -43,25 +40,15 @@ struct AccountPicker: View {
.frame(maxWidth: .infinity)
.background(Color(UIColor.systemBackground))

let appDelegate = UIApplication.shared.delegate as! MonalAppDelegate
List {
ForEach(contacts) { contact in
if let accountEntry = DataLayer.sharedInstance().details(forAccount:contact.accountId) {
let accountJid = "\(accountEntry["username"] ?? "<unknown>" as NSString)@\(accountEntry["domain"] ?? "<unknown>" as NSString)"
let accountDisplayName = MLContact.ownDisplayName(forAccount:MLXMPPManager.sharedInstance().getConnectedAccount(forID: contact.accountId)!) as String
let accountContact = MLContact.createContact(fromJid:accountJid, andAccountNo:accountEntry["account_id"] as! NSNumber)
Button {
appDelegate.activeChats!.call(contact, with:callType)
(UIApplication.shared.delegate as! MonalAppDelegate).activeChats!.call(contact, with:callType)
} label: {
HStack(alignment: .center) {
Image(uiImage: MLImageManager.sharedInstance().getIconFor(accountContact)!)
.resizable()
.frame(width: 40, height: 40, alignment: .center)
VStack(alignment: .leading) {
Text(accountDisplayName)
Text(accountJid).font(.footnote).opacity(0.6)
}
}
ContactEntry(contact:ObservableKVOWrapper(accountContact), selfnotesPrefix:false)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions Monal/Classes/ActiveChatsViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ NS_ASSUME_NONNULL_BEGIN
-(void) deleteConversation;
-(void) showSettings;
-(void) showPrivacySettings;
-(void) showNotificationSettings;
-(void) showDetails;
-(void) showRegisterWithUsername:(NSString*) username onHost:(NSString*) host withToken:(NSString* _Nullable) token usingCompletion:(monal_id_block_t _Nullable) callback;
-(void) showAddContactWithJid:(NSString*) jid preauthToken:(NSString* _Nullable) preauthToken prefillAccount:(xmpp* _Nullable) account andOmemoFingerprints:(NSDictionary* _Nullable) fingerprints;
Expand Down
10 changes: 8 additions & 2 deletions Monal/Classes/ActiveChatsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ -(void) showWarningsIfNeeded

if(![_mamWarningDisplayed containsObject:accountNo] && account.accountState >= kStateBound && account.connectionProperties.accountDiscoDone)
{
if(!account.connectionProperties.supportsMam2)
if(![account.connectionProperties.accountDiscoFeatures containsObject:@"urn:xmpp:mam:2"])
{
UIAlertController* messageAlert = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:NSLocalizedString(@"Account %@", @""), account.connectionProperties.identity.jid] message:NSLocalizedString(@"Your server does not support MAM (XEP-0313). That means you could frequently miss incoming messages!! You should switch your server or talk to the server admin to enable this!", @"") preferredStyle:UIAlertControllerStyleAlert];
[messageAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"Close", @"") style:UIAlertActionStyleCancel handler:^(UIAlertAction* action __unused) {
Expand Down Expand Up @@ -482,7 +482,7 @@ -(void) showWarningsIfNeeded

if(![_pushWarningDisplayed containsObject:accountNo] && account.accountState >= kStateBound && account.connectionProperties.accountDiscoDone)
{
if(!account.connectionProperties.supportsMam2)
if(![account.connectionProperties.accountDiscoFeatures containsObject:@"urn:xmpp:push:0"])
{
UIAlertController* messageAlert = [UIAlertController alertControllerWithTitle:[NSString stringWithFormat:NSLocalizedString(@"Account %@", @""), account.connectionProperties.identity.jid] message:NSLocalizedString(@"Your server does not support PUSH (XEP-0357). That means you have to manually open the app to retrieve new incoming messages!! You should switch your server or talk to the server admin to enable this!", @"") preferredStyle:UIAlertControllerStyleAlert];
[messageAlert addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"Close", @"") style:UIAlertActionStyleCancel handler:^(UIAlertAction* action __unused) {
Expand All @@ -508,6 +508,12 @@ -(void) openConversationPlaceholder:(MLContact*) contact
}
}

-(void) showNotificationSettings
{
UIViewController* view = [[SwiftuiInterface new] makeViewWithName:@"ActiveChatsNotificatioSettings"];
[self presentViewController:view animated:YES completion:^{}];
}

-(void) showPrivacySettings
{
UIViewController* view = [[SwiftuiInterface new] makeViewWithName:@"ActiveChatsPrivacySettings"];
Expand Down
Loading