Merge remote-tracking branch 'upstream/main' into yiffed
This commit is contained in:
commit
687c0aba1d
|
@ -6,13 +6,18 @@
|
|||
- Add swipe to reply - Thanks @inexcode
|
||||
- Initial support for compiling to desktop
|
||||
- Initial snap metadata - Thanks @RAOF_47
|
||||
- Add latex parsing as per [MSC2191](https://github.com/matrix-org/matrix-doc/pull/2191) - `$tex$` for inline and `$$` for blocks
|
||||
### Changes
|
||||
- Re-scale images in a separate isolate to prevent the UI from freezing
|
||||
- URLs without https:// now linkify
|
||||
- Parse all URIs, not just URLs
|
||||
- emails will linkify now
|
||||
- Make sure login to dendrite is working properly
|
||||
### Fixes
|
||||
- Fix amoled / theme settings not always saving properly
|
||||
- Show device name in account information correctly
|
||||
- Fix tapping on aliases / room pills not always working
|
||||
- Link clicking in web not always working
|
||||
|
||||
# Version 0.19.0 - 2020-09-21
|
||||
### Features
|
||||
|
|
|
@ -30,9 +30,9 @@ class Avatar extends StatelessWidget {
|
|||
);
|
||||
final src = thumbnail;
|
||||
var fallbackLetters = '@';
|
||||
if ((name?.length ?? 0) >= 2) {
|
||||
if ((name?.runes?.length ?? 0) >= 2) {
|
||||
fallbackLetters = String.fromCharCodes(name.runes, 0, 2);
|
||||
} else if ((name?.length ?? 0) == 1) {
|
||||
} else if ((name?.runes?.length ?? 0) == 1) {
|
||||
fallbackLetters = name;
|
||||
}
|
||||
final textWidget = Center(
|
||||
|
|
|
@ -17,8 +17,8 @@ import 'platform_infos.dart';
|
|||
Future<LocalStorage> getLocalStorage() async {
|
||||
final directory = PlatformInfos.isBetaDesktop
|
||||
? await getApplicationSupportDirectory()
|
||||
: await getApplicationDocumentsDirectory();
|
||||
final localStorage = LocalStorage('LocalStorage', directory.path);
|
||||
: (PlatformInfos.isWeb ? null : await getApplicationDocumentsDirectory());
|
||||
final localStorage = LocalStorage('LocalStorage', directory?.path);
|
||||
await localStorage.ready;
|
||||
return localStorage;
|
||||
}
|
||||
|
|
11
pubspec.lock
11
pubspec.lock
|
@ -85,6 +85,13 @@ packages:
|
|||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "1.0.0"
|
||||
catex:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: catex
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.0.1+6"
|
||||
characters:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
@ -327,7 +334,7 @@ packages:
|
|||
name: flutter_matrix_html
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.1.7"
|
||||
version: "0.1.9"
|
||||
flutter_olm:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -519,7 +526,7 @@ packages:
|
|||
name: matrix_link_text
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "0.2.0"
|
||||
version: "0.3.1"
|
||||
meta:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -37,7 +37,8 @@ dependencies:
|
|||
cached_network_image: ^2.3.3
|
||||
firebase_messaging: ^7.0.2
|
||||
flutter_local_notifications: ^2.0.0+1
|
||||
matrix_link_text: ^0.2.0
|
||||
# desktop_notifications: ^0.0.0-dev.4 // Currently blocked by: https://github.com/canonical/desktop_notifications.dart/issues/5
|
||||
matrix_link_text: ^0.3.1
|
||||
path_provider: ^1.5.1
|
||||
webview_flutter: ^0.3.19+9
|
||||
share: ^0.6.3+5
|
||||
|
@ -51,7 +52,7 @@ dependencies:
|
|||
open_file: ^3.0.1
|
||||
mime_type: ^0.3.0
|
||||
bot_toast: ^3.0.0
|
||||
flutter_matrix_html: ^0.1.7
|
||||
flutter_matrix_html: ^0.1.9
|
||||
moor: ^3.3.1
|
||||
sqlite3_flutter_libs: ^0.2.0
|
||||
sqlite3: ^0.1.4
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: fluffychat
|
||||
base: core18 # the base snap is the execution environment for this snap
|
||||
version: git # just for humans, typically '1.2+git' or '1.3.2'
|
||||
base: core18
|
||||
version: script
|
||||
summary: Open. Nonprofit. Cute ♥
|
||||
description: |
|
||||
FluffyChat - Chat with your friends
|
||||
|
@ -22,24 +22,28 @@ description: |
|
|||
Website: http://fluffy.chat
|
||||
Microblog: https://metalhead.club/@krille
|
||||
|
||||
grade: devel # must be 'stable' to release into candidate/stable channels
|
||||
confinement: strict # use 'strict' once you have the right plugs and slots
|
||||
grade: devel
|
||||
icon: assets/logo.png
|
||||
confinement: devmode
|
||||
|
||||
parts:
|
||||
olm:
|
||||
plugin: cmake
|
||||
olm: # FIXME
|
||||
source: https://gitlab.matrix.org/matrix-org/olm.git
|
||||
source-type: git
|
||||
source-tag: 3.2.1
|
||||
plugin: cmake
|
||||
build-packages:
|
||||
- build-essential
|
||||
override-build: |
|
||||
cd /root/parts/olm/src
|
||||
cmake . -Bbuild
|
||||
cmake --build build
|
||||
fluffychat:
|
||||
plugin: flutter
|
||||
source: .
|
||||
flutter-target: lib/main.dart
|
||||
after: [olm]
|
||||
plugin: dump
|
||||
source: ./build/linux/release/bundle
|
||||
stage-packages:
|
||||
- libsqlite3-0
|
||||
override-prime: |
|
||||
snapcraftctl prime
|
||||
ln -sf libsqlite3.so.0 ${SNAPCRAFT_PRIME}/usr/lib/x86_64-linux-gnu/libsqlite3.so
|
||||
- libsqlite3-dev
|
||||
|
||||
slots:
|
||||
dbus-svc:
|
||||
|
@ -51,7 +55,7 @@ apps:
|
|||
fluffychat:
|
||||
command: fluffychat
|
||||
extensions:
|
||||
- flutter-dev
|
||||
- gnome-3-28
|
||||
plugs:
|
||||
- network
|
||||
- home
|
||||
|
|
Loading…
Reference in a new issue