Compare commits

..

133 commits

Author SHA1 Message Date
Krille-chan
03c0b8736c
Merge pull request #2719 from krille-chan/krille/add-changelog-2-5-0
build: Add changelog and update kotlin
2026-03-17 08:43:28 +01:00
Christian Kußowski
9fde066a5b
build: Add changelog 2026-03-16 13:09:53 +01:00
Krille-chan
344e84ae3e
Merge pull request #2716 from krille-chan/krille/remove-unused-dependencies
refactor: Remove unused dependencies and add CI check
2026-03-16 12:13:03 +01:00
Christian Kußowski
7128ba98b2
refactor: Remove unused dependencies and add CI check 2026-03-16 09:44:00 +01:00
Krille-chan
2f35f07252
Merge pull request #2715 from krille-chan/krille/fix-release-web-job
chore: Fix releas web job
2026-03-16 09:42:55 +01:00
Christian Kußowski
9e29533502
chore: Fix releas web job 2026-03-16 09:17:00 +01:00
Krille-chan
e0738cca97
Merge pull request #2714 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-16 08:44:41 +01:00
Jelv
14ef8a1d0e
chore(translations): Translated using Weblate (Dutch)
Currently translated at 100.0% (755 of 755 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/
2026-03-16 07:10:03 +00:00
Priit Jõerüüt
0134e9c367
chore(translations): Translated using Weblate (Estonian)
Currently translated at 100.0% (755 of 755 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/
2026-03-16 07:10:02 +00:00
Frank Paul Silye
682090c6d7
chore(translations): Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (755 of 755 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/
2026-03-16 07:10:01 +00:00
Krille-chan
6223ea85b5
Merge pull request #2705 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-15 07:15:02 +01:00
Krille-chan
0493e24b08
Merge pull request #2702 from krille-chan/release/v2.5.0
chore: Add changelog for 2.5.0
2026-03-15 07:13:26 +01:00
Krille-chan
8aee82dd6f
Merge pull request #2707 from Aegeontis/patch-1
Small fix: Invert condition for creating voipPlugin
2026-03-15 07:05:35 +01:00
josé m.
eab984541e
chore(translations): Translated using Weblate (Galician)
Currently translated at 100.0% (755 of 755 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/gl/
2026-03-15 03:23:24 +01:00
大王叫我来巡山
dda8e6cbc7
chore(translations): Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (755 of 755 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/zh_Hans/
2026-03-15 03:23:24 +01:00
Aegeontis
f9bb2715b0
fix: invert condition for creating voipPlugin 2026-03-14 16:26:12 +01:00
josé m.
f6c4e69302
chore(translations): Translated using Weblate (Galician)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/gl/
2026-03-14 12:10:16 +00:00
大王叫我来巡山
b8a2d19d2f
chore(translations): Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/zh_Hans/
2026-03-14 12:10:15 +00:00
Jelv
df9325a5e4
chore(translations): Translated using Weblate (Dutch)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/
2026-03-14 12:10:14 +00:00
Priit Jõerüüt
b333d78c8c
chore(translations): Translated using Weblate (Estonian)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/
2026-03-14 12:10:13 +00:00
Frank Paul Silye
358c7f25d4
chore(translations): Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/
2026-03-14 12:10:12 +00:00
Christian
1bd1298443
chore(translations): Translated using Weblate (German)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/
2026-03-14 12:10:11 +00:00
Aindriú Mac Giolla Eoin
f6a739b78e
chore(translations): Translated using Weblate (Irish)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ga/
2026-03-14 12:10:10 +00:00
Krille-chan
4a8773c67b
Merge pull request #2703 from krille-chan/krille/follow-up-low-priority
chore: Follow up low priority
2026-03-13 19:37:32 +01:00
Christian Kußowski
ac24b86a3a
chore: Follow up low priority 2026-03-13 19:12:38 +01:00
Christian Kußowski
17b5304995
chore: Add changelog for 2.5.0 2026-03-13 18:43:55 +01:00
Krille-chan
74c3277eb6
Merge pull request #2694 from krille-chan/dependabot/pub/wakelock_plus-1.5.0
build: (deps): bump wakelock_plus from 1.4.0 to 1.5.0
2026-03-13 18:09:53 +01:00
dependabot[bot]
c9e16cc469
build: (deps): bump wakelock_plus from 1.4.0 to 1.5.0
Bumps [wakelock_plus](https://github.com/fluttercommunity/wakelock_plus) from 1.4.0 to 1.5.0.
- [Commits](https://github.com/fluttercommunity/wakelock_plus/compare/wakelock_plus_1.4.0...wakelock_plus_1.5.0)

---
updated-dependencies:
- dependency-name: wakelock_plus
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-13 17:44:52 +01:00
Krille-chan
4b676cc23b
Merge pull request #2701 from krille-chan/krille/follow-up-43
chore: Introduce tool versions file
2026-03-13 17:43:05 +01:00
Christian Kußowski
f961b22435
feat: Implement low priority for rooms 2026-03-13 17:21:00 +01:00
Christian Kußowski
de96b27e29
build: Update matrix dart sdk to 6.2.0 2026-03-13 16:21:04 +01:00
Christian Kußowski
06827038d8
chore: Introduce tool versions file 2026-03-13 16:21:04 +01:00
Christian Kußowski
3b204373e9
chore: Make banner light red 2026-03-13 16:21:04 +01:00
Krille-chan
aa605ae0c1
Merge pull request #2700 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-13 13:31:47 +01:00
Christian
f64cc1e996
chore(translations): Translated using Weblate (German)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/
2026-03-13 12:32:58 +01:00
大王叫我来巡山
25814f4a52
chore(translations): Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.8% (752 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/zh_Hans/
2026-03-13 12:32:58 +01:00
Jelv
77fbf33f90
chore(translations): Translated using Weblate (Dutch)
Currently translated at 99.6% (750 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/
2026-03-13 12:32:58 +01:00
Christian
46b1a4846d
chore(translations): Translated using Weblate (English)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/en/
2026-03-13 12:32:58 +01:00
Krille-chan
33d28c2f94
Merge pull request #2699 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-13 11:27:01 +01:00
Christian
1157cf96b3 chore(translations): Translated using Weblate (German)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/
2026-03-13 10:48:01 +01:00
Christian
0294b8d29b chore(translations): Translated using Weblate (English)
Currently translated at 100.0% (753 of 753 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/en/
2026-03-13 10:48:01 +01:00
Krille-chan
4f09b43f0e
Merge pull request #2697 from krille-chan/krille/switch-flutter-constraints
build: Use flutter constraints instead of fixed in pubspec.yaml
2026-03-13 10:32:10 +01:00
Krille-chan
e68424e1e8
Merge pull request #2698 from krille-chan/krille/add-config-search-field
chore: Add config search textfield
2026-03-13 09:41:05 +01:00
Christian Kußowski
54a7b4ea69
chore: Add config search textfield 2026-03-13 09:16:54 +01:00
Christian Kußowski
1f42aa3605
build: Update dart to 3.11.1 2026-03-13 08:57:08 +01:00
Krille-chan
9c28e5ed6e
Merge pull request #2696 from krille-chan/krille/adjust-designs-42
chore: Adjust support button design
2026-03-13 08:56:35 +01:00
Christian Kußowski
54ba19d39e
chore: Adjust support button design 2026-03-13 08:30:47 +01:00
Krille-chan
eea4e431b4
Merge pull request #2693 from krille-chan/krille/login-with-localhost
chore: Login with localhost
2026-03-12 18:31:12 +01:00
Krille-chan
e95069478d
Merge pull request #2692 from krille-chan/krille/support-button-everywhere
chore: Add support button everywhere
2026-03-12 18:20:27 +01:00
Christian Kußowski
9ede56427f
chore: Login with localhost 2026-03-12 17:55:50 +01:00
Christian Kußowski
6c05ed8aaa
chore: Add support button everywhere 2026-03-12 17:48:31 +01:00
Krille-chan
76fdabecaa
Merge pull request #2690 from krille-chan/krille/build-website-in-release-job
chore: Adjust styles and animations
2026-03-12 16:52:02 +01:00
Krille-chan
4ed353fbbd
Merge pull request #2689 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-12 13:59:00 +01:00
Christian Kußowski
9724b852bb
chore: Adjust styles and animations 2026-03-12 12:03:03 +01:00
xabirequejo
a8a0212d3d
chore(translations): Translated using Weblate (Basque)
Currently translated at 99.8% (747 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/eu/
2026-03-12 10:09:59 +01:00
Christian Kußowski
5c88133691
build: Build website in release job 2026-03-12 09:54:52 +01:00
Krille-chan
9b531179a4
Merge pull request #2688 from krille-chan/dependabot/pub/video_player-2.11.1
build: (deps): Bump video_player from 2.11.0 to 2.11.1
2026-03-12 09:05:29 +01:00
Christian Kußowski
a8aadc834f
refactor: Remove animation dependency 2026-03-12 08:35:27 +01:00
dependabot[bot]
38cda39672
build: Try out flutter contraints 2026-03-12 08:33:39 +01:00
Krille-chan
1770f3e17c
Merge pull request #2663 from krille-chan/dependabot/pub/flutter_local_notifications-21.0.0
build: (deps): Bump flutter_local_notifications from 20.1.0 to 21.0.0
2026-03-11 09:49:57 +01:00
Krille-chan
096a995b89
Merge pull request #2679 from krille-chan/dependabot/pub/translations_cleaner-0.1.1
build: (deps): Bump translations_cleaner from 0.1.0 to 0.1.1
2026-03-11 09:48:46 +01:00
dependabot[bot]
5cc8ab636c
build: (deps): Bump flutter_local_notifications from 20.1.0 to 21.0.0
Bumps [flutter_local_notifications](https://github.com/MaikuB/flutter_local_notifications) from 20.1.0 to 21.0.0.
- [Release notes](https://github.com/MaikuB/flutter_local_notifications/releases)
- [Commits](https://github.com/MaikuB/flutter_local_notifications/compare/flutter_local_notifications-v20.1.0...flutter_local_notifications-v21.0.0)

---
updated-dependencies:
- dependency-name: flutter_local_notifications
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 09:13:38 +01:00
dependabot[bot]
922156498f
build: (deps): Bump translations_cleaner from 0.1.0 to 0.1.1
Bumps [translations_cleaner](https://github.com/Chinmay-KB/translations_cleaner) from 0.1.0 to 0.1.1.
- [Changelog](https://github.com/Chinmay-KB/translations_cleaner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Chinmay-KB/translations_cleaner/commits/v0.1.1)

---
updated-dependencies:
- dependency-name: translations_cleaner
  dependency-version: 0.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-11 09:13:16 +01:00
Krille-chan
ba06e09b9e
Merge pull request #2678 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-11 08:12:51 +01:00
Ettore Atalan
b99b23c652
chore(translations): Translated using Weblate (German)
Currently translated at 98.6% (738 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/
2026-03-11 01:10:12 +01:00
Jelv
0eecc9597b
chore(translations): Translated using Weblate (Dutch)
Currently translated at 100.0% (748 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/
2026-03-11 01:10:11 +01:00
Aindriú Mac Giolla Eoin
5fd377a611
chore(translations): Translated using Weblate (Irish)
Currently translated at 100.0% (748 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ga/
2026-03-11 01:10:10 +01:00
大王叫我来巡山
26e72d789f
chore(translations): Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (748 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/zh_Hans/
2026-03-11 01:10:08 +01:00
Frank Paul Silye
04edda0b1a
chore(translations): Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (748 of 748 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/
2026-03-11 01:10:07 +01:00
Priit Jõerüüt
657143b3b6
chore(translations): Translated using Weblate (Estonian)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/
2026-03-11 01:10:06 +01:00
josé m.
d1c96b1c45
chore(translations): Translated using Weblate (Galician)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/gl/
2026-03-11 01:10:05 +01:00
தமிழ்நேரம்
2d9710d2b4
chore(translations): Translated using Weblate (Tamil)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ta/
2026-03-11 01:10:04 +01:00
Krille-chan
46bf54e540
Merge pull request #2683 from krille-chan/krille/sso-follow-up
chore: Follow up sso on android
2026-03-10 19:10:44 +01:00
Christian Kußowski
5e368b9df0
chore: Follow up sso on android 2026-03-10 15:51:33 +01:00
Krille-chan
150ab800ee
Merge pull request #2682 from krille-chan/krille/fix-sso-android
chore: Follow up sso on android
2026-03-10 15:00:29 +01:00
Christian Kußowski
14ce0a5927
chore: Follow up sso on android 2026-03-10 14:24:30 +01:00
Krille-chan
57044f01d8
Merge pull request #2681 from krille-chan/krille/small-adjustments
refactor: Disable custom image resizer for macOS and windows
2026-03-10 10:58:34 +01:00
Christian Kußowski
a7c89418eb
chore: Implement pick SSO provider from dialog and add tchncs.de 2026-03-10 10:07:43 +01:00
Christian Kußowski
210ebdae6e
chore: Added deeplinks to test protocol 2026-03-10 09:45:07 +01:00
Christian Kußowski
cd99f6a460
chore: Remove converser from recommended homeservers as it doesn't have open registration 2026-03-10 09:38:13 +01:00
Christian Kußowski
a490a40379
chore: Adjust design 2026-03-10 09:29:45 +01:00
Christian Kußowski
c90fdc3e75
chore: make sendTimelineEventTimeout configurable 2026-03-10 09:13:57 +01:00
Christian Kußowski
e8ee58d6d9
refactor: Disable custom image resizer for macOS and windows 2026-03-10 09:06:03 +01:00
Krille-chan
8571c42ba4
Merge pull request #2676 from krille-chan/krille/minor-fixes
chore: Move website back to fluffychat.im
2026-03-09 18:21:44 +01:00
Christian Kußowski
a2857ef36a
chore: Follow up user viewer 2026-03-09 17:44:11 +01:00
Christian Kußowski
1e763f05f5
fix: Open deep links 2026-03-09 17:42:54 +01:00
Christian Kußowski
47ac9c8f97
chore: Skip matrix notify for events from myself 2026-03-09 17:35:25 +01:00
Christian Kußowski
85c21e61c3
chore: Move website back to fluffychat.im 2026-03-09 17:07:55 +01:00
Christian Kußowski
fc7eb6954c
refactor: Make file events more fail safe for failed to send 2026-03-09 17:01:11 +01:00
Krille-chan
084801fd84
Merge pull request #2670 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-09 08:13:00 +01:00
Krille-chan
d2cb802436
Merge pull request #2672 from krille-chan/krille/multiple-fixes
chore: Add reset button for config viewer
2026-03-08 12:11:49 +01:00
Aindriú Mac Giolla Eoin
9438594fa2
chore(translations): Translated using Weblate (Irish)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ga/
2026-03-08 11:10:03 +00:00
Frank Paul Silye
1cfda2e338
chore(translations): Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/
2026-03-08 11:10:02 +00:00
Jelv
4825135de2
chore(translations): Translated using Weblate (Dutch)
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/
2026-03-08 11:10:01 +00:00
大王叫我来巡山
8f8309aa63
chore(translations): Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (747 of 747 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/zh_Hans/
2026-03-08 11:09:59 +00:00
Christian Kußowski
a3a2a37a14
chore: Add reset button for config viewer 2026-03-08 11:12:32 +01:00
Christian Kußowski
bad0a549cb
chore: Follow up remote logout handling 2026-03-08 11:01:38 +01:00
Krille-chan
71bbe4ad74
Merge pull request #2671 from krille-chan/krille/follow-up-fix-oidc
chore: Follow up matrix native oidc
2026-03-08 10:42:44 +01:00
Christian Kußowski
aba8c3faf2
chore: Follow up matrix native oidc 2026-03-08 10:15:45 +01:00
Krille-chan
9c49141f9e
Merge pull request #2669 from krille-chan/krille/mobile-redirect-scheme
chore: Update redirect android scheme
2026-03-07 08:59:34 +01:00
Krille-chan
d2777cacee
Merge pull request #2662 from krille-chan/dependabot/github_actions/docker/build-push-action-7
build: (deps): Bump docker/build-push-action from 6 to 7
2026-03-07 08:45:44 +01:00
Krille-chan
c9e32cdad8
Merge pull request #2666 from weblate/weblate-fluffychat-translations
Translations update from Hosted Weblate
2026-03-07 08:32:50 +01:00
Christian Kußowski
e0c20f249b
chore: Update redirect android scheme 2026-03-07 08:21:50 +01:00
dependabot[bot]
ece4628751
build: (deps): Bump docker/build-push-action from 6 to 7
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-07 07:56:19 +01:00
gredzikk
edf7d81b60
chore(translations): Translated using Weblate (Polish)
Currently translated at 99.2% (845 of 851 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/pl/
2026-03-07 07:55:48 +01:00
Krille-chan
9d229e04c6
Merge pull request #2665 from krille-chan/krille/retry-sign-in-tap-in-tests
chore: Retry sign in tap in tests
2026-03-06 09:27:37 +01:00
Christian Kußowski
89864cfd0c
chore: Retry sign in tap in tests 2026-03-06 08:52:05 +01:00
Krille-chan
9f9111dac2
Merge pull request #2661 from krille-chan/dependabot/github_actions/docker/metadata-action-6
build: (deps): Bump docker/metadata-action from 5 to 6
2026-03-06 08:24:39 +01:00
Krille-chan
43ba692a21
Merge pull request #2656 from krille-chan/krille/follow-up-search-homeserver
chore: Follow up search for homeserver
2026-03-06 07:17:34 +01:00
Krille-chan
39845d95ab
Merge pull request #2659 from krille-chan/krille-chan-patch-1
chore: follow up borderradius
2026-03-06 07:13:45 +01:00
dependabot[bot]
d0901da51e
build: (deps): Bump docker/metadata-action from 5 to 6
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 21:33:52 +00:00
Krille-chan
424d4eef40
Merge pull request #2660 from krille-chan/krille-chan-patch-2
chore: follow up user dialog
2026-03-05 21:02:15 +01:00
Krille-chan
dba3553a59
chore: follow up user dialog 2026-03-05 18:56:33 +01:00
Krille-chan
cb8b3be205
chore: follow up borderradius 2026-03-05 18:55:13 +01:00
Krille-chan
661339f7ab
Merge pull request #2657 from krille-chan/krille/follow-up-user-dialog
chore: Follow up user dialog
2026-03-05 16:06:49 +01:00
Christian Kußowski
0fe91bfe14
chore: Follow up user dialog 2026-03-05 15:28:42 +01:00
Krille-chan
993e12a946
Merge pull request #2655 from krille-chan/krille/add-mute-notification-action
feat: Add mute notification action
2026-03-05 15:08:13 +01:00
Christian Kußowski
18d98d96c6
chore: Follow up search for homeserver 2026-03-05 14:36:18 +01:00
Christian Kußowski
d1abd71527
feat: Add mute notification action 2026-03-05 14:35:08 +01:00
Krille-chan
febd0e6b41
Merge pull request #2654 from krille-chan/krille/uri-data-from-bytes
refactor: Use native uri data from bytes instead of html
2026-03-05 13:56:49 +01:00
Krille-chan
d69b42e1c5
Merge pull request #2653 from krille-chan/krille/remove-web-notification-sound
chore: Remove web notification custom sound
2026-03-05 13:53:40 +01:00
Christian Kußowski
bfcd78fcdf
refactor: Use native uri data from bytes instead of html 2026-03-05 13:18:50 +01:00
Christian Kußowski
58d5de4aba
chore: Remove web notification custom sound
Sound is now played on macOS
and Windows by default.
On some Linux distro it may
differ but there it should be
possible to configure it.
2026-03-05 13:12:53 +01:00
Krille-chan
e311c9573e
Merge pull request #2651 from krille-chan/krille/do-not-cancel-on-notification-reply
fix: Do not cancel notification on reply
2026-03-05 13:03:21 +01:00
Krille-chan
8fdf58e071
Merge pull request #2650 from krille-chan/krille/flutter-3-41-4
build: Update to flutter 3.41.4
2026-03-05 12:59:03 +01:00
Christian Kußowski
a22c8fa6fa
fix: Do not cancel notification on reply 2026-03-05 12:38:46 +01:00
Christian Kußowski
9d8c332fc3
build: Update to flutter 3.41.4 2026-03-05 12:21:14 +01:00
Krille-chan
9f5250ee04
Merge pull request #2649 from krille-chan/krille/use-flutter-version-from-pubspec
build: Use flutter version from pubspec.yaml instead of env file
2026-03-05 10:55:08 +01:00
Christian Kußowski
386d01296f
build: Use flutter version from pubspec.yaml instead of env file 2026-03-05 10:24:40 +01:00
Krille-chan
127c3fd7bf
Merge pull request #2648 from krille-chan/krille/use-correct-person-for-android-notification-reply
fix: Use correct own person for android notification replies
2026-03-05 10:09:59 +01:00
Christian Kußowski
c206a51515
fix: Use correct own person for android notification replies 2026-03-05 09:37:38 +01:00
Krille-chan
3165cd6fb6
Merge pull request #2647 from krille-chan/dependabot/github_actions/docker/login-action-4
build: (deps): Bump docker/login-action from 3 to 4
2026-03-05 05:32:58 +01:00
dependabot[bot]
de76969993
build: (deps): Bump docker/login-action from 3 to 4
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-04 21:33:46 +00:00
96 changed files with 4986 additions and 5186 deletions

View file

@ -39,3 +39,6 @@ labels: test
10. Drag&Drop to send a file into a chat still works:
- [ ] Web
- [ ] Linux
11. Deeplinks are still working? https://matrix.to/#/@krille:janian.de
- [ ] Android
- [ ] iOS

View file

@ -12,10 +12,9 @@ jobs:
- uses: webiny/action-conventional-commits@v1.3.1
- run: ./scripts/generate-locale-config.sh
- run: git diff --exit-code
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- name: Check for unused translations
run: flutter pub run translations_cleaner list-unused-terms -a
@ -29,6 +28,10 @@ jobs:
- name: Check license compliance
run: dart run license_checker check-licenses -c licenses.yaml --problematic
- run: flutter analyze
- name: Search unused dependencies
run: |
dart pub global activate dependency_validator
dart pub global run dependency_validator
- run: dart run dart_code_linter:metrics analyze lib --reporter=github
- run: dart run dart_code_linter:metrics check-unused-code lib
- run: dart run dart_code_linter:metrics check-unused-files lib
@ -51,14 +54,9 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/free_up_space
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: actions/setup-java@v5
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "zulu"
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- uses: moonrepo/setup-rust@v1
with:
@ -84,10 +82,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- uses: moonrepo/setup-rust@v1
- run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
@ -109,9 +106,9 @@ jobs:
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest'}}
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install git wget curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libwebkit2gtk-4.1-dev -y
- run: echo "FLUTTER_VERSION=$(yq '.environment.flutter' < .tool_versions.yaml)" >> $GITHUB_ENV
- name: Install Flutter
run: |
git clone --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git
@ -125,10 +122,9 @@ jobs:
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- name: Use Xcode 16.4
run: sudo xcode-select --switch /Applications/Xcode_16.4.app
@ -202,7 +198,7 @@ jobs:
echo "Generated AVD snapshot for caching."
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- uses: remarkablemark/setup-maestro-cli@v1
- name: Load integration test env
@ -241,7 +237,6 @@ jobs:
script: |
flutter run --use-application-binary=$PWD/app-debug.apk > flutter_logs.txt 2>&1 &
FLUTTER_PID=$!
sleep 10
maestro test integration_test/login.yaml --env HOMESERVER=10.0.2.2 --env USER1_NAME=${USER1_NAME} --env USER1_PW=${USER1_PW}
kill $FLUTTER_PID 2>/dev/null || true
cp flutter_logs.txt ~/.maestro/tests/

View file

@ -15,10 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
- uses: moonrepo/setup-rust@v1
- run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Prepare web
@ -40,14 +39,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: actions/setup-java@v5
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'zulu'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1

View file

@ -8,6 +8,7 @@ on:
jobs:
notify:
if: ${{ (github.event_name == 'issues' && github.event.issue.user.login != 'krille-chan') || (github.event_name == 'pull_request_target' && github.event.pull_request.user.login != 'krille-chan') }}
runs-on: ubuntu-latest
steps:
- name: Send notification to Matrix room

View file

@ -18,10 +18,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- uses: moonrepo/setup-rust@v1
- run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
@ -47,13 +46,25 @@ jobs:
asset_path: fluffychat-web.tar.gz
asset_name: fluffychat-web.tar.gz
asset_content_type: application/gzip
- name: Build Website
- name: Clone fluffychat website
run: |
mkdir public
git clone https://github.com/krille-chan/fluffychat-website.git
cp CHANGELOG.md fluffychat-website/
cp PRIVACY.md fluffychat-website/
- name: Build website
working-directory: fluffychat-website
run: |
npm install tailwindcss @tailwindcss/cli
npx tailwindcss -i ./src/styles.css -o ./src/assets/tailwind.css --minify
npx @11ty/eleventy
mv public ../
- name: Copy FluffyChat web into it
run: |
mkdir public/web
mkdir public/nightly
cp -r build/web/* public/
cp -r build/web/* public/web/
cp -r build/web/* public/nightly/
echo "app.fluffy.chat" >> public/CNAME
echo "fluffychat.im" >> public/CNAME
- name: Deploy to GitHub Pages
if: startsWith(github.ref, 'refs/tags/v')
uses: peaceiris/actions-gh-pages@v4
@ -61,20 +72,15 @@ jobs:
personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages
cname: app.fluffy.chat
cname: fluffychat.im
build_apk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: actions/setup-java@v5
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'zulu'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- name: Add Firebase Messaging
run: |
@ -107,9 +113,9 @@ jobs:
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest'}}
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libwebkit2gtk-4.1-dev -y
- run: echo "FLUTTER_VERSION=$(yq '.environment.flutter' < .tool_versions.yaml)" >> $GITHUB_ENV
- name: Install Flutter
run: |
git clone --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git
@ -133,14 +139,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: actions/setup-java@v5
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'zulu'
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
flutter-version-file: .tool_versions.yaml
cache: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1
@ -191,18 +192,18 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v6
- name: Log in to the Container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
push: true

View file

@ -1,2 +0,0 @@
FLUTTER_VERSION=3.41.2
JAVA_VERSION=17

2
.tool_versions.yaml Normal file
View file

@ -0,0 +1,2 @@
environment:
flutter: 3.41.4

View file

@ -1,3 +1,162 @@
## v2.5.0
FluffyChat 2.5.0 introduces a new homeserver picker for onboarding, better image compression performance and several smaller new features, design adjustments and bug fixes.
- feat: Add mute notification action (Christian Kußowski)
- feat: Add presetHomeserver config to enforce a homeserver for web (Christian Kußowski)
- feat: Display particle animation on login page (Christian Kußowski)
- feat: Display read receipts for every event (Christian Kußowski)
- feat: Enable audio recording on web (Christian Kußowski)
- feat: Implement low priority for rooms (Christian Kußowski)
- feat: Implement matrix native oidc (Christian Kußowski)
- feat: Implement new sign in flow (Christian Kußowski)
- feat: OIDC Login on same page (Christian Kußowski)
- feat: Reenable native imaging for all platforms (Christian Kußowski)
- feat: Remember last successful logged in homeserver (Christian Kußowski)
- Add lld to install custom dependency for Linux in README (Stephen)
- build: Add llvm-18 to packages for snap (krille-chan)
- build: Add maestro based integration tests (Christian Kußowski)
- chore(translations): Added translation using Weblate (Albanian) (Besnik Bleta)
- chore(translations): Added translation using Weblate (Kabyle) (Amadɣas)
- chore(translations): Translated using Weblate (Basque) (xabirequejo)
- chore(translations): Translated using Weblate (Catalan) (fadelkon)
- chore(translations): Translated using Weblate (Chinese (Simplified Han script)) (大王叫我来巡山)
- chore(translations): Translated using Weblate (Croatian) (Milo Ivir)
- chore(translations): Translated using Weblate (Czech) (Matyáš Caras)
- chore(translations): Translated using Weblate (Danish) (Øjvind Fritjof Arnfred)
- chore(translations): Translated using Weblate (Dutch) (Jelv)
- chore(translations): Translated using Weblate (English) (Christian)
- chore(translations): Translated using Weblate (English) (SpikyBee)
- chore(translations): Translated using Weblate (Estonian) (Priit Jõerüüt)
- chore(translations): Translated using Weblate (Galician) (josé m.)
- chore(translations): Translated using Weblate (Georgian) (Dimitri Tabatadze)
- chore(translations): Translated using Weblate (Georgian) (Temuri Doghonadze)
- chore(translations): Translated using Weblate (German) (Christian)
- chore(translations): Translated using Weblate (German) (Ettore Atalan)
- chore(translations): Translated using Weblate (German) (nautilusx)
- chore(translations): Translated using Weblate (Hindi) (Vishal Singh)
- chore(translations): Translated using Weblate (Indonesian) (Arif Budiman)
- chore(translations): Translated using Weblate (Irish) (Aindriú Mac Giolla Eoin)
- chore(translations): Translated using Weblate (Japanese) (NPL)
- chore(translations): Translated using Weblate (Japanese) (Sayaka Halton)
- chore(translations): Translated using Weblate (Kabyle) (Amadɣas)
- chore(translations): Translated using Weblate (Kabyle) (ButterflyOfFire)
- chore(translations): Translated using Weblate (Kabyle) (Christian)
- chore(translations): Translated using Weblate (Latvian) (Edgars Andersons)
- chore(translations): Translated using Weblate (Norwegian Bokmål) (Frank Paul Silye)
- chore(translations): Translated using Weblate (Norwegian Bokmål) (sunniva)
- chore(translations): Translated using Weblate (Persian) (saok91)
- chore(translations): Translated using Weblate (Polish) (gredzikk)
- chore(translations): Translated using Weblate (Portuguese (Brazil)) (Logaritmica)
- chore(translations): Translated using Weblate (Russian) (-)
- chore(translations): Translated using Weblate (Russian) (Artem Pereverzev)
- chore(translations): Translated using Weblate (Russian) (mikinol)
- chore(translations): Translated using Weblate (Spanish) (Kimby)
- chore(translations): Translated using Weblate (Spanish) (SpikyBee)
- chore(translations): Translated using Weblate (Swedish) (Malva Jakobsson)
- chore(translations): Translated using Weblate (Swedish) (spinningpaprika)
- chore(translations): Translated using Weblate (Tamil) (தமிழ்நேரம்)
- chore(translations): Translated using Weblate (Ukrainian) (Andriy Kushnir)
- chore(translations): Translated using Weblate (Ukrainian) (Ihor Hordiichuk)
- chore(translations): Translated using Weblate (Uzbek) (BeMeritus)
- chore: Add config search textfield (Christian Kußowski)
- chore: Add matrix notify workflow (Christian Kußowski)
- chore: Add recommended homeservers (Christian Kußowski)
- chore: Add reset button for config viewer (Christian Kußowski)
- chore: Add support button everywhere (Christian Kußowski)
- chore: Added deeplinks to test protocol (Christian Kußowski)
- chore: Adjust avatar size and chat list item design (krille-chan)
- chore: Adjust chat input row design (Christian Kußowski)
- chore: Adjust design (Christian Kußowski)
- chore: Adjust design of navrail (Christian Kußowski)
- chore: Adjust design of space avatars and more (Christian Kußowski)
- chore: Adjust design of user viewer and popup buttons (Christian Kußowski)
- chore: Adjust join space child UX (Christian Kußowski)
- chore: Adjust paddings (krille-chan)
- chore: Adjust power level UX (Christian Kußowski)
- chore: Adjust search field design (Christian Kußowski)
- chore: Adjust status header design (Christian Kußowski)
- chore: Adjust styles and animations (Christian Kußowski)
- chore: Adjust support button design (Christian Kußowski)
- chore: Always show filter for messages (Christian Kußowski)
- chore: Avoid unnecessary lambdas (Christian Kußowski)
- chore: Better context menu for space children (Christian Kußowski)
- chore: bump ios version (ShootingStarDragons)
- chore: Check conventional commits in CI (krille-chan)
- chore: Check if pubspec.lock is up to date in CI (Christian Kußowski)
- chore: Check of unused localizations (Christian Kußowski)
- chore: Clean up pages build (Christian Kußowski)
- chore: Display spaces filter chip when spaces present even without children (Christian Kußowski)
- chore: Execute dart code linter in CI (Christian Kußowski)
- chore: Exempt assignees from stale (Christian Kußowski)
- chore: Fix oidc login on web (Christian Kußowski)
- chore: Give issues and PRs more time for stale (Christian Kußowski)
- chore: Hide homepage button if not preset (Christian Kußowski)
- chore: Hide status list by default (Christian Kußowski)
- chore: Implement pick SSO provider from dialog and add tchncs.de (Christian Kußowski)
- chore: Introduce tool versions file (Christian Kußowski)
- chore: Login with localhost (Christian Kußowski)
- chore: Make banner light red (Christian Kußowski)
- chore: Make key fingerprints in chat encryption page selectable (Christian Kußowski)
- chore: make sendTimelineEventTimeout configurable (Christian Kußowski)
- chore: Make unread bubble full round (Christian Kußowski)
- chore: Move file cache to subdirectory (Christian Kußowski)
- chore: Move show image viewer one step up (Christian Kußowski)
- chore: Move website back to fluffychat.im (Christian Kußowski)
- chore: Only show confirm dialog once (Christian Kußowski)
- chore: Put oidc behind a feature flag until fixed (Christian Kußowski)
- chore: Remove converser from recommended homeservers as it doesn't have open registration (Christian Kußowski)
- chore: Remove frei.chat from homeserver list (Christian Kußowski)
- chore: Remove web notification custom sound (Christian Kußowski)
- chore: Replace duplicate check for stale bot (Christian Kußowski)
- chore: Retry sign in tap in tests (Christian Kußowski)
- chore: Run matrix notification in pull request target (Christian Kußowski)
- chore: Sanitize hash param for oidc (Christian Kußowski)
- chore: Set erase flag true on account deactivation (krille-chan)
- chore: Set operations per run to 1000 (krille-chan)
- chore: Skip matrix notify for events from myself (Christian Kußowski)
- chore: Update locale config (Christian Kußowski)
- chore: Update matrix ID localization (Christian Kußowski)
- chore: Update recommended homeservers (Christian Kußowski)
- chore: Update redirect android scheme (Christian Kußowski)
- chore: Use fixed version of fcm shared isolate (Christian Kußowski)
- fix: Add app id to TileLayer user agent (Vespe-r)
- fix: Add missing @@locale (Krille-chan)
- fix: Audioplayer on web buggy (Christian Kußowski)
- fix: build failed on archlinux (ShootingStarDragons)
- fix: Do not cancel notification on reply (Christian Kußowski)
- fix: Do not display formatted body if body is just filename (Christian Kußowski)
- fix: Do not route to backup on soft logout (Christian Kußowski)
- fix: Edit space child button opens space details page and not space child details page (Christian Kußowski)
- fix: Fix formatting of messages with newlines (Philip Fritzsche)
- fix: get correct aspect ratio from VideoPlayerController (Matias)
- fix: Join room by alias even if not found (Christian Kußowski)
- fix: Open deep links (Christian Kußowski)
- fix: Receipt row not auto updating (Christian Kußowski)
- fix: Receipts disappear after reaction (Christian Kußowski)
- fix: Reply voice message displays a broken html body (Christian Kußowski)
- fix: Send reply to voice messages (Christian Kußowski)
- fix: Set mimetype for video player on web (Christian Kußowski)
- fix: Use correct own person for android notification replies (Christian Kußowski)
- fix: Wrong placeholder in kab (Christian Kußowski)
- refactor: Add Flutter lints (Christian Kußowski)
- refactor: Add more linter rules (Christian Kußowski)
- refactor: Add more stricter lints (Christian Kußowski)
- refactor: Avoid redundant async (Christian Kußowski)
- refactor: Avoid unnecessary bool comparison (Christian Kußowski)
- refactor: Better UX for create space children (Christian Kußowski)
- refactor: Disable custom image resizer for macOS and windows (Christian Kußowski)
- refactor: Do show message bubble even for big emotes (Christian Kußowski)
- refactor: Enable avoid-returning-widgets lint (Christian Kußowski)
- refactor: Enable more strict lints (Christian Kußowski)
- refactor: Enable rule avoid dynamic (Christian Kußowski)
- refactor: Make file events more fail safe for failed to send (Christian Kußowski)
- refactor: Remove animation dependency (Christian Kußowski)
- refactor: Remove unused localizations (Christian Kußowski)
- refactor: Remove unused translations (Christian Kußowski)
- refactor: Use getCryptoIdentityState to check backup state (krille-chan)
- refactor: Use more robust and performant way to detect single emoji messages (Christian Kußowski)
- refactor: Use native uri data from bytes instead of html (Christian Kußowski)
## v2.4.0
FluffyChat 2.4.0 adds a new improved GUI for managing stickers with tutorials how to
easily add your own sticker packs.

View file

@ -106,7 +106,7 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="im.fluffychat" android:host="login"/>
<data android:scheme="im.fluffychat" android:path="/login"/>
</intent-filter>
</activity>

View file

@ -1,4 +1,3 @@
FluffyChat 2.4.0 adds a new improved GUI for managing stickers with tutorials how to
easily add your own sticker packs.
It also improves the search and image gallery in chats, especially encrypted chats.
Besides that this update comes with a lot of fixes and improvements under the hood.
FluffyChat 2.5.0 introduces a new homeserver picker for onboarding,
better image compression performance and several smaller new features,
design adjustments and bug fixes.

View file

@ -0,0 +1,3 @@
ignore:
- handy_window
- sqlcipher_flutter_libs

View file

@ -1,7 +1,12 @@
appId: chat.fluffy.fluffychat
---
- assertVisible: "Sign in"
- tapOn: "Sign in"
- extendedWaitUntil: # Wait for app to be visible
visible: "Sign in"
timeout: 60000
- retry:
maxRetries: 10 # Emulator might need some time to be ready to
commands:
- tapOn: "Sign in"
- tapOn: "Search or enter homeserver address"
- inputText: "http://${HOMESERVER}"
- pressKey: "back"

View file

@ -17,28 +17,26 @@ abstract class AppConfig {
static const String schemePrefix = 'matrix:';
static const String pushNotificationsChannelId = 'fluffychat_push';
static const String pushNotificationsAppId = 'chat.fluffy.fluffychat';
static const double borderRadius = 18.0;
static const double borderRadius = 16.0;
static const double spaceBorderRadius = 11.0;
static const double columnWidth = 360.0;
static const String website = 'https://fluffy.chat';
static const String enablePushTutorial =
'https://fluffy.chat/faq/#push_without_google_services';
'https://fluffychat.im/faq/#push_without_google_services';
static const String encryptionTutorial =
'https://fluffy.chat/faq/#how_to_use_end_to_end_encryption';
'https://fluffychat.im/faq/#how_to_use_end_to_end_encryption';
static const String startChatTutorial =
'https://fluffy.chat/faq/#how_do_i_find_other_users';
'https://fluffychat.im/faq/#how_do_i_find_other_users';
static const String howDoIGetStickersTutorial =
'https://fluffy.chat/faq/#how_do_i_get_stickers';
'https://fluffychat.im/faq/#how_do_i_get_stickers';
static const String appId = 'im.fluffychat.FluffyChat';
static const String appOpenUrlScheme = 'chat.fluffy';
static const String appOpenUrlScheme = 'im.fluffychat';
static const String sourceCodeUrl =
'https://github.com/krille-chan/fluffychat';
static const String supportUrl =
'https://github.com/krille-chan/fluffychat/issues';
static const String changelogUrl = 'https://fluffy.chat/en/changelog/';
static const String donationUrl = 'https://ko-fi.com/krille';
static const Set<String> defaultReactions = {'👍', '❤️', '😂', '😮', '😢'};
@ -54,12 +52,6 @@ abstract class AppConfig {
path: 'krille-chan/fluffychat/refs/heads/main/recommended_homeservers.json',
);
static final Uri privacyUrl = Uri(
scheme: 'https',
host: 'fluffy.chat',
path: '/en/privacy',
);
static const String mainIsolatePortName = 'main_isolate';
static const String pushIsolatePortName = 'push_isolate';
}

View file

@ -7,7 +7,7 @@ import 'package:matrix/matrix.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/pages/archive/archive.dart';
import 'package:fluffychat/pages/bootstrap/bootstrap_page.dart';
import 'package:fluffychat/pages/bootstrap/bootstrap_dialog.dart';
import 'package:fluffychat/pages/chat/chat.dart';
import 'package:fluffychat/pages/chat_access_settings/chat_access_settings_controller.dart';
import 'package:fluffychat/pages/chat_details/chat_details.dart';
@ -107,8 +107,11 @@ abstract class AppRoutes {
GoRoute(
path: '/backup',
redirect: loggedOutRedirect,
pageBuilder: (context, state) =>
defaultPageBuilder(context, state, BootstrapPage()),
pageBuilder: (context, state) => defaultPageBuilder(
context,
state,
BootstrapDialog(wipe: state.uri.queryParameters['wipe'] == 'true'),
),
),
ShellRoute(
// Never use a transition on the shell route. Changing the PageBuilder
@ -167,8 +170,14 @@ abstract class AppRoutes {
),
GoRoute(
path: 'newprivatechat',
pageBuilder: (context, state) =>
defaultPageBuilder(context, state, const NewPrivateChat()),
pageBuilder: (context, state) => defaultPageBuilder(
context,
state,
NewPrivateChat(
key: ValueKey('new_chat_${state.uri.query}'),
deeplink: state.uri.queryParameters['deeplink'],
),
),
redirect: loggedOutRedirect,
),
GoRoute(

View file

@ -55,7 +55,20 @@ enum AppSettings<T> {
enableSoftLogout<bool>('chat.fluffy.enable_soft_logout', false),
enableMatrixNativeOIDC<bool>('chat.fluffy.enable_matrix_native_oidc', false),
presetHomeserver<String>('chat.fluffy.preset_homeserver', ''),
welcomeText<String>('chat.fluffy.welcome_text', '');
welcomeText<String>('chat.fluffy.welcome_text', ''),
website<String>('chat.fluffy.website_url', 'https://fluffychat.im'),
logoUrl<String>(
'chat.fluffy.logo_url',
'https://fluffychat.im/assets/favicon.png',
),
privacyPolicy<String>(
'chat.fluffy.privacy_policy_url',
'https://fluffychat.im/en/privacy',
),
tos<String>('chat.fluffy.tos_url', 'https://fluffychat.im/en/tos'),
sendTimelineEventTimeout<int>('chat.fluffy.send_timeline_event_timeout', 15),
lastSeenSupportBanner<int>('chat.fluffy.last_seen_support_banner', 0),
supportBannerOptOut<bool>('chat.fluffy.support_banner_opt_out', false);
final String key;
final T defaultValue;
@ -65,6 +78,11 @@ enum AppSettings<T> {
static SharedPreferences get store => _store!;
static SharedPreferences? _store;
static Future<void> reset({bool loadWebConfigFile = true}) async {
await AppSettings._store!.clear();
await init(loadWebConfigFile: loadWebConfigFile);
}
static Future<SharedPreferences> init({bool loadWebConfigFile = true}) async {
if (AppSettings._store != null) return AppSettings.store;

View file

@ -2992,8 +2992,6 @@
}
}
},
"donate": "Даць грошы",
"@donate": {},
"startedAPoll": "{username} пачаў апытанне.",
"@startedAPoll": {
"type": "String",

View file

@ -2691,7 +2691,6 @@
}
}
},
"donate": "Dona",
"startedAPoll": "{username} ha creat una enquesta.",
"@startedAPoll": {
"type": "String",

View file

@ -2560,7 +2560,6 @@
}
}
},
"donate": "Přispět",
"startedAPoll": "{username} spustil/a hlasování.",
"@startedAPoll": {
"type": "String",

View file

@ -2697,7 +2697,6 @@
}
}
},
"donate": "Spenden",
"resume": "Fortsetzen",
"startedAPoll": "{username} hat eine Umfrage gestartet.",
"@startedAPoll": {
@ -2781,11 +2780,31 @@
"createNewAccount": "Neues Konto erstellen",
"signUpGreeting": "FluffyChat ist dezentral! Wähle einen Server, auf dem du dein Konto erstellen möchtest, und los geht's!",
"signInGreeting": "Du hast bereits ein Konto bei Matrix? Willkommen zurück! Wähle deinen Homeserver aus und melde dich an.",
"appIntro": "Mit FluffyChat kannst du mit deinen Freunden chatten. Es ist ein sicherer, dezentralisierter [Matrix]-Messenger! Erfahre mehr auf https://matrix.org, wenn du möchtest, oder melde dich einfach an.",
"appIntro": "Mit FluffyChat kannst du mit deinen Freunden chatten. Es ist ein sicherer, dezentralisierter [Matrix]-Messenger! Erfahre mehr auf https://matrix.org wenn du möchtest, oder melde dich einfach an.",
"theProcessWasCanceled": "Der Vorgang wurde abgebrochen.",
"federationBaseUrl": "Basis-URL der Föderation",
"clientWellKnownInformation": "Bekannte Informationen zum Client:",
"join": "Beitreten",
"searchOrEnterHomeserverAddress": "Homeserver-Adresse suchen oder eingeben",
"matrixId": "Matrix ID"
}
"matrixId": "Matrix ID",
"reset": "Zurücksetzen",
"setPowerLevel": "Power-Level einstellen",
"makeModerator": "Zum Moderator machen",
"makeAdmin": "Zum Admin machen",
"removeModeratorRights": "Moderatorenrechte entziehen",
"removeAdminRights": "Adminrechte entziehen",
"powerLevel": "Power-Level",
"setPowerLevelDescription": "Die Power-Level legen fest, was ein Mitglied in diesem Raum tun darf und liegen üblicherweise zwischen 0 und 100.",
"owner": "Besitzer",
"mute": "Stumm",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Neuen Chat erstellen",
"supportFluffyChat": "FluffyChat unterstützen",
"support": "Unterstützen",
"fluffyChatSupportBannerMessage": "FluffyChat braucht DEINE Hilfe!\n❤\nFluffyChat wird immer kostenlos bleiben, aber Entwicklung und Hosting kosten Geld.\nDie Zukunft des Projekts hängt von deiner Unterstützung ab.",
"skipSupportingFluffyChat": "FluffyChat unterstützen überspringen",
"iDoNotWantToSupport": "Ich möchte nicht unterstützen",
"iAlreadySupportFluffyChat": "I unterstütze FluffyChat bereits"
}

View file

@ -2681,7 +2681,6 @@
}
}
},
"donate": "Donate",
"startedAPoll": "{username} started a poll.",
"@startedAPoll": {
"type": "String",
@ -2777,44 +2776,18 @@
"powerLevel": "Power level",
"setPowerLevelDescription": "Power levels define what a member is allowed to do in this room and usually range between 0 and 100.",
"owner": "Owner",
"restoreBootstrapEmptyDevicesDescription": "Please enter your passphrase or recovery key to verify this device and get access to your encrypted message backup.",
"@restoreBootstrapEmptyDevicesDescription": {
"type": "String",
"placeholders": {}
"mute": "Mute",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"restoreBootstrapDevicesDescription": "Verify this device with one of your active sessions to get access to your encrypted message backup:",
"@restoreBootstrapDevicesDescription": {
"type": "String",
"placeholders": {}
},
"restoreBootstrapAlternativeDescription": "Alternatively, you can use your passphrase or recovery key to verify your device and unlock your encrypted message backup:",
"@restoreBootstrapAlternativeDescription": {
"type": "String",
"placeholders": {}
},
"restoreBootstrapHintText": "Passphrase or recovery key",
"@restoreBootstrapHintText": {
"type": "String",
"placeholders": {}
},
"resetAccount": "Reset account",
"@resetAccount": {
"type": "String",
"placeholders": {}
},
"restoreCryptoIdentity": "Restore Crypto Identity",
"@restoreCryptoIdentity": {
"type": "String",
"placeholders": {}
},
"resetCryptoIdentity": "Reset Crypto Identity",
"@resetCryptoIdentity": {
"type": "String",
"placeholders": {}
},
"setUpCryptoIdentity": "Set Up Crypto Identity",
"@setUpCryptoIdentity": {
"type": "String",
"placeholders": {}
}
}
"createNewChat": "Create new chat",
"reset": "Reset",
"supportFluffyChat": "Support FluffyChat",
"support": "Support",
"fluffyChatSupportBannerMessage": "FluffyChat needs YOUR help!\n❤\nFluffyChat will always be free, but development and hosting still cost money.\nThe future of the project depends on support from people like you.",
"skipSupportingFluffyChat": "Skip supporting FluffyChat",
"iDoNotWantToSupport": "I do not want to support",
"iAlreadySupportFluffyChat": "I already support FluffyChat",
"setLowPriority": "Set low priority",
"unsetLowPriority": "Unset low priority"
}

View file

@ -2713,7 +2713,6 @@
}
}
},
"donate": "Donar",
"pollQuestion": "Pregunta de encuesta",
"answerOption": "Respuesta",
"addAnswerOption": "Añadir respuesta",

View file

@ -98,7 +98,7 @@
"type": "String",
"placeholders": {}
},
"askSSSSSign": "Selleks, et teist osapoolt identifitseerivat allkirja anda, palun sisesta oma turvahoidla paroolifraas või taastevõti.",
"askSSSSSign": "Selleks, et teist osapoolt identifitseerivat allkirja anda, palun sisesta oma turvahoidla salafraas või taastevõti.",
"@askSSSSSign": {
"type": "String",
"placeholders": {}
@ -339,7 +339,7 @@
"type": "String",
"placeholders": {}
},
"changeTheNameOfTheGroup": "Muuda vestlusrühma nime",
"changeTheNameOfTheGroup": "Muuda jututoa nime",
"@changeTheNameOfTheGroup": {
"type": "String",
"placeholders": {}
@ -489,7 +489,7 @@
"type": "String",
"placeholders": {}
},
"contactHasBeenInvitedToTheGroup": "Sinu kontakt on kutsutud liituma vestlusrühma",
"contactHasBeenInvitedToTheGroup": "Sinu kontakt on kutsutud liituma jututoaga",
"@contactHasBeenInvitedToTheGroup": {
"type": "String",
"placeholders": {}
@ -776,22 +776,22 @@
"type": "String",
"placeholders": {}
},
"group": "Vestlusrühm",
"group": "Jututuba",
"@group": {
"type": "String",
"placeholders": {}
},
"groupIsPublic": "Vestlusrühm on avalik",
"groupIsPublic": "Jututuba on avalik",
"@groupIsPublic": {
"type": "String",
"placeholders": {}
},
"groups": "Vestlusrühmad",
"groups": "Jututoad",
"@groups": {
"type": "String",
"placeholders": {}
},
"groupWith": "Vestlusrühm {displayname} kasutajanimega",
"groupWith": "Jututuba {displayname} kasutajanimega",
"@groupWith": {
"type": "String",
"placeholders": {
@ -862,7 +862,7 @@
"type": "String",
"placeholders": {}
},
"incorrectPassphraseOrKey": "Vigane paroolifraas või taastevõti",
"incorrectPassphraseOrKey": "Vigane salafraas või taastevõti",
"@incorrectPassphraseOrKey": {
"type": "String",
"placeholders": {}
@ -877,7 +877,7 @@
"type": "String",
"placeholders": {}
},
"inviteContactToGroup": "Kutsu sõpru ja tuttavaid {groupName} liikmeks",
"inviteContactToGroup": "Kutsu sõpru ja tuttavaid {groupName} jututoa liikmeks",
"@inviteContactToGroup": {
"type": "String",
"placeholders": {
@ -1221,7 +1221,7 @@
"type": "String",
"placeholders": {}
},
"passphraseOrKey": "paroolifraas või taastevõti",
"passphraseOrKey": "salafraas või taastevõti",
"@passphraseOrKey": {
"type": "String",
"placeholders": {}
@ -1839,7 +1839,7 @@
"type": "String",
"placeholders": {}
},
"whoIsAllowedToJoinThisGroup": "Kes võivad selle vestlusrühmaga liituda",
"whoIsAllowedToJoinThisGroup": "Kes võivad selle jututoaga liituda",
"@whoIsAllowedToJoinThisGroup": {
"type": "String",
"placeholders": {}
@ -1927,7 +1927,7 @@
"type": "String",
"description": "Usage hint for the command /dm"
},
"commandHint_create": "Loo tühi vestlusrühm\nKrüptimise keelamiseks kasuta --no-encryption võtit",
"commandHint_create": "Loo tühi jututuba\nKrüptimise keelamiseks kasuta --no-encryption võtit",
"@commandHint_create": {
"type": "String",
"description": "Usage hint for the command /create"
@ -2049,7 +2049,7 @@
}
}
},
"commandHint_markasgroup": "Märgi vestlusrühmaks",
"commandHint_markasgroup": "Märgi jututoaks",
"commandHint_markasdm": "Märgi otsevestusluseks antud Matrixi ID jaoks",
"whyIsThisMessageEncrypted": "Miks see sõnum pole loetav?",
"noKeyForThisMessage": "See võib juhtuda, kui sõnum oli saadetud enne, kui siin seadmes oma kontoga sisse logisid.\n\nSamuti võib juhtuda siis, kui saatja on lugemises selles seadmes blokeerinud või on tekkinud tõrkeid veebiühenduses.\n\nAga mõnes teises seadmes saad seda sõnumit lugeda? Siis sa võid sõnumi sealt üle tõsta. Ava Seadistused -> Seadmed ning kontrolli, et kõik sinu seadmed on omavahel verifitseeritud. Kui avad selle vestluse või jututoa ning mõlemad sessioonid on avatud, siis vajalikud krüptovõtmed saadetakse automaatset.\n\nKas sa soovid vältida krüptovõtmete kadumist väljalogimisel ja seadmete vahetusel? Siis palun kontrolli, et seadistuses on krüptovõtmete varundus sisse lülitatud.",
@ -2130,7 +2130,7 @@
"importNow": "Impordi kohe",
"importEmojis": "Impordi emojid",
"sendTypingNotifications": "Saada kirjutamise teavitusi",
"createGroup": "Loo vestlusrühm",
"createGroup": "Loo jututuba",
"tryAgain": "Proovi uuesti",
"chatPermissions": "Vestluse õigused",
"chatDescription": "Vestluse kirjeldus",
@ -2166,7 +2166,7 @@
}
}
},
"inviteGroupChat": "📨 Kutse vestlusrühma",
"inviteGroupChat": "📨 Kutse jututuppa",
"emoteKeyboardNoRecents": "Hiljuti kasutatud emotikonid kuvame siin...",
"@emoteKeyboardNoRecents": {
"type": "String",
@ -2201,9 +2201,9 @@
"pleaseEnterANumber": "Palun sisesta 0'st suurem number",
"kickUserDescription": "See kasutaja on nüüd jutuoast välja müksatud, kuid talle pole seatud suhtluskeeldu. Avaliku jututoa puhul saab ta alati uuesti liituda.",
"blockListDescription": "Sul on võimalik blokeerida neid kasutajaid, kes sind segavad. Oma isiklikku blokerimisloendisse lisatud kasutajad ei saa sulle saata sõnumeid ega kutseid.",
"createGroupAndInviteUsers": "Lisavestlusrühm ja kutsu sinna kasutajaid",
"createGroupAndInviteUsers": "Lisa jututuba ja kutsu sinna kasutajaid",
"blockedUsers": "Blokeeritud kasutajad",
"groupCanBeFoundViaSearch": "Vestlusrühm on leitav otsinguga",
"groupCanBeFoundViaSearch": "Jututuba on leitav otsinguga",
"noUsersFoundWithQuery": "Päringuga „{query}“ ei leidunud kahkus ühtegi kasutajat. Palun kontrolli, et päringus poleks vigu.",
"@noUsersFoundWithQuery": {
"type": "String",
@ -2218,7 +2218,7 @@
"commandHint_sendraw": "Saada json oma algupärasel kujul",
"wrongRecoveryKey": "Vabandust..., see ei tundu olema korrektne taastevõti.",
"blockUsername": "Eira kasutajanime",
"groupName": "Vestlusrühma nimi",
"groupName": "Jututoa nimi",
"databaseMigrationTitle": "Andmebaas on optimeeritud",
"searchChatsRooms": "Otsi #vestlusi, @kasutajaid...",
"databaseMigrationBody": "Palun oota üks hetk. Natuke võib kuluda aega.",
@ -2442,7 +2442,7 @@
"changeGeneralChatSettings": "Muuda vestluse üldiseid seadistusi",
"inviteOtherUsers": "Kutsu teisi osalejaid sellesse vestlusesse",
"changeTheChatPermissions": "Muuda vestluse õigusi",
"changeTheDescriptionOfTheGroup": "Muuda vestluse kirjeldust",
"changeTheDescriptionOfTheGroup": "Muuda vestluse/jututoa kirjeldust",
"chatPermissionsDescription": "Määra erinevatele kasutajatele selles vestluses vajalikud õigused. Tüüpiliselt on need 0, 50 ja 100 (vastavalt kasutajad, moderaatorid ja peakasutajad), kuid igasugused vahepealsed variatsioonid on ka võimalikud.",
"invitedBy": "📩 Kutsujaks {user}",
"@invitedBy": {
@ -2690,7 +2690,6 @@
}
}
},
"donate": "Toeta meid rahaliselt",
"startedAPoll": "{username} koostas küsitluse.",
"@startedAPoll": {
"type": "String",
@ -2787,5 +2786,19 @@
"removeAdminRights": "Eemalda peakasutaja õigused",
"powerLevel": "Õiguste tase",
"setPowerLevelDescription": "Õiguste tase on üks võimalusi kirjeldamaks seda, mida kasutaja saab jututoas teha ning see tavaliselt väljendub numbriga vahemikust 0 kuni 100.",
"owner": "Omanik"
}
"owner": "Omanik",
"mute": "Summuta",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Loo uus vestlus",
"reset": "Lähtesta",
"supportFluffyChat": "Toeta FluffyChati",
"support": "Toeta meid",
"iAlreadySupportFluffyChat": "Ma juba toetan FluffyChati arendust",
"fluffyChatSupportBannerMessage": "FluffyChat vajab SINU abi!\n❤\nFluffyChat jääb alati vabaks ja vabalt saadavaks, aga arendus ja serveriteenused vajavad ikkagi rahastamist.\nMeie projekti tulevik sõltub sinust ja teistest kasutajatest, nagu sina.",
"skipSupportingFluffyChat": "Jäta FluffyChati toetamine vahele",
"iDoNotWantToSupport": "Ma ei soovi toetada",
"setLowPriority": "Märgi vähetähtsaks",
"unsetLowPriority": "Eemalda märkimine vähetähtsaks"
}

View file

@ -2672,7 +2672,6 @@
}
}
},
"donate": "Egin dohaintza",
"spaceMemberOf": "{spaces} guneko kidea",
"@spaceMemberOf": {
"type": "String",
@ -2779,5 +2778,19 @@
"theProcessWasCanceled": "Eragiketa bertan behera utzi da.",
"join": "Batu",
"searchOrEnterHomeserverAddress": "Bilatu edo sartu zerbitzariaren helbidea",
"matrixId": "Matrix IDa"
"matrixId": "Matrix IDa",
"setPowerLevel": "Ezarri botere-maila",
"makeModerator": "Izendatu moderatzaile",
"makeAdmin": "Izendatu administrari",
"removeModeratorRights": "Kendu moderatzaile eskubideak",
"removeAdminRights": "Kendu administratzaile eskubideak",
"powerLevel": "Botere-maila",
"setPowerLevelDescription": "Botere-mailek zehazten dute kide batek zer egin dezakeen gela honetan, eta tartea 0tik 100era artekoa izan ohi da.",
"owner": "Jabea",
"mute": "Mututu",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Sortu txat berria",
"reset": "Berrezarri"
}

View file

@ -3003,8 +3003,6 @@
}
}
},
"donate": "Lahjoita",
"@donate": {},
"startedAPoll": "{username} aloitti kyselyn.",
"@startedAPoll": {
"type": "String",

View file

@ -2696,7 +2696,6 @@
}
}
},
"donate": "Tabhair Síntiús",
"startedAPoll": "Chuir {username} tús le pobalbhreith.",
"@startedAPoll": {
"type": "String",
@ -2793,5 +2792,17 @@
"removeAdminRights": "Bain cearta riarthóra",
"powerLevel": "Leibhéal cumhachta",
"setPowerLevelDescription": "Sainmhíníonn leibhéil chumhachta cad a cheadaítear do bhall a dhéanamh sa seomra seo agus is gnách go mbíonn siad idir 0 agus 100.",
"owner": "Úinéir"
}
"owner": "Úinéir",
"mute": "Balbhaigh",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Cruthaigh comhrá nua",
"reset": "Athshocraigh",
"supportFluffyChat": "Tacaigh le FluffyChat",
"support": "Tacaíocht",
"fluffyChatSupportBannerMessage": "Tá DO chabhair ag teastáil ó FluffyChat!\n❤\nBeidh FluffyChat saor in aisce i gcónaí, ach cosnaíonn forbairt agus óstáil airgead fós.\nBraitheann todhchaí an tionscadail ar thacaíocht ó dhaoine cosúil leatsa.",
"skipSupportingFluffyChat": "Seachain tacú le FluffyChat",
"iDoNotWantToSupport": "Nílim ag iarraidh tacú leis",
"iAlreadySupportFluffyChat": "Tacaím le FluffyChat cheana féin"
}

View file

@ -2672,7 +2672,6 @@
}
}
},
"donate": "Doar",
"spaceMemberOf": "Participa no espazo {spaces}",
"@spaceMemberOf": {
"type": "String",
@ -2787,5 +2786,19 @@
"removeAdminRights": "Retirar permiso de administración",
"powerLevel": "Nivel responsabilidade",
"setPowerLevelDescription": "Os niveis de responsabilidade definen o que pode facer unha usuaria na sala, normalmente varía de 0 a 100.",
"owner": "Propietaria"
}
"owner": "Propietaria",
"mute": "Acalar",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Crear nova conversa",
"reset": "Restablecer",
"supportFluffyChat": "Apoia a FluffyChat",
"support": "Axuda",
"fluffyChatSupportBannerMessage": "FluffyChat precisa a TÚA axuda!\n❤\nFluffyChat vai ser sempre gratuíta, pero o desenvolvemento e a hospedaxe costan cartos.\nO futuro do proxecto depende da axuda de persoas coma ti.",
"skipSupportingFluffyChat": "Omitir apoiar a FluffyChat",
"iDoNotWantToSupport": "Non quero axudar",
"iAlreadySupportFluffyChat": "Xa apoiei a FluffyChat",
"setLowPriority": "Establecer prioridade baixa",
"unsetLowPriority": "Non establecer prioridade baixa"
}

View file

@ -2692,7 +2692,6 @@
}
}
},
"donate": "Doniraj",
"startedAPoll": "{username} je pokrenuo/la anketu.",
"@startedAPoll": {
"type": "String",

View file

@ -2691,7 +2691,6 @@
}
}
},
"donate": "Donasi",
"startedAPoll": "{username} memulai polling.",
"@startedAPoll": {
"type": "String",

View file

@ -1392,7 +1392,6 @@
}
}
},
"donate": "Mudd tawsa",
"startedAPoll": "{username}yessenker tafrent.",
"@startedAPoll": {
"type": "String",

View file

@ -2673,7 +2673,6 @@
}
}
},
"donate": "Ziedot",
"startedAPoll": "{username} uzsāka aptauju.",
"@startedAPoll": {
"type": "String",

View file

@ -2540,7 +2540,6 @@
}
}
},
"donate": "Doner",
"banUserDescription": "Brukeren vil bli utestengt fra chatten og vil ikke kunne delta i chatten igjen før utestengelsen er opphevet.",
"unbanUserDescription": "Brukeren vil kunne gå inn i chatten igjen hvis vedkommende prøver.",
"kickUserDescription": "Brukeren blir kastet ut av chatten, men ikke utestengt. I offentlige chatter kan brukeren bli med på nytt når som helst.",
@ -2794,5 +2793,19 @@
"removeAdminRights": "Fjern admin-rettigheter",
"powerLevel": "Styrkenivå",
"setPowerLevelDescription": "Styrkenivåer definerer hva et medlem har lov til å gjøre i dette rommet, og varierer vanligvis mellom 0 og 100.",
"owner": "Eier"
}
"owner": "Eier",
"mute": "Demp",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Opprett ny chat",
"reset": "Nullstill",
"supportFluffyChat": "Støtt FluffyChat",
"support": "Støtte",
"fluffyChatSupportBannerMessage": "FluffyChat trenger DIN hjelp!\n❤\nFluffyChat vil alltid være gratis, men utvikling og drift koster fortsatt penger. \nProsjektets fremtid avhenger av støtte fra folk som deg.",
"skipSupportingFluffyChat": "Hopp over støtte til FluffyChat",
"iDoNotWantToSupport": "Jeg ønsker ikke å støtte",
"iAlreadySupportFluffyChat": "Jeg støtter allerede FluffyChat",
"setLowPriority": "Sett lav prioritet",
"unsetLowPriority": "Fjern lav prioritet"
}

View file

@ -2383,7 +2383,7 @@
"newPassword": "Nieuw wachtwoord",
"pleaseChooseAStrongPassword": "Kies a.j.b. een sterk wachtwoord",
"select": "Selecteer",
"leaveEmptyToClearStatus": "Laat leeg om je status te resetten.",
"leaveEmptyToClearStatus": "Laat leeg om jouw status te herstellen.",
"addChatOrSubSpace": "Voeg chat of subspace toe",
"pleaseEnterYourCurrentPassword": "Vul je huidige wachtwoord in",
"passwordsDoNotMatch": "Wachtwoorden komen niet overeen",
@ -2661,7 +2661,6 @@
"longPressToRecordVoiceMessage": "Lang drukken om een spraakbericht op te nemen.",
"pause": "Pauzeer",
"resume": "Hervat",
"donate": "Doneer",
"removeFromSpaceDescription": "De chat zal worden verwijderd uit de space, maar blijft in je chats.",
"countChats": "{chats} chats",
"@countChats": {
@ -2786,5 +2785,19 @@
"removeAdminRights": "Verwijder beheerder-rechten",
"powerLevel": "Rechtenniveau",
"setPowerLevelDescription": "Rechtenniveau's definiëren wat een persoon mag doen in deze chat en variëren meestal tussen 0 en 100.",
"owner": "Eigenaar"
}
"owner": "Eigenaar",
"mute": "Demp",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "Creëer nieuw chat",
"reset": "Herstellen",
"fluffyChatSupportBannerMessage": "Fluffy Chat heeft JOUW hulp nodig. _\n❤\nFluffyChat zal altijd gratis zijn, maar ontwikkeling en hosting kost geld.\nDe toekomst van het project hangt af van steun van mensen zoals jij.",
"skipSupportingFluffyChat": "FluffyChat steunen overslaan",
"iDoNotWantToSupport": "Ik wil niet ondersteunen",
"iAlreadySupportFluffyChat": "Ik steun FluffyChat al",
"supportFluffyChat": "FluffyChat steunen",
"support": "Steunen",
"setLowPriority": "Lage prioriteit instellen",
"unsetLowPriority": "Lage prioriteit uitschakelen"
}

View file

@ -68,7 +68,7 @@
"type": "String",
"placeholders": {}
},
"areGuestsAllowedToJoin": "Czy użytkownicy-goście mogą dołączyć",
"areGuestsAllowedToJoin": "Czy goście mogą dołączyć?",
"@areGuestsAllowedToJoin": {
"type": "String",
"placeholders": {}
@ -330,7 +330,7 @@
"type": "String",
"placeholders": {}
},
"chatBackupDescription": "Twoje stare wiadomości są zabezpieczone kluczem odzyskiwania. Uważaj żeby go nie zgubić.",
"chatBackupDescription": "Twoje wiadomości są zabezpieczone kluczem odzyskiwania. Uważaj żeby go nie zgubić.",
"@chatBackupDescription": {
"type": "String",
"placeholders": {}
@ -351,7 +351,6 @@
"placeholders": {}
},
"clearArchive": "Wyczyść archiwum",
"@clearArchive": {},
"close": "Zamknij",
"@close": {
"type": "String",
@ -1455,9 +1454,7 @@
"placeholders": {}
},
"addAccount": "Dodaj konto",
"@addAccount": {},
"serverRequiresEmail": "Ten serwer wymaga potwierdzenia Twojego adresu email w celu rejestracji.",
"@serverRequiresEmail": {},
"or": "Lub",
"@or": {
"type": "String",
@ -1547,7 +1544,6 @@
"placeholders": {}
},
"enableMultiAccounts": "(BETA) Włącza obsługę wielu kont na tym urządzeniu",
"@enableMultiAccounts": {},
"pickImage": "Wybierz obraz",
"@pickImage": {
"type": "String",
@ -1564,14 +1560,12 @@
"placeholders": {}
},
"link": "Link",
"@link": {},
"roomHasBeenUpgraded": "Pokój został zaktualizowany",
"@roomHasBeenUpgraded": {
"type": "String",
"placeholders": {}
},
"repeatPassword": "Powtórz hasło",
"@repeatPassword": {},
"all": "Wszystkie",
"@all": {
"type": "String",
@ -1588,7 +1582,6 @@
"placeholders": {}
},
"sendOnEnter": "Wyślij enterem",
"@sendOnEnter": {},
"autoplayImages": "Automatycznie odtwarzaj animowane naklejki i emotikony",
"@autoplayImages": {
"type": "String",
@ -1609,14 +1602,12 @@
"placeholders": {}
},
"homeserver": "Adres serwera",
"@homeserver": {},
"locationDisabledNotice": "Usługi lokalizacji są wyłączone. Proszę włącz je aby móc udostępnić swoją lokalizację.",
"@locationDisabledNotice": {
"type": "String",
"placeholders": {}
},
"oneClientLoggedOut": "Jedno z twoich urządzeń zostało wylogowane",
"@oneClientLoggedOut": {},
"privacy": "Prywatność",
"@privacy": {
"type": "String",
@ -1710,7 +1701,6 @@
"placeholders": {}
},
"scanQrCode": "Skanuj kod QR",
"@scanQrCode": {},
"createNewSpace": "Nowa przestrzeń",
"@createNewSpace": {
"type": "String",
@ -1722,7 +1712,6 @@
"placeholders": {}
},
"addToSpace": "Dodaj do przestrzeni",
"@addToSpace": {},
"changeYourAvatar": "Zmień swoje zdjęcie",
"@changeYourAvatar": {
"type": "String",
@ -1783,7 +1772,7 @@
"type": "String",
"placeholders": {}
},
"tooManyRequestsWarning": "Zbyt wiele żądań. Proszę spróbować później.",
"tooManyRequestsWarning": "Zbyt wiele żądań. Proszę spróbować później!",
"@tooManyRequestsWarning": {
"type": "String",
"placeholders": {}
@ -1799,9 +1788,7 @@
"placeholders": {}
},
"messageInfo": "Informacje o wiadomości",
"@messageInfo": {},
"time": "Czas",
"@time": {},
"messageType": "Rodzaj wiadomości",
"@messageType": {},
"waitingPartnerAcceptRequest": "Oczekiwanie na zaakceptowanie prośby przez drugą osobę…",
@ -1830,7 +1817,6 @@
"placeholders": {}
},
"removeFromSpace": "Usuń z przestrzeni",
"@removeFromSpace": {},
"extremeOffensive": "Bardzo obraźliwe",
"@extremeOffensive": {
"type": "String",
@ -1856,9 +1842,7 @@
"placeholders": {}
},
"recoveryKey": "Klucz odzyskiwania",
"@recoveryKey": {},
"recoveryKeyLost": "Utracono klucz odzyskiwania?",
"@recoveryKeyLost": {},
"sentCallInformations": "{senderName} wysłał/-a informacje o połączeniu",
"@sentCallInformations": {
"type": "String",
@ -1889,15 +1873,11 @@
"placeholders": {}
},
"sender": "Nadawca",
"@sender": {},
"openGallery": "Otwórz galerię",
"@openGallery": {},
"start": "Start",
"@start": {},
"pleaseEnterRecoveryKeyDescription": "Aby odblokować wcześniejsze wiadomości, wprowadź swój klucz odzyskiwania, który został wygenerowany w poprzedniej sesji. Twój klucz odzyskiwania NIE jest Twoim hasłem.",
"@pleaseEnterRecoveryKeyDescription": {},
"hydrate": "Przywracanie z pliku kopii zapasowej",
"@hydrate": {},
"noMatrixServer": "{server1} nie jest serwerem Matriksa, czy chcesz zamiast niego użyć {server2}?",
"@noMatrixServer": {
"type": "String",
@ -1935,7 +1915,6 @@
"placeholders": {}
},
"unverified": "Niezweryfikowane",
"@unverified": {},
"wipeChatBackup": "Wymazać kopię zapasową czatu, aby utworzyć nowy klucz odzyskiwania?",
"@wipeChatBackup": {
"type": "String",
@ -1947,11 +1926,8 @@
"placeholders": {}
},
"reportUser": "Zgłoś użytkownika",
"@reportUser": {},
"dismiss": "Odrzuć",
"@dismiss": {},
"markAsRead": "Oznacz jako przeczytane",
"@markAsRead": {},
"passphraseOrKey": "fraza dostępu lub klucz odzyskiwania",
"@passphraseOrKey": {
"type": "String",
@ -1969,38 +1945,26 @@
}
},
"commandHint_markasdm": "Oznacz jako pokój wiadomości bezpośrednich dla podanego Matrix ID",
"@commandHint_markasdm": {},
"confirmMatrixId": "Potwierdź swój identyfikator Matrix w celu usunięcia konta.",
"@confirmMatrixId": {},
"commandHint_markasgroup": "Oznacz jako grupę",
"@commandHint_markasgroup": {},
"noEmotesFound": "Nie znaleziono żadnych emotikonów. 😕",
"@noEmotesFound": {
"type": "String",
"placeholders": {}
},
"dehydrate": "Eksportuj sesję i wymaż urządzenie",
"@dehydrate": {},
"dehydrateWarning": "Tego nie można cofnąć. Upewnij się, że plik kopii zapasowej jest bezpiecznie przechowywany.",
"@dehydrateWarning": {},
"unsupportedAndroidVersion": "Nieobsługiwana wersja systemu Android",
"@unsupportedAndroidVersion": {},
"pinMessage": "Przypnij do pokoju",
"@pinMessage": {},
"confirmEventUnpin": "Czy na pewno chcesz trwale odpiąć wydarzenie?",
"@confirmEventUnpin": {},
"youJoinedTheChat": "Dołączono do czatu",
"@youJoinedTheChat": {},
"user": "Użytkownik",
"@user": {},
"custom": "Własne",
"@custom": {},
"newGroup": "Nowa grupa",
"@newGroup": {},
"newSpace": "Nowa przestrzeń",
"@newSpace": {},
"fileIsTooBigForServer": "Nie udało się wysłać! Ten serwer obsługuje załączniki o maksymalnej wielkości {max}.",
"@fileIsTooBigForServer": {},
"youBannedUser": "Zbanowałeś/-aś {user}",
"@youBannedUser": {
"placeholders": {
@ -2010,7 +1974,6 @@
}
},
"users": "Użytkownicy",
"@users": {},
"countFiles": "{count} plików",
"@countFiles": {
"placeholders": {
@ -2022,27 +1985,19 @@
"noOtherDevicesFound": "Nie znaleziono innych urządzeń",
"@noOtherDevicesFound": {},
"encryptThisChat": "Zaszyfruj ten czat",
"@encryptThisChat": {},
"disableEncryptionWarning": "Ze względów bezpieczeństwa nie można wyłączyć szyfrowania w czacie, w którym zostało ono wcześniej włączone.",
"@disableEncryptionWarning": {},
"deviceKeys": "Klucze urządzenia:",
"@deviceKeys": {},
"saveKeyManuallyDescription": "Zapisz ten klucz ręcznie, uruchamiając systemowe okno dialogowe udostępniania lub schowek.",
"@saveKeyManuallyDescription": {},
"screenSharingTitle": "udostępnianie ekranu",
"@screenSharingTitle": {},
"noKeyForThisMessage": "Może się to zdarzyć, jeśli wiadomość została wysłana przed zalogowaniem się na to konto na tym urządzeniu.\n\nMożliwe jest również, że nadawca zablokował Twoje urządzenie lub coś poszło nie tak z połączeniem internetowym.\n\nJesteś w stanie odczytać wiadomość na innej sesji? W takim razie możesz przenieść z niej wiadomość! Wejdź w Ustawienia > Urządzenia i upewnij się, że Twoje urządzenia zweryfikowały się wzajemnie. Gdy następnym razem otworzysz pokój i obie sesje będą włączone, klucze zostaną przekazane automatycznie.\n\nNie chcesz stracić kluczy podczas wylogowania lub przełączania urządzeń? Upewnij się, że w ustawieniach masz włączoną kopię zapasową czatu.",
"@noKeyForThisMessage": {},
"sorryThatsNotPossible": "Przepraszamy... to nie jest możliwe",
"@sorryThatsNotPossible": {},
"noBackupWarning": "Uwaga! Bez włączenia kopii zapasowej czatu, stracisz dostęp do swoich zaszyfrowanych wiadomości. Zaleca się włączenie kopii zapasowej czatu przed wylogowaniem.",
"@noBackupWarning": {},
"commandHint_googly": "Wyślij kręcące się oczka",
"@commandHint_googly": {},
"storeInAndroidKeystore": "Przechowaj w Android KeyStore",
"@storeInAndroidKeystore": {},
"commandHint_cuddle": "Wyślij przytulenie",
"@commandHint_cuddle": {},
"googlyEyesContent": "{senderName} wysyła ci kręcące się oczka",
"@googlyEyesContent": {
"type": "String",
@ -2071,7 +2026,6 @@
}
},
"commandHint_hug": "Wyślij uścisk",
"@commandHint_hug": {},
"reactedWith": "{sender} zareagował/-a z {reaction}",
"@reactedWith": {
"type": "String",
@ -2085,21 +2039,14 @@
}
},
"emojis": "Emoji",
"@emojis": {},
"placeCall": "Zadzwoń",
"@placeCall": {},
"voiceCall": "Połączenie głosowe",
"@voiceCall": {},
"unsupportedAndroidVersionLong": "Ta funkcja wymaga nowszej wersji systemu Android. Sprawdź aktualizacje lub wsparcie Lineage OS.",
"@unsupportedAndroidVersionLong": {},
"videoCallsBetaWarning": "Należy pamiętać, że połączenia wideo są obecnie w fazie beta. Mogą nie działać zgodnie z oczekiwaniami lub nie działać w ogóle na wszystkich platformach.",
"@videoCallsBetaWarning": {},
"experimentalVideoCalls": "Eksperymentalne połączenia wideo",
"@experimentalVideoCalls": {},
"youRejectedTheInvitation": "Odrzucono zaproszenie",
"@youRejectedTheInvitation": {},
"youAcceptedTheInvitation": "👍 Zaakceptowałeś/-aś zaproszenie",
"@youAcceptedTheInvitation": {},
"youHaveWithdrawnTheInvitationFor": "Wycofano zaproszenie dla {user}",
"@youHaveWithdrawnTheInvitationFor": {
"placeholders": {
@ -2149,15 +2096,10 @@
}
},
"unlockOldMessages": "Odblokuj stare wiadomości",
"@unlockOldMessages": {},
"storeInSecureStorageDescription": "Przechowaj klucz odzyskiwania w bezpiecznym magazynie tego urządzenia.",
"@storeInSecureStorageDescription": {},
"storeInAppleKeyChain": "Przechowaj w pęku kluczy Apple",
"@storeInAppleKeyChain": {},
"storeSecurlyOnThisDevice": "Przechowaj bezpiecznie na tym urządzeniu",
"@storeSecurlyOnThisDevice": {},
"foregroundServiceRunning": "To powiadomienie pojawia się, gdy usługa w tle jest uruchomiona.",
"@foregroundServiceRunning": {},
"screenSharingDetail": "Udostępniasz swój ekran w FluffyChat",
"@screenSharingDetail": {},
"whyIsThisMessageEncrypted": "Dlaczego nie można odczytać tej wiadomości?",
@ -2165,7 +2107,6 @@
"allSpaces": "Wszystkie przestrzenie",
"@allSpaces": {},
"doNotShowAgain": "Nie pokazuj ponownie",
"@doNotShowAgain": {},
"wasDirectChatDisplayName": "Pusty czat (wcześniej {oldDisplayName})",
"@wasDirectChatDisplayName": {
"type": "String",
@ -2176,9 +2117,7 @@
}
},
"newSpaceDescription": "Przestrzenie pozwalają na konsolidację czatów i budowanie prywatnych lub publicznych społeczności.",
"@newSpaceDescription": {},
"reopenChat": "Otwórz ponownie czat",
"@reopenChat": {},
"fileHasBeenSavedAt": "Plik został zapisany w ścieżce {path}",
"@fileHasBeenSavedAt": {
"type": "String",
@ -2189,39 +2128,24 @@
}
},
"addToBundle": "Dodaj do pakietu",
"@addToBundle": {},
"bundleName": "Nazwa pakietu",
"@bundleName": {},
"editBundlesForAccount": "Edytuj pakiety dla tego konta",
"@editBundlesForAccount": {},
"jumpToLastReadMessage": "Przejdź do ostatnio przeczytanej wiadomości",
"@jumpToLastReadMessage": {},
"readUpToHere": "Czytaj do tego miejsca",
"@readUpToHere": {},
"jump": "Przejdź",
"@jump": {},
"removeFromBundle": "Usuń z tego pakietu",
"@removeFromBundle": {},
"openLinkInBrowser": "Otwórz link w przeglądarce",
"@openLinkInBrowser": {},
"reportErrorDescription": "😭 O nie! Coś poszło nie tak. Spróbuj ponownie później. Jeśli chcesz, możesz zgłosić ten błąd autorom programu.",
"@reportErrorDescription": {},
"setColorTheme": "Ustal styl kolorów:",
"@setColorTheme": {},
"tryAgain": "Spróbuj ponownie",
"@tryAgain": {},
"messagesStyle": "Wiadomości:",
"@messagesStyle": {},
"chatDescription": "Opis czatu",
"@chatDescription": {},
"invalidServerName": "Nieprawidłowa nazwa serwera",
"@invalidServerName": {},
"chatPermissions": "Uprawnienia w czacie",
"@chatPermissions": {},
"setChatDescription": "Ustaw opis czatu",
"@setChatDescription": {},
"importFromZipFile": "Zaimportuj z pliku .zip",
"@importFromZipFile": {},
"redactedBy": "Usunięte przez {username}",
"@redactedBy": {
"type": "String",
@ -2232,7 +2156,6 @@
}
},
"optionalRedactReason": "(Opcjonalnie) Powód usunięcia tej wiadomości...",
"@optionalRedactReason": {},
"exportEmotePack": "Eksportuj pakiet emotikonów jako .zip",
"@exportEmotePack": {},
"redactedByBecause": "Usunięte przez {username} z powodu „{reason}”",
@ -2248,13 +2171,10 @@
}
},
"redactMessageDescription": "Wiadomość zostanie usunięta u wszystkich uczestników tej rozmowy. Tego nie można cofnąć.",
"@redactMessageDescription": {},
"invalidInput": "Nieprawidłowe dane!",
"@invalidInput": {},
"report": "zgłoś",
"@report": {},
"directChat": "Czat bezpośredni",
"@directChat": {},
"wrongPinEntered": "Wprowadzono nieprawidłowy kod PIN! Spróbuj ponownie za {seconds} sekund...",
"@wrongPinEntered": {
"type": "String",
@ -2265,19 +2185,14 @@
}
},
"sendTypingNotifications": "Wysyłaj powiadomienie o pisaniu",
"@sendTypingNotifications": {},
"inviteGroupChat": "📨 Zaproszenie do rozmowy grupowej",
"@inviteGroupChat": {},
"importEmojis": "Zaimportuj emotikony",
"@importEmojis": {},
"noChatDescriptionYet": "Nie utworzono jeszcze opisu czatu.",
"@noChatDescriptionYet": {},
"notAnImage": "To nie jest plik obrazu.",
"@notAnImage": {},
"chatDescriptionHasBeenChanged": "Zmieniono opis czatu",
"@chatDescriptionHasBeenChanged": {},
"shareInviteLink": "Udostępnij link z zaproszeniem",
"@shareInviteLink": {},
"emoteKeyboardNoRecents": "Tutaj pojawiają się ostatnio używane emotikony...",
"@emoteKeyboardNoRecents": {
"type": "String",
@ -2286,47 +2201,29 @@
"replace": "Zastąp",
"@replace": {},
"createGroup": "Utwórz grupę",
"@createGroup": {},
"importNow": "Zaimportuj",
"@importNow": {},
"invite": "Zaproszenie",
"@invite": {},
"block": "Zablokuj",
"@block": {},
"blockedUsers": "Zablokowani użytkownicy",
"@blockedUsers": {},
"blockUsername": "Ignoruj użytkownika",
"@blockUsername": {},
"transparent": "Przezroczystość",
"@transparent": {},
"select": "Zaznacz",
"@select": {},
"calls": "Połączenia",
"@calls": {},
"overview": "Podsumowanie",
"@overview": {},
"learnMore": "Dowiedz się więcej",
"@learnMore": {},
"groupName": "Nazwa grupy",
"@groupName": {},
"newPassword": "Nowe hasło",
"@newPassword": {},
"thisDevice": "To urządzenie:",
"@thisDevice": {},
"gallery": "Galeria",
"@gallery": {},
"files": "Pliki",
"@files": {},
"discover": "Odkrywaj",
"@discover": {},
"restricted": "Ograniczone",
"@restricted": {},
"nothingFound": "Nic nie odnaleziono...",
"@nothingFound": {},
"stickers": "Naklejki",
"@stickers": {},
"noChatsFoundHere": "Nie jeszcze ma żadnych czatów. Wciśnij poniższy przycisk, aby rozpocząć nowy czat. ⤵️",
"@noChatsFoundHere": {},
"hideRedactedMessagesBody": "Usunięte wiadomości nie będą widoczne w czacie.",
"@hideRedactedMessagesBody": {},
"passwordRecoverySettings": "Ustawienia odzyskiwania hasła",
@ -2340,9 +2237,7 @@
}
},
"archiveRoomDescription": "Czat zostanie przeniesiony do archiwum. Pozostali użytkownicy będą mogli zobaczyć, że opuściłeś/-aś czat.",
"@archiveRoomDescription": {},
"yourGlobalUserIdIs": "Twój globalny identyfikator to: ",
"@yourGlobalUserIdIs": {},
"canceledKeyVerification": "{sender} anulował/-a weryfikację kluczy",
"@canceledKeyVerification": {
"type": "String",
@ -2362,27 +2257,17 @@
}
},
"commandHint_ignore": "Ignoruj podany identyfikator Matrix",
"@commandHint_ignore": {},
"commandHint_unignore": "Przestań ignorować podany identyfikator Matrix",
"@commandHint_unignore": {},
"changeTheChatPermissions": "Zmień uprawnienia w czacie",
"@changeTheChatPermissions": {},
"changelog": "Lista zmian",
"@changelog": {},
"inviteOtherUsers": "Zaproś innych użytkowników do tego czatu",
"@inviteOtherUsers": {},
"blockListDescription": "Możesz zablokować uciążliwych użytkowników. Nie będziesz widzieć ani otrzymywać wiadomości oraz zaproszeń od nich.",
"@blockListDescription": {},
"formattedMessages": "Sformatowane wiadomości",
"@formattedMessages": {},
"banUserDescription": "Użytkownik zostanie zbanowany w czacie i nie będzie w stanie dołączyć do czatu do momentu odbanowania.",
"@banUserDescription": {},
"sendReadReceipts": "Wysyłaj powiadomienia o przeczytaniu wiadomości",
"@sendReadReceipts": {},
"verifyOtherDevice": "🔐 Zweryfikuj inne urządzenie",
"@verifyOtherDevice": {},
"prepareSendingAttachment": "Przygotuj wysyłanie załącznika...",
"@prepareSendingAttachment": {},
"acceptedKeyVerification": "{sender} zaakceptował/-a weryfikację kluczy",
"@acceptedKeyVerification": {
"type": "String",
@ -2393,7 +2278,6 @@
}
},
"databaseMigrationTitle": "Baza danych jest zoptymalizowana",
"@databaseMigrationTitle": {},
"hasKnocked": "{user} zapukał-/a",
"@hasKnocked": {
"placeholders": {
@ -2412,7 +2296,6 @@
}
},
"changeTheVisibilityOfChatHistory": "Zmień widoczność historii czatu",
"@changeTheVisibilityOfChatHistory": {},
"sendImages": "Wyślij {count} obrazów",
"@sendImages": {
"type": "String",
@ -2446,11 +2329,8 @@
}
},
"sendTypingNotificationsDescription": "Pozostali uczestnicy czatu mogą widzieć kiedy piszesz nową wiadomość.",
"@sendTypingNotificationsDescription": {},
"sendReadReceiptsDescription": "Pozostali uczestnicy czatu mogą widzieć zobaczyć kiedy przeczytasz wiadomość.",
"@sendReadReceiptsDescription": {},
"noDatabaseEncryption": "Szyfrowanie bazy danych nie jest obsługiwane na tej platformie",
"@noDatabaseEncryption": {},
"thereAreCountUsersBlocked": "Obecnie jest {count} zablokowanych użytkowników.",
"@thereAreCountUsersBlocked": {
"type": "String",
@ -2462,7 +2342,6 @@
"space": {}
},
"markAsUnread": "Oznacz jako nieprzeczytane",
"@markAsUnread": {},
"moderatorLevel": "{level} - Moderator",
"@moderatorLevel": {
"type": "String",
@ -2482,25 +2361,16 @@
}
},
"sendRoomNotifications": "Wysyłaj powiadomienia @room",
"@sendRoomNotifications": {},
"chatPermissionsDescription": "Ustal jaki poziom uprawnień jest wymagany dla określonych czynności w czacie. Poziomy uprawnień 0, 50 i 100 zwykle dotyczą odpowiednio użytkowników, moderatorów i administratorów, ale możliwa jest dowolna gradacja.",
"@chatPermissionsDescription": {},
"changeTheCanonicalRoomAlias": "Zmień główny publiczny czatu",
"@changeTheCanonicalRoomAlias": {},
"changeTheDescriptionOfTheGroup": "Zmień opis czatu",
"@changeTheDescriptionOfTheGroup": {},
"sendCanceled": "Anulowano wysyłanie",
"@sendCanceled": {},
"doesNotSeemToBeAValidHomeserver": "Wydaje się nie być kompatybilnym serwerem domowym. Niepoprawny adres URL?",
"@doesNotSeemToBeAValidHomeserver": {},
"calculatingFileSize": "Obliczanie rozmiaru pliku...",
"@calculatingFileSize": {},
"sendingAttachment": "Wysyłanie załącznika...",
"@sendingAttachment": {},
"generatingVideoThumbnail": "Generowanie podglądu filmu...",
"@generatingVideoThumbnail": {},
"compressVideo": "Kompresowanie filmu...",
"@compressVideo": {},
"sendingAttachmentCountOfCount": "Wysyłanie {index} z {length} części załącznika...",
"@sendingAttachmentCountOfCount": {
"type": "integer",
@ -2514,27 +2384,16 @@
}
},
"welcomeText": "No cześć! 👋 Tutaj FluffyChat. Możesz zapisać się do dowolnego serwera domowego, kompatybilnego z https://matrix.org i rozmawiać ze wszystkimi. To duża zdecentralizowana sieć czatów!",
"@welcomeText": {},
"blur": "Rozmazanie:",
"@blur": {},
"opacity": "Przezroczystość:",
"@opacity": {},
"setWallpaper": "Ustaw tapetę",
"@setWallpaper": {},
"manageAccount": "Zarządzaj kontem",
"@manageAccount": {},
"noContactInformationProvided": "Serwer nie dostarcza żadnych poprawnych danych kontaktowych",
"@noContactInformationProvided": {},
"contactServerAdmin": "Skontaktuj się z administratorem serwera",
"@contactServerAdmin": {},
"compress": "Skompresuj",
"@compress": {},
"pleaseFillOut": "Proszę wypełnić",
"@pleaseFillOut": {},
"invalidUrl": "Niepoprawny adres URL",
"@invalidUrl": {},
"unableToJoinChat": "Nie udało się dołączyć do czatu. Może druga strona zakończyła już rozmowę?",
"@unableToJoinChat": {},
"unableToJoinChat": "Nie udało się dołączyć do czatu. Rozmowa mogła zostać zakończona przez drugą stronę.",
"aboutHomeserver": "O {homeserver}",
"@aboutHomeserver": {
"type": "String",
@ -2554,9 +2413,7 @@
}
},
"continueText": "Kontynuuj",
"@continueText": {},
"noticeChatBackupDeviceVerification": "Uwaga: Urządzenia dodane do kopii zapasowej czatu automatycznie zostają zweryfikowane.",
"@noticeChatBackupDeviceVerification": {},
"serverLimitReached": "Osiągnięto limit serwera. Czekanie {seconds} sekund...",
"@serverLimitReached": {
"type": "integer",
@ -2567,35 +2424,21 @@
}
},
"oneOfYourDevicesIsNotVerified": "Jedno z Twoich urządzeń nie jest zweryfikowane",
"@oneOfYourDevicesIsNotVerified": {},
"supportPage": "Strona obsługi użytkownika",
"@supportPage": {},
"serverInformation": "Informacje o serwerze:",
"@serverInformation": {},
"name": "Nazwa",
"@name": {},
"website": "Strona internetowa",
"@website": {},
"contactServerSecurity": "Skontaktuj się z działem bezpieczeństwa serwera",
"@contactServerSecurity": {},
"version": "Wersja",
"@version": {},
"accessAndVisibility": "Dostęp i widoczność",
"@accessAndVisibility": {},
"customEmojisAndStickers": "Własne emotikony i naklejki",
"@customEmojisAndStickers": {},
"globalChatId": "Globalny identyfikator czatu",
"@globalChatId": {},
"accessAndVisibilityDescription": "Kto może dołączyć do tego czatu i w jaki sposób można ten czat znaleźć.",
"@accessAndVisibilityDescription": {},
"customEmojisAndStickersBody": "Dodaj lub podziel się własnymi emotikonami i naklejkami, które będą mogły być użyte w dowolnym czacie.",
"@customEmojisAndStickersBody": {},
"hideRedactedMessages": "Nie pokazuj usuniętych wiadomości",
"@hideRedactedMessages": {},
"hideInvalidOrUnknownMessageFormats": "Ukryj niepoprawne lub nieznane typy wiadomości",
"@hideInvalidOrUnknownMessageFormats": {},
"pushNotificationsNotAvailable": "Powiadomienia push nie są dostępne",
"@pushNotificationsNotAvailable": {},
"noUsersFoundWithQuery": "Niestety nie udało się nikogo znaleźć poprzez \"{query}\". Proszę sprawdzić, czy w zapytaniu nie ma literówek.",
"@noUsersFoundWithQuery": {
"type": "String",
@ -2615,46 +2458,30 @@
}
},
"publicSpaces": "Przestrzenie publiczne",
"@publicSpaces": {},
"searchMore": "Szukaj dalej...",
"@searchMore": {},
"formattedMessagesDescription": "Używaj Markdown do wyświetlania dodatkowego formatowania w wiadomościach, jak np. pogrubienie tekstu.",
"@formattedMessagesDescription": {},
"verifyOtherUser": "🔐 Zweryfikuj innego użytkownika",
"@verifyOtherUser": {},
"knockRestricted": "Pukanie jest ograniczone",
"@knockRestricted": {},
"appLockDescription": "Zablokuj aplikację pinem kiedy nie jest używana",
"@appLockDescription": {},
"knocking": "Pukanie",
"@knocking": {},
"pleaseChooseAStrongPassword": "Proszę wybrać silne hasło",
"@pleaseChooseAStrongPassword": {},
"usersMustKnock": "Użytkownicy muszą zapukać",
"@usersMustKnock": {},
"noOneCanJoin": "Nikt nie może dołączyć",
"@noOneCanJoin": {},
"alwaysUse24HourFormat": "false",
"@alwaysUse24HourFormat": {
"description": "Set to true to always display time of day in 24 hour format."
},
"swipeRightToLeftToReply": "Przeciągnij w lewo, by odpowiedzieć",
"@swipeRightToLeftToReply": {},
"presencesToggle": "Pokazuj zmiany statusów innych użytkowników",
"@presencesToggle": {
"type": "String",
"placeholders": {}
},
"hidePresences": "Ukryć listę statusów?",
"@hidePresences": {},
"pleaseEnterANumber": "Proszę podać liczbę większą od 0",
"@pleaseEnterANumber": {},
"commandHint_sendraw": "Wyślij zwykły JSON",
"@commandHint_sendraw": {},
"databaseMigrationBody": "Proszę czekać. Może to potrwać chwilę.",
"@databaseMigrationBody": {},
"leaveEmptyToClearStatus": "Pozostaw puste, aby wyczyścić swój status.",
"@leaveEmptyToClearStatus": {},
"sessionLostBody": "Twoja sesja została utracona. Prosimy zgłosić ten błąd autorom aplikacji na {url}. Treść błędu to: {error}",
"@sessionLostBody": {
"type": "String",
@ -2668,7 +2495,6 @@
}
},
"publicChatAddresses": "Adresy publicznych czatów",
"@publicChatAddresses": {},
"createNewAddress": "Utwórz nowy adres",
"@createNewAddress": {},
"completedKeyVerification": "{sender} zakończył/-a weryfikację kluczy",
@ -2681,19 +2507,13 @@
}
},
"italicText": "Kursywa",
"@italicText": {},
"boldText": "Pogrubienie",
"@boldText": {},
"strikeThrough": "Przekreślenie",
"@strikeThrough": {},
"incomingMessages": "Wiadomości przychodzące",
"@incomingMessages": {},
"loginWithMatrixId": "Zaloguj się identyfikatorem Matrix",
"@loginWithMatrixId": {},
"passwordsDoNotMatch": "Hasła się nie zgadzają",
"@passwordsDoNotMatch": {},
"unbanUserDescription": "Użytkownik będzie w stanie dołączyć do czatu ponownie.",
"@unbanUserDescription": {},
"roomUpgradeDescription": "Czat zostanie przeniesiony do pokoju w nowej wersji. Wszyscy użytkownicy zostaną powiadomieni o konieczności dołączenia do nowego czatu. Możesz dowiedzieć się więcej o wersjach pokojów na https://spec.matrix.org/latest/rooms/",
"@roomUpgradeDescription": {},
"requestedKeyVerification": "{sender} poprosił/-a o weryfikację kluczy",
@ -2708,9 +2528,7 @@
"changeGeneralChatSettings": "Zmień ogólne ustawienia czatu",
"@changeGeneralChatSettings": {},
"verifyOtherUserDescription": "Jeśli zweryfikujesz innego użytkownika, możesz być pewien/-na z kim naprawdę piszesz. 💪\n\nKiedy rozpoczniesz weryfikację, Ty i ta druga osoba zobaczycie okienko dialogowe. Zobaczycie w nim serię emotikonów lub numery do porównania.\n\nNajlepiej potwierdzić ich zgodność osobiście lub przez wideorozmowę. 👭",
"@verifyOtherUserDescription": {},
"verifyOtherDeviceDescription": "Jeśli zweryfikujesz inne urządzenie, będzie mogło ono wymienić klucze z dotychczasowym, zwiększając ogólne bezpieczeństwo. 💪 Kiedy rozpoczniesz weryfikację, na obu urządzeniach wyświetli się okno dialogowe. Zobaczysz w nim serię emotikonów lub numery do porównania. Najlepiej mieć oba urządzenia pod ręką przed rozpoczęciem weryfikacji. 🤳",
"@verifyOtherDeviceDescription": {},
"unreadChatsInApp": "{appname}: {unread} nieprzeczytanych czatów",
"@unreadChatsInApp": {
"type": "String",
@ -2724,37 +2542,23 @@
}
},
"addLink": "Dodaj link",
"@addLink": {},
"unread": "Nieprzeczytane",
"@unread": {},
"space": "Przestrzeń",
"@space": {},
"spaces": "Przestrzenie",
"@spaces": {},
"noMoreChatsFound": "Nie znaleziono więcej czatów...",
"@noMoreChatsFound": {},
"removeDevicesDescription": "Nastąpi wylogowanie z tego urządzenia. Nie będziesz w stanie odbierać na nim wiadomości.",
"@removeDevicesDescription": {},
"makeAdminDescription": "Kiedy użytkownik zostanie adminem, nie będziesz móc tego cofnąć, bo nabierze takich samych uprawnień, jak Ty.",
"@makeAdminDescription": {},
"searchChatsRooms": "Szukaj #czatów, @użytkowników...",
"@searchChatsRooms": {},
"createGroupAndInviteUsers": "Utwórz grupę i zaproś użytkowników",
"@createGroupAndInviteUsers": {},
"groupCanBeFoundViaSearch": "Grupa może być znaleziona poprzez wyszukiwanie",
"@groupCanBeFoundViaSearch": {},
"wrongRecoveryKey": "Niestety to nie wygląda na poprawny klucz odzyskiwania.",
"@wrongRecoveryKey": {},
"searchForUsers": "Szukaj @użytkowników...",
"@searchForUsers": {},
"pleaseEnterYourCurrentPassword": "Proszę podać swoje obecne hasło",
"@pleaseEnterYourCurrentPassword": {},
"passwordIsWrong": "Podano niepoprawne hasło",
"@passwordIsWrong": {},
"joinSpace": "Dołącz do przestrzeni",
"@joinSpace": {},
"addChatOrSubSpace": "Dodaj czat lub podprzestrzeń",
"@addChatOrSubSpace": {},
"initAppError": "Wystąpił błąd podczas inicjalizacji aplikacji",
"@initAppError": {},
"searchIn": "Szukaj w czacie \"{chat}\"...",
@ -2767,7 +2571,6 @@
}
},
"kickUserDescription": "Użytkownik jest wyrzucony z czatu, ale nie zbanowany. Do czatu publicznego może dołączyć ponownie.",
"@kickUserDescription": {},
"appWantsToUseForLogin": "Użyj serwera '{server}' do zalogowania się",
"@appWantsToUseForLogin": {
"type": "String",
@ -2778,83 +2581,44 @@
}
},
"appWantsToUseForLoginDescription": "Niniejszym zezwalasz aplikacji i witrynie na udostępnianie informacji o sobie.",
"@appWantsToUseForLoginDescription": {},
"open": "Otwórz",
"@open": {},
"contentNotificationSettings": "Ustawienia powiadomień o treści",
"@contentNotificationSettings": {},
"generalNotificationSettings": "Ogólne ustawienia powiadomień",
"@generalNotificationSettings": {},
"roomNotificationSettings": "Ustawienia powiadomień w pokoju",
"@roomNotificationSettings": {},
"userSpecificNotificationSettings": "Ustawienia powiadomień dla użytkownika",
"@userSpecificNotificationSettings": {},
"otherNotificationSettings": "Inne ustawienia powiadomień",
"@otherNotificationSettings": {},
"notificationRuleContainsUserName": "Włącz dla wiadomości z nazwą użytkownika",
"@notificationRuleContainsUserName": {},
"notificationRuleContainsUserNameDescription": "Włącza powiadomienia kiedy wiadomość zawiera Twoją nazwę użytkownika.",
"@notificationRuleContainsUserNameDescription": {},
"notificationRuleMaster": "Wyłącz wszystkie powiadomienia",
"@notificationRuleMaster": {},
"notificationRuleMasterDescription": "Zastępuje inne reguły i wyłącza wszystkie powiadomienia.",
"@notificationRuleMasterDescription": {},
"notificationRuleSuppressNotices": "Wyłącz dla automatycznych wiadomości",
"@notificationRuleSuppressNotices": {},
"notificationRuleSuppressNoticesDescription": "Wyłącza powiadomienia z automatycznych klientów, takich jak boty.",
"@notificationRuleSuppressNoticesDescription": {},
"notificationRuleInviteForMe": "Włącz dla zaproszeń",
"@notificationRuleInviteForMe": {},
"notificationRuleInviteForMeDescription": "Włącza powiadomienia o zaproszeniach do pokoju.",
"@notificationRuleInviteForMeDescription": {},
"notificationRuleMemberEvent": "Wyłącz dla zmian członkostwa",
"@notificationRuleMemberEvent": {},
"notificationRuleMemberEventDescription": "Wyłącza powiadomienia o zmianach członkostwa w pokoju.",
"@notificationRuleMemberEventDescription": {},
"notificationRuleIsUserMention": "Włącz dla wzmianek",
"@notificationRuleIsUserMention": {},
"notificationRuleIsUserMentionDescription": "Włącza powiadomienia o byciu wzmiankowanym w wiadomości.",
"@notificationRuleIsUserMentionDescription": {},
"notificationRuleContainsDisplayName": "Włącz dla wiadomości z nazwą wyświetlaną",
"@notificationRuleContainsDisplayName": {},
"notificationRuleContainsDisplayNameDescription": "Włącza powiadomienia o wiadomościach zawierających Twoją nazwę wyświetlaną.",
"@notificationRuleContainsDisplayNameDescription": {},
"notificationRuleIsRoomMention": "Włącz dla wzmianek pokoju",
"@notificationRuleIsRoomMention": {},
"notificationRuleIsRoomMentionDescription": "Włącza powiadomienia o wzmiankowaniu całego pokoju.",
"@notificationRuleIsRoomMentionDescription": {},
"notificationRuleRoomnotif": "Włącz dla powiadomień w pokoju",
"@notificationRuleRoomnotif": {},
"notificationRuleRoomnotifDescription": "Włącza powiadomienia o wiadomościach zawierających „@room”.",
"@notificationRuleRoomnotifDescription": {},
"notificationRuleTombstone": "Włącz dla „nagrobków”",
"@notificationRuleTombstone": {},
"notificationRuleTombstoneDescription": "Włącza powiadomienia o komunikatach dezaktywacji pokojów.",
"@notificationRuleTombstoneDescription": {},
"notificationRuleReaction": "Wyłącz dla reakcji",
"@notificationRuleReaction": {},
"notificationRuleReactionDescription": "Wyłącza powiadomienia o reakcjach.",
"@notificationRuleReactionDescription": {},
"notificationRuleSuppressEdits": "Wyłącz dla edycji",
"@notificationRuleSuppressEdits": {},
"notificationRuleSuppressEditsDescription": "Wyłącza powiadomienia o edycjach wiadomości.",
"@notificationRuleSuppressEditsDescription": {},
"notificationRuleCall": "Włącz dla połączeń",
"@notificationRuleCall": {},
"notificationRuleRoomServerAclDescription": "Wyłącza powiadomienia dla list kontroli dostępu (ACL) serwera.",
"@notificationRuleRoomServerAclDescription": {},
"notificationRuleRoomServerAcl": "Wyłącz dla list kontroli dostępu serwera",
"@notificationRuleRoomServerAcl": {},
"notificationRuleEncryptedRoomOneToOne": "Włącz dla szyfrowanych pokojów „jeden na jeden”",
"@notificationRuleEncryptedRoomOneToOne": {},
"notificationRuleCallDescription": "Włącza powiadomienia o przychodzących połączeniach.",
"@notificationRuleCallDescription": {},
"notificationRuleRoomOneToOne": "Włącz dla pokojów „jeden na jeden”",
"@notificationRuleRoomOneToOne": {},
"notificationRuleRoomOneToOneDescription": "Włącza powiadomienia o wiadomościach w pokojach „jeden na jeden” (one-to-one).",
"@notificationRuleRoomOneToOneDescription": {},
"notificationRuleMessage": "Włącz dla wiadomości",
"@notificationRuleMessage": {},
"unknownPushRule": "Nieznana reguła: '{rule}'",
"@unknownPushRule": {
"type": "String",
@ -2865,23 +2629,14 @@
}
},
"notificationRuleEncryptedRoomOneToOneDescription": "Włącza powiadomienia o wiadomościach w szyfrowanych pokojach „jeden na jeden” (one-to-one).",
"@notificationRuleEncryptedRoomOneToOneDescription": {},
"notificationRuleEncrypted": "Włącz dla zaszyfrowanych pokojów",
"@notificationRuleEncrypted": {},
"notificationRuleJitsi": "Włącz dla Jitsi",
"@notificationRuleJitsi": {},
"notificationRuleServerAcl": "Wyłącz dla komunikatów o listach kontroli dostępu serwera",
"@notificationRuleServerAcl": {},
"notificationRuleJitsiDescription": "Włącza powiadomienia o komunikatach widżetów Jitsi.",
"@notificationRuleJitsiDescription": {},
"notificationRuleMessageDescription": "Włącza powiadomienia o ogólnych wiadomościach.",
"@notificationRuleMessageDescription": {},
"notificationRuleEncryptedDescription": "Włącza powiadomienia o wiadomościach w zaszyfrowanych pokojach.",
"@notificationRuleEncryptedDescription": {},
"notificationRuleServerAclDescription": "Wyłącza powiadomienia o komunikatach o listach kontroli dostępu (ACL) serwera.",
"@notificationRuleServerAclDescription": {},
"newChatRequest": "📩 Nowa prośba o czat",
"@newChatRequest": {},
"synchronizingPleaseWaitCounter": " Synchronizowanie… ({percentage}%)",
"@synchronizingPleaseWaitCounter": {
"type": "String",
@ -2894,37 +2649,21 @@
"waitingForServer": "Oczekiwanie na serwer...",
"@waitingForServer": {},
"previous": "Poprzedni",
"@previous": {},
"otherPartyNotLoggedIn": "Druga strona nie jest obecnie zalogowana i dlatego nie może odbierać wiadomości!",
"@otherPartyNotLoggedIn": {},
"deletePushRuleCanNotBeUndone": "Jeśli skasujesz to ustawienie powiadomień, nie będzie się dało tego cofnąć.",
"@deletePushRuleCanNotBeUndone": {},
"more": "Więcej",
"@more": {},
"shareKeysWith": "Udostępnij klucze...",
"@shareKeysWith": {},
"crossVerifiedDevicesIfEnabled": "Urządzenia zweryfikowane krzyżowo, jeśli włączone",
"@crossVerifiedDevicesIfEnabled": {},
"crossVerifiedDevices": "Urządzenia zweryfikowane krzyżowo",
"@crossVerifiedDevices": {},
"takeAPhoto": "Zrób zdjęcie",
"@takeAPhoto": {},
"recordAVideo": "Nagraj film",
"@recordAVideo": {},
"optionalMessage": "(Opcjonalna) wiadomość...",
"@optionalMessage": {},
"verifiedDevicesOnly": "Tylko zweryfikowane urządzenia",
"@verifiedDevicesOnly": {},
"shareKeysWithDescription": "Które urządzenia powinny być zaufane, aby mogły odczytywać Twoje wiadomości w zaszyfrowanych czatach?",
"@shareKeysWithDescription": {},
"allDevices": "Wszystkie urządzenia",
"@allDevices": {},
"notSupportedOnThisDevice": "Niewspierane na tym urządzeniu",
"@notSupportedOnThisDevice": {},
"commandHint_roomupgrade": "Zaktualizuj ten pokój do podanej wersji",
"@commandHint_roomupgrade": {},
"enterNewChat": "Dołącz do nowego czatu",
"@enterNewChat": {},
"countInvited": "{count} zaproszonych",
"@countInvited": {
"type": "String",
@ -2951,21 +2690,13 @@
"ignoreUser": "Ignoruj użytkownika",
"@ignoreUser": {},
"approve": "Zaakceptuj",
"@approve": {},
"youHaveKnocked": "Zapukałeś/-aś",
"@youHaveKnocked": {},
"pleaseWaitUntilInvited": "Proszę zaczekać na zaproszenie przez kogoś z pokoju.",
"@pleaseWaitUntilInvited": {},
"commandHint_logout": "Wyloguj bieżące urządzenie",
"@commandHint_logout": {},
"commandHint_logoutall": "Wyloguj wszystkie aktywne urządzenia",
"@commandHint_logoutall": {},
"displayNavigationRail": "Pokazuj pasek nawigacyjny na urządzeniach mobilnych",
"@displayNavigationRail": {},
"customReaction": "Własna reakcja",
"@customReaction": {},
"moreEvents": "Więcej zdarzeń",
"@moreEvents": {},
"declineInvitation": "Odrzuć zaproszenie",
"@declineInvitation": {}
}

View file

@ -2689,7 +2689,6 @@
}
}
},
"donate": "Doar",
"startedAPoll": "{username} iniciou uma enquete.",
"@startedAPoll": {
"type": "String",

View file

@ -2640,7 +2640,6 @@
}
}
},
"donate": "Пожертвовать",
"startedAPoll": "{username} начал опрос.",
"@startedAPoll": {
"type": "String",

View file

@ -2606,7 +2606,6 @@
}
}
},
"donate": "Donera",
"answerOption": "Svarsalternativ",
"addAnswerOption": "Lägg till svarsalternativ",
"allowMultipleAnswers": "Tillåt flera svar",

File diff suppressed because it is too large Load diff

View file

@ -2690,7 +2690,6 @@
}
}
},
"donate": "Задонатити",
"startedAPoll": "Нове опитування від {username}.",
"@startedAPoll": {
"type": "String",

View file

@ -2598,7 +2598,6 @@
}
}
},
"donate": "Xayriya qilmoq",
"startedAPoll": "{username} sorovnoma boshladi.",
"@startedAPoll": {
"type": "String",

View file

@ -2690,7 +2690,6 @@
}
}
},
"donate": "捐赠",
"startedAPoll": "{username} 启动了投票。",
"@startedAPoll": {
"type": "String",
@ -2787,5 +2786,19 @@
"removeAdminRights": "删除管理员权限",
"powerLevel": "权限级别",
"setPowerLevelDescription": "权限级别定义群成员在这个聊天室中可以做什么,取值范围 0 到 100。",
"owner": "所有者"
}
"owner": "所有者",
"mute": "静音",
"@mute": {
"description": "This should be a very short string because there is not much space in the button!"
},
"createNewChat": "新建聊天",
"reset": "重置",
"supportFluffyChat": "支持 FluffyChat",
"support": "支持",
"fluffyChatSupportBannerMessage": "FluffyChat 需要您的帮助!\n❤\nFluffyChat 将始终免费,但开发和托管仍然要花钱。\n项目的未来仰赖像您这样的人的支持。",
"skipSupportingFluffyChat": "跳过支持 FluffyChar",
"iDoNotWantToSupport": "我不想支持",
"iAlreadySupportFluffyChat": "我已支持 FluffyChat",
"setLowPriority": "设置低优先级",
"unsetLowPriority": "取消设置低优先级"
}

View file

@ -0,0 +1,587 @@
import 'package:flutter/material.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/encryption.dart';
import 'package:matrix/matrix.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/error_reporter.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/localized_exception_extension.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:fluffychat/utils/sync_status_localization.dart';
import 'package:fluffychat/widgets/adaptive_dialogs/show_ok_cancel_alert_dialog.dart';
import 'package:fluffychat/widgets/future_loading_dialog.dart';
import 'package:fluffychat/widgets/layouts/login_scaffold.dart';
import 'package:fluffychat/widgets/matrix.dart';
import '../key_verification/key_verification_dialog.dart';
class BootstrapDialog extends StatefulWidget {
final bool wipe;
const BootstrapDialog({super.key, this.wipe = false});
@override
BootstrapDialogState createState() => BootstrapDialogState();
}
class BootstrapDialogState extends State<BootstrapDialog> {
final TextEditingController _recoveryKeyTextEditingController =
TextEditingController();
Bootstrap? bootstrap;
String? _recoveryKeyInputError;
bool _recoveryKeyInputLoading = false;
String? titleText;
bool _recoveryKeyStored = false;
bool _recoveryKeyCopied = false;
bool? _storeInSecureStorage = false;
bool? _wipe;
String get _secureStorageKey =>
'ssss_recovery_key_${bootstrap!.client.userID}';
bool get _supportsSecureStorage =>
PlatformInfos.isMobile || PlatformInfos.isDesktop;
String _getSecureStorageLocalizedName() {
if (PlatformInfos.isAndroid) {
return L10n.of(context).storeInAndroidKeystore;
}
if (PlatformInfos.isIOS || PlatformInfos.isMacOS) {
return L10n.of(context).storeInAppleKeyChain;
}
return L10n.of(context).storeSecurlyOnThisDevice;
}
late final Client client;
@override
void initState() {
super.initState();
client = Matrix.of(context).client;
_createBootstrap(widget.wipe);
}
Future<void> _cancelAction() async {
final consent = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).skipChatBackup,
message: L10n.of(context).skipChatBackupWarning,
okLabel: L10n.of(context).skip,
isDestructive: true,
);
if (consent != OkCancelResult.ok) return;
if (!mounted) return;
_goBackAction(false);
}
void _goBackAction(bool success) {
if (success) _decryptLastEvents();
context.canPop() ? context.pop(success) : context.go('/rooms');
}
void _decryptLastEvents() {
for (final room in client.rooms) {
final event = room.lastEvent;
if (event != null &&
event.type == EventTypes.Encrypted &&
event.messageType == MessageTypes.BadEncrypted &&
event.content['can_request_session'] == true) {
final sessionId = event.content.tryGet<String>('session_id');
final senderKey = event.content.tryGet<String>('sender_key');
if (sessionId != null && senderKey != null) {
room.client.encryption?.keyManager.maybeAutoRequest(
room.id,
sessionId,
senderKey,
);
}
}
}
}
Future<void> _createBootstrap(bool wipe) async {
await client.roomsLoading;
await client.accountDataLoading;
await client.userDeviceKeysLoading;
while (client.prevBatch == null) {
await client.onSyncStatus.stream.first;
}
await client.updateUserDeviceKeys();
_wipe = wipe;
titleText = null;
_recoveryKeyStored = false;
bootstrap = client.encryption!.bootstrap(onUpdate: (_) => setState(() {}));
final key = await const FlutterSecureStorage().read(key: _secureStorageKey);
if (key == null) return;
_recoveryKeyTextEditingController.text = key;
}
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final bootstrap = this.bootstrap;
if (bootstrap == null) {
return LoginScaffold(
appBar: AppBar(
centerTitle: true,
leading: CloseButton(onPressed: _cancelAction),
title: Text(L10n.of(context).loadingMessages),
),
body: Center(
child: StreamBuilder(
stream: client.onSyncStatus.stream,
builder: (context, snapshot) {
final status = snapshot.data;
return Column(
mainAxisAlignment: .center,
children: [
CircularProgressIndicator.adaptive(value: status?.progress),
if (status != null) Text(status.calcLocalizedString(context)),
],
);
},
),
),
);
}
_wipe ??= widget.wipe;
final buttons = <Widget>[];
Widget body = const Center(child: CircularProgressIndicator.adaptive());
titleText = L10n.of(context).loadingPleaseWait;
if (bootstrap.newSsssKey?.recoveryKey != null &&
_recoveryKeyStored == false) {
final key = bootstrap.newSsssKey!.recoveryKey;
titleText = L10n.of(context).recoveryKey;
return LoginScaffold(
appBar: AppBar(
centerTitle: true,
leading: CloseButton(onPressed: _cancelAction),
title: Text(L10n.of(context).recoveryKey),
),
body: Center(
child: ConstrainedBox(
constraints: const BoxConstraints(
maxWidth: FluffyThemes.columnWidth * 1.5,
),
child: ListView(
padding: const EdgeInsets.all(16.0),
children: [
ListTile(
contentPadding: const EdgeInsets.symmetric(horizontal: 8.0),
trailing: CircleAvatar(
backgroundColor: Colors.transparent,
child: Icon(
Icons.info_outlined,
color: theme.colorScheme.primary,
),
),
subtitle: Text(L10n.of(context).chatBackupDescription),
),
const Divider(height: 32, thickness: 1),
TextField(
minLines: 2,
maxLines: 4,
readOnly: true,
style: const TextStyle(fontFamily: 'RobotoMono'),
controller: TextEditingController(text: key),
decoration: const InputDecoration(
contentPadding: EdgeInsets.all(16),
suffixIcon: Icon(Icons.key_outlined),
),
),
const SizedBox(height: 16),
if (_supportsSecureStorage)
Semantics(
identifier: 'store_in_secure_storage',
child: CheckboxListTile.adaptive(
contentPadding: const EdgeInsets.symmetric(
horizontal: 8.0,
),
value: _storeInSecureStorage,
activeColor: theme.colorScheme.primary,
onChanged: (b) {
setState(() {
_storeInSecureStorage = b;
});
},
title: Text(_getSecureStorageLocalizedName()),
subtitle: Text(
L10n.of(context).storeInSecureStorageDescription,
),
),
),
const SizedBox(height: 16),
Semantics(
identifier: 'copy_to_clipboard',
child: CheckboxListTile.adaptive(
contentPadding: const EdgeInsets.symmetric(horizontal: 8.0),
value: _recoveryKeyCopied,
activeColor: theme.colorScheme.primary,
onChanged: (b) {
FluffyShare.share(key!, context);
setState(() => _recoveryKeyCopied = true);
},
title: Text(L10n.of(context).copyToClipboard),
subtitle: Text(L10n.of(context).saveKeyManuallyDescription),
),
),
const SizedBox(height: 16),
ElevatedButton.icon(
icon: const Icon(Icons.check_outlined),
label: Text(L10n.of(context).next),
onPressed:
(_recoveryKeyCopied || _storeInSecureStorage == true)
? () {
if (_storeInSecureStorage == true) {
const FlutterSecureStorage().write(
key: _secureStorageKey,
value: key,
);
}
setState(() => _recoveryKeyStored = true);
}
: null,
),
],
),
),
),
);
} else {
switch (bootstrap.state) {
case BootstrapState.loading:
break;
case BootstrapState.askWipeSsss:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.wipeSsss(_wipe!),
);
break;
case BootstrapState.askBadSsss:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.ignoreBadSecrets(true),
);
break;
case BootstrapState.askUseExistingSsss:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.useExistingSsss(!_wipe!),
);
break;
case BootstrapState.askUnlockSsss:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.unlockedSsss(),
);
break;
case BootstrapState.askNewSsss:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.newSsss(),
);
break;
case BootstrapState.openExistingSsss:
_recoveryKeyStored = true;
return LoginScaffold(
appBar: AppBar(
centerTitle: true,
leading: CloseButton(onPressed: _cancelAction),
title: Text(L10n.of(context).setupChatBackup),
),
body: Center(
child: ConstrainedBox(
constraints: const BoxConstraints(
maxWidth: FluffyThemes.columnWidth * 1.5,
),
child: ListView(
padding: const EdgeInsets.all(16.0),
children: [
ListTile(
contentPadding: const EdgeInsets.symmetric(
horizontal: 8.0,
),
trailing: Icon(
Icons.info_outlined,
color: theme.colorScheme.primary,
),
subtitle: Text(
L10n.of(context).pleaseEnterRecoveryKeyDescription,
),
),
const Divider(height: 32),
TextField(
minLines: 1,
maxLines: 2,
autocorrect: false,
readOnly: _recoveryKeyInputLoading,
autofillHints: _recoveryKeyInputLoading
? null
: [AutofillHints.password],
controller: _recoveryKeyTextEditingController,
style: const TextStyle(fontFamily: 'RobotoMono'),
decoration: InputDecoration(
contentPadding: const EdgeInsets.all(16),
hintStyle: TextStyle(
fontFamily: theme.textTheme.bodyLarge?.fontFamily,
),
prefixIcon: const Icon(Icons.key_outlined),
labelText: L10n.of(context).recoveryKey,
hintText: 'Es** **** **** ****',
errorText: _recoveryKeyInputError,
errorMaxLines: 2,
),
),
const SizedBox(height: 16),
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
foregroundColor: theme.colorScheme.onPrimary,
iconColor: theme.colorScheme.onPrimary,
backgroundColor: theme.colorScheme.primary,
),
icon: _recoveryKeyInputLoading
? const CircularProgressIndicator.adaptive()
: const Icon(Icons.lock_open_outlined),
label: Text(L10n.of(context).unlockOldMessages),
onPressed: _recoveryKeyInputLoading
? null
: () async {
setState(() {
_recoveryKeyInputError = null;
_recoveryKeyInputLoading = true;
});
try {
final key = _recoveryKeyTextEditingController
.text
.trim();
if (key.isEmpty) return;
await bootstrap.newSsssKey!.unlock(
keyOrPassphrase: key,
);
await bootstrap.openExistingSsss();
Logs().d('SSSS unlocked');
if (bootstrap.encryption.crossSigning.enabled) {
Logs().v(
'Cross signing is already enabled. Try to self-sign',
);
await bootstrap
.client
.encryption!
.crossSigning
.selfSign(recoveryKey: key);
Logs().d('Successful selfsigned');
}
} on InvalidPassphraseException catch (e) {
setState(
() => _recoveryKeyInputError = e
.toLocalizedString(context),
);
} on FormatException catch (_) {
setState(
() => _recoveryKeyInputError = L10n.of(
context,
).wrongRecoveryKey,
);
} catch (e, s) {
ErrorReporter(
context,
'Unable to open SSSS with recovery key',
).onErrorCallback(e, s);
setState(
() => _recoveryKeyInputError = e
.toLocalizedString(context),
);
} finally {
setState(
() => _recoveryKeyInputLoading = false,
);
}
},
),
const SizedBox(height: 16),
Row(
children: [
const Expanded(child: Divider()),
Padding(
padding: const EdgeInsets.all(12.0),
child: Text(L10n.of(context).or),
),
const Expanded(child: Divider()),
],
),
const SizedBox(height: 16),
ElevatedButton.icon(
icon: const Icon(Icons.cast_connected_outlined),
label: Text(L10n.of(context).transferFromAnotherDevice),
onPressed: _recoveryKeyInputLoading
? null
: () async {
final consent = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).verifyOtherDevice,
message: L10n.of(
context,
).verifyOtherDeviceDescription,
okLabel: L10n.of(context).ok,
cancelLabel: L10n.of(context).cancel,
);
if (consent != OkCancelResult.ok) return;
final req = await showFutureLoadingDialog(
context: context,
delay: false,
future: () async {
await client.updateUserDeviceKeys();
return client.userDeviceKeys[client.userID!]!
.startVerification();
},
);
if (req.error != null) return;
final success = await KeyVerificationDialog(
request: req.result!,
).show(context);
if (success != true) return;
if (!mounted) return;
final result = await showFutureLoadingDialog(
context: context,
future: () async {
final allCached =
await client.encryption!.keyManager
.isCached() &&
await client.encryption!.crossSigning
.isCached();
if (!allCached) {
await client
.encryption!
.ssss
.onSecretStored
.stream
.first;
}
return;
},
);
if (!mounted) return;
if (!result.isError) _goBackAction(true);
},
),
const SizedBox(height: 16),
ElevatedButton.icon(
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.errorContainer,
foregroundColor: theme.colorScheme.onErrorContainer,
iconColor: theme.colorScheme.onErrorContainer,
),
icon: const Icon(Icons.delete_outlined),
label: Text(L10n.of(context).recoveryKeyLost),
onPressed: _recoveryKeyInputLoading
? null
: () async {
if (OkCancelResult.ok ==
await showOkCancelAlertDialog(
useRootNavigator: false,
context: context,
title: L10n.of(context).recoveryKeyLost,
message: L10n.of(context).wipeChatBackup,
okLabel: L10n.of(context).ok,
cancelLabel: L10n.of(context).cancel,
isDestructive: true,
)) {
setState(() => _createBootstrap(true));
}
},
),
],
),
),
),
);
case BootstrapState.askWipeCrossSigning:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.wipeCrossSigning(_wipe!),
);
break;
case BootstrapState.askSetupCrossSigning:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.askSetupCrossSigning(
setupMasterKey: true,
setupSelfSigningKey: true,
setupUserSigningKey: true,
),
);
break;
case BootstrapState.askWipeOnlineKeyBackup:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.wipeOnlineKeyBackup(_wipe!),
);
break;
case BootstrapState.askSetupOnlineKeyBackup:
WidgetsBinding.instance.addPostFrameCallback(
(_) => bootstrap.askSetupOnlineKeyBackup(true),
);
break;
case BootstrapState.error:
titleText = L10n.of(context).oopsSomethingWentWrong;
body = const Icon(Icons.error_outline, color: Colors.red, size: 80);
buttons.add(
ElevatedButton(
onPressed: () => _goBackAction(false),
child: Text(L10n.of(context).close),
),
);
break;
case BootstrapState.done:
titleText = L10n.of(context).everythingReady;
body = Column(
mainAxisSize: .min,
children: [
const Icon(
Icons.check_circle_rounded,
size: 120,
color: Colors.green,
),
const SizedBox(height: 16),
Text(
L10n.of(context).yourChatBackupHasBeenSetUp,
style: const TextStyle(fontSize: 20),
),
const SizedBox(height: 16),
],
);
buttons.add(
ElevatedButton(
onPressed: () => _goBackAction(true),
child: Text(L10n.of(context).close),
),
);
break;
}
}
return LoginScaffold(
appBar: AppBar(
leading: CloseButton(onPressed: _cancelAction),
title: Text(titleText ?? L10n.of(context).loadingPleaseWait),
),
body: Center(
child: Padding(
padding: const EdgeInsets.all(20.0),
child: Column(
mainAxisSize: .min,
crossAxisAlignment: .stretch,
children: [body, const SizedBox(height: 8), ...buttons],
),
),
),
);
}
}

View file

@ -1,110 +0,0 @@
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/pages/bootstrap/view_model/bootstrap_view_model.dart';
import 'package:fluffychat/pages/bootstrap/widgets/new_passphrase_view.dart';
import 'package:fluffychat/pages/bootstrap/widgets/restore_bootstrap_view.dart';
import 'package:fluffychat/pages/bootstrap/widgets/store_recovery_key_view.dart';
import 'package:fluffychat/utils/localized_exception_extension.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/device_extension.dart';
import 'package:fluffychat/widgets/adaptive_dialogs/show_ok_cancel_alert_dialog.dart';
import 'package:fluffychat/widgets/layouts/login_scaffold.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:fluffychat/widgets/view_model_builder.dart';
class BootstrapPage extends StatelessWidget {
const BootstrapPage({super.key});
@override
Widget build(BuildContext context) {
return ViewModelBuilder(
create: () => BootstrapViewModel(client: Matrix.of(context).client),
builder: (context, viewModel, _) {
final cryptoIdentityState = viewModel.value.cryptoIdentityState;
final title = cryptoIdentityState == null
? L10n.of(context).loadingPleaseWait
: cryptoIdentityState.initialized && !viewModel.value.reset
? L10n.of(context).restoreCryptoIdentity
: viewModel.value.reset
? L10n.of(context).resetCryptoIdentity
: L10n.of(context).setUpCryptoIdentity;
return LoginScaffold(
appBar: AppBar(
leading: CloseButton(
onPressed: () async {
final consent = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).skipChatBackup,
message: L10n.of(context).skipChatBackupWarning,
okLabel: L10n.of(context).skip,
isDestructive: true,
);
if (consent != OkCancelResult.ok) return;
if (!context.mounted) return;
context.go('/rooms');
},
),
title: Text(title),
),
body: cryptoIdentityState == null
? Center(child: CircularProgressIndicator.adaptive())
: !cryptoIdentityState.initialized || viewModel.value.reset
? viewModel.value.recoveryKey == null
? NewPassphraseView()
: StoreRecoveryKeyView()
: RestoreBootstrapView(
onToggleObscureText: viewModel.toggleObscureText,
unlockWithRecoveryKey: () async {
final success = await viewModel.unlock();
if (!success) return;
if (!context.mounted) return;
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(
'Device has been verified and message backup is unlocked!',
),
),
);
context.go('/rooms');
},
recoveryKeyInputController:
viewModel.enterPassphraseOrRecovController,
obscureText: viewModel.value.obscureText,
isLoading: viewModel.value.isLoading,
errorText: viewModel.value.unlockWithError?.toLocalizedString(
context,
),
onResetAccount: () async {
final consent = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).warning,
message:
'When you reset your account you will lose the access to your old messages forever. All your current devices need to be verified again. Please only perform this action when you have no other devices left to verify your session and you have lost your recovery key and passphrase!',
isDestructive: true,
okLabel: L10n.of(context).resetAccount,
);
if (consent != OkCancelResult.ok) return;
if (!context.mounted) return;
viewModel.startResetAccount();
},
devices:
viewModel.value.connectedDevices
?.map(
(device) => (
title: device.displayname,
lastActive: device.lastActive,
icon: device.icon,
),
)
.toList() ??
[],
),
);
},
);
}
}

View file

@ -1,14 +0,0 @@
import 'package:matrix/encryption.dart';
import 'package:matrix/matrix.dart';
class BootstrapViewModelState {
String? recoveryKey;
bool isLoading = false;
Object? unlockWithError;
({bool connected, bool initialized})? cryptoIdentityState;
bool reset = false;
KeyVerification? keyVerification;
List<DeviceKeys>? connectedDevices;
bool recoveryKeyStored = false;
bool obscureText = true;
}

View file

@ -1,91 +0,0 @@
import 'package:flutter/material.dart';
import 'package:matrix/encryption.dart';
import 'package:matrix/matrix.dart';
import 'bootstrap_state.dart';
class BootstrapViewModel extends ValueNotifier<BootstrapViewModelState> {
final Client client;
final TextEditingController enterPassphraseOrRecovController =
TextEditingController();
final TextEditingController newPassphraseController = TextEditingController();
final TextEditingController repeatPassphraseController =
TextEditingController();
BootstrapViewModel({required this.client})
: super(BootstrapViewModelState()) {
_init();
}
Future<void> _init() async {
final state = value.cryptoIdentityState = await client
.getCryptoIdentityState();
if (state.initialized) {
if (state.connected) return notifyListeners();
await client.updateUserDeviceKeys();
final devices = value.connectedDevices =
client.userDeviceKeys[client.userID!]?.deviceKeys.values
.where(
(device) => device.hasValidSignatureChain(
verifiedByTheirMasterKey: true,
),
)
.toList() ??
[];
if (devices.isNotEmpty) {
value.keyVerification = await client.userDeviceKeys[client.userID!]!
.startVerification();
}
}
notifyListeners();
}
Future<void> setOrSkipPassphrase(String? passphrase) async {
value.isLoading = true;
notifyListeners();
value.recoveryKey = await client.initCryptoIdentity(passphrase: passphrase);
notifyListeners();
}
Future<bool> unlock() async {
final key = enterPassphraseOrRecovController.text.trim();
if (key.isEmpty) return false;
value.unlockWithError = null;
value.isLoading = true;
notifyListeners();
try {
await client.restoreCryptoIdentity(key);
value.isLoading = false;
value.cryptoIdentityState = await client.getCryptoIdentityState();
notifyListeners();
return true;
} catch (e, s) {
Logs().d('Unable to unlock', e, s);
value.isLoading = false;
value.unlockWithError = e;
notifyListeners();
return false;
}
}
void setRecoveryKeyStored() {
value.recoveryKeyStored = true;
notifyListeners();
}
void toggleObscureText() {
value.obscureText = !value.obscureText;
notifyListeners();
}
void startResetAccount() {
value.reset = true;
notifyListeners();
}
}

View file

@ -1,94 +0,0 @@
import 'package:flutter/material.dart';
import 'package:fluffychat/l10n/l10n.dart';
class NewPassphraseView extends StatelessWidget {
const NewPassphraseView({super.key});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.all(16.0),
child: ListView(
children: [
Text(
'FluffyChat uses end to end encryption. To not lose your messages, please choose a strong passphrase to secure your crypto identity and your encrypted message backup.',
textAlign: .center,
),
const SizedBox(height: 16),
TextField(
decoration: InputDecoration(
suffixIcon: IconButton(
icon: Icon(Icons.visibility_off_outlined),
onPressed: () {},
),
hintText: 'New passphrase',
),
),
const SizedBox(height: 16),
TextField(decoration: InputDecoration(hintText: 'Repeat passphrase')),
const SizedBox(height: 16),
ElevatedButton(
onPressed: () {},
child: Text(L10n.of(context).continueText),
),
const SizedBox(height: 16),
TextButton(
onPressed: () {},
style: TextButton.styleFrom(
foregroundColor: theme.colorScheme.error,
),
child: Text(L10n.of(context).skip),
),
const SizedBox(height: 16),
_PassphraseCheckListTile(
checked: true,
label: 'At least 12 characters long.',
),
const SizedBox(height: 16),
_PassphraseCheckListTile(
checked: false,
label: 'Contains uppercase and lowercase characters.',
),
const SizedBox(height: 16),
_PassphraseCheckListTile(
checked: false,
label: 'Contains special characters.',
),
const SizedBox(height: 16),
_PassphraseCheckListTile(
checked: true,
label: 'Contains one numbers.',
),
],
),
);
}
}
class _PassphraseCheckListTile extends StatelessWidget {
final String label;
final bool checked;
const _PassphraseCheckListTile({required this.label, required this.checked});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Row(
spacing: 8.0,
children: [
Icon(
checked ? Icons.check_circle_outlined : Icons.circle_outlined,
color: checked
? theme.brightness == Brightness.light
? Colors.green.shade800
: Colors.green.shade300
: theme.colorScheme.error,
size: 20,
),
Text(label, style: TextStyle(fontSize: 12)),
],
);
}
}

View file

@ -1,114 +0,0 @@
import 'package:flutter/material.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
class RestoreBootstrapView extends StatelessWidget {
final List<({String title, DateTime lastActive, IconData icon})> devices;
final TextEditingController recoveryKeyInputController;
final bool obscureText, isLoading;
final VoidCallback onToggleObscureText, unlockWithRecoveryKey, onResetAccount;
final String? errorText;
const RestoreBootstrapView({
super.key,
required this.devices,
required this.recoveryKeyInputController,
required this.obscureText,
required this.onToggleObscureText,
required this.unlockWithRecoveryKey,
required this.isLoading,
this.errorText,
required this.onResetAccount,
});
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
return Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
spacing: 16.0,
crossAxisAlignment: .stretch,
children: [
Text(
devices.isEmpty
? L10n.of(context).restoreBootstrapEmptyDevicesDescription
: L10n.of(context).restoreBootstrapDevicesDescription,
textAlign: .center,
),
Material(
color: theme.colorScheme.surfaceContainer,
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
child: ConstrainedBox(
constraints: BoxConstraints(maxHeight: 128),
child: ListView.builder(
shrinkWrap: true,
itemCount: devices.length,
itemBuilder: (context, i) => ListTile(
leading: CircleAvatar(
backgroundColor: theme.colorScheme.surfaceContainer,
child: Icon(devices[i].icon),
),
title: Text(devices[i].title),
subtitle: Text(
L10n.of(context).lastActiveAgo(
devices[i].lastActive.localizedTime(context),
),
),
),
),
),
),
if (devices.isNotEmpty) ...[
Divider(height: 32),
Text(
L10n.of(context).restoreBootstrapAlternativeDescription,
textAlign: .center,
),
],
TextField(
readOnly: isLoading,
obscureText: obscureText,
controller: recoveryKeyInputController,
decoration: InputDecoration(
hintText: L10n.of(context).restoreBootstrapHintText,
prefixIcon: IconButton(
icon: Icon(
obscureText
? Icons.visibility_outlined
: Icons.visibility_off_outlined,
),
onPressed: onToggleObscureText,
),
errorText: errorText,
errorMaxLines: 4,
suffixIcon: isLoading
? SizedBox.square(
dimension: 32,
child: Center(
child: CircularProgressIndicator.adaptive(
strokeWidth: 2,
),
),
)
: IconButton(
icon: Icon(Icons.send_outlined),
onPressed: unlockWithRecoveryKey,
),
),
),
TextButton(
onPressed: onResetAccount,
style: TextButton.styleFrom(
foregroundColor: theme.colorScheme.error,
),
child: Text(L10n.of(context).resetAccount),
),
],
),
);
}
}

View file

@ -1,10 +0,0 @@
import 'package:flutter/material.dart';
class StoreRecoveryKeyView extends StatelessWidget {
const StoreRecoveryKeyView({super.key});
@override
Widget build(BuildContext context) {
return const Placeholder();
}
}

View file

@ -462,21 +462,18 @@ class ChatController extends State<ChatPageWithRoom>
scrollUpBannerEventId = eventId;
});
bool firstUpdateReceived = false;
void updateView() {
if (!mounted) return;
setReadMarker();
setState(() {});
setState(() {
firstUpdateReceived = true;
});
}
Future<void>? loadTimelineFuture;
int? animateInEventIndex;
void onInsert(int i) {
// setState will be called by updateView() anyway
if (timeline?.allowNewEvent == true) animateInEventIndex = i;
}
Future<void> _getTimeline({String? eventContextId}) async {
await Matrix.of(context).client.roomsLoading;
await Matrix.of(context).client.accountDataLoading;
@ -489,15 +486,11 @@ class ChatController extends State<ChatPageWithRoom>
timeline = await room.getTimeline(
onUpdate: updateView,
eventContextId: eventContextId,
onInsert: onInsert,
);
} catch (e, s) {
Logs().w('Unable to load timeline on event ID $eventContextId', e, s);
if (!mounted) return;
timeline = await room.getTimeline(
onUpdate: updateView,
onInsert: onInsert,
);
timeline = await room.getTimeline(onUpdate: updateView);
if (!mounted) return;
if (e is TimeoutException || e is IOException) {
_showScrollUpMaterialBanner(eventContextId!);

View file

@ -35,7 +35,6 @@ class ChatEventList extends StatelessWidget {
final events = timeline.events.filterByVisibleInGui(
threadId: controller.activeThreadId,
);
final animateInEventIndex = controller.animateInEventIndex;
// create a map of eventId --> index to greatly improve performance of
// ListView's findChildIndexCallback
@ -120,10 +119,7 @@ class ChatEventList extends StatelessWidget {
// The message at this index:
final event = events[i];
final animateIn =
animateInEventIndex != null &&
timeline.events.length > animateInEventIndex &&
event == timeline.events[animateInEventIndex];
final animateIn = i == 0 && controller.firstUpdateReceived;
final nextEvent = i + 1 < events.length ? events[i + 1] : null;
final previousEvent = i > 0 ? events[i - 1] : null;
@ -139,16 +135,13 @@ class ChatEventList extends StatelessWidget {
!controller.expandedEventIds.contains(event.eventId);
return AutoScrollTag(
key: ValueKey(event.eventId),
key: ValueKey(event.transactionId ?? event.eventId),
index: i,
controller: controller.scrollController,
child: Message(
event,
bigEmojis: controller.bigEmojis,
animateIn: animateIn,
resetAnimateIn: () {
controller.animateInEventIndex = null;
},
onSwipe: () => controller.replyAction(replyTo: event),
onInfoTab: controller.showEventInfo,
onMention: () => controller.sendController.text +=

View file

@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:animations/animations.dart';
import 'package:emoji_picker_flutter/locales/default_emoji_set_locale.dart';
import 'package:matrix/matrix.dart';
@ -273,27 +272,11 @@ class ChatInputRow extends StatelessWidget {
child: IconButton(
tooltip: L10n.of(context).emojis,
color: theme.colorScheme.onPrimaryContainer,
icon: PageTransitionSwitcher(
transitionBuilder:
(
Widget child,
Animation<double> primaryAnimation,
Animation<double> secondaryAnimation,
) {
return SharedAxisTransition(
animation: primaryAnimation,
secondaryAnimation: secondaryAnimation,
transitionType: SharedAxisTransitionType.scaled,
fillColor: Colors.transparent,
child: child,
);
},
child: Icon(
controller.showEmojiPicker
? Icons.keyboard
: Icons.add_reaction_outlined,
key: ValueKey(controller.showEmojiPicker),
),
icon: Icon(
controller.showEmojiPicker
? Icons.keyboard
: Icons.add_reaction_outlined,
key: ValueKey(controller.showEmojiPicker),
),
onPressed: controller.emojiPickerAction,
),

View file

@ -10,7 +10,6 @@ import 'package:just_audio/just_audio.dart';
import 'package:matrix/matrix.dart';
import 'package:opus_caf_converter_dart/opus_caf_converter_dart.dart';
import 'package:path_provider/path_provider.dart';
import 'package:universal_html/html.dart' as html;
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/themes.dart';
@ -166,11 +165,11 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
: null,
);
if (!kIsWeb) {
final attachmentUrl = widget.event.attachmentOrThumbnailMxcUrl();
if (!kIsWeb && attachmentUrl != null) {
final tempDir = await getTemporaryDirectory();
final fileName = Uri.encodeComponent(
widget.event.attachmentOrThumbnailMxcUrl()!.pathSegments.last,
);
final fileName = Uri.encodeComponent(attachmentUrl.pathSegments.last);
file = File('${tempDir.path}/${fileName}_${matrixFile.name}');
await file.writeAsBytes(matrixFile.bytes);
@ -203,12 +202,12 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
if (file != null) {
audioPlayer.setFilePath(file.path);
} else if (kIsWeb) {
final blob = html.Blob([matrixFile.bytes], matrixFile.mimeType);
final url = html.Url.createObjectUrlFromBlob(blob);
await audioPlayer.setAudioSource(AudioSource.uri(Uri.parse(url)));
} else {
throw Exception('No audio file provided!');
await audioPlayer.setAudioSource(
AudioSource.uri(
Uri.dataFromBytes(matrixFile.bytes, mimeType: matrixFile.mimeType),
),
);
}
audioPlayer.play().onError(

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,9 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:async/async.dart' show Result;
import 'package:cross_file/cross_file.dart';
import 'package:matrix/matrix.dart';
import 'package:matrix/matrix.dart' hide Result;
import 'package:mime/mime.dart';
import 'package:fluffychat/config/app_config.dart';
@ -53,8 +54,9 @@ class SendFileDialogState extends State<SendFileDialog> {
}
scaffoldMessenger.showLoadingSnackBar(l10n.prepareSendingAttachment);
Navigator.of(context, rootNavigator: false).pop();
final clientConfig = await widget.room.client.getConfig();
final maxUploadSize = clientConfig.mUploadSize ?? 100 * 1000 * 1000;
final clientConfig = await Result.capture(widget.room.client.getConfig());
final maxUploadSize =
clientConfig.asValue?.value.mUploadSize ?? 100 * 1000 * 1000;
for (final xfile in widget.files) {
final MatrixFile file;

View file

@ -1,16 +1,18 @@
import 'dart:async';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:app_links/app_links.dart';
import 'package:cross_file/cross_file.dart';
import 'package:flutter_shortcuts_new/flutter_shortcuts_new.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart' as sdk;
import 'package:matrix/matrix.dart';
import 'package:receive_sharing_intent/receive_sharing_intent.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/pages/chat_list/chat_list_view.dart';
import 'package:fluffychat/utils/localized_exception_extension.dart';
@ -71,8 +73,6 @@ class ChatListController extends State<ChatList>
StreamSubscription? _intentFileStreamSubscription;
StreamSubscription? _intentUriStreamSubscription;
late ActiveFilter activeFilter;
String? _activeSpaceId;
@ -308,6 +308,12 @@ class ChatListController extends State<ChatList>
void _processIncomingSharedMedia(List<SharedMediaFile> files) {
if (files.isEmpty) return;
if (files.singleOrNull?.path.startsWith(AppConfig.deepLinkPrefix) == true) {
return;
}
inspect(files);
showScaffoldDialog(
context: context,
builder: (context) => ShareScaffoldDialog(
@ -326,14 +332,6 @@ class ChatListController extends State<ChatList>
);
}
Future<void> _processIncomingUris(Uri? uri) async {
if (uri == null) return;
context.go('/rooms');
WidgetsBinding.instance.addPostFrameCallback((_) {
UrlLauncher(context, uri.toString()).openMatrixToUrl();
});
}
void _initReceiveSharingIntent() {
if (!PlatformInfos.isMobile) return;
@ -347,11 +345,6 @@ class ChatListController extends State<ChatList>
_processIncomingSharedMedia,
);
// For receiving shared Uris
_intentUriStreamSubscription = AppLinks().uriLinkStream.listen(
_processIncomingUris,
);
if (PlatformInfos.isAndroid) {
final shortcuts = FlutterShortcuts();
shortcuts.initialize().then(
@ -374,6 +367,7 @@ class ChatListController extends State<ChatList>
_hackyWebRTCFixForWeb();
WidgetsBinding.instance.addPostFrameCallback((_) {
if (mounted) {
_showLastSeenSupportBanner();
searchServer = Matrix.of(
context,
).store.getString(_serverStoreNamespace);
@ -394,11 +388,86 @@ class ChatListController extends State<ChatList>
void dispose() {
_intentDataStreamSubscription?.cancel();
_intentFileStreamSubscription?.cancel();
_intentUriStreamSubscription?.cancel();
scrollController.removeListener(_onScroll);
super.dispose();
}
Future<void> _showLastSeenSupportBanner() async {
if (AppSettings.supportBannerOptOut.value) return;
if (AppSettings.lastSeenSupportBanner.value == 0) {
await AppSettings.lastSeenSupportBanner.setItem(
DateTime.now().millisecondsSinceEpoch,
);
return;
}
final lastSeenSupportBanner = DateTime.fromMillisecondsSinceEpoch(
AppSettings.lastSeenSupportBanner.value,
);
if (DateTime.now().difference(lastSeenSupportBanner) >=
Duration(days: 6 * 7)) {
final theme = Theme.of(context);
final messenger = ScaffoldMessenger.of(context);
messenger.showMaterialBanner(
MaterialBanner(
backgroundColor: theme.colorScheme.errorContainer,
leading: CloseButton(
color: theme.colorScheme.onErrorContainer,
onPressed: () async {
final okCancelResult = await showOkCancelAlertDialog(
context: context,
title: L10n.of(context).skipSupportingFluffyChat,
message: L10n.of(context).fluffyChatSupportBannerMessage,
okLabel: L10n.of(context).iDoNotWantToSupport,
cancelLabel: L10n.of(context).iAlreadySupportFluffyChat,
isDestructive: true,
);
switch (okCancelResult) {
case null:
return;
case OkCancelResult.ok:
messenger.clearMaterialBanners();
return;
case OkCancelResult.cancel:
messenger.clearMaterialBanners();
await AppSettings.supportBannerOptOut.setItem(true);
return;
}
},
),
content: Padding(
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: Text(
L10n.of(context).fluffyChatSupportBannerMessage,
style: TextStyle(color: theme.colorScheme.onErrorContainer),
),
),
actions: [
TextButton(
onPressed: () {
messenger.clearMaterialBanners();
launchUrlString(
'https://fluffychat.im/faq/#how_can_i_support_fluffychat',
);
},
child: Text(
L10n.of(context).support,
style: TextStyle(color: theme.colorScheme.onErrorContainer),
),
),
],
),
);
await AppSettings.lastSeenSupportBanner.setItem(
DateTime.now().millisecondsSinceEpoch,
);
}
return;
}
Future<void> chatContextAction(
Room room,
BuildContext posContext, [
@ -509,23 +578,44 @@ class ChatListController extends State<ChatList>
],
),
),
PopupMenuItem(
value: ChatContextAction.favorite,
child: Row(
mainAxisSize: .min,
children: [
Icon(
room.isFavourite ? Icons.push_pin : Icons.push_pin_outlined,
),
const SizedBox(width: 12),
Text(
room.isFavourite
? L10n.of(context).unpin
: L10n.of(context).pin,
),
],
if (!room.isLowPriority)
PopupMenuItem(
value: ChatContextAction.favorite,
child: Row(
mainAxisSize: .min,
children: [
Icon(
room.isFavourite ? Icons.push_pin : Icons.push_pin_outlined,
),
const SizedBox(width: 12),
Text(
room.isFavourite
? L10n.of(context).unpin
: L10n.of(context).pin,
),
],
),
),
if (!room.isFavourite)
PopupMenuItem(
value: ChatContextAction.lowPriority,
child: Row(
mainAxisSize: .min,
children: [
Icon(
room.isLowPriority
? Icons.low_priority
: Icons.low_priority_outlined,
),
const SizedBox(width: 12),
Text(
room.isLowPriority
? L10n.of(context).unsetLowPriority
: L10n.of(context).setLowPriority,
),
],
),
),
),
if (spacesWithPowerLevels.isNotEmpty)
PopupMenuItem(
value: ChatContextAction.addToSpace,
@ -659,6 +749,12 @@ class ChatListController extends State<ChatList>
context: context,
future: () => space.setSpaceChild(room.id),
);
case ChatContextAction.lowPriority:
await showFutureLoadingDialog(
context: context,
future: () => room.setLowPriority(!room.isLowPriority),
);
return;
}
}
@ -868,6 +964,7 @@ enum ChatContextAction {
open,
goToSpace,
favorite,
lowPriority,
markUnread,
mute,
leave,

View file

@ -191,6 +191,17 @@ class ChatListItem extends StatelessWidget {
padding: EdgeInsets.only(left: 4.0),
child: Icon(Icons.notifications_off_outlined, size: 16),
),
if (room.isLowPriority)
Padding(
padding: EdgeInsets.only(
right: hasNotifications ? 4.0 : 0.0,
),
child: Icon(
Icons.low_priority,
size: 16,
color: theme.colorScheme.primary,
),
),
if (room.isFavourite)
Padding(
padding: EdgeInsets.only(

View file

@ -4,7 +4,6 @@ import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/widgets/adaptive_dialogs/show_ok_cancel_alert_dialog.dart';
@ -69,17 +68,6 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
if (Matrix.of(context).backgroundPush?.firebaseEnabled != true)
PopupMenuItem(
value: SettingsAction.support,
child: Row(
children: [
const Icon(Icons.favorite, color: Colors.red),
const SizedBox(width: 18),
Text(L10n.of(context).donate),
],
),
),
PopupMenuItem(
value: SettingsAction.settings,
child: Row(
@ -90,6 +78,16 @@ class ClientChooserButton extends StatelessWidget {
],
),
),
PopupMenuItem(
value: SettingsAction.support,
child: Row(
children: [
Icon(Icons.favorite, color: Colors.red),
const SizedBox(width: 18),
Text(L10n.of(context).supportFluffyChat),
],
),
),
const PopupMenuDivider(),
for (final bundle in bundles) ...[
if (matrix.accountBundles[bundle]!.length != 1 ||
@ -224,7 +222,9 @@ class ClientChooserButton extends StatelessWidget {
FluffyShare.shareInviteLink(context);
break;
case SettingsAction.support:
launchUrlString(AppConfig.donationUrl);
launchUrlString(
'https://fluffychat.im/faq/#how_can_i_support_fluffychat',
);
break;
case SettingsAction.settings:
context.go('/rooms/settings');

View file

@ -6,7 +6,6 @@ import 'package:flutter/material.dart';
import 'package:chewie/chewie.dart';
import 'package:matrix/matrix.dart';
import 'package:path_provider/path_provider.dart';
import 'package:universal_html/html.dart' as html;
import 'package:video_player/video_player.dart';
import 'package:fluffychat/utils/localized_exception_extension.dart';
@ -64,9 +63,9 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
// Create the VideoPlayerController from the contents of videoFile.
if (kIsWeb) {
final blob = html.Blob([videoFile.bytes], videoFile.mimeType);
final networkUri = Uri.parse(html.Url.createObjectUrlFromBlob(blob));
videoPlayerController = VideoPlayerController.networkUrl(networkUri);
videoPlayerController = VideoPlayerController.networkUrl(
Uri.dataFromBytes(videoFile.bytes, mimeType: videoFile.mimeType),
);
} else {
final tempDir = await getTemporaryDirectory();
final fileName = Uri.encodeComponent(

View file

@ -2,10 +2,9 @@ import 'package:flutter/material.dart';
import 'package:flutter_linkify/flutter_linkify.dart';
import 'package:go_router/go_router.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/pages/intro/flows/restore_backup_flow.dart';
import 'package:fluffychat/utils/platform_infos.dart';
@ -58,7 +57,7 @@ class IntroPage extends StatelessWidget {
),
),
PopupMenuItem(
onTap: () => launchUrl(AppConfig.privacyUrl),
onTap: () => launchUrlString(AppSettings.privacyPolicy.value),
child: Row(
mainAxisSize: .min,
children: [
@ -69,7 +68,7 @@ class IntroPage extends StatelessWidget {
),
),
PopupMenuItem(
value: () => PlatformInfos.showDialog(context),
onTap: () => PlatformInfos.showDialog(context),
child: Row(
mainAxisSize: .min,
children: [

View file

@ -77,6 +77,7 @@ class _IntroPagePresenterState extends State<IntroPagePresenter> {
final client = await Matrix.of(context).getLoginClient();
await client.checkHomeserver(homeserverUrl);
await client.oidcLogin(session: session, code: code, state: state);
if (context.mounted) context.go('/backup');
} catch (e, s) {
Logs().w('Unable to login via OIDC', e, s);
if (mounted) {

View file

@ -191,10 +191,9 @@ class _InviteContactListTile extends StatelessWidget {
overflow: TextOverflow.ellipsis,
style: TextStyle(color: theme.colorScheme.secondary),
),
trailing: TextButton.icon(
trailing: TextButton(
onPressed: isMember ? null : onTap,
label: Text(isMember ? l10n.participant : l10n.invite),
icon: Icon(isMember ? Icons.check : Icons.add),
child: Text(isMember ? l10n.participant : l10n.invite),
),
);
}

View file

@ -17,7 +17,8 @@ import 'package:fluffychat/widgets/matrix.dart';
import '../../widgets/adaptive_dialogs/user_dialog.dart';
class NewPrivateChat extends StatefulWidget {
const NewPrivateChat({super.key});
final String? deeplink;
const NewPrivateChat({super.key, required this.deeplink});
@override
NewPrivateChatController createState() => NewPrivateChatController();
@ -33,6 +34,18 @@ class NewPrivateChatController extends State<NewPrivateChat> {
static const Duration _coolDown = Duration(milliseconds: 500);
@override
void initState() {
super.initState();
final deeplink = widget.deeplink;
if (deeplink != null) {
WidgetsBinding.instance.addPostFrameCallback((_) {
UrlLauncher(context, deeplink).openMatrixToUrl();
});
}
}
Future<void> searchUsers([String? input]) async {
final searchTerm = input ?? controller.text;
if (searchTerm.isEmpty) {

View file

@ -3,8 +3,9 @@ import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/platform_infos.dart';
@ -200,7 +201,7 @@ class SettingsView extends StatelessWidget {
ListTile(
leading: const Icon(Icons.privacy_tip_outlined),
title: Text(L10n.of(context).privacy),
onTap: () => launchUrl(AppConfig.privacyUrl),
onTap: () => launchUrlString(AppSettings.privacyPolicy.value),
),
ListTile(
leading: const Icon(Icons.info_outline_rounded),

View file

@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:file_picker/file_picker.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/utils/account_config.dart';
import 'package:fluffychat/utils/file_selector.dart';
@ -111,32 +110,6 @@ class SettingsStyleController extends State<SettingsStyle> {
ThemeMode get currentTheme => ThemeController.of(context).themeMode;
Color? get currentColor => ThemeController.of(context).primaryColor;
static final List<Color?> customColors = [
null,
AppConfig.chatColor,
Colors.indigo,
Colors.blue,
Colors.blueAccent,
Colors.teal,
Colors.tealAccent,
Colors.green,
Colors.greenAccent,
Colors.yellow,
Colors.yellowAccent,
Colors.orange,
Colors.orangeAccent,
Colors.red,
Colors.redAccent,
Colors.pink,
Colors.pinkAccent,
Colors.purple,
Colors.purpleAccent,
Colors.blueGrey,
Colors.grey,
Colors.white,
Colors.black,
];
void switchTheme(ThemeMode? newTheme) {
if (newTheme == null) return;
switch (newTheme) {

View file

@ -82,14 +82,13 @@ class SettingsStyleView extends StatelessWidget {
Theme.of(context).brightness == Brightness.light
? light?.primary
: dark?.primary;
final colors = List<Color?>.from(
SettingsStyleController.customColors,
);
final colors = [null, AppConfig.chatColor, ...Colors.primaries];
if (systemColor == null) {
colors.remove(null);
}
return GridView.builder(
shrinkWrap: true,
physics: NeverScrollableScrollPhysics(),
gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent(
maxCrossAxisExtent: 64,
),

View file

@ -98,19 +98,11 @@ class SignInPage extends StatelessWidget {
final website = server.website;
return Semantics(
identifier: 'homeserver_tile_$i',
child: RadioListTile.adaptive(
child: RadioListTile(
value: server,
enabled:
state.loginLoading.connectionState !=
ConnectionState.waiting,
radioScaleFactor:
FluffyThemes.isColumnMode(context) ||
{
TargetPlatform.iOS,
TargetPlatform.macOS,
}.contains(theme.platform)
? 2
: 1,
title: Row(
children: [
Expanded(

View file

@ -1,24 +0,0 @@
import 'package:fluffychat/pages/sign_in/view_model/model/public_homeserver_data.dart';
int sortHomeservers(PublicHomeserverData a, PublicHomeserverData b) {
return _calcHomeserverScore(b).compareTo(_calcHomeserverScore(a));
}
int _calcHomeserverScore(PublicHomeserverData homeserver) {
var score = 0;
if (homeserver.description?.isNotEmpty == true) score++;
if (homeserver.website?.isNotEmpty == true) score++;
score += (homeserver.languages?.length ?? 0);
score += (homeserver.features?.length ?? 0);
score += (homeserver.onlineStatus ?? 0);
if (homeserver.ipv6 == true) score++;
if (homeserver.isp?.isNotEmpty == true) score++;
if (homeserver.privacy?.isNotEmpty == true) score++;
if (homeserver.rules?.isNotEmpty == true) score++;
if (homeserver.version?.isNotEmpty == true) score++;
if (homeserver.usingVanillaReg == true) score--;
if (homeserver.regLink != null) score--;
if (homeserver.regMethod != 'SSO') score--;
if (homeserver.regMethod == 'In-house Element') score--;
return score;
}

View file

@ -3,9 +3,30 @@ import 'package:flutter/material.dart';
import 'package:fluffychat/pages/sign_in/view_model/model/public_homeserver_data.dart';
class SignInState {
PublicHomeserverData? selectedHomeserver;
AsyncSnapshot<List<PublicHomeserverData>> publicHomeservers =
const AsyncSnapshot.nothing();
List<PublicHomeserverData> filteredPublicHomeservers = [];
AsyncSnapshot<bool> loginLoading = const AsyncSnapshot.nothing();
final PublicHomeserverData? selectedHomeserver;
final AsyncSnapshot<List<PublicHomeserverData>> publicHomeservers;
final List<PublicHomeserverData> filteredPublicHomeservers;
final AsyncSnapshot<bool> loginLoading;
const SignInState({
this.selectedHomeserver,
this.publicHomeservers = const AsyncSnapshot.nothing(),
this.loginLoading = const AsyncSnapshot.nothing(),
this.filteredPublicHomeservers = const [],
});
SignInState copyWith({
PublicHomeserverData? selectedHomeserver,
AsyncSnapshot<List<PublicHomeserverData>>? publicHomeservers,
AsyncSnapshot<bool>? loginLoading,
List<PublicHomeserverData>? filteredPublicHomeservers,
}) {
return SignInState(
selectedHomeserver: selectedHomeserver ?? this.selectedHomeserver,
publicHomeservers: publicHomeservers ?? this.publicHomeservers,
loginLoading: loginLoading ?? this.loginLoading,
filteredPublicHomeservers:
filteredPublicHomeservers ?? this.filteredPublicHomeservers,
);
}
}

View file

@ -7,7 +7,6 @@ import 'package:matrix/matrix_api_lite/utils/logs.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/pages/sign_in/utils/sort_homeservers.dart';
import 'package:fluffychat/pages/sign_in/view_model/model/public_homeserver_data.dart';
import 'package:fluffychat/pages/sign_in/view_model/sign_in_state.dart';
import 'package:fluffychat/widgets/matrix.dart';
@ -39,19 +38,22 @@ class SignInViewModel extends ValueNotifier<SignInState> {
)
.toList() ??
[];
if (Uri.tryParse(filterText) != null &&
if (filterText.length >= 3 &&
(filterText.contains('.') || filterText == 'localhost') &&
Uri.tryParse(filterText) != null &&
!filteredPublicHomeservers.any(
(homeserver) => homeserver.name == filterText,
)) {
filteredPublicHomeservers.add(PublicHomeserverData(name: filterText));
}
value.filteredPublicHomeservers = filteredPublicHomeservers;
notifyListeners();
value = value.copyWith(
filteredPublicHomeservers: filteredPublicHomeservers,
);
}
Future<void> refreshPublicHomeservers() async {
notifyListeners();
value.publicHomeservers = AsyncSnapshot.waiting();
value = value.copyWith(publicHomeservers: AsyncSnapshot.waiting());
final defaultHomeserverData = PublicHomeserverData(
name: AppSettings.defaultHomeserver.value,
);
@ -71,8 +73,6 @@ class SignInViewModel extends ValueNotifier<SignInState> {
});
}
publicHomeservers.sort(sortHomeservers);
final defaultServer = publicHomeservers.singleWhereOrNull(
(server) => server.name == AppSettings.defaultHomeserver.value,
);
@ -81,31 +81,30 @@ class SignInViewModel extends ValueNotifier<SignInState> {
publicHomeservers.insert(0, defaultHomeserverData);
}
value.selectedHomeserver =
value.selectedHomeserver ?? publicHomeservers.first;
value.publicHomeservers = AsyncSnapshot.withData(
ConnectionState.done,
publicHomeservers,
value = value.copyWith(
selectedHomeserver: value.selectedHomeserver ?? publicHomeservers.first,
publicHomeservers: AsyncSnapshot.withData(
ConnectionState.done,
publicHomeservers,
),
);
notifyListeners();
} catch (e, s) {
Logs().w('Unable to fetch public homeservers...', e, s);
value.selectedHomeserver = defaultHomeserverData;
value.publicHomeservers = AsyncSnapshot.withData(ConnectionState.done, [
defaultHomeserverData,
]);
notifyListeners();
value = value.copyWith(
selectedHomeserver: defaultHomeserverData,
publicHomeservers: AsyncSnapshot.withData(ConnectionState.done, [
defaultHomeserverData,
]),
);
}
_filterHomeservers();
}
void selectHomeserver(PublicHomeserverData? publicHomeserverData) {
value.selectedHomeserver = publicHomeserverData;
notifyListeners();
value = value.copyWith(selectedHomeserver: publicHomeserverData);
}
void setLoginLoading(AsyncSnapshot<bool> loginLoading) {
value.loginLoading = loginLoading;
notifyListeners();
value = value.copyWith(loginLoading: loginLoading);
}
}

View file

@ -123,7 +123,9 @@ abstract class ClientManager {
// To make room emotes work
'im.ponies.room_emotes',
},
customImageResizer: customImageResizer,
customImageResizer: PlatformInfos.supportsCustomImageResizer
? customImageResizer
: null,
logLevel: kReleaseMode ? Level.warning : Level.verbose,
database: await flutterMatrixSdkDatabaseBuilder(clientName),
supportedLoginTypes: {
@ -141,6 +143,9 @@ abstract class ClientManager {
onSoftLogout: enableSoftLogout
? (client) => client.refreshAccessToken()
: null,
sendTimelineEventTimeout: Duration(
seconds: AppSettings.sendTimelineEventTimeout.value,
),
);
}

View file

@ -9,10 +9,7 @@ import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/client_download_content_extension.dart';
import 'package:fluffychat/utils/client_manager.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:fluffychat/utils/push_helper.dart';
import '../config/app_config.dart';
import '../config/setting_keys.dart';
@ -172,91 +169,15 @@ Future<void> notificationTap(
);
}
final eventId = await room.sendTextEvent(
await room.sendTextEvent(
input,
parseCommands: false,
displayPendingEvent: false,
);
if (PlatformInfos.isAndroid) {
final ownProfile = await room.client.fetchOwnProfile();
final avatar = ownProfile.avatarUrl;
final avatarFile = avatar == null
? null
: await client
.downloadMxcCached(
avatar,
thumbnailMethod: ThumbnailMethod.crop,
width: notificationAvatarDimension,
height: notificationAvatarDimension,
animated: false,
isThumbnail: true,
rounded: true,
)
.timeout(const Duration(seconds: 3));
final messagingStyleInformation =
await AndroidFlutterLocalNotificationsPlugin()
.getActiveNotificationMessagingStyle(id: room.id.hashCode);
if (messagingStyleInformation == null) return;
l10n ??= await lookupL10n(PlatformDispatcher.instance.locale);
messagingStyleInformation.messages?.add(
Message(
input,
DateTime.now(),
Person(
key: room.client.userID,
name: l10n.you,
icon: avatarFile == null
? null
: ByteArrayAndroidIcon(avatarFile),
),
),
);
await FlutterLocalNotificationsPlugin().show(
id: room.id.hashCode,
title: room.getLocalizedDisplayname(MatrixLocals(l10n)),
body: input,
notificationDetails: NotificationDetails(
android: AndroidNotificationDetails(
AppConfig.pushNotificationsChannelId,
l10n.incomingMessages,
category: AndroidNotificationCategory.message,
shortcutId: room.id,
styleInformation: messagingStyleInformation,
groupKey: room.id,
playSound: false,
enableVibration: false,
actions: <AndroidNotificationAction>[
AndroidNotificationAction(
FluffyChatNotificationActions.reply.name,
l10n.reply,
inputs: [
AndroidNotificationActionInput(
label: l10n.writeAMessage,
),
],
cancelNotification: false,
allowGeneratedReplies: true,
semanticAction: SemanticAction.reply,
),
AndroidNotificationAction(
FluffyChatNotificationActions.markAsRead.name,
l10n.markAsRead,
semanticAction: SemanticAction.markAsRead,
),
],
),
),
payload: FluffyChatPushPayload(
client.clientName,
room.id,
eventId,
).toString(),
);
}
case FluffyChatNotificationActions.mute:
await room.setPushRuleState(PushRuleState.mentionsOnly);
}
}
}
enum FluffyChatNotificationActions { markAsRead, reply }
enum FluffyChatNotificationActions { markAsRead, reply, mute }

View file

@ -33,6 +33,9 @@ abstract class PlatformInfos {
static bool get supportsVideoPlayer =>
!PlatformInfos.isWindows && !PlatformInfos.isLinux;
static bool get supportsCustomImageResizer =>
PlatformInfos.isWeb || PlatformInfos.isMobile;
/// Web could also record in theory but currently only wav which is too large
static bool get platformCanRecord => (isMobile || isMacOS || isWeb);

View file

@ -162,43 +162,15 @@ Future<void> _tryPushHelper(
? avatar
: event.senderFromMemoryOrFallback.avatarUrl;
Uint8List? roomAvatarFile, senderAvatarFile;
try {
roomAvatarFile = avatar == null
? null
: await client
.downloadMxcCached(
avatar,
thumbnailMethod: ThumbnailMethod.crop,
width: notificationAvatarDimension,
height: notificationAvatarDimension,
animated: false,
isThumbnail: true,
rounded: true,
)
.timeout(const Duration(seconds: 3));
} catch (e, s) {
Logs().e('Unable to get avatar picture', e, s);
}
try {
senderAvatarFile = event.room.isDirectChat
? roomAvatarFile
: senderAvatar == null
? null
: await client
.downloadMxcCached(
senderAvatar,
thumbnailMethod: ThumbnailMethod.crop,
width: notificationAvatarDimension,
height: notificationAvatarDimension,
animated: false,
isThumbnail: true,
rounded: true,
)
.timeout(const Duration(seconds: 3));
} catch (e, s) {
Logs().e('Unable to get avatar picture', e, s);
}
final ownUser = event.room.unsafeGetUserFromMemoryOrFallback(client.userID!);
final userAvatarFile = await client.tryDownloadNotificationAvatar(
ownUser.avatarUrl,
);
final roomAvatarFile = await client.tryDownloadNotificationAvatar(avatar);
final senderAvatarFile = await client.tryDownloadNotificationAvatar(
senderAvatar,
);
final id = notification.roomId.hashCode;
@ -262,12 +234,11 @@ Future<void> _tryPushHelper(
messagingStyleInformation ??
MessagingStyleInformation(
Person(
name: senderName,
icon: roomAvatarFile == null
name: ownUser.calcDisplayname(),
icon: userAvatarFile == null
? null
: ByteArrayAndroidIcon(roomAvatarFile),
key: event.roomId,
important: event.room.isFavourite,
: ByteArrayAndroidIcon(userAvatarFile),
key: event.room.client.userID,
),
conversationTitle: event.room.isDirectChat ? null : roomName,
groupConversation: !event.room.isDirectChat,
@ -293,7 +264,6 @@ Future<void> _tryPushHelper(
inputs: [
AndroidNotificationActionInput(label: l10n.writeAMessage),
],
cancelNotification: false,
allowGeneratedReplies: true,
semanticAction: SemanticAction.reply,
),
@ -302,6 +272,11 @@ Future<void> _tryPushHelper(
l10n.markAsRead,
semanticAction: SemanticAction.markAsRead,
),
AndroidNotificationAction(
FluffyChatNotificationActions.mute.name,
l10n.mute,
semanticAction: SemanticAction.mute,
),
],
);
const iOSPlatformChannelSpecifics = DarwinNotificationDetails();
@ -372,3 +347,23 @@ Future<void> _setShortcut(
),
);
}
extension on Client {
Future<Uint8List?> tryDownloadNotificationAvatar(Uri? avatar) async {
if (avatar == null) return null;
try {
return await downloadMxcCached(
avatar,
thumbnailMethod: ThumbnailMethod.crop,
width: notificationAvatarDimension,
height: notificationAvatarDimension,
animated: false,
isThumbnail: true,
rounded: true,
).timeout(const Duration(seconds: 3));
} catch (e, s) {
Logs().e('Unable to get avatar picture', e, s);
return null;
}
}
}

View file

@ -0,0 +1,27 @@
import 'package:flutter/foundation.dart';
import 'package:universal_html/html.dart' as html;
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/utils/platform_infos.dart';
(Uri redirectUrl, String urlScheme) calcRedirectUrl({
bool withAuthHtmlPath = false,
}) {
var redirectUrl = kIsWeb
? Uri.parse(html.window.location.href.split('#').first.split('?').first)
: (PlatformInfos.isMobile || PlatformInfos.isMacOS)
? Uri.parse('${AppConfig.appOpenUrlScheme.toLowerCase()}:/login')
: Uri.parse('http://localhost:3001/login');
if (kIsWeb && withAuthHtmlPath) {
redirectUrl = redirectUrl.resolveUri(Uri(pathSegments: ['auth.html']));
}
final urlScheme =
(PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
? redirectUrl.scheme
: 'http://localhost:3001';
return (redirectUrl, urlScheme);
}

View file

@ -2,6 +2,7 @@ import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/setting_keys.dart';
@ -51,7 +52,7 @@ Future<void> connectToHomeserverFlow(
if (authMetadata != null && AppSettings.enableMatrixNativeOIDC.value) {
await oidcLoginFlow(client, context, signUp);
} else if (supportsSso) {
await ssoLoginFlow(client, context, signUp);
await ssoLoginFlow(client, context, signUp, loginFlows);
} else {
if (signUp && regLink != null) {
await launchUrlString(regLink);
@ -73,6 +74,7 @@ Future<void> connectToHomeserverFlow(
context.go('/backup');
}
} catch (e, s) {
Logs().w('Unable to login', e, s);
setState(AsyncSnapshot.withError(ConnectionState.done, e, s));
if (!context.mounted) return;
ScaffoldMessenger.of(context).showSnackBar(

View file

@ -6,12 +6,11 @@ import 'package:flutter/material.dart';
import 'package:flutter_web_auth_2/flutter_web_auth_2.dart';
import 'package:matrix/matrix.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:universal_html/html.dart' as html;
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/oidc_session_json_extension.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:fluffychat/utils/sign_in_flows/calc_redirect_url.dart';
Future<void> oidcLoginFlow(
Client client,
@ -19,24 +18,16 @@ Future<void> oidcLoginFlow(
bool signUp,
) async {
Logs().i('Starting Matrix Native OIDC Flow...');
final redirectUrl = kIsWeb
? Uri.parse(html.window.location.href.split('#').first.split('?').first)
: (PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
? Uri.parse('${AppConfig.appOpenUrlScheme.toLowerCase()}:/login')
: Uri.parse('http://localhost:3001/login');
final urlScheme =
(PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
? redirectUrl.scheme
: 'http://localhost:3001';
final (redirectUrl, urlScheme) = calcRedirectUrl();
final clientUri = Uri.parse(AppConfig.website);
final clientUri = Uri.parse(AppSettings.website.value);
final supportWebPlatform =
kIsWeb &&
kReleaseMode &&
redirectUrl.scheme == 'https' &&
redirectUrl.host.contains(clientUri.host);
if (!supportWebPlatform) {
if (kIsWeb && !supportWebPlatform) {
Logs().w(
'OIDC Application Type web is not supported. Using native now. Please use this instance not in production!',
);
@ -50,9 +41,9 @@ Future<void> oidcLoginFlow(
clientInformation: OidcClientInformation(
clientName: AppSettings.applicationName.value,
clientUri: clientUri,
logoUri: Uri.parse('https://fluffy.chat/assets/favicon.png'),
tosUri: null,
policyUri: AppConfig.privacyUrl,
logoUri: Uri.parse(AppSettings.logoUrl.value),
tosUri: Uri.parse(AppSettings.tos.value),
policyUri: Uri.parse(AppSettings.privacyPolicy.value),
),
);

View file

@ -1,39 +1,60 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_web_auth_2/flutter_web_auth_2.dart';
import 'package:matrix/matrix.dart';
import 'package:universal_html/html.dart' as html;
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/platform_infos.dart';
import 'package:fluffychat/utils/sign_in_flows/calc_redirect_url.dart';
import 'package:fluffychat/widgets/adaptive_dialogs/show_modal_action_popup.dart';
Future<void> ssoLoginFlow(
Client client,
BuildContext context,
bool signUp,
List<LoginFlow> loginFlows,
) async {
Logs().i('Starting legacy SSO Flow...');
final redirectUrl = kIsWeb
? Uri.parse(
html.window.location.href,
).resolveUri(Uri(pathSegments: ['auth.html'])).toString()
: (PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
? '${AppConfig.appOpenUrlScheme.toLowerCase()}://login'
: 'http://localhost:3001//login';
final (redirectUrl, urlScheme) = calcRedirectUrl(withAuthHtmlPath: true);
Logs().i('Starting legacy SSO Flow with redirect URL', redirectUrl);
final ssoProviders =
(loginFlows
.firstWhere((flow) => flow.type == 'm.login.sso')
.additionalProperties['identity_providers']
as List?)
?.map(
(json) => (
name: json['name'] as String,
id: json['id'] as String,
brand: json['brand'] as String?,
icon: json['icon'] as String?,
),
)
.toList();
final provider = ssoProviders == null
? null
: await showModalActionPopup(
context: context,
title: L10n.of(context).logInTo(client.homeserver!.host),
actions: ssoProviders
.map(
(provider) =>
AdaptiveModalAction(label: provider.name, value: provider),
)
.toList(),
);
final url = client.homeserver!.replace(
path: '/_matrix/client/v3/login/sso/redirect',
path:
'/_matrix/client/v3/login/sso/redirect${provider == null ? '' : '/${provider.id}'}',
queryParameters: {
'redirectUrl': redirectUrl,
'redirectUrl': redirectUrl.toString(),
'action': signUp ? 'register' : 'login',
},
);
final urlScheme =
(PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
? Uri.parse(redirectUrl).scheme
: 'http://localhost:3001';
final result = await FlutterWebAuth2.authenticate(
url: url.toString(),
callbackUrlScheme: urlScheme,

View file

@ -85,7 +85,7 @@ class AdaptiveDialogAction extends StatelessWidget {
class AdaptiveDialogInkWell extends StatelessWidget {
final Widget child;
final VoidCallback onTap;
final VoidCallback? onTap;
final EdgeInsets padding;
const AdaptiveDialogInkWell({
@ -108,7 +108,9 @@ class AdaptiveDialogInkWell extends StatelessWidget {
);
}
return Material(
color: theme.colorScheme.surfaceBright,
color: onTap == null
? theme.colorScheme.surfaceContainer
: theme.colorScheme.surfaceBright,
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
child: InkWell(
borderRadius: BorderRadius.circular(AppConfig.borderRadius / 2),
@ -125,7 +127,7 @@ class AdaptiveDialogInkWell extends StatelessWidget {
class AdaptiveIconTextButton extends StatelessWidget {
final String label;
final IconData icon;
final VoidCallback onTap;
final VoidCallback? onTap;
const AdaptiveIconTextButton({
super.key,
required this.label,

View file

@ -185,6 +185,7 @@ class PublicRoomDialog extends StatelessWidget {
style: theme.textTheme.bodyMedium
?.copyWith(fontSize: 10),
),
maxLines: 1,
textAlign: TextAlign.center,
),
),

View file

@ -41,6 +41,7 @@ class UserDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
final client = Matrix.of(context).client;
final directChatRoomId = client.getDirectChatFromUserId(profile.userId);
final displayname =
profile.displayName ??
profile.userId.localpart ??
@ -194,35 +195,39 @@ class UserDialog extends StatelessWidget {
AdaptiveIconTextButton(
label: L10n.of(context).block,
icon: Icons.block_outlined,
onTap: () {
final router = GoRouter.of(context);
Navigator.of(context).pop();
router.go(
'/rooms/settings/security/ignorelist',
extra: profile.userId,
);
},
onTap: client.userID == profile.userId
? null
: () {
final router = GoRouter.of(context);
Navigator.of(context).pop();
router.go(
'/rooms/settings/security/ignorelist',
extra: profile.userId,
);
},
),
AdaptiveIconTextButton(
label: L10n.of(context).report,
icon: Icons.gavel_outlined,
onTap: () async {
Navigator.of(context).pop();
final reason = await showTextInputDialog(
context: context,
title: L10n.of(context).whyDoYouWantToReportThis,
okLabel: L10n.of(context).report,
cancelLabel: L10n.of(context).cancel,
hintText: L10n.of(context).reason,
);
if (reason == null || reason.isEmpty) return;
await showFutureLoadingDialog(
context: context,
future: () => Matrix.of(
context,
).client.reportUser(profile.userId, reason),
);
},
onTap: client.userID == profile.userId
? null
: () async {
Navigator.of(context).pop();
final reason = await showTextInputDialog(
context: context,
title: L10n.of(context).whyDoYouWantToReportThis,
okLabel: L10n.of(context).report,
cancelLabel: L10n.of(context).cancel,
hintText: L10n.of(context).reason,
);
if (reason == null || reason.isEmpty) return;
await showFutureLoadingDialog(
context: context,
future: () => Matrix.of(
context,
).client.reportUser(profile.userId, reason),
);
},
),
AdaptiveIconTextButton(
label: L10n.of(context).share,
@ -235,19 +240,23 @@ class UserDialog extends StatelessWidget {
],
),
AdaptiveDialogInkWell(
onTap: () async {
final router = GoRouter.of(context);
final roomIdResult = await showFutureLoadingDialog(
context: context,
future: () => client.startDirectChat(profile.userId),
);
final roomId = roomIdResult.result;
if (roomId == null) return;
if (context.mounted) Navigator.of(context).pop();
router.go('/rooms/$roomId');
},
onTap: client.userID == profile.userId
? null
: () async {
final router = GoRouter.of(context);
final roomIdResult = await showFutureLoadingDialog(
context: context,
future: () => client.startDirectChat(profile.userId),
);
final roomId = roomIdResult.result;
if (roomId == null) return;
if (context.mounted) Navigator.of(context).pop();
router.go('/rooms/$roomId');
},
child: Text(
L10n.of(context).sendAMessage,
directChatRoomId == null
? L10n.of(context).createNewChat
: L10n.of(context).sendAMessage,
style: TextStyle(color: theme.colorScheme.secondary),
),
),

View file

@ -16,6 +16,8 @@ class ConfigViewer extends StatefulWidget {
}
class _ConfigViewerState extends State<ConfigViewer> {
String _searchQuery = '';
Future<void> _changeSetting(
AppSettings appSetting,
SharedPreferences store,
@ -48,15 +50,32 @@ class _ConfigViewerState extends State<ConfigViewer> {
setState(() {});
}
Future<void> _reset() async {
await AppSettings.reset();
setState(() {});
}
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
final normalizedQuery = _searchQuery.trim().toLowerCase();
final filteredSettings = AppSettings.values
.where((setting) {
if (normalizedQuery.isEmpty) return true;
return setting.name.toLowerCase().contains(normalizedQuery);
})
.toList(growable: false);
return Scaffold(
appBar: AppBar(
title: Text(L10n.of(context).advancedConfigurations),
leading: BackButton(onPressed: () => context.go('/')),
actions: [
TextButton(onPressed: _reset, child: Text(L10n.of(context).reset)),
],
),
body: Column(
crossAxisAlignment: .stretch,
children: [
Container(
margin: const EdgeInsets.all(16),
@ -67,12 +86,29 @@ class _ConfigViewerState extends State<ConfigViewer> {
style: TextStyle(color: theme.colorScheme.onErrorContainer),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: TextField(
onChanged: (value) => setState(() => _searchQuery = value),
decoration: InputDecoration(
hintText: 'Search config key',
prefixIcon: const Icon(Icons.search),
border: const OutlineInputBorder(),
isDense: true,
filled: true,
fillColor: theme.colorScheme.surfaceContainerHighest.withAlpha(
128,
),
),
),
),
const SizedBox(height: 8),
Expanded(
child: ListView.builder(
itemCount: AppSettings.values.length,
itemCount: filteredSettings.length,
itemBuilder: (context, i) {
final store = Matrix.of(context).store;
final appSetting = AppSettings.values[i];
final appSetting = filteredSettings[i];
var value = '';
if (appSetting is AppSettings<String>) {
value = appSetting.value;
@ -81,7 +117,13 @@ class _ConfigViewerState extends State<ConfigViewer> {
value = appSetting.value.toString();
}
if (appSetting is AppSettings<bool>) {
value = appSetting.value.toString();
return SwitchListTile.adaptive(
title: Text(appSetting.name),
subtitle: Text(value),
value: appSetting.value,
onChanged: (value) =>
_changeSetting(appSetting, store, (!value).toString()),
);
}
if (appSetting is AppSettings<double>) {
value = appSetting.value.toString();

View file

@ -4,6 +4,7 @@ import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/routes.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/config/themes.dart';
@ -37,6 +38,12 @@ class FluffyChatApp extends StatelessWidget {
static final GoRouter router = GoRouter(
routes: AppRoutes.routes,
debugLogDiagnostics: true,
redirect: (context, state) {
if (state.uri.toString().startsWith(AppConfig.deepLinkPrefix)) {
return '/rooms/newprivatechat?deeplink=${state.uri}';
}
return null;
},
);
@override

View file

@ -1,10 +1,10 @@
import 'package:flutter/material.dart';
import 'package:particles_network/particles_network.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:url_launcher/url_launcher_string.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/config/setting_keys.dart';
import 'package:fluffychat/config/themes.dart';
import 'package:fluffychat/l10n/l10n.dart';
import 'package:fluffychat/utils/platform_infos.dart';
@ -118,7 +118,7 @@ class _PrivacyButtons extends StatelessWidget {
mainAxisAlignment: mainAxisAlignment,
children: [
TextButton(
onPressed: () => launchUrlString(AppConfig.website),
onPressed: () => launchUrlString(AppSettings.website.value),
child: Text(L10n.of(context).website, style: shadowTextStyle),
),
TextButton(
@ -126,7 +126,7 @@ class _PrivacyButtons extends StatelessWidget {
child: Text(L10n.of(context).help, style: shadowTextStyle),
),
TextButton(
onPressed: () => launchUrl(AppConfig.privacyUrl),
onPressed: () => launchUrlString(AppSettings.privacyPolicy.value),
child: Text(L10n.of(context).privacy, style: shadowTextStyle),
),
TextButton(

View file

@ -18,10 +18,6 @@ import 'package:fluffychat/widgets/fluffy_chat_app.dart';
import 'package:fluffychat/widgets/matrix.dart';
extension LocalNotificationsExtension on MatrixState {
static final html.AudioElement _audioPlayer = html.AudioElement()
..src = 'assets/assets/sounds/notification.ogg'
..load();
Future<void> showLocalNotification(Event event) async {
final roomId = event.room.id;
if (activeRoomId == roomId) {
@ -74,8 +70,6 @@ extension LocalNotificationsExtension on MatrixState {
);
}
_audioPlayer.play();
html.Notification(
title,
body: body,

View file

@ -257,7 +257,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
});
onLogoutSub[name] ??= c.onLoginStateChanged.stream
.where((state) => state == LoginState.loggedOut)
.listen((state) {
.listen((_) {
final loggedInWithMultipleClients = widget.clients.length > 1;
_cancelSubs(c.clientName);
@ -272,11 +272,9 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
).showSnackBar(
SnackBar(content: Text(L10n.of(context).oneClientLoggedOut)),
);
if (state != LoginState.loggedIn) {
FluffyChatApp.router.go('/rooms');
}
return;
}
FluffyChatApp.router.go('/');
});
onUiaRequest[name] ??= c.onUiaRequest.stream.listen(uiaRequestHandler);
if (PlatformInfos.isWeb || PlatformInfos.isLinux) {
@ -341,7 +339,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
}
Future<void> createVoipPlugin() async {
if (AppSettings.experimentalVoip.value) {
if (!AppSettings.experimentalVoip.value) {
voipPlugin = null;
return;
}

View file

@ -20,7 +20,7 @@ Future<int?> showPermissionChooser(
child: Column(
mainAxisSize: .min,
crossAxisAlignment: .stretch,
spacing: 12.0,
spacing: 16.0,
children: [
Text(L10n.of(context).setPowerLevelDescription),
ValueListenableBuilder(

View file

@ -91,7 +91,11 @@ class QrCodeViewer extends StatelessWidget {
margin: const EdgeInsets.all(32.0),
padding: const EdgeInsets.all(32.0),
decoration: BoxDecoration(
color: theme.colorScheme.primaryContainer,
border: Border.all(
color: theme.colorScheme.onPrimaryContainer,
width: 4,
),
color: theme.colorScheme.surfaceBright,
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
),
child: Column(

View file

@ -13,7 +13,6 @@
#include <file_selector_linux/file_selector_plugin.h>
#include <flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <gtk/gtk_plugin.h>
#include <handy_window/handy_window_plugin.h>
#include <record_linux/record_linux_plugin.h>
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
@ -45,9 +44,6 @@ void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) flutter_webrtc_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterWebRTCPlugin");
flutter_web_r_t_c_plugin_register_with_registrar(flutter_webrtc_registrar);
g_autoptr(FlPluginRegistrar) gtk_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
gtk_plugin_register_with_registrar(gtk_registrar);
g_autoptr(FlPluginRegistrar) handy_window_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "HandyWindowPlugin");
handy_window_plugin_register_with_registrar(handy_window_registrar);

View file

@ -10,7 +10,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
file_selector_linux
flutter_secure_storage_linux
flutter_webrtc
gtk
handy_window
record_linux
screen_retriever_linux

View file

@ -5,7 +5,6 @@
import FlutterMacOS
import Foundation
import app_links
import audio_session
import desktop_drop
import desktop_webview_window
@ -36,7 +35,6 @@ import window_manager
import window_to_front
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AppLinksMacosPlugin.register(with: registry.registrar(forPlugin: "AppLinksMacosPlugin"))
AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioSessionPlugin"))
DesktopDropPlugin.register(with: registry.registrar(forPlugin: "DesktopDropPlugin"))
DesktopWebviewWindowPlugin.register(with: registry.registrar(forPlugin: "DesktopWebviewWindowPlugin"))

View file

@ -1,6 +1,4 @@
PODS:
- app_links (6.4.1):
- FlutterMacOS
- audio_session (0.0.1):
- FlutterMacOS
- desktop_drop (0.0.1):
@ -76,7 +74,6 @@ PODS:
- FlutterMacOS
DEPENDENCIES:
- app_links (from `Flutter/ephemeral/.symlinks/plugins/app_links/macos`)
- audio_session (from `Flutter/ephemeral/.symlinks/plugins/audio_session/macos`)
- desktop_drop (from `Flutter/ephemeral/.symlinks/plugins/desktop_drop/macos`)
- desktop_webview_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_webview_window/macos`)
@ -114,8 +111,6 @@ SPEC REPOS:
- WebRTC-SDK
EXTERNAL SOURCES:
app_links:
:path: Flutter/ephemeral/.symlinks/plugins/app_links/macos
audio_session:
:path: Flutter/ephemeral/.symlinks/plugins/audio_session/macos
desktop_drop:
@ -178,7 +173,6 @@ EXTERNAL SOURCES:
:path: Flutter/ephemeral/.symlinks/plugins/window_to_front/macos
SPEC CHECKSUMS:
app_links: 05a6ec2341985eb05e9f97dc63f5837c39895c3f
audio_session: eaca2512cf2b39212d724f35d11f46180ad3a33e
desktop_drop: 10a3e6a7fa9dbe350541f2574092fecfa345a07b
desktop_webview_window: 7e37af677d6d19294cb433d9b1d878ef78dffa4d
@ -187,7 +181,7 @@ SPEC CHECKSUMS:
emoji_picker_flutter: 51ca408e289d84d1e460016b2a28721ec754fcf7
file_picker: 7584aae6fa07a041af2b36a2655122d42f578c1a
file_selector_macos: 9e9e068e90ebee155097d00e89ae91edb2374db7
flutter_local_notifications: 4bf37a31afde695b56091b4ae3e4d9c7a7e6cda0
flutter_local_notifications: 1fc7ffb10a83d6a2eeeeddb152d43f1944b0aad0
flutter_new_badger: 6fe9bf7e42793a164032c21f164c0ad9985cd0f2
flutter_secure_storage_darwin: acdb3f316ed05a3e68f856e0353b133eec373a23
flutter_vodozemac: fd2ea9cb3e2a37beaac883a369811fbfe042fc53

View file

@ -25,14 +25,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.13.6"
animations:
dependency: "direct main"
description:
name: animations
sha256: "18938cefd7dcc04e1ecac0db78973761a01e4bc2d6bfae0cfa596bfeac9e96ab"
url: "https://pub.dev"
source: hosted
version: "2.1.1"
ansicolor:
dependency: transitive
description:
@ -41,38 +33,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.3"
app_links:
dependency: "direct main"
description:
name: app_links
sha256: "5f88447519add627fe1cbcab4fd1da3d4fed15b9baf29f28b22535c95ecee3e8"
url: "https://pub.dev"
source: hosted
version: "6.4.1"
app_links_linux:
dependency: transitive
description:
name: app_links_linux
sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81
url: "https://pub.dev"
source: hosted
version: "1.0.3"
app_links_platform_interface:
dependency: transitive
description:
name: app_links_platform_interface
sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f"
url: "https://pub.dev"
source: hosted
version: "2.0.2"
app_links_web:
dependency: transitive
description:
name: app_links_web
sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555
url: "https://pub.dev"
source: hosted
version: "1.0.4"
archive:
dependency: "direct main"
description:
@ -282,7 +242,7 @@ packages:
source: hosted
version: "1.0.2"
cupertino_icons:
dependency: "direct main"
dependency: transitive
description:
name: cupertino_icons
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
@ -502,11 +462,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_driver:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
flutter_foreground_task:
dependency: "direct main"
description:
@ -535,34 +490,34 @@ packages:
dependency: "direct main"
description:
name: flutter_local_notifications
sha256: "2b50e938a275e1ad77352d6a25e25770f4130baa61eaf02de7a9a884680954ad"
sha256: "0d9035862236fe38250fe1644d7ed3b8254e34a21b2c837c9f539fbb3bba5ef1"
url: "https://pub.dev"
source: hosted
version: "20.1.0"
version: "21.0.0"
flutter_local_notifications_linux:
dependency: transitive
description:
name: flutter_local_notifications_linux
sha256: dce0116868cedd2cdf768af0365fc37ff1cbef7c02c4f51d0587482e625868d0
sha256: e0f25e243c6c44c825bbbc6b2b2e76f7d9222362adcfe9fd780bf01923c840bd
url: "https://pub.dev"
source: hosted
version: "7.0.0"
version: "8.0.0"
flutter_local_notifications_platform_interface:
dependency: transitive
description:
name: flutter_local_notifications_platform_interface
sha256: "23de31678a48c084169d7ae95866df9de5c9d2a44be3e5915a2ff067aeeba899"
sha256: e7db3d5b49c2b7ecc68deba4aaaa67a348f92ee0fef34c8e4b4459dbef0d7307
url: "https://pub.dev"
source: hosted
version: "10.0.0"
version: "11.0.0"
flutter_local_notifications_windows:
dependency: transitive
description:
name: flutter_local_notifications_windows
sha256: e97a1a3016512437d9c0b12fae7d1491c3c7b9aa7f03a69b974308840656b02a
sha256: "3a2654ba104fbb52c618ebed9def24ef270228470718c43b3a6afcd5c81bef0c"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "3.0.0"
flutter_localizations:
dependency: "direct main"
description: flutter
@ -714,11 +669,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.0"
fuchsia_remote_debug_protocol:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
geoclue:
dependency: transitive
description:
@ -807,14 +757,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.2.8"
gtk:
dependency: transitive
description:
name: gtk
sha256: e8ce9ca4b1df106e4d72dad201d345ea1a036cc12c360f1a7d5a758f78ffa42c
url: "https://pub.dev"
source: hosted
version: "2.1.0"
handy_window:
dependency: "direct main"
description:
@ -959,11 +901,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.6.0"
integration_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
intl:
dependency: "direct main"
description:
@ -1061,7 +998,7 @@ packages:
source: hosted
version: "1.6.2"
linkify:
dependency: "direct main"
dependency: transitive
description:
name: linkify
sha256: "4139ea77f4651ab9c315b577da2dd108d9aa0bd84b5d03d33323f1970c645832"
@ -1112,10 +1049,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
url: "https://pub.dev"
source: hosted
version: "0.12.18"
version: "0.12.19"
material_color_utilities:
dependency: transitive
description:
@ -1128,10 +1065,10 @@ packages:
dependency: "direct main"
description:
name: matrix
sha256: c0214ee99a73957d3c02d54a60afcf9acee577b0924749085d6fdf556e8eba42
sha256: "5bb38e98212bc4c3244c762a1af787f7239a38d2cfdf44488258283ff899f77c"
url: "https://pub.dev"
source: hosted
version: "6.1.1"
version: "6.2.0"
meta:
dependency: transitive
description:
@ -1300,54 +1237,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.0"
permission_handler:
dependency: "direct main"
description:
name: permission_handler
sha256: bc917da36261b00137bbc8896bf1482169cd76f866282368948f032c8c1caae1
url: "https://pub.dev"
source: hosted
version: "12.0.1"
permission_handler_android:
dependency: transitive
description:
name: permission_handler_android
sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6"
url: "https://pub.dev"
source: hosted
version: "13.0.1"
permission_handler_apple:
dependency: transitive
description:
name: permission_handler_apple
sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023
url: "https://pub.dev"
source: hosted
version: "9.4.7"
permission_handler_html:
dependency: transitive
description:
name: permission_handler_html
sha256: "38f000e83355abb3392140f6bc3030660cfaef189e1f87824facb76300b4ff24"
url: "https://pub.dev"
source: hosted
version: "0.1.3+5"
permission_handler_platform_interface:
dependency: transitive
description:
name: permission_handler_platform_interface
sha256: eb99b295153abce5d683cac8c02e22faab63e50679b937fa1bf67d58bb282878
url: "https://pub.dev"
source: hosted
version: "4.3.0"
permission_handler_windows:
dependency: transitive
description:
name: permission_handler_windows
sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e"
url: "https://pub.dev"
source: hosted
version: "0.2.1"
petitparser:
dependency: transitive
description:
@ -1849,14 +1738,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.3.0"
sync_http:
dependency: transitive
description:
name: sync_http
sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
url: "https://pub.dev"
source: hosted
version: "0.3.1"
synchronized:
dependency: transitive
description:
@ -1877,34 +1758,34 @@ packages:
dependency: transitive
description:
name: test
sha256: "54c516bbb7cee2754d327ad4fca637f78abfc3cbcc5ace83b3eda117e42cd71a"
sha256: "280d6d890011ca966ad08df7e8a4ddfab0fb3aa49f96ed6de56e3521347a9ae7"
url: "https://pub.dev"
source: hosted
version: "1.29.0"
version: "1.30.0"
test_api:
dependency: transitive
description:
name: test_api
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
url: "https://pub.dev"
source: hosted
version: "0.7.9"
version: "0.7.10"
test_core:
dependency: transitive
description:
name: test_core
sha256: "394f07d21f0f2255ec9e3989f21e54d3c7dc0e6e9dbce160e5a9c1a6be0e2943"
sha256: "0381bd1585d1a924763c308100f2138205252fb90c9d4eeaf28489ee65ccde51"
url: "https://pub.dev"
source: hosted
version: "0.6.15"
version: "0.6.16"
timezone:
dependency: transitive
description:
name: timezone
sha256: dd14a3b83cfd7cb19e7888f1cbc20f258b8d71b54c06f79ac585f14093a287d1
sha256: "784a5e34d2eb62e1326f24d6f600aaaee452eb8ca8ef2f384a59244e292d158b"
url: "https://pub.dev"
source: hosted
version: "0.10.1"
version: "0.11.0"
tint:
dependency: transitive
description:
@ -1917,10 +1798,10 @@ packages:
dependency: "direct dev"
description:
name: translations_cleaner
sha256: "811f42be32f024fdf083903f198d3625f6ee6927601e3a53a29b85b90508b88c"
sha256: c6e5051cb5d4fe4c5b2cc1ef83a6964f27063f9cf5b6166f445709bea8f81ad3
url: "https://pub.dev"
source: hosted
version: "0.1.0"
version: "0.1.1"
typed_data:
dependency: transitive
description:
@ -2109,10 +1990,10 @@ packages:
dependency: "direct main"
description:
name: video_player
sha256: "08bfba72e311d48219acad4e191b1f9c27ff8cf928f2c7234874592d9c9d7341"
sha256: "48a7bdaa38a3d50ec10c78627abdbfad863fdf6f0d6e08c7c3c040cfd80ae36f"
url: "https://pub.dev"
source: hosted
version: "2.11.0"
version: "2.11.1"
video_player_android:
dependency: transitive
description:
@ -2165,18 +2046,18 @@ packages:
dependency: "direct main"
description:
name: wakelock_plus
sha256: "9296d40c9adbedaba95d1e704f4e0b434be446e2792948d0e4aa977048104228"
sha256: e4e125b7c1a2f0e491e5452afdc0e25ab77b2d2775a7caa231fcc1c1f2162c47
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.5.0"
wakelock_plus_platform_interface:
dependency: transitive
description:
name: wakelock_plus_platform_interface
sha256: "036deb14cd62f558ca3b73006d52ce049fabcdcb2eddfe0bf0fe4e8a943b5cf2"
sha256: "24b84143787220a403491c2e5de0877fbbb87baf3f0b18a2a988973863db4b03"
url: "https://pub.dev"
source: hosted
version: "1.3.0"
version: "1.4.0"
watcher:
dependency: transitive
description:
@ -2218,14 +2099,6 @@ packages:
url: "https://github.com/google/webcrypto.dart.git"
source: git
version: "0.6.0"
webdriver:
dependency: transitive
description:
name: webdriver
sha256: "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade"
url: "https://pub.dev"
source: hosted
version: "3.1.0"
webkit_inspection_protocol:
dependency: transitive
description:
@ -2315,5 +2188,5 @@ packages:
source: hosted
version: "3.1.3"
sdks:
dart: ">=3.10.3 <4.0.0"
dart: ">=3.11.1 <4.0.0"
flutter: ">=3.38.4"

View file

@ -4,14 +4,12 @@ publish_to: none
# On version bump please also increase:
# 1. The build number (for F-Droid)
# 2. The version in /snap/snapcraft.yaml
version: 2.4.0+3546
version: 2.5.0+3547
environment:
sdk: ">=3.10.0 <4.0.0"
sdk: ">=3.11.1 <4.0.0"
dependencies:
animations: ^2.1.1
app_links: ^6.4.1
archive: ^4.0.7
async: ^2.11.0
badges: ^3.1.2
@ -19,7 +17,6 @@ dependencies:
chewie: ^1.13.0
collection: ^1.18.0
cross_file: ^0.3.5
cupertino_icons: any
desktop_drop: ^0.7.0
desktop_notifications: ^0.6.3
device_info_plus: ^12.3.0
@ -31,7 +28,7 @@ dependencies:
sdk: flutter
flutter_foreground_task: ^9.2.1
flutter_linkify: ^6.0.0
flutter_local_notifications: ^20.1.0
flutter_local_notifications: ^21.0.0
flutter_localizations:
sdk: flutter
flutter_map: ^8.2.2
@ -52,8 +49,7 @@ dependencies:
intl: any
just_audio: ^0.10.5
latlong2: ^0.9.1
linkify: ^5.0.0
matrix: ^6.1.1
matrix: ^6.2.0
mime: ^2.0.0
native_imaging: ^0.4.0
opus_caf_converter_dart: ^1.0.1
@ -61,7 +57,6 @@ dependencies:
particles_network: ^1.9.3
path: ^1.9.0
path_provider: ^2.1.2
permission_handler: ^12.0.1
pretty_qr_code: ^3.6.0
provider: ^6.0.2
punycode: ^1.0.0
@ -81,8 +76,8 @@ dependencies:
universal_html: ^2.3.0
url_launcher: ^6.3.2
video_compress: ^3.1.4
video_player: ^2.10.1
wakelock_plus: ^1.3.3
video_player: ^2.11.1
wakelock_plus: ^1.5.0
webrtc_interface: ^1.3.0
dev_dependencies:
@ -92,10 +87,8 @@ dev_dependencies:
flutter_test:
sdk: flutter
import_sorter: ^4.6.0
integration_test:
sdk: flutter
license_checker: ^1.6.2
translations_cleaner: ^0.1.0
translations_cleaner: ^0.1.1
import_sorter:
ignored_files: # Optional, defaults to []

View file

@ -10,16 +10,6 @@
"English"
]
},
{
"name": "converser.eu",
"website": "https://converser.eu",
"description": "A free and decentralized communication server.",
"reg_method": "oidc",
"languages": [
"All",
"Français"
]
},
{
"name": "mozilla.org",
"website": "https://mozilla.org",
@ -31,11 +21,13 @@
]
},
{
"name": "magdeburg.jetzt",
"website": "https://magdeburg.jetzt",
"name": "tchncs.de",
"website": "https://tchncs.de",
"description": "A general homeserver. Owner also hosts other FOSS services.",
"reg_method": "oidc",
"languages": [
"All",
"English",
"Deutsch"
]
}

View file

@ -1,7 +1,7 @@
name: fluffychat
title: FluffyChat
base: core24
version: 2.4.0
version: 2.5.0
license: AGPL-3.0
summary: The cutest messenger in the Matrix network
description: |

View file

@ -6,7 +6,6 @@
#include "generated_plugin_registrant.h"
#include <app_links/app_links_plugin_c_api.h>
#include <desktop_drop/desktop_drop_plugin.h>
#include <desktop_webview_window/desktop_webview_window_plugin.h>
#include <dynamic_color/dynamic_color_plugin_c_api.h>
@ -15,7 +14,6 @@
#include <flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
#include <flutter_webrtc/flutter_web_r_t_c_plugin.h>
#include <geolocator_windows/geolocator_windows.h>
#include <permission_handler_windows/permission_handler_windows_plugin.h>
#include <record_windows/record_windows_plugin_c_api.h>
#include <screen_retriever_windows/screen_retriever_windows_plugin_c_api.h>
#include <share_plus/share_plus_windows_plugin_c_api.h>
@ -26,8 +24,6 @@
#include <window_to_front/window_to_front_plugin.h>
void RegisterPlugins(flutter::PluginRegistry* registry) {
AppLinksPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("AppLinksPluginCApi"));
DesktopDropPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("DesktopDropPlugin"));
DesktopWebviewWindowPluginRegisterWithRegistrar(
@ -44,8 +40,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
registry->GetRegistrarForPlugin("FlutterWebRTCPlugin"));
GeolocatorWindowsRegisterWithRegistrar(
registry->GetRegistrarForPlugin("GeolocatorWindows"));
PermissionHandlerWindowsPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("PermissionHandlerWindowsPlugin"));
RecordWindowsPluginCApiRegisterWithRegistrar(
registry->GetRegistrarForPlugin("RecordWindowsPluginCApi"));
ScreenRetrieverWindowsPluginCApiRegisterWithRegistrar(

View file

@ -3,7 +3,6 @@
#
list(APPEND FLUTTER_PLUGIN_LIST
app_links
desktop_drop
desktop_webview_window
dynamic_color
@ -12,7 +11,6 @@ list(APPEND FLUTTER_PLUGIN_LIST
flutter_secure_storage_windows
flutter_webrtc
geolocator_windows
permission_handler_windows
record_windows
screen_retriever_windows
share_plus