Compare commits

...
Author SHA1 Message Date
bebbf43a5e
Revert "bump deps"
This reverts commit f8938b8257. Needed until https://github.com/flutter/flutter/issues/196529 is fixed.
2026-11-22 16:01:04 -05:00
65890b8e00
insert unicode emojis as text not tags 2026-11-22 13:17:44 -05:00
f8938b8257
bump deps 2026-11-22 12:42:37 -05:00
84aad2efbf
ignore errors caused by flutter bug 2026-11-22 10:45:27 -05:00
1d2c6ff02e
improve member list performance 2026-11-21 15:08:22 -05:00
82dc81219c
bump gomuks
fixes migration issue
2026-11-21 14:32:31 -05:00
4e66781fce
fix gomuks vendorHash 2026-11-21 14:24:32 -05:00
600b80b99f
fix location hash 2026-11-21 14:21:43 -05:00
3a2d312c37
bump gomuks 2026-11-21 14:21:26 -05:00
8d2bf2145f
bump deps 2026-11-21 14:18:44 -05:00
54f2c93d92
fix wrapping of previews of unknown message types 2026-11-19 20:13:28 -05:00
a6f2f3072e
try to fix doubled inset issue 2026-11-19 20:09:56 -05:00
5c510c5f2e
fix sendErrors not wrapping 2026-11-19 11:56:23 -05:00
3fe0ef8454
fix avif decoding 2026-11-19 10:33:10 -05:00
66fadef927
catch audioplayers error correctly 2026-11-18 14:27:03 -05:00
e1f505a1f8
bump pasteboard 2026-11-18 12:07:42 -05:00
ad402ff456
don't cache fetch failures for media 2026-11-18 11:09:36 -05:00
0193811993
add ClockController so timestamps dont get stuck 2026-11-18 09:51:00 -05:00
712452f202
fall back to localpart in a mention when displayName is null 2026-11-17 20:59:19 -05:00
d7006ebeb0
use pasteboard fork
Should work inside flatpak sandbox now
2026-11-17 13:59:53 -05:00
8793246510
prepare v1.1.3 2026-11-17 10:27:28 -05:00
4362d2c8bf
make release script executable 2026-11-17 10:27:23 -05:00
6160ce692f
bundle homeserver icons 2026-11-17 10:25:43 -05:00
9a8a54c4a3
add fallback if opening a link fails 2026-11-17 10:18:30 -05:00
98e7edd420
don't include dependenciesInfo in APK 2026-11-16 14:12:20 -05:00
c523f5b492
fix reproducable builds 2026-11-16 13:30:17 -05:00
8b2702c444
add script for releases
So i don't keep forgetting to bump various things.
2026-11-16 12:41:27 -05:00
7e41f11d34
prepare v1.1.2 2026-11-16 12:37:35 -05:00
7375f39ffb
add some stuff for reproducable builds 2026-11-16 12:07:12 -05:00
3112871ceb
add mounted check to chat scroll 2026-11-16 09:28:25 -05:00
267309e84b
change android app from singleInstance to singleTask 2026-11-14 12:02:04 -05:00
06306d31a7
key AuthorController on only what it needs 2026-11-14 11:43:30 -05:00
89f395cede
fix e2e test when you are already running a D-Bus session 2026-11-13 22:34:10 -05:00
5b2700547f
pin flutter version 2026-11-13 16:18:09 -05:00
262fb16e11
add env helper to build hook 2026-11-13 11:24:37 -05:00
2b0e8fb819
add more mounted checks to room chat controller 2026-11-13 00:02:22 -05:00
22d615a3c8
add gnumake to build env 2026-11-12 23:29:35 -05:00
861315434c
fixup CI vars 2026-11-12 23:00:32 -05:00
632be2e99b
swap to manual versionCode for android 2026-11-12 22:50:18 -05:00
504b06dd02
set NIX_CFLAGS_COMPILE explicitly to fix CI 2026-11-12 22:21:13 -05:00
5146c30bdb
fix dbus config for e2e headless 2026-11-12 21:29:10 -05:00
ca0da9f5f8
fixup Android build 2026-11-12 20:21:35 -05:00
a1a7674d02
don't do c10y checks in CI 2026-11-12 20:13:48 -05:00
1c1c18a2fa
run e2e tests on large-mem 2026-11-12 20:12:26 -05:00
312dd71e6f
fix race condition causing crashes when loading audio messages on the flatpak 2026-11-12 19:58:29 -05:00
2108af60f1
add compile sdk 37 to platform versions
fixes android build
2026-11-12 18:24:56 -05:00
31670a747c
bump code_assets 2026-11-12 18:01:30 -05:00
81d2ddc270
fix nix hashes 2026-11-12 18:00:57 -05:00
044d7fc12b
prepare v1.1.1 2026-11-12 17:52:08 -05:00
ba3c35ab59
bump deps 2026-11-12 17:49:14 -05:00
0e29690134
fixup video playback on apple platforms 2026-11-12 14:42:50 -05:00
84dd903bc4
more gracefully handle failed audio messages 2026-11-12 14:09:13 -05:00
c93004f060
add automated screenshots, fastlane metadata, and appstream metainfo
Fixes #174, fixes #173, fixes #172
2026-11-12 12:48:30 -05:00
7fd4fbec0b
remove media kit references from e2e tests 2026-11-12 00:47:29 -05:00
d85c910298
don't sign release builds if theres no store file 2026-11-12 00:32:16 -05:00
dab84063e2
calculate android build numbers from version 2026-11-12 00:26:23 -05:00
cd28745025
stop videos from autoplaying on desktop 2026-11-12 00:10:06 -05:00
0c864d613a
build avif_native from source for nix 2026-11-12 00:01:31 -05:00
Forgejo Actions
2d45c85d2b Bump libmpv to 20261111 (#171)
Updates the libmpv build that the Windows CI bundles to [20261111](https://github.com/shinchiro/mpv-winbuild-cmake/releases/tag/20261111).

Reviewed-on: #171
2026-11-11 23:44:31 -05:00
02c602e553
add a CI to bump Windows' libmpv when needed 2026-11-11 23:41:10 -05:00
d6aab6408c
credit feline build services for CI 2026-11-11 23:35:22 -05:00
d626ba9024
make e2e tests only run once a week on main 2026-11-11 23:33:26 -05:00
b60d4b968e
bump continuwuity
Some checks failed
End-to-end tests / e2e (push) Failing after 6m48s
2026-11-11 23:27:52 -05:00
c08e2239cb
bump webcrypto 2026-11-11 23:26:55 -05:00
37a2c150f3
rip out media_kit, use better_player and audioplayers
This also let us rip out cocoapods stuff.

Needs testing on Windows, MacOS, and ideally, iOS.
2026-11-11 23:25:28 -05:00
161d39322c
use location instead of geolocator, stop play services from getting embedded 2026-11-11 16:37:18 -05:00
4448f183ac
preview attachments where possible
Fixes #166
2026-11-11 15:40:01 -05:00
2520bda5a7
add dialog when first seeing banned user list
Fixes #113
2026-11-11 14:48:48 -05:00
e7527ba5e2
license screenshots 2026-11-11 14:33:20 -05:00
fcf96a831e
add license for icon 2026-11-11 14:30:39 -05:00
e17c9f747a
higher resolution screenshots 2026-11-11 14:23:44 -05:00
41f5225420
update screenshots 2026-11-11 14:14:29 -05:00
b68947e992
prepare 1.1.0 release 2026-11-11 12:18:33 -05:00
7988fd23a5
bump gomuks 2026-11-11 01:13:30 -05:00
949d5f26a9
bump gomuks 2026-11-11 00:59:38 -05:00
aae9bf9655
bump gomuks 2026-11-11 00:20:46 -05:00
1691fa981a
bump gomuks vendorHash 2026-11-11 00:00:32 -05:00
393d03d1b7
bump gomuks 2026-11-10 23:57:32 -05:00
c5cc5a052f
bump gomuks 2026-11-10 20:20:53 -05:00
11d74b2b2d
Revert "bump gomuks, drop explicit goolm tags"
This reverts commit 69c392a51f.
2026-11-10 19:59:42 -05:00
69c392a51f
bump gomuks, drop explicit goolm tags 2026-11-10 19:57:01 -05:00
1689cb1007
follow nixpkgs properly 2026-11-10 19:25:20 -05:00
2d8cd4eff2
fix use after dispose error from videos
Fixes #169
2026-11-10 19:21:29 -05:00
7b542d8d1e
fix android builds in devshell 2026-11-10 19:02:28 -05:00
f106db5948
run e2e flow on forgejo 2026-11-10 18:43:15 -05:00
af99de75da add e2e testing (#167)
Reviewed-on: #167
2026-11-10 18:29:02 -05:00
f1f0fea114
update webcrypto gitHash for nix package 2026-11-09 23:44:06 -05:00
a4141de01d
use webcrypto from main 2026-11-09 23:24:51 -05:00
ab3b9cc83f
set reaction tooltip triggerMode to manual 2026-11-09 17:58:25 -05:00
ffbb0ad9e2
make hovering a reaction show its shortcode 2026-11-09 17:31:19 -05:00
d5f29dc344
reorganize and rename widgets 2026-11-09 17:25:02 -05:00
05d25869ef
add reactions popover
Fixes #168
2026-11-09 17:14:46 -05:00
a09ae01b4e
fix up matrix:u links 2026-11-09 15:48:10 -05:00
8aada9a895
add per-room notif overrides
Fixes #163
2026-11-09 15:40:17 -05:00
a5711d2ded
show sizes for message images 2026-11-09 12:46:08 -05:00
ecac985d90
fix timeline weirdness with zero extents 2026-11-09 12:03:52 -05:00
272241f338
show filesize on audio and video renderers
Fixes #164
2026-11-09 11:37:50 -05:00
8692527105
add room ID to room summaries
Fixes #165
2026-11-09 11:32:22 -05:00
ac31fbb74d
timeline fixups 2026-11-09 10:58:08 -05:00
c658034d3b
small cleanup to player controls 2026-11-08 14:11:01 -05:00
995afe1412
clean up audio players 2026-11-07 22:40:56 -05:00
bf2aa50556
Reapply "add timeline debugPrints"
This reverts commit d1aa91fbbd.
2026-11-07 16:26:17 -05:00
d1aa91fbbd
Revert "add timeline debugPrints"
This reverts commit 1da836e20d.
2026-11-07 16:23:15 -05:00
274256dfe4
always show jump to bottom when theres a contextual event 2026-11-07 16:22:53 -05:00
1da836e20d
add timeline debugPrints 2026-11-07 15:59:21 -05:00
e609bcebcd
prepare v1.1.0-alpha1 2026-11-07 13:03:00 -05:00
bf8490896c
clean up thread timestamps 2026-11-06 12:36:27 -05:00
a229fcc598
add threads button back to appbar, hide close button on linux mobile mode 2026-11-06 12:30:20 -05:00
06ba23d3c0
add some more safety checks to composer 2026-11-06 10:45:53 -05:00
dbc42b0ec2
better UX for gomuks built-in commands
Fixes #157
2026-11-06 10:41:19 -05:00
29840d595a
fix weird focus issues with android OSK 2026-11-06 10:08:04 -05:00
5eed03c10e
make thread roots more distinguishable, and always show them even when redacted 2026-11-06 09:46:59 -05:00
ee28ddeddd
tweak minimum size 2026-11-06 09:46:00 -05:00
b29f801f37
Revert "prepare v1.1.0"
This reverts commit d61de252fb.
2026-11-05 23:52:47 -05:00
d61de252fb
prepare v1.1.0 2026-11-05 23:37:18 -05:00
a701bc6413
some small read receipt fixes 2026-11-05 23:33:04 -05:00
545fdd1f6b
clamp shown read receipts to at least 1
fixes weird error when rotating on directory page
2026-11-05 23:29:10 -05:00
4061b7b51e
fixes for some overflows on reply previews 2026-11-05 23:14:30 -05:00
b5fe2d4967
update gomuks vendorHash 2026-11-05 23:05:17 -05:00
ea29889e5c
tweak memory management 2026-11-05 20:51:28 -05:00
e899bb3929
keep message drafts on room switches
this is for you courge
2026-11-05 20:44:13 -05:00
7f7bdbf525
add thread support
Fixes #129
2026-11-05 19:14:46 -05:00
47645ea327
say "Redacted event" instead of "Unknown event type" for previews of redacted events 2026-11-04 12:48:29 -05:00
e382499a2a
add room directory support 2026-11-04 12:43:01 -05:00
033c7f9c05
use the correct font for timestamps 2026-11-03 23:56:15 -05:00
256e5fadbe
only show hide option for local events 2026-11-03 23:40:18 -05:00
39b8242867
set branch in .gitmodules
Helpful for updates.
2026-11-03 23:18:35 -05:00
28ba67cb59
update gomuks vendorHash 2026-11-03 21:27:46 -05:00
a0605a3617
Add room upgrades
Fixes #155
2026-11-03 21:13:27 -05:00
6d9a8e812b
bump gomuks 2026-11-03 20:06:51 -05:00
ecc4618ccd
add support for publishing rooms to the room directory
Part of #134
2026-11-03 17:50:26 -05:00
b201b1159e
fix regression in space edge logic
This bug caused space edges to clear sometimes.
2026-11-03 17:14:14 -05:00
029efe7c0a
add tombstone support
Fixes #147
2026-11-03 16:53:28 -05:00
522df86976
fix android build 2026-11-03 16:21:11 -05:00
ff9166966d
bump avif_native hashes 2026-11-03 15:54:41 -05:00
20eed13884
Add weighted search
Fixes #74
2026-11-03 15:50:46 -05:00
b6c6ac35d9
bump deps 2026-11-03 15:39:11 -05:00
a8e045bb3a
bump window_manager 2026-11-03 15:32:54 -05:00
b154b4ee2e
add GomuksEvent model 2026-11-03 15:16:38 -05:00
b4d5a632dd
extract adaptive sheets into their own library material_adaptive_sheets 2026-11-03 14:53:53 -05:00
2580cc8c1c
try to fix disposed errors when ending poll 2026-11-03 14:26:53 -05:00
2fc5a9bf85
make both HTML and plaintext links be styled the same way 2026-11-03 14:23:23 -05:00
8650c44266
add internal gomuks command support 2026-11-03 14:16:09 -05:00
3fc33a5ac9
Add MSC4391 support
Fixes #133
2026-11-03 13:12:58 -05:00
f35f715b81
don't try to download media for account switcher when logged out 2026-11-02 17:55:33 -05:00
e398043a49
allow editing in/out attachments from messages 2026-11-02 17:14:06 -05:00
e9b009d1b9
refactor to use mutations where helpful 2026-11-02 17:06:01 -05:00
641341ed90
Add account switcher
Fixes #146
2026-11-02 17:00:54 -05:00
3a8d977f11
add m.location support
Needs cross-platform testing. Currently only tested on Android.
2026-11-02 15:02:49 -05:00
979068fc3a
Add block button to profiles
Fixes #152
2026-11-02 12:44:41 -05:00
b55a6e0e83
allow viewing space timelines
Fixes #139
2026-11-02 12:30:04 -05:00
7007c9af89
allow adding / removing rooms from a space
Fixes #140
2026-11-02 12:21:58 -05:00
f6aaf49164
add poll support
Fixes #130
2026-11-02 12:03:52 -05:00
40f5d0f459
new linkify handling
Should fix mentions in non-HTML messages
2026-11-01 16:42:23 -05:00
bcb0c57015
allow colons in search regex 2026-11-01 12:48:32 -05:00
45b3ec10bf
show senders for both messages and stickers in reply previews 2026-11-01 12:44:52 -05:00
7baf56adef
stickers replace composer, instead of sending immediately
Fixes #153
2026-11-01 12:39:14 -05:00
51e3fe1007
add matrix: URI deeplinking
Fixes #148

Needs cross-platform testing, currently only tested on Android.
2026-11-01 11:52:13 -05:00
9e1d2f6921
fix search text being stripped when at end of message
using custom fork of fluttertagger for now
2026-10-31 15:33:30 -04:00
c9172e92eb
add push rule settings
Fixes #126
2026-10-31 15:22:13 -04:00
cb983701ca
make sdk bound less strict 2026-10-28 10:47:17 -04:00
285e6ad76a
check that formattedBody exists before rendering a message as HTML
In case people send HTML messages without HTML, which they do for some reason.
2026-10-26 23:54:28 -04:00
cd60163caf
update gomuks vendorHash 2026-10-26 17:35:52 -04:00
a2638d5c82
bump gomuks, use new pause/resume commands 2026-10-26 17:32:06 -04:00
f971c50df0
use a text span with a recognizer instead of a WidgetSpan
Fixes displaynames not ellipsising properly
2026-10-26 12:45:54 -04:00
1efbc131b4
auto write desktop file on debug mode install on Linux
Fixes #150
2026-10-26 12:13:06 -04:00
4b329b4c6f
add settings for image packs
Closes #131
2026-10-26 12:05:45 -04:00
2041b81141
add toJson to all content models
Fixes a regression from the primary constructor content migration
2026-10-25 18:30:28 -04:00
a3ef4f8135
fix invalid power level creation
oops, misread spec and now this breaks rooms on Synapse
2026-10-25 17:04:21 -04:00
0a09a4ee0a
general cleanups and mounted guards 2026-10-24 12:02:23 -04:00
62e200f305
fix typing indicators not ellipsizing 2026-10-24 11:30:14 -04:00
dd01ad9d74
migrate Content classes to primary constructors
The Riverpod bug preventing us from doing this has been fixed.
2026-10-23 20:44:29 -04:00
853116ab2f
treewide cleanups 2026-10-23 20:26:37 -04:00
53d9c2b1e6
make enums fall back to unknown or null where possible
Futureproofing.
2026-10-23 20:12:54 -04:00
401b527714
ignore invalid account data 2026-10-23 20:05:23 -04:00
3754bc2feb
allow sending emoji/stickers from emote packs 2026-10-23 18:16:45 -04:00
868023a4a1
avoid un-needed reloads for diffs 2026-10-23 17:02:41 -04:00
9e6951818a
hide server ACL events from timeline by default, introduce setting to show them 2026-10-23 14:29:37 -04:00
0743c4cfc6
reorder appearance settings 2026-10-23 14:26:26 -04:00
6336764da0
add power level groups 2026-10-23 12:24:22 -04:00
3a39f1c5ac
more intuitive permissions in encrypted rooms 2026-10-23 12:12:20 -04:00
6e2d56ec75
add diffing for a lot of events 2026-10-23 12:01:38 -04:00
4e140e9fc7
add pinned event and server ACL diffing 2026-10-23 11:28:44 -04:00
e5dd53ed6c
tweak color picking algorithm for power levels, and introduce setting for per PL or per user colors 2026-10-23 10:23:49 -04:00
c0f4c053b0
Make displayname colors based off of power level
Fixes #128
2026-10-23 01:10:01 -04:00
ee36a9b1c8
Revert "use media_kit from main"
This reverts commit f5371382d7.
2026-10-23 00:36:31 -04:00
f5371382d7
use media_kit from main
Has some perf improvements, especially for Linux
2026-10-23 00:28:43 -04:00
396 changed files with 17169 additions and 4269 deletions

View file

@ -0,0 +1,24 @@
name: "Bump the Windows build's libmpv"
on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
jobs:
bump-libmpv:
runs-on: ["small", "debian-13-x86_64"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Lix GHA Installer Action
uses: samueldr/lix-gha-installer-action@v2026-02-22
with:
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
- name: Open a PR if there's a newer libmpv build
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: nix run .#bump-libmpv

View file

@ -0,0 +1,28 @@
name: "End-to-end tests"
on:
schedule:
- cron: "0 6 * * 1"
pull_request:
workflow_dispatch:
jobs:
e2e:
runs-on: ["large-mem", "debian-13-x86_64"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: recursive
- name: Lix GHA Installer Action
uses: samueldr/lix-gha-installer-action@v2026-02-22
with:
extra_nix_config: experimental-features = nix-command flakes flake-self-attrs
- name: Generate code
run: nix develop --command bash -c "flutter pub get && dart scripts/generate.dart && flutter pub run build_runner build"
- name: Run end-to-end tests
run: nix run .#e2e-headless

View file

@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Lix GHA Installer Action
uses: samueldr/lix-gha-installer-action@v2026-02-22
@ -26,8 +27,30 @@ jobs:
env:
KEYSTORE_CONTENT: ${{ secrets.KEYSTORE_CONTENT }}
# The NDK's path ends up in the native libraries' build IDs, so put it where F-Droid has it.
# It's copied rather than linked, as clang finds its headers from its resolved location.
- name: Set up Android SDK
run: |
ndk=$(nix develop --command printenv ANDROID_NDK_HOME)
sudo mkdir -p /opt/android-sdk/ndk
sudo chown -R "$USER" /opt/android-sdk
for entry in "${ndk%/ndk/*}"/*; do
[[ $entry == */ndk ]] || ln -s "$entry" /opt/android-sdk/
done
cp -rL "$ndk" /opt/android-sdk/ndk/
- name: Build app
run: nix develop --command bash -c "flutter pub get && dart scripts/generate.dart && flutter pub run build_runner build && flutter build apk --target-platform android-arm64 --split-per-abi --dart-define=GIT_COMMIT=${{ github.sha }}"
run: |
export PUB_CACHE=$PWD/.pub-cache
export GOTOOLCHAIN=go$(sed -n -E 's/^toolchain go([0-9.]+)$/\1/p' gomuks/go.mod)
nix develop --command bash -c '
set -e
export ANDROID_HOME=/opt/android-sdk ANDROID_SDK_ROOT=/opt/android-sdk ANDROID_NDK_HOME=/opt/android-sdk/ndk/${ANDROID_NDK_HOME##*/}
flutter pub get --enforce-lockfile
bash scripts/build_avif_native.sh
dart scripts/generate.dart
flutter pub run build_runner build
flutter build apk --target-platform android-arm64 --split-per-abi --dart-define=GIT_COMMIT=$GITHUB_SHA'
env:
KEYSTORE_PATH: ../../keystore.jks
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}

View file

@ -19,7 +19,7 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.47.4
flutter-version-file: pubspec.yaml
- name: Set up Go
uses: actions/setup-go@v6

View file

@ -19,7 +19,7 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.47.4
flutter-version-file: pubspec.yaml
- name: Set up Go
uses: actions/setup-go@v6

View file

@ -19,7 +19,7 @@ jobs:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.47.4
flutter-version-file: pubspec.yaml
- name: Set up Go
uses: actions/setup-go@v6
@ -36,7 +36,7 @@ jobs:
- name: Go build
run: |
cd gomuks/pkg/ffi
go build -tags goolm,sqlite_fts5 -o ../../../libgomuks.dll -buildmode=c-shared
go build -tags sqlite_fts5 -o ../../../libgomuks.dll -buildmode=c-shared
- name: Build with Flutter
run: |
@ -45,6 +45,17 @@ jobs:
flutter pub run build_runner build
flutter build windows --dart-define=GIT_COMMIT=${{ github.sha }}
# better_player plays videos with libmpv, but doesn't bundle it
- name: Download libmpv
shell: powershell
run: |
$archive = "$env:RUNNER_TEMP\mpv.7z"
Invoke-WebRequest "https://github.com/shinchiro/mpv-winbuild-cmake/releases/download/20261111/mpv-dev-x86_64-20261111-git-bcde6b93cc.7z" -OutFile $archive
if ((Get-FileHash $archive -Algorithm SHA256).Hash -ne "273c079b11ea5575822f972756f4c9a71149a5c10130353abeb8586738938452") {
throw "libmpv checksum mismatch"
}
7z e $archive libmpv-2.dll -obuild/windows/x64/runner/Release
- name: Copy MinGW runtime DLLs
shell: msys2 {0}
run: |

1
.gitmodules vendored
View file

@ -1,3 +1,4 @@
[submodule "gomuks"]
path = gomuks
url = https://github.com/gomuks/gomuks
branch = quad/nexus

View file

@ -12,6 +12,7 @@
"prefs",
"recents",
"unban",
"underride",
"unifiedpush",
"unredact",
"webpush"

View file

@ -12,6 +12,16 @@ You can run the following command to update the Gomuks submodule:
git submodule update --remote
```
## Releasing
To make a release, run the following command with the new version, either `X.Y.Z` or a pre-release like `X.Y.Z-alpha1`:
```sh
scripts/release.sh 1.2.0
```
This sets the version in `pubspec.yaml` (along with the Android version code), the Windows installer, the AppStream metainfo and the README, then commits and tags it. Push it with the command it prints, then attach the artifacts from the tag's CI run to the release.
## Code Style
See [Effective Dart: Style](https://dart.dev/effective-dart/style) for general rules. There are some extra rules detailed below:

View file

@ -7,8 +7,8 @@ A simple and user-friendly Matrix client made with Flutter and a Gomuks backend.
## Screenshots
| Dark Mode | Light Mode |
| :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------: |
| ![Screenshot of Nexus Client in dark mode, showing users talking, with a sidebar showing rooms and spaces, and another sidebar showing members](./assets/screenshotDark.png) | ![The same screenshot as above, but in light mode](./assets/screenshotLight.png) |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------: |
| ![Screenshot of Nexus Client in dark mode, showing users talking, with a sidebar showing rooms and spaces, and another sidebar showing members](./assets/screenshots/desktop-dark.png) | ![The same screenshot as above, but in light mode](./assets/screenshots/desktop-light.png) |
## Try it out
@ -49,7 +49,7 @@ nexus = {
This tracks the latest commit on `main`. To stay on a release instead, pin the input to its tag:
```nix
url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.0.0";
url = "git+https://git.federated.nexus/Nexus/nexus?ref=refs/tags/v1.1.3";
```
Then import the module and enable it in your NixOS configuration:
@ -75,7 +75,7 @@ This installs Nexus system-wide. With `enableNotifications`, it also installs KU
#### Linux
- On NixOS: Either use direnv and `direnv allow`, or `nix develop`
- On other distros: Install Flutter, Go, Git, Libclang, Libass, MPV, and Glibc. Do not use any Snap packages, they cause various compilation issues.
- On other distros: Install Flutter, Go, Git, Libclang, MPV, GStreamer (with its base, good and libav plugins), and Glibc. Do not use any Snap packages, they cause various compilation issues.
#### Windows
@ -83,12 +83,11 @@ You will need:
- Flutter
- Git
- Libass
- MPV
- Go
- Visual Studio 2022 (Desktop development with C++)
- [MSYS2/MinGW-w64 GCC](https://www.msys2.org/) (for CGO)
- [LLVM/Clang + libclang](https://clang.llvm.org/get_started.html) (for `ffigen`)
- `libmpv-2.dll`, for playing videos, next to `nexus.exe` (CI uses a build from [mpv-winbuild-cmake](https://github.com/shinchiro/mpv-winbuild-cmake/releases))
On Windows, make sure these are available in your shell `PATH`:
@ -157,3 +156,6 @@ Join the [Nexus Client Matrix room](https://matrix.to/#/#nexus:federated.nexus)
Thank you Hylke Bons (https://planetpeanut.studio) for making the amazing icon for Nexus!
Thank you Tulir Asokan for making [Gomuks](https://github.com/gomuks/gomuks), and helping us integrate it into Nexus!
Thank you [Feline Build Services](https://felinebuildservices.org/) for providing CI for the Nexus Forgejo repo!
The Nexus icon, including its source files in `assets/` and the platform app icons generated from them, is © Hylke Bons. The screenshots are © Henry Hiles. Both are licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).

View file

@ -16,7 +16,7 @@ if (keystorePropertiesFile.exists()) {
android {
namespace = "nexus.federated.nexus"
compileSdk = 36
compileSdk = 37
ndkVersion = flutter.ndkVersion
compileOptions {
@ -57,9 +57,14 @@ android {
}
}
dependenciesInfo {
includeInApk = false
}
buildTypes {
release {
signingConfig = signingConfigs.getByName("release")
// Unsigned without a keystore, e.g. for F-Droid, which signs it itself
signingConfig = signingConfigs.getByName("release").takeIf { it.storeFile != null }
}
debug {

View file

@ -1,5 +1,13 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<!-- The location plugin only needs these for background location, which Nexus doesn't use -->
<uses-permission
android:name="android.permission.FOREGROUND_SERVICE"
tools:node="remove" />
<uses-permission
android:name="android.permission.FOREGROUND_SERVICE_LOCATION"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
@ -18,7 +26,7 @@
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleInstance"
android:launchMode="singleTask"
android:taskAffinity=""
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
@ -32,6 +40,13 @@
<data android:scheme="nexus.federated.nexus" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="matrix" />
</intent-filter>
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"

View file

@ -35,6 +35,6 @@ class MainActivity: FlutterActivity() {
// Posted so it runs after Flutter has applied any insets it deferred.
private fun reapplyInsets() {
val view = findViewById<View>(FLUTTER_VIEW_ID) ?: return
view.post { view.rootWindowInsets?.let(view::onApplyWindowInsets) }
view.post { view.requestApplyInsets() }
}
}

View file

@ -5,3 +5,5 @@ android.enableJetifier=true
android.builtInKotlin=false
# This newDsl flag was added automatically by Flutter migrator
android.newDsl=false
# Leaves proprietary Google Play services out of the location plugin
location.playServices=false

View file

@ -24,3 +24,15 @@ plugins {
}
include(":app")
// Flutter's plugin loader includes dev dependency plugins like integration_test as projects even in
// release builds (where they're never linked in). integration_test lives in the Flutter SDK, which
// is read-only under Nix, and Gradle 9+ refuses to configure a project whose directory isn't writable.
findProject(":integration_test")?.let { project ->
if (!project.projectDir.canWrite()) {
val copy = file("../build/integration_test_android")
copy.deleteRecursively()
project.projectDir.copyRecursively(copy)
project.projectDir = copy
}
}

View file

@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100mm"
height="100mm"
viewBox="0 0 100 100"
version="1.1"
id="svg1"
xml:space="preserve"
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
sodipodi:docname="icon.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview1"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:document-units="mm"
inkscape:zoom="1.0847363"
inkscape:cx="57.61769"
inkscape:cy="214.33781"
inkscape:window-width="1896"
inkscape:window-height="963"
inkscape:window-x="35"
inkscape:window-y="32"
inkscape:window-maximized="0"
inkscape:current-layer="layer1" /><defs
id="defs1"><linearGradient
id="linearGradient10"
inkscape:collect="always"><stop
style="stop-color:#c7a312;stop-opacity:1;"
offset="0"
id="stop10" /><stop
style="stop-color:#26a0b3;stop-opacity:1;"
offset="1"
id="stop11" /></linearGradient><linearGradient
inkscape:collect="always"
xlink:href="#linearGradient10"
id="linearGradient11"
x1="20.031296"
y1="32.697563"
x2="90.709213"
y2="66.3423"
gradientUnits="userSpaceOnUse" /></defs><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"><rect
style="fill:url(#linearGradient11);fill-opacity:1;stroke:none;stroke-width:7.99999;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="rect10"
width="100"
height="100"
x="0"
y="0"
ry="28.294127" /><path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="M 19.377906,68.106953 80.937684,32.43771"
id="path10" /><path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="m 19.044488,32.469148 61.61782,35.569625"
id="path9" /><path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
d="M 50,85.574911 V 14.425087"
id="path8" /><circle
style="fill:none;stroke:#ffffff;stroke-width:7.11498;stroke-linecap:round;stroke-linejoin:round"
id="path1"
cx="50"
cy="50"
r="35.574913" /><circle
style="fill:#09bd05;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="path2"
cx="50"
cy="84.604881"
r="8.2508707" /><circle
style="fill:#fe1e24;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="circle2"
cx="50"
cy="15.395123"
r="8.2508707" /><circle
style="fill:#fe941d;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="circle3"
cx="-68.30127"
cy="52.906147"
r="8.2508707"
transform="rotate(-120)" /><circle
style="fill:#001996;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="circle4"
cx="-68.30127"
cy="-16.30361"
r="8.2508707"
transform="rotate(-120)" /><circle
style="fill:#ffff04;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="circle5"
cx="-18.301271"
cy="102.90615"
r="8.2508707"
transform="rotate(-60)" /><circle
style="fill:#770287;stroke:#ffffff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;fill-opacity:1;stroke-dasharray:none"
id="circle6"
cx="-18.301271"
cy="33.696392"
r="8.2508707"
transform="rotate(-60)" /><circle
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:6.75;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path7"
cx="50"
cy="50"
r="9.7918472" /><g
inkscape:label="Layer 1"
id="layer1-3"
transform="matrix(0.08246781,0,0,0.08246781,38.828362,38.828362)"
style="stroke:#ffffff"><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:96.3615px;line-height:0;font-family:'Noto Serif';-inkscape-font-specification:'Noto Serif, Heavy';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:end;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-dasharray:none;stroke-opacity:1"
x="-305.64749"
y="194.14493"
id="text2819"><tspan
sodipodi:role="line"
id="tspan2817"
style="stroke:#ffffff;stroke-width:0"
x="-305.64749"
y="194.14493" /></text><circle
style="fill:#354b5f;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-dasharray:none;stroke-opacity:1"
id="path342"
cx="135.46666"
cy="135.46666"
r="135.46666" /><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:900;font-stretch:normal;font-size:96.3615px;line-height:0;font-family:'Noto Serif';-inkscape-font-specification:'Noto Serif, Heavy';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;text-align:end;text-anchor:end;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:0;stroke-dasharray:none;stroke-opacity:1"
x="-305.64749"
y="194.14493"
id="text2819-3"><tspan
sodipodi:role="line"
id="tspan2817-5"
style="stroke:#ffffff;stroke-width:0"
x="-305.64749"
y="194.14493" /></text><g
aria-label="❯"
id="text2827-6"
style="font-size:132.452px;line-height:0;font-family:PowerlineSymbols;-inkscape-font-specification:'PowerlineSymbols, Normal';text-align:end;text-anchor:end;fill:#4e94e4;fill-opacity:1;stroke:#ffffff;stroke-width:0"><path
d="M 95.096912,209.8167 143.88912,135.46666 95.096912,61.116629 h 32.818568 l 47.92093,74.350031 -47.92093,74.35004 z"
id="path2883-2"
style="fill:#4e94e4;fill-opacity:1;stroke:#ffffff;stroke-width:0" /></g></g></g></svg>

After

Width:  |  Height:  |  Size: 6.8 KiB

11
assets/bundled/matrix.svg Normal file
View file

@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 520 520">
<path d="M13.7,11.9v496.2h35.7V520H0V0h49.4v11.9H13.7z"/>
<path d="M166.3,169.2v25.1h0.7c6.7-9.6,14.8-17,24.2-22.2c9.4-5.3,20.3-7.9,32.5-7.9c11.7,0,22.4,2.3,32.1,6.8
c9.7,4.5,17,12.6,22.1,24c5.5-8.1,13-15.3,22.4-21.5c9.4-6.2,20.6-9.3,33.5-9.3c9.8,0,18.9,1.2,27.3,3.6c8.4,2.4,15.5,6.2,21.5,11.5
c6,5.3,10.6,12.1,14,20.6c3.3,8.5,5,18.7,5,30.7v124.1h-50.9V249.6c0-6.2-0.2-12.1-0.7-17.6c-0.5-5.5-1.8-10.3-3.9-14.3
c-2.2-4.1-5.3-7.3-9.5-9.7c-4.2-2.4-9.9-3.6-17-3.6c-7.2,0-13,1.4-17.4,4.1c-4.4,2.8-7.9,6.3-10.4,10.8c-2.5,4.4-4.2,9.4-5,15.1
c-0.8,5.6-1.3,11.3-1.3,17v103.3h-50.9v-104c0-5.5-0.1-10.9-0.4-16.3c-0.2-5.4-1.3-10.3-3.1-14.9c-1.8-4.5-4.8-8.2-9-10.9
c-4.2-2.7-10.3-4.1-18.5-4.1c-2.4,0-5.6,0.5-9.5,1.6c-3.9,1.1-7.8,3.1-11.5,6.1c-3.7,3-6.9,7.3-9.5,12.9c-2.6,5.6-3.9,13-3.9,22.1
v107.6h-50.9V169.2H166.3z"/>
<path d="M506.3,508.1V11.9h-35.7V0H520v520h-49.4v-11.9H506.3z"/>
</svg>

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Some files were not shown because too many files have changed in this diff Show more