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

Rel v2.5.2 #1739

Merged
merged 183 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
7333dce
TW-1435: Big dot in message notification and chat list preview (#1600)
hieutbui Mar 19, 2024
d535451
TW-1453: Error handling when update profile fail
nqhhdev Mar 19, 2024
2bf7c1b
TW-1565: Verify the message has video and mime type is avi, wmv
nqhhdev Mar 18, 2024
6d52c69
TW-1565: Update UI if video has mime type is avi, wmv
nqhhdev Mar 18, 2024
2ff9e6e
TW-1565: Update preview icon when reply a message is video has mime t…
nqhhdev Mar 18, 2024
f3bdec0
TW-1565: Update padding for `MessageContent` widget
nqhhdev Mar 18, 2024
f313a66
TW-1586: add task model and task state
sherlockvn Mar 20, 2024
27f5d78
TW-1586: add worker queue class
sherlockvn Mar 20, 2024
286158f
TW-1586: add download worker queue implements worker queue
sherlockvn Mar 20, 2024
62ccc5a
hot-fix: add unpin condition
hieutbui Mar 21, 2024
9016ec4
TW-1124: Update profile info view for direct chat
hieutbui Mar 20, 2024
112ec78
fixup! TW-1124: Update profile info view for direct chat
hieutbui Mar 20, 2024
0616d02
TW-1528: Close selection mode when click button and selection item is…
hieutbui Mar 20, 2024
51fbb57
TW-1564: Improvement for video player
nqhhdev Mar 20, 2024
384e5d5
TW-1453: Improvement for video player for web
nqhhdev Mar 20, 2024
fc95d6d
hot-fix: add unpin icon for chat app bar
hieutbui Mar 22, 2024
515ef02
TW-1544: Prevent create multiple direct chats when creating direct chat
nqhhdev Mar 21, 2024
9c2485f
TW-1586: create download_worker_queue extends worker queue abstract m…
sherlockvn Mar 25, 2024
739ab34
TW-1586: create extension method for downloading file and media separ…
sherlockvn Mar 25, 2024
64ebe41
TW-1586: create download manager class to handle multiple downloading…
sherlockvn Mar 25, 2024
cea8e2b
TW-1586: change name of method getFileInfo to getMediaFileInfo
sherlockvn Mar 25, 2024
ea424e0
TW-1586: register DownloadWorkerQueue and DownloadManager inside getIt
sherlockvn Mar 25, 2024
523bbf0
TW-1586: create DownloadFileInfo and DownloadFileState model for down…
sherlockvn Mar 25, 2024
083f6b3
TW-1586: create download in app folder
sherlockvn Mar 25, 2024
e94b649
TW-1586: change openFileMethod to have less param
sherlockvn Mar 25, 2024
b4f0d80
TW-1586: update the view of downloading file: process, cancel and mul…
sherlockvn Mar 25, 2024
d0d1ff0
Integrate login on mobile
nqhhdev Dec 25, 2023
1127b6f
Create auto homeserver picker for web
nqhhdev Dec 25, 2023
d5b282c
Handle login and logout on web
nqhhdev Dec 25, 2023
30a1efe
TW-1193: Create TwakeChatPresentationAccount for multiple account
nqhhdev Dec 28, 2023
15203f7
TW-1193: Show bottom sheet multiple account
nqhhdev Dec 28, 2023
970523b
TW-1193: Update go_router for add another account
nqhhdev Dec 28, 2023
1ff0270
TW-1193: Set account as active
nqhhdev Dec 28, 2023
9dc1e72
TW-1193: Go to settings and show for the active account only
nqhhdev Dec 28, 2023
6ea34b9
TW-1193: Handle set active account when add new account
nqhhdev Dec 28, 2023
2aa0cb7
TW-1193: Check only support one account on a single homeserver before…
nqhhdev Dec 28, 2023
375a5ba
TW-1193: Add boolean twakeSupported property in Matrix
nqhhdev Dec 28, 2023
bfba835
TW-1193: Update configuration for TomConfigurationsBox
nqhhdev Dec 28, 2023
013b67e
TW-1193: Migrating and clear all old version
nqhhdev Dec 28, 2023
d3e1466
TW-1193: Logout account and try logoutSSO
nqhhdev Dec 28, 2023
d73b9a1
TW-1193: Store/get/delete active account in persistent storage
nqhhdev Dec 29, 2023
f661cea
TW-1152: Search recent chats and contact by mail
Jan 5, 2024
40bc023
Support and handle recovery data when logged new account
nqhhdev Jan 4, 2024
a9030d4
TW-1315: Integrate sign up for mobile
nqhhdev Jan 9, 2024
8f72879
TW-1355: Rework TwakeId screen
nqhhdev Jan 18, 2024
950b84d
TW-1293: Remove setState and update chat backup switch toggle
nqhhdev Jan 8, 2024
d658d1c
TW-1293: Enable chat backup switch toggle in Settings
nqhhdev Jan 8, 2024
0143cc3
TW-1293: Setup ToM services after add another account success
nqhhdev Jan 8, 2024
01a7670
TW-1367: Add public platform in configuration env
nqhhdev Jan 19, 2024
489dd22
TW-1367: Handle go to the register public site automatically
nqhhdev Jan 19, 2024
2447f46
hot-fix: remove default `colorFilter` of `TwakeIconButton`
hieutbui Mar 25, 2024
24c9866
TW-1581: Preview unknown file instead of sharing
nqhhdev Mar 25, 2024
5df3012
hot-fix: cancel the stream subscription if not used anymore
sherlockvn Mar 25, 2024
5fe6557
Update configuration for public platform
nqhhdev Mar 27, 2024
408773b
TW-1183: Create `message_text_content` widget
hieutbui Mar 25, 2024
f5dff92
TW-1183: Change message item of `twake_link_preview`
hieutbui Mar 25, 2024
46b26df
TW-1183: Update `message_content`
hieutbui Mar 25, 2024
9ee8559
Hot fix: Wrong redirect to public public platform on web
nqhhdev Mar 27, 2024
c5c5893
TW-1586: handle multiple download files in web
sherlockvn Mar 26, 2024
6d3629a
TW-1586: handle display multiple download files in web
sherlockvn Mar 26, 2024
ebdde3b
TW-1586: handle cancel download in web
sherlockvn Mar 26, 2024
36431e9
TW-1586: refactor MessageDownloadContent to have both widget for web …
sherlockvn Mar 27, 2024
32df73c
TW-1605: Fix display thumbnail when user sent a video
nqhhdev Mar 26, 2024
af8e311
TW-1605: Fix image thumbnail from file
sherlockvn Mar 27, 2024
84826eb
Used custom configuration for preview env
Mar 29, 2024
38d7c77
Hot fix: Enable `dart-define` for configuration public platform on mo…
nqhhdev Mar 28, 2024
6a18bfc
TW-1456: texts added
Te-Z Mar 16, 2024
78af46d
TW-1456: Profile info renamed Chat profile info
Te-Z Mar 16, 2024
63a8d8f
TW-1456: profile info views created
Te-Z Mar 16, 2024
d9151b1
TW-1456: participant list item updated with profile info
Te-Z Mar 16, 2024
5dfca21
TW-1456: participant list item style created
Te-Z Mar 18, 2024
4d8c5ee
TW-1456: optionnal duration param added to snackbar
Te-Z Mar 19, 2024
4e4faea
TW-1561: store file to download folder after sending successfully
sherlockvn Mar 27, 2024
1e8ae7e
TW-1561: get filePath from mem, then display to the screen
sherlockvn Mar 27, 2024
de22822
TW-1561: move filePath in app downloads to utils class
sherlockvn Mar 28, 2024
9d08dc9
TW-1561: refactor: create checkFileInDownloadsInApp method
sherlockvn Mar 28, 2024
c310a1d
TW-1589: Add function to check if string contains http protocol and f…
hieutbui Mar 27, 2024
0dc2a4a
TW-1589: Write test for `isContainsHttpProtocol` and `removeHttpProto…
hieutbui Mar 27, 2024
ab98f27
TW-1589: Remove http protocol before update search categories
hieutbui Mar 27, 2024
f1f5e1a
TW-1589: Improve unit test
hieutbui Mar 27, 2024
6676385
hot-fix: Keep original size of `li` row
hieutbui Mar 29, 2024
b0ee937
Create docs for public platform
nqhhdev Mar 30, 2024
d1ec9ca
improve: refactor to have CircularLoadingDownloadWidget
sherlockvn Mar 29, 2024
85b3696
improve: change the fileTile UI
sherlockvn Mar 29, 2024
311db65
hot-fix: missing if else in file message
sherlockvn Mar 29, 2024
0729a58
hot-fix: remove redundancy filename extension when downloading file
sherlockvn Apr 1, 2024
7b8e9b0
TW-1578: add Search screen to the GoRouter
sherlockvn Mar 27, 2024
a3e0f22
TW-1578: enable canPop so in ios can swipe to back
sherlockvn Mar 27, 2024
f892752
TW-1578: change animation when open server search with swipe to back …
sherlockvn Mar 27, 2024
5be8260
TW-1578: clean the unused params and variables
sherlockvn Mar 27, 2024
d240959
TW-1656: Fix user can't mark as read / unread some chat conversation …
nqhhdev Apr 3, 2024
9e69263
Hotfix: Can't get file on web
nqhhdev Apr 1, 2024
898ebbb
TW-1662: Upgrade version for `wechat_camera_picker` lib
nqhhdev Apr 2, 2024
4f19b16
TW-1662: Fix can't send a video or picture by using camera
nqhhdev Apr 2, 2024
97b36f6
TW-1614: Update border for search result on chat search
nqhhdev Apr 2, 2024
0618555
TW-1497: Filter chat is yet accepted invitation
nqhhdev Apr 3, 2024
2dfbdd2
TW-1523: Fix chat setting is not align with arrow
nqhhdev Apr 3, 2024
312b6f0
TW-1678: Add cache for Client error responses and Server error responses
nqhhdev Apr 4, 2024
d62c2de
TW-1678: Cache widget for preview link
nqhhdev Apr 4, 2024
67a9c88
Updated fastlane
Apr 5, 2024
c394f76
Bumped macOS dependencies
Apr 5, 2024
a7ff6ed
Update background for forward screen
nqhhdev Apr 5, 2024
e77facc
TW-1573: Add a save file option to app bar actions inside chat
nqhhdev Mar 18, 2024
dec6033
TW-1573: Implement save file to downloads folder
sherlockvn Apr 2, 2024
070ed33
TW-1613: Searching result should be empty when user remove keywords
nqhhdev Apr 3, 2024
dea4511
hot-fix: PopScope make the app throw at runtime in android
sherlockvn Apr 4, 2024
847e627
fixup! hot-fix: PopScope make the app throw at runtime in android
sherlockvn Apr 5, 2024
b7c2e4b
TW-1578: Apply download attachments on web using dio
nqhhdev Apr 5, 2024
60998d0
TW-1578: Refactor download attachments on web
nqhhdev Apr 5, 2024
18ce280
TW-1578: Enable cancel token when download attachments on web
nqhhdev Apr 5, 2024
e430c9e
TW-1675: status of user is not correct (#1684)
Te-Z Apr 9, 2024
d9e85ac
Bumped action versions (#1694)
tk-nguyen Apr 11, 2024
5002dee
fix: popscope on android caused bug on route
Te-Z Apr 5, 2024
b5ccad3
TW-1621: improve forward screen to dialog
Te-Z Apr 5, 2024
b97a5db
TW-1621: handle forward to click
Te-Z Apr 8, 2024
3025bce
TW-1621: searchable app bar implemented in forward screen
Te-Z Apr 8, 2024
f2e536e
TW-1621: for non fullscreen app bar close button disappear when needed
Te-Z Apr 9, 2024
1547874
TW-1621: widget test added for searchable app bar
Te-Z Apr 9, 2024
95bbcbb
TW-1592: go to setting profile when clicking to own contact
Te-Z Apr 8, 2024
6b2d700
TW-1592: go to profile when click on own contact tile
Te-Z Apr 9, 2024
b4b6ad3
Bump version to v2.5.0
hoangdat Apr 15, 2024
4db6bc3
Use unique naming for artifact
Apr 15, 2024
42c6f25
Hot fix setup config json on web
nqhhdev Apr 16, 2024
89c8c73
Bump version to v2.5.1 - Public platform config
hoangdat Apr 19, 2024
5e5daaf
TW-1573: refactor decrypted path to StorageDirectoryUtils
sherlockvn Apr 9, 2024
10b53a6
TW-1573: save image and videos to gallery in android
sherlockvn Apr 9, 2024
6bf9733
TW-1573: save image and videos to gallery ios
sherlockvn Apr 9, 2024
514901b
TW-1573: rename class and function to correct name
sherlockvn Apr 15, 2024
613141d
TW-1573: add priority to worker queue
sherlockvn Apr 15, 2024
f062677
TW-1573: implement getFileEntity and storeEntity in database
sherlockvn Apr 15, 2024
6167d79
TW-1573: disable media app bar when downloading video
sherlockvn Apr 15, 2024
5bfb5e0
TW-1573: apply save to gallery to other place contains media
sherlockvn Apr 15, 2024
23ea6c2
TW-1573: add DownloadFileInterceptor to remove duplicate request
sherlockvn Apr 16, 2024
fcfdf9a
TW-1573: handle duplicate download request in image_viewer
sherlockvn Apr 16, 2024
86ddb83
TW-1573: add test for downloadFileInterceptor
sherlockvn Apr 16, 2024
f4970bd
TW-1573: fix snackbar under the video player
sherlockvn Apr 17, 2024
0bfb3eb
TW-1573: change name saveToGallery to saveFiles in web
sherlockvn Apr 17, 2024
937edd9
TW-1461: Update app language setting subtitles (#1703)
hieutbui Apr 21, 2024
075575a
TW-1666: Fix filename not resize
hieutbui Apr 1, 2024
ba2742f
TW-1666: Make `MessageTime` changes size follow system font size
hieutbui Apr 2, 2024
3a98513
TW-1666: Fix timeline scale too much
hieutbui Apr 7, 2024
33b71b5
TW-1666: Update calculating message bubble width
hieutbui Apr 7, 2024
c2ae575
TW-1666: Remove fake timeline in message
hieutbui Apr 9, 2024
bd3b98a
TW-1666: Fix unordered list wrong font size
hieutbui Apr 9, 2024
226acab
TW-1666: Update calculating message bubble
hieutbui Apr 9, 2024
81367eb
TW-1666: Handle case tag name contains code
hieutbui Apr 11, 2024
9d44b1c
TW-1666: Normalize code
hieutbui Apr 11, 2024
f39f419
TW-1666: Support others special tag
hieutbui Apr 12, 2024
808fce2
TW-1666: Write unit test
hieutbui Apr 16, 2024
babf47f
TW-1666: Write ADR
hieutbui Apr 16, 2024
0701487
TW-1693: delele the encrypted file after downloading it
sherlockvn Apr 19, 2024
8e6717d
TW-1719: Fix can't tag name on mobile
nqhhdev Apr 22, 2024
566d18e
TW-1702: DownloadErrorPresentationState added handle errors (#1714)
Te-Z Apr 25, 2024
677ecc3
TW-1727: Update login with `matrix.org` homeserver
nqhhdev Apr 24, 2024
ad94aaf
TW-1584: web done
Te-Z Apr 16, 2024
54e090c
TW-1584: download on mobile ok
Te-Z Apr 16, 2024
10657fd
TW-1584: message_download_content logic moved to mixin
Te-Z Apr 16, 2024
94a98e9
TW-1584: download file on web mixin created
Te-Z Apr 17, 2024
797d829
TW-1584: DownloadFileTileWidget renamed DownloadingFileTileWidget
Te-Z Apr 18, 2024
0913f5d
TW-1695: Add text
hieutbui Apr 22, 2024
1b63616
TW-1695: Add `leaveGroup` to chat actions
hieutbui Apr 22, 2024
dce0599
TW-1695: Add option leave to chat app bar
hieutbui Apr 22, 2024
a851cc9
TW-1695: Add option leave to chat edit
hieutbui Apr 22, 2024
805abcb
TW-1695: Update twake context menu
hieutbui Apr 23, 2024
03c7efe
TW-1695: Change app bar menu follow message context menu
hieutbui Apr 23, 2024
2cb6970
TW-1695: Separate `leaveChat` function into a mixin
hieutbui Apr 24, 2024
bb3e5d2
TW-1728: handle token not found for registration on web
nqhhdev Apr 22, 2024
6a0f3f3
TW-1728: Fix can't logout on web
nqhhdev Apr 24, 2024
1e55865
TW-1685: refactor the code by using mixin and reuse EventVideoPlayer
sherlockvn Apr 19, 2024
d7cdcce
TW-1685: change from bytes to stream when downloading files web
sherlockvn Apr 29, 2024
4dd2cdd
TW-1685: refactor UI and mixin to work in video media type
sherlockvn Apr 29, 2024
cbf461b
TW-1685: rebase to use one mixin only
sherlockvn Apr 29, 2024
2231b51
TW-1685: delete decrypted file because we already copied the decrypte…
sherlockvn Apr 29, 2024
bf73015
TW-1711: Handle deep link from registration
nqhhdev Apr 26, 2024
27beabb
TW-1711: Handle deep link in auto homeserver picker
nqhhdev Apr 26, 2024
86c5588
TW-1711: Error handle with wrong login
nqhhdev Apr 26, 2024
c05f01f
TW-1734: Change naming: `New chat` → `New group chat`
nqhhdev May 2, 2024
6af3397
TW-1734: Make the “Enter chat name” clue grey in Create Group chat
nqhhdev May 2, 2024
03a1d05
TW-1734: Update Security tab in settings
nqhhdev May 2, 2024
2b44ff9
TW-1734: Add button “Remove from group” when open chat info
nqhhdev May 2, 2024
39722eb
TW-1734 Update condition for remove from group
nqhhdev May 2, 2024
9fb7353
TW-1734: Update remove from group on mobile
nqhhdev May 2, 2024
b6cb0e0
Bump version to v2.5.2
nqhhdev May 3, 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
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand All @@ -40,13 +40,13 @@ jobs:
bundler-cache: true
working-directory: ${{ matrix.os }}

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Setup Java
if: matrix.os == 'android'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin" # See 'Supported distributions' for available options
java-version: "11"
Expand Down Expand Up @@ -78,9 +78,9 @@ jobs:
working-directory: ${{ matrix.os }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: twake-on-matrix-dev-mobile
name: twake-on-matrix-dev-${{ matrix.os }}
path: |
twake-on-matrix-debug.apk
Runner.ipa
Expand All @@ -100,7 +100,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand All @@ -110,7 +110,7 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
shell: bash

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: twake-on-matrix-dev-${{ matrix.os }}
path: dist/
17 changes: 9 additions & 8 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:

env:
FLUTTER_VERSION: 3.16.5
LIBOLM_VERSION: 3.2.15
LIBOLM_VERSION: 3.2.16

name: Deploying on GitHub Pages

Expand All @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand All @@ -34,12 +34,12 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Setup Nix (to build libolm)
uses: cachix/install-nix-action@v19
uses: cachix/install-nix-action@v26

- name: Build libolm
run: |
Expand All @@ -51,13 +51,14 @@ jobs:
- name: Build Web version
env:
FOLDER: ${{ github.event.pull_request.number }}
TWAKE_PREVIEW_CONFIG: ${{ secrets.TWAKE_PREVIEW_CONFIG }}
run: |
flutter config --enable-web
flutter clean
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter build web --release --verbose --source-maps --base-href="/${GITHUB_REPOSITORY##*/}/$FOLDER/"
yq '.issue_id = strenv(FOLDER)' config.sample.json > ./build/web/config.json
echo "$TWAKE_PREVIEW_CONFIG" | yq '.issue_id = strenv(FOLDER)' > ./build/web/config.json

- name: Configure environments
id: configure
Expand All @@ -67,23 +68,23 @@ jobs:
echo "URL=https://$GITHUB_REPOSITORY_OWNER.github.io/${GITHUB_REPOSITORY##*/}/$FOLDER" >> $GITHUB_OUTPUT

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/web
keep_files: true
destination_dir: "${{ github.event.pull_request.number }}"

- name: Find deployment comment
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: fc
with:
comment-author: "github-actions[bot]"
issue-number: ${{ github.event.pull_request.number }}
body-includes: "This PR has been deployed to"

- name: Create or update deployment comment
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository_owner }}/twake-web
Expand All @@ -41,20 +41,20 @@ jobs:
type=ref,event=branch

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
platforms: "linux/amd64,linux/arm64"
Expand All @@ -78,15 +78,15 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Docker metadata
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
${{ github.repository_owner }}/twake-web
Expand All @@ -96,20 +96,20 @@ jobs:
type=raw,value=release

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
platforms: "linux/amd64,linux/arm64"
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand All @@ -36,7 +36,7 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

Expand All @@ -49,7 +49,7 @@ jobs:

- name: Setup Java
if: matrix.os == 'android'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: "temurin" # See 'Supported distributions' for available options
java-version: "11"
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
if: matrix.os == 'android'
run: ./scripts/release-android-apk.sh

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.os == 'android'
with:
name: twake-release
Expand All @@ -117,7 +117,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand All @@ -127,7 +127,7 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

Expand Down Expand Up @@ -175,9 +175,9 @@ jobs:
esac
shell: bash

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: twake-release
name: twake-release-${{ matrix.os }}
path: twake-${{ github.ref_name }}*

release_github:
Expand All @@ -191,9 +191,10 @@ jobs:
contents: write

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: twake-release
pattern: twake-release*
merge-multiple: true

- name: Calculate checksums
id: shasum
Expand All @@ -205,7 +206,7 @@ jobs:
echo "$EOF" >> $GITHUB_OUTPUT

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
body: |
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ github.ref_name }}/CHANGELOG.md) for full changelogs.
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup flutter
uses: subosito/flutter-action@v2
Expand All @@ -28,7 +28,7 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup flutter
uses: subosito/flutter-action@v2
Expand All @@ -50,7 +50,7 @@ jobs:
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:-:hash:-${{ hashFiles('**/pubspec.lock') }}"

- uses: webfactory/ssh-agent@v0.8.0
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

Expand All @@ -74,7 +74,7 @@ jobs:
# fail-fast: false
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# - name: Setup flutter
# uses: subosito/flutter-action@v2
Expand All @@ -84,7 +84,7 @@ jobs:
# cache: true

# - name: Setup Java
# uses: actions/setup-java@v3
# uses: actions/setup-java@v4
# with:
# distribution: "temurin"
# java-version: "11"
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
# timeout-minutes: 30

# - name: Upload video
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: integration-test-recording
# path: video-${{ matrix.flavor }}.mp4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,4 @@ ios/Podfile.lock
/macos/out
.vs
olm
test/interceptor/*.mocks.dart
Loading
Loading