Commit graph

740 commits

Author SHA1 Message Date
wcjord
6f32aab48b
fix: show "knock accepted" push notification body instead of "You have been invited" (#5823) (#5835)
* fix: show knock-accepted notification body when invite follows a knock (#5823)

When Synapse accepts a knock it sends an m.room.member invite event. The client
was displaying the generic 'You have been invited by X' push notification body
because the invite event alone doesn't carry prev_content on the push path.

Use KnockTracker (already used for auto-join) to detect knock-accepted invites
and show a dedicated 'Your join request was accepted!' notification body instead.

- Add knockAccepted string to intl_en.arb
- Extract condition into isKnockAcceptedInvite() pure util for testability
- Expose KnockTracker.getKnockedRoomIds() publicly (was _getKnockedRoomIds)
- Override notification body in push_helper.dart (background) and
  local_notifications_extension.dart (foreground/web)
- Unit tests for all isKnockAcceptedInvite() branches (9 tests)

* formatting

* fix up pangea comments

* fix: avoid race condition with knocked room account data updates and local push notification content

* translations

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-27 12:29:50 -05:00
ggurdin
43628427c1
fix: auto-accept invite resulting from knocks on app launch (#5824) 2026-02-26 13:24:34 -05:00
wcjord
7f1e8f5ea0
feat: client-side knock auto-accept via KnockTracker (#5794)
* feat: client-side knock auto-accept via KnockTracker

Replace server-side AutoAcceptInviteIfKnocked (removed in
synapse-pangea-chat PR #21) with client-side KnockTracker.

- Record knocked room IDs in Matrix account data (org.pangea.knocked_rooms)
- Auto-join when invite arrives for a previously knocked room
- Migrate storage from GetStorage to Matrix account data for
  cross-device sync and reinstall persistence
- Add joining-courses.instructions.md design doc

* formatting

* centralizes calls to knock-storage related functions

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2026-02-24 14:44:36 -05:00
ggurdin
e8428783e6
Fluffychat merge 2 (#5590)
* build: Reenable shrink resources and minify in gradle

* build: (deps): bump image from 4.6.0 to 4.7.1

Bumps [image](https://github.com/brendan-duncan/image) from 4.6.0 to 4.7.1.
- [Changelog](https://github.com/brendan-duncan/image/blob/main/CHANGELOG.md)
- [Commits](https://github.com/brendan-duncan/image/commits)

---
updated-dependencies:
- dependency-name: image
  dependency-version: 4.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build: (deps): bump file_picker from 10.3.7 to 10.3.8

Bumps [file_picker](https://github.com/miguelpruivo/flutter_file_picker) from 10.3.7 to 10.3.8.
- [Release notes](https://github.com/miguelpruivo/flutter_file_picker/releases)
- [Changelog](https://github.com/miguelpruivo/flutter_file_picker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/miguelpruivo/flutter_file_picker/compare/v10.3.7...v10.3.8)

---
updated-dependencies:
- dependency-name: file_picker
  dependency-version: 10.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: Improved search

* build: Use matrix sdk vom pub.dev again

* chore: Follow up better search

* build: (deps): bump image from 4.7.1 to 4.7.2

Bumps [image](https://github.com/brendan-duncan/image) from 4.7.1 to 4.7.2.
- [Changelog](https://github.com/brendan-duncan/image/blob/main/CHANGELOG.md)
- [Commits](https://github.com/brendan-duncan/image/commits)

---
updated-dependencies:
- dependency-name: image
  dependency-version: 4.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: Make cross signing self sign mandatory for bootstrap

* chore: Update user device keys before creating bootstrap

* fix: Better wait for secrets after verification bootstrap

* refactor: Remove native imaging and enable web worker

* refactor: Remove unused html onfocus streams

* build: (deps): bump flutter_foreground_task from 9.1.0 to 9.2.0

Bumps [flutter_foreground_task](https://github.com/Dev-hwang/flutter_foreground_task) from 9.1.0 to 9.2.0.
- [Changelog](https://github.com/Dev-hwang/flutter_foreground_task/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Dev-hwang/flutter_foreground_task/commits)

---
updated-dependencies:
- dependency-name: flutter_foreground_task
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(translations): Translated using Weblate (Uzbek)

Currently translated at 99.7% (823 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/uz/

* chore(translations): Translated using Weblate (Russian)

Currently translated at 99.8% (824 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ru/

* chore(translations): Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.9% (750 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/

* chore(translations): Translated using Weblate (Galician)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/gl/

* chore(translations): Translated using Weblate (Basque)

Currently translated at 99.7% (823 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/eu/

* chore(translations): Translated using Weblate (Ukrainian)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/uk/

* chore(translations): Translated using Weblate (Estonian)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/

* chore(translations): Translated using Weblate (Dutch)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nl/

* chore(translations): Translated using Weblate (Russian)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ru/

* chore(translations): Translated using Weblate (Spanish)

Currently translated at 95.2% (788 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/es/

* chore(translations): Translated using Weblate (Spanish)

Currently translated at 96.3% (797 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/es/

* chore(translations): Translated using Weblate (Russian)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ru/

* chore(translations): Translated using Weblate (Russian)

Currently translated at 100.0% (825 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/ru/

* fix: Broken ruzzian plurals

* chore(translations): Translated using Weblate (Norwegian Bokmål)

Currently translated at 91.2% (753 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/nb_NO/

* chore(translations): Translated using Weblate (Bengali)

Currently translated at 4.5% (38 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/bn/

* chore(translations): Translated using Weblate (French)

Currently translated at 82.3% (679 of 825 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/fr/

* build: (deps): bump translations_cleaner from 0.0.5 to 0.1.0

Bumps [translations_cleaner](https://github.com/Chinmay-KB/translations_cleaner) from 0.0.5 to 0.1.0.
- [Changelog](https://github.com/Chinmay-KB/translations_cleaner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Chinmay-KB/translations_cleaner/commits)

---
updated-dependencies:
- dependency-name: translations_cleaner
  dependency-version: 0.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(translations): Translated using Weblate (German)

Currently translated at 99.2% (821 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/

* chore(translations): Translated using Weblate (Estonian)

Currently translated at 100.0% (827 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/

* build: Bump version to 2.4.0

* build: (deps): bump sqflite_common_ffi from 2.3.6 to 2.3.7+1

Bumps [sqflite_common_ffi](https://github.com/tekartik/sqflite) from 2.3.6 to 2.3.7+1.
- [Commits](https://github.com/tekartik/sqflite/compare/sqflite_common_ffi_v2.3.6...sqflite_common_ffi/v2.3.7)

---
updated-dependencies:
- dependency-name: sqflite_common_ffi
  dependency-version: 2.3.7+1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(translations): Translated using Weblate (Czech)

Currently translated at 66.1% (547 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/cs/

* chore(translations): Translated using Weblate (Czech)

Currently translated at 72.7% (602 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/cs/

* chore(translations): Translated using Weblate (German)

Currently translated at 99.8% (826 of 827 strings)

Translation: FluffyChat/Translations
Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/de/

* chore: Add security.md file

* fix: Locale unlocalized strings

* build: (deps): bump matrix from 4.1.0 to 5.0.0

Bumps [matrix](https://github.com/famedly/matrix-dart-sdk) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/famedly/matrix-dart-sdk/releases)
- [Changelog](https://github.com/famedly/matrix-dart-sdk/blob/main/CHANGELOG.md)
- [Commits](https://github.com/famedly/matrix-dart-sdk/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: matrix
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: Notifications on web correctly managed when tab not focused

* chore: Add changelog for android

* chore: Remove duplicated localization

* fix: Sign in label

* chore: Versionize fcm shared isolate

* build: Remove unused packag

* build: (deps): bump package_info_plus from 8.3.1 to 9.0.0

Bumps [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) from 8.3.1 to 9.0.0.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v9.0.0/packages/package_info_plus)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: Display particle animation on login page

* chore: Use fixed version of fcm shared isolate

* fix: apk crash on some platforms due new flutter version

* chore: Correct kotlin format

* fix iOS notifications

* fluffychat merge

* fluffychat merge

* fluffychat merge

* fluffychat merge

* fluffychat merge

* fluffychat merge

* add missing type annotations

* update matrix version

* fluffychat merge

* fluffychat merge

* fix notification on click actions

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Christian Kußowski <c.kussowski@famedly.com>
Co-authored-by: Krille-chan <christian-kussowski@posteo.de>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: BeMeritus <bemerituss@gmail.com>
Co-authored-by: Frank Paul Silye <frankps@gmail.com>
Co-authored-by: josé m. <correoxm@disroot.org>
Co-authored-by: xabirequejo <xabi.rn@gmail.com>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Priit Jõerüüt <jrthwlate@users.noreply.hosted.weblate.org>
Co-authored-by: Jelv <post@jelv.nl>
Co-authored-by: Дмитрий Михирев <bizdelnick@gmail.com>
Co-authored-by: Kimby <kimbyqs@gmail.com>
Co-authored-by: Christian <christian-pauly@posteo.de>
Co-authored-by: Kom nake <kominak310@svcache.com>
Co-authored-by: hugues de keyzer <komputilisto@hugues.info>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: Šebestová <ka.sebestova.cz@gmail.com>
2026-02-10 08:01:12 -05:00
ggurdin
cf2148d9b6
feat: make deeplinks work for public course preview page (#5540) 2026-01-30 13:29:26 -05:00
ggurdin
0df853a616
chore: add subtitle to chat with support tile (#5494) 2026-01-28 13:19:13 -05:00
ggurdin
66cd314477
fix: add padding to bottom of main chat list to make all items visible 2026-01-27 10:32:29 -05:00
ggurdin
fdec2006d9
feat: highlight chat with support 2026-01-26 14:07:34 -05:00
ggurdin
ad22bea271
fix: move onTap call up a level in widget tree (#5359) 2026-01-22 14:52:57 -05:00
ggurdin
9a39493236
fix: set explicit height for expanded nav rail item section (#5356) 2026-01-22 14:38:20 -05:00
ggurdin
ba7114b85e
feat: enable emoji search (#5350) 2026-01-22 13:33:52 -05:00
ggurdin
0f91cb51d2
chore: hide option to seperate chat types (#5345) 2026-01-22 12:23:03 -05:00
ggurdin
612d3d6adf
fix: use canonical activity time in display for completed activity (#5164) 2026-01-09 14:01:01 -05:00
ggurdin
1f9f2ab24a
fix: don't double space ID on navigation (#5163) 2026-01-09 13:24:00 -05:00
ggurdin
dda68d1d04
chore: hide nav rail item tooltips when expanded (#5094) 2026-01-06 15:22:43 -05:00
ggurdin
2e0d38e801
4860 dms all chats (#5015)
* feat: initial work for dms => all chats

* more navigation updates

* change all chats tooltip
2025-12-31 14:05:16 -05:00
ggurdin
dd9a4858d1
feat: On hover of the Nav Bar, expand to show current icon tooltip text (#4976)
* feat: On hover of the Nav Bar, expand to show current icon tooltip text

* animate menu transition
2025-12-30 13:24:28 -05:00
Kelrap
889cfe40c8 Remove instructions from chat view, and add profile explanation to course participant page 2025-12-12 11:20:14 -05:00
ggurdin
652f5731b4
build: file reorganization 2025-12-04 16:36:04 -05:00
ggurdin
5e9840dbe6
remove unreferenced functions from user controller 2025-12-04 11:01:41 -05:00
ggurdin
25bae8baf6
remove matrix widget reference from pangea controller 2025-12-04 10:44:04 -05:00
ggurdin
16fe7f28e3
move language settings getter into user controller 2025-12-04 09:12:48 -05:00
ggurdin
97bfdb2603
remove space code controller from pangea controller 2025-12-03 16:36:41 -05:00
ggurdin
0c7813dc8e
feat: enable joining space via link on mobile (#4712) 2025-11-20 12:15:47 -05:00
Kelrap
630194e3af
Make unread badge size consistent regardless of size (#4669)
Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-11-19 11:49:35 -05:00
ggurdin
0ab91ccb68
feat: display user's subscription end/refresh date 2025-11-11 13:45:22 -05:00
ggurdin
a45c52add4
chore: saved activity copy updates, go directly back to course settings on save activity (#4482) 2025-10-21 14:26:54 -04:00
Kelrap
48d06e1353
Simplify search (#4222)
* Hide user and public course search in main chat list search

* Remove chat header and instructions when search chat list, add message when no chats/DMs found

* Use same filtering method as chat list to check if search has no results

* chore: remove unreferences widget, revert unused changes to widget, remove unreferenced copy

---------

Co-authored-by: ggurdin <ggurdin@gmail.com>
2025-10-21 13:35:50 -04:00
ggurdin
828dbab9a8
feat: use cached space code to join space on create account (#4224) 2025-10-02 11:51:25 -04:00
ggurdin
ef42cf5cee
chore: changes to chat list main view (#4158)
* chore: changes to chat list main view

* remove onboarding page
2025-09-26 13:23:03 -04:00
ggurdin
d43f5970fc
chore: update some copy in filter dropdowns (#4140) 2025-09-25 12:43:27 -04:00
ggurdin
f39b632a45
fix: use outer context when navigating via course chat popup (#4139) 2025-09-25 12:36:41 -04:00
ggurdin
533ebc991e
chore: update activity session notification to open activity start page without joining activity (#4122) 2025-09-25 09:11:25 -04:00
ggurdin
89bb560347
4110 playtest 92325 (#4121)
* style activity role tooltip like instruction inline tooltips

* style updates to activity details

* don't show token underlines in practice mode

* show loading activity analytics

* use all construct types to calculate activity analytics, include audio messages in activity summary request

* update chat context menus for activities

* fix positioning on menu in main chat list
2025-09-25 08:46:46 -04:00
ggurdin
d166f40849
3988 activitycourse tweaks (#3989)
* chore: set course and activity descriptions

* chore: remove redundant results button
2025-09-15 13:46:11 -04:00
ggurdin
3b3e1bfe4e
fix: show bot avatar in open roles indicator (#3966) 2025-09-12 12:20:34 -04:00
ggurdin
ee20bc6469
fix: put back pangea controller init in chat list (#3965) 2025-09-12 12:05:25 -04:00
ggurdin
7d46892a39
3927 analytics tweaks (#3953)
* analytics page updates

* add back download buttons
2025-09-11 15:24:55 -04:00
ggurdin
c04466fdca
3915 course chat view updates (#3919) 2025-09-10 11:10:13 -04:00
Kelrap
da03b0c981
Replaced references to spaces with courses in intl files and calls (#3884)
* Replaced references to spaces with courses in intl files and calls

* Change learning community reference to 'public course'

---------

Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
2025-09-05 11:38:10 -04:00
ggurdin
44d800762d
chore: use default list tile text sizes in space details more tab (#3817) 2025-08-26 16:13:23 -04:00
ggurdin
4e2d4042be
chore: only show rooms without space parents in main chat list, remove options to add to space and remove from space (#3816) 2025-08-26 16:08:56 -04:00
ggurdin
f9ee134cdd
feat: course planner 2025-08-25 15:43:17 -04:00
ggurdin
20b17e5f3d
fix: load full participant list when needed (#3782) 2025-08-21 11:37:08 -04:00
ggurdin
cc663515ec
chore: show learning objective as subtitle for activity sessions (#3762) 2025-08-15 13:56:14 -04:00
ggurdin
4abfd6b091
chore: always reset lastChecked string in choreo on changed listener (#3678) 2025-08-11 10:36:51 -04:00
Kelrap
60c1a40e94
Make chat list delete similar to leave (close chat on leave) (#3672) 2025-08-08 16:55:25 -04:00
ggurdin
39fc047961
feat: space analytics page 2025-08-06 15:18:10 -04:00
ggurdin
62140c56da
feat: activity sessions 2025-08-04 16:31:00 -04:00
ggurdin
d5daec3e6c
chore: re-enable command parsing (#3595) 2025-07-31 10:26:02 -04:00