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.3.4 #841

Merged
merged 74 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
994cdd6
chore: run gh pages jobs sequentially
Oct 6, 2023
ff61acf
fix: contacts on refresh
drminh2807 Oct 9, 2023
9548c3e
fix: Enable emoji on web
drminh2807 Oct 6, 2023
869d581
TW-700: Update `ChatListBodyView`
nqhhdev Oct 4, 2023
e09f7b1
TW-700: Update padding, icon for chat list item
nqhhdev Oct 4, 2023
7ac6670
TW-700: Refactor and format code for `ChatListController`
nqhhdev Oct 4, 2023
dd0255c
TW-700: Update and refactor for chat list item
nqhhdev Oct 5, 2023
0879dbd
TW-700: Update timeline for chat list item
nqhhdev Oct 5, 2023
b3643ea
TW-700: Create TitleTextStytleDecorator for chat list item
nqhhdev Oct 8, 2023
e403226
TW-700: Create SubtitleTextStytleDecorator for chat list item
nqhhdev Oct 8, 2023
63bc75a
TW-700: Apply TitleTextStyleDecorator and SubtitleTextStyleDecorator …
nqhhdev Oct 8, 2023
07e6729
TW-783: Fix lost active chat when click on settings and back to chat tab
nqhhdev Oct 9, 2023
72fe998
TW-783: Remove setting item is active when back to settings list
nqhhdev Oct 9, 2023
343eb86
TW-783: Support show version app in settings
nqhhdev Oct 9, 2023
92cb17b
TW-736: rename download file
Oct 9, 2023
9ce25bc
Use new appimage packaging for Linux builds
Sep 26, 2023
d78ed68
TW-725: Fix auto hide keyboard when scrolling and send msg
nqhhdev Oct 10, 2023
d7ae3ed
TW-727: close selection mode after action in messages list
Oct 9, 2023
303cc9a
TW-727: close selection mode after action in chat list
Oct 10, 2023
9482a94
Added support for arm64 builds
Oct 10, 2023
90b1998
fix: remove event from matrix locals
Oct 9, 2023
45cd7e7
TW-755 [Notification] System redirect user to 404 not found page when…
drminh2807 Oct 11, 2023
e97077a
TW-731: add packages for copy/paste image
sherlockvn Oct 8, 2023
a321c5a
TW-731: add generated plugins for other platforms
sherlockvn Oct 8, 2023
2c13837
TW-731: add clipboard service
sherlockvn Oct 11, 2023
676079d
TW-731: support copy images in chat
sherlockvn Oct 11, 2023
81249c5
TW-731: support paste image in web and mobile
sherlockvn Oct 11, 2023
9259d4e
TW-731: support context menu inputbar in web
sherlockvn Oct 11, 2023
21892a8
TW-731: add shortcut copy/paste for web
sherlockvn Oct 11, 2023
d1ab599
TW-731: supprt context menu for mobile
sherlockvn Oct 11, 2023
0ef635e
TW-731: rebuild copy/paste text
sherlockvn Oct 11, 2023
e575452
TW-731: support copy/paste image for ios
sherlockvn Oct 11, 2023
97be267
TW-731: support copy/paste in windows, linux platform
sherlockvn Oct 11, 2023
a656ac0
TW-731: remove copy/paste images in mobile for now because of load im…
sherlockvn Oct 11, 2023
840b631
TW-780: Add context menu for settings profile in web
nqhhdev Oct 10, 2023
557093a
TW-780: Fix can't update avatar in web responsive and apply new conte…
nqhhdev Oct 10, 2023
7189f9c
TW-780: Update context menu on web version
nqhhdev Oct 10, 2023
456d271
TW-780: Fix bottom navigator bar wrong color
nqhhdev Oct 10, 2023
fa2d05d
TW-578: improve sync room status
Sep 20, 2023
7390994
TW-777: refactor all messages content
Oct 9, 2023
0daefd6
TW-777: hide delete message functionality
Oct 9, 2023
8b2c285
Fix wrong UI for chat list
nqhhdev Oct 11, 2023
84c07bf
TW-790: fix scroll down btn overlaps with reply
Oct 11, 2023
a253a78
Fix can't unmute conversation chat
nqhhdev Oct 12, 2023
cc4b6a4
Fix space for subtitle group in chat list
nqhhdev Oct 12, 2023
76fe3d9
Fix wrong color for decorator textstyle
nqhhdev Oct 12, 2023
9ed8d18
TW-756: Check `isRead` variable is correct and reuse it in matrix sdk
nqhhdev Oct 12, 2023
a30b157
TW-756: Handle onLongPress for chat list item when selectMode available
nqhhdev Oct 12, 2023
df1e03f
Support to display bottom navigation bar for tablet
nqhhdev Oct 12, 2023
4c57bf2
TW-728: use local event defined instead of hard core event type
sherlockvn Oct 12, 2023
f29c5b7
TW-728: fix share screen is not shown when in some pages
sherlockvn Oct 12, 2023
b436b09
TW-728: fix duplicate sharing screen
sherlockvn Oct 13, 2023
06940e3
feat: support shift-enter in web
sherlockvn Oct 12, 2023
89326c6
feat/remove sendOnEnter option in chat settings
sherlockvn Oct 12, 2023
a510097
TW-796: Fix typing text is overflow
nqhhdev Oct 16, 2023
4ad3d18
TW-796: Fix click on notification during open video, dialog, bottom s…
nqhhdev Oct 16, 2023
f6fe968
TW-825: Update context menu actions for chat list in web
nqhhdev Oct 16, 2023
65cda66
TW-808: renamed application name in push notification messages
Oct 13, 2023
81b328f
TW-808 Placeholders for iOS Notification localization
drminh2807 Oct 17, 2023
7611930
TW-728: fix sharing screenshot is not working in IOS
sherlockvn Oct 16, 2023
ffa49b0
Bump version to v2.3.3
hoangdat Oct 18, 2023
3cdbdee
Fixed signing and provisioning profile in XCode
Oct 18, 2023
a77271f
TW-795: fixed link styles and center
Oct 12, 2023
0a4d842
TW-789 Can't open files for preview in android 13
drminh2807 Oct 18, 2023
f47fa16
TW-789 Fix open apk
drminh2807 Oct 18, 2023
3c31cda
TW-823 Metadata: width-height-thumbnail-blurhash for File Sharing
drminh2807 Oct 16, 2023
49e4b66
TW-823: share image with resolution
sherlockvn Oct 17, 2023
0c7398b
TW-823: refactor share file flow with video and image
sherlockvn Oct 17, 2023
6a84403
TW-823: share video file with resolution
sherlockvn Oct 17, 2023
76f126d
Translated using Weblate (German)
Atalanttore Oct 7, 2023
1f29d04
Translated using Weblate (Russian)
tprudentova Oct 11, 2023
38204fb
Translated using Weblate (Russian)
tprudentova Oct 13, 2023
55cc043
Delete unuse text in intl_de.arb
hoangdat Oct 19, 2023
f379392
Bump version to v2.3.4
hoangdat Oct 19, 2023
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
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
deploy_preview:
name: Deploy preview versions on pull requests
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
permissions:
deployments: write
pull-requests: write
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
environment: dev

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

Expand Down Expand Up @@ -54,6 +57,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
platforms: "linux/amd64,linux/arm64"
cache-from: |
type=gha
cache-to: |
Expand All @@ -70,6 +74,9 @@ jobs:
environment: prod

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

Expand Down Expand Up @@ -105,6 +112,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
platforms: "linux/amd64,linux/arm64"
cache-from: |
type=gha
cache-to: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
run: |
case "$RUNNER_OS" in
Linux)
cp dist/*/* "twake-$GITHUB_REF_NAME-linux-amd64.AppImage";;
cp dist/* "twake-$GITHUB_REF_NAME-linux-amd64.AppImage";;
macOS)
cp dist/*/* "twake-$GITHUB_REF_NAME-macos-amd64.dmg"
# Notarize the app
Expand Down
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,22 @@ Version 0.30.0 will be the first version with arm64 support. You can download bi
This CHANGELOG.md was generated with [**Changelog for
Dart**](https://pub.dartlang.org/packages/changelog)

## [2.3.3+2330] - 2023-10-18

### Added

- enable emoji in web
- styling for Chat List
- new selection in chat list
- copy/paste in Chat
- update avatar in responsive screen
- Shift+Enter

### Fixed

- keyboard handling when scrolling chat
- click on notification redirect to exact message

## [2.3.2+2330] - 2023-10-06

### Added
Expand All @@ -1722,9 +1738,7 @@ Dart**](https://pub.dartlang.org/packages/changelog)
- gesture to back

## [2.3.1+2330] - 2023-09-29

### Fixed

- loading in search inside app
- chat list selection
- video player
Expand Down Expand Up @@ -1770,8 +1784,9 @@ Dart**](https://pub.dartlang.org/packages/changelog)
- Reduce unnecessary API request to Profile API
- Fix the placeholder for image to reduce memory consumption

[2.3.2+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.3.2
[2.3.3+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.3.3

[2.3.2+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.3.2
[2.3.1+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.3.1
[2.3.0+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.3.0
[2.2.4+2330]: https://github.com/linagora/twake-on-matrix/releases/tag/2.2.4
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@ ARG FLUTTER_VERSION=3.10.6
ARG OLM_VERSION=3.2.15

# Building libolm
FROM nixos/nix AS olm-builder
# libolm only has amd64
FROM --platform=linux/amd64 nixos/nix AS olm-builder
ARG OLM_VERSION
RUN nix build -v --extra-experimental-features flakes --extra-experimental-features nix-command gitlab:matrix-org/olm/${OLM_VERSION}?host=gitlab.matrix.org\#javascript

# Building Twake web files
FROM ghcr.io/cirruslabs/flutter:${FLUTTER_VERSION} as web-builder
# Building Twake for the web
FROM --platform=linux/amd64 ghcr.io/cirruslabs/flutter:${FLUTTER_VERSION} AS web-builder
COPY . /app
WORKDIR /app
RUN apt update && \
apt install openssh-client -y && \
RUN DEBIAN_FRONTEND=noninteractive apt update && \
apt install -y openssh-client && \
rm -rf assets/js/* && \
mkdir ~/.ssh && \
ssh-keyscan github.com >> ~/.ssh/known_hosts
COPY --from=olm-builder /result/javascript assets/js/package
RUN --mount=type=ssh,required=true ./scripts/build-web.sh

# Final image
FROM nginx:alpine
FROM nginx:alpine AS final-image
RUN rm -rf /usr/share/nginx/html
COPY --from=web-builder /app/build/web /usr/share/nginx/html/web/

Expand Down
3 changes: 2 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if (keystorePropertiesFile.exists()) {

android {
compileSdkVersion 33
ndkVersion flutter.ndkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
Expand All @@ -44,7 +45,7 @@ android {

defaultConfig {
applicationId "com.twake.twake"
minSdkVersion 21
minSdkVersion 23
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
8 changes: 7 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
android:requestLegacyExternalStorage="true"
android:allowBackup="false"
android:fullBackupContent="false"
>
>
<activity
android:name=".MainActivity"
android:launchMode="singleTask"
Expand Down Expand Up @@ -139,5 +139,11 @@
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<provider
android:name="com.superlist.super_native_extensions.DataProvider"
android:authorities="com.twake.twake.SuperClipboardDataProvider"
android:exported="true"
android:grantUriPermissions="true" >
</provider>
</application>
</manifest>
65 changes: 65 additions & 0 deletions appimage/AppImageBuilder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
script:
- rm -rf AppDir | true
- cp -r ./build/linux/x64/{{BUILD_TYPE}}/bundle AppDir
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
- cp ./assets/logo.svg AppDir/usr/share/icons/hicolor/64x64/apps/twake.svg
version: 1
AppDir:
path: ./AppDir
app_info:
id: com.linagora.linux.twake
name: Twake
icon: twake
version: latest
exec: fluffychat
exec_args: $@
apt:
arch:
- amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://azure.archive.ubuntu.com/ubuntu/ {{VERSION_CODENAME}} main restricted universe multiverse
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C"
- sourceline: deb http://azure.archive.ubuntu.com/ubuntu/ {{VERSION_CODENAME}}-updates main restricted universe multiverse
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C"
- sourceline: deb http://azure.archive.ubuntu.com/ubuntu/ {{VERSION_CODENAME}}-backports main restricted universe multiverse
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C"
- sourceline: deb http://azure.archive.ubuntu.com/ubuntu {{VERSION_CODENAME}}-security main restricted universe multiverse
key_url: "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x871920D1991BC93C"
include:
- libgtk-3-0
- libwayland-cursor0
- libc6
- libjsoncpp25
- libsecret-1-0
- libmpv1
- libdrm2
- libolm3
files:
include: []
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora-30:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
debian-stable:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
archlinux-latest:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
centos-7:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
ubuntu-bionic:
image: appimagecrafters/tests-env:ubuntu-bionic
command: ./AppRun
AppImage:
arch: x86_64
update-information: guess
10 changes: 0 additions & 10 deletions assets/l10n/intl_ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,6 @@
"type": "text",
"placeholders": {}
},
"downloadFile": "نزِّل الملف",
"@downloadFile": {
"type": "text",
"placeholders": {}
},
"editDisplayname": "حرر الاسم العلني",
"@editDisplayname": {
"type": "text",
Expand Down Expand Up @@ -776,11 +771,6 @@
"type": "text",
"placeholders": {}
},
"newMessageInFluffyChat": "رسالة جديدة في فلافي-شات",
"@newMessageInFluffyChat": {
"type": "text",
"placeholders": {}
},
"newVerificationRequest": "طلب تحقق جديد!",
"@newVerificationRequest": {
"type": "text",
Expand Down
10 changes: 0 additions & 10 deletions assets/l10n/intl_ca.arb
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,6 @@
"type": "text",
"placeholders": {}
},
"downloadFile": "Baixa el fitxer",
"@downloadFile": {
"type": "text",
"placeholders": {}
},
"edit": "Edita",
"@edit": {
"type": "text",
Expand Down Expand Up @@ -921,11 +916,6 @@
"type": "text",
"placeholders": {}
},
"newMessageInFluffyChat": "Missatge nou al FluffyChat",
"@newMessageInFluffyChat": {
"type": "text",
"placeholders": {}
},
"newVerificationRequest": "Nova sol·licitud de verificació!",
"@newVerificationRequest": {
"type": "text",
Expand Down
10 changes: 0 additions & 10 deletions assets/l10n/intl_cs.arb
Original file line number Diff line number Diff line change
Expand Up @@ -644,11 +644,6 @@
"type": "text",
"placeholders": {}
},
"downloadFile": "Stáhnout soubor",
"@downloadFile": {
"type": "text",
"placeholders": {}
},
"edit": "Upravit",
"@edit": {
"type": "text",
Expand Down Expand Up @@ -1159,11 +1154,6 @@
"type": "text",
"placeholders": {}
},
"newMessageInFluffyChat": "Nová zpráva ve FluffyChatu",
"@newMessageInFluffyChat": {
"type": "text",
"placeholders": {}
},
"newVerificationRequest": "Nová žádost o ověření!",
"@newVerificationRequest": {
"type": "text",
Expand Down
19 changes: 8 additions & 11 deletions assets/l10n/intl_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,6 @@
"type": "text",
"placeholders": {}
},
"downloadFile": "Datei herunterladen",
"@downloadFile": {
"type": "text",
"placeholders": {}
},
"edit": "Bearbeiten",
"@edit": {
"type": "text",
Expand Down Expand Up @@ -1154,11 +1149,6 @@
"type": "text",
"placeholders": {}
},
"newMessageInFluffyChat": "💬 Neue Nachricht in FluffyChat",
"@newMessageInFluffyChat": {
"type": "text",
"placeholders": {}
},
"newVerificationRequest": "Neue Verifikationsanfrage!",
"@newVerificationRequest": {
"type": "text",
Expand Down Expand Up @@ -2539,5 +2529,12 @@
"enterInviteLinkOrMatrixId": "Einladungslink oder Matrix-ID eingeben …",
"@enterInviteLinkOrMatrixId": {},
"reopenChat": "Chat wieder eröffnen",
"@reopenChat": {}
"@reopenChat": {},
"enterGroupName": "Chatname eingeben",
"@enterGroupName": {
"type": "text",
"placeholders": {}
},
"invite": "Einladen",
"@invite": {}
}
Loading