miruka
6febaeeb1b
Support the http_proxy environment variable
...
Overrides General.proxy setting if set
2021-03-03 17:14:57 -04:00
miruka
f6f0a0c1ee
Add General.proxy setting, supports HTTP & SOCKS5
2021-03-03 17:14:57 -04:00
miruka
b0d31af3c0
fetch_homeservers: use nio to make aiohttp session
...
Use a throwaway nio client to make ourself an aiohttp session with proxy
support, that way we don't have to depend on aiohttp and aiohttp-socks
libraries
2021-03-03 17:14:57 -04:00
miruka
bbe6415336
Have radius only on text fields/areas with borders
...
Fixes the appearance of the filter room/members fields
2021-03-03 17:14:57 -04:00
miruka
d828312a24
Fix focus problems for submenues in context menues
2021-03-03 17:14:57 -04:00
miruka
902f13ab68
Lock position of the room that's focused in GUI
...
When the currently shown page is the chat of a certain room,
prevent that room from moving around in the left pane due to new
messages/activity or unread/highlight counters change.
When the user switches to another page/room, the previously held lock is
released and that room completes all the moves it would have done if it
wasn't locked.
This makes navigating a room list with lots of activity easier, and
prevent annoyances like clicking on a room with unread messages and
having it immediatly fly down the list (possibly out of scroll view).
2021-03-03 17:14:57 -04:00
miruka
3f88a2204e
errors.py: remove duplicate MatrixBadGateway class
2021-03-03 17:14:56 -04:00
miruka
4bff58c828
model.py: remove leftover debugger call
2021-03-03 17:14:56 -04:00
miruka
a3206501de
Fix mypy complaint in MatrixClient.edit_pushrule
2021-03-03 17:14:56 -04:00
miruka
5476cf1e6d
Don't pass ModelItem fields starting with _ to QML
2021-03-03 17:14:56 -04:00
miruka
045bce5f9c
Remove model item __lt__ docstrings
...
Duplicate efforts and get outdated when the code better explains
how items are sorted
2021-03-03 17:14:56 -04:00
miruka
d31ee9cd67
Shorten lexical vs by activity room sorting code
2021-03-03 17:14:56 -04:00
miruka
81c460cbaf
Revert "Fix the one-line events combining"
...
This reverts commit 39f159f0a3
.
Causes problems when message delegates are reordered, with the
transition animations randomly stopping in the middle and leaving
delegates at odd positions.
2021-03-03 17:14:56 -04:00
miruka
32200f256b
Update nio requirement to 0.17.0-0.18.0
2021-03-03 17:14:56 -04:00
miruka
f0d7757f0c
Catch simpleaudio playback errors
...
Because of course sound isn't just gonna work on linux and
especially flatpak. Make sure to not spawn an error popup every time
we try to play a notification. Maybe use mpv in the future for
SFX playback (when we'll have a media player implemented),
since it has support for all these backends out of the box.
2021-03-03 17:14:56 -04:00
miruka
cfce4e1ddc
Pre070SettingsDetectedPopup: point to master docs
2021-03-03 17:14:56 -04:00
miruka
4ace03be6c
Update requirements and flatpak manifest
2021-03-03 17:14:56 -04:00
miruka
c420360602
settings.py: support ~ expansion for sound path
2021-03-03 17:14:56 -04:00
miruka
86f247d5cc
AppImage build.sh: update to py 3.9.1 & olm 3.2.2
2021-03-03 17:14:56 -04:00
miruka
92c49140e7
Play sound from python/ALSA instead QtMultimedia
...
GStreamer sucks
2021-03-03 17:14:56 -04:00
miruka
31f6e5320a
Improve default notification sound
...
Quieter by default, shorter and without the annoying clicky noise
2021-03-03 17:14:56 -04:00
miruka
3f7bf7dd5c
Update CHANGELOG.md for v0.7.0
2021-03-03 17:14:56 -04:00
miruka
ffcccd38d2
Add documentation link to settings menu
...
And make mirage x.y.z label no longer open the github page
2021-03-03 17:14:56 -04:00
miruka
0c5d3d05c9
THEMIND.md: mention future move to PCN format
2021-03-03 17:14:56 -04:00
miruka
f49282ff36
Bump version strings to v0.7.0
2021-03-03 17:14:56 -04:00
miruka
c25149c459
Change dev branch links in config docs to master
2021-03-03 17:14:56 -04:00
miruka
6770178a23
Stop tracking TODO.md
...
Constantly causes issues when working with multiple branches and
rebasing
2021-03-03 17:14:56 -04:00
miruka
1db8c66759
Hide image event name/time bubbles when kb-focused
2021-03-03 17:14:56 -04:00
miruka
376364afad
PushRuleSettingsPopup: add some missing padding
2021-03-03 17:14:56 -04:00
miruka
9de4252924
PushRuleSettingsPopup: remove unused action + btn
2021-03-03 17:14:56 -04:00
miruka
c46e1eb897
PushRuleSettingsPopup: add custom sound field
2021-03-03 17:14:56 -04:00
miruka
8b53b4ae11
When replacing disabled rule, disable new rule too
2021-03-03 17:14:56 -04:00
miruka
ef1f6edf31
PushRuleSettingsPopup: handle enter to save
2021-03-03 17:14:56 -04:00
miruka
156f89aca1
Change global notif. keybinds to avoid conflicts
...
Change the account next/prev binds back to Alt+(Shift+)M,
make mute notif Ctrl+Alt+N, mute except higlights Ctrl+Alt+H
2021-03-03 17:14:56 -04:00
miruka
e9af47e1c7
Fix popups not being flickable by keyboard
2021-03-03 17:14:56 -04:00
miruka
e45055f48c
Indicate when combo box accepts custom input
2021-03-03 17:14:56 -04:00
miruka
768a343412
Fix spinbox glitch on min/max numbers
2021-03-03 17:14:56 -04:00
miruka
41bc082044
PushRuleSettingsPopup: disable save if no rule ID
2021-03-03 17:14:56 -04:00
miruka
e0b7974904
Mention event content rule can use a glob pattern
2021-03-03 17:14:56 -04:00
miruka
d5f6459e54
AccountSettings: fix second tab being default
2021-03-03 17:14:56 -04:00
miruka
c18ea2704b
PushRuleSettingsPopup: spinner while saving/rming
2021-03-03 17:14:56 -04:00
miruka
656092cec4
Add bottom margin to notifications page spinner
2021-03-03 17:14:56 -04:00
miruka
bc0646ef90
Better indicate when a pushrule is disabled
2021-03-03 17:14:56 -04:00
miruka
db24ebc082
Increase pushrules auto-save timer: 10 → 30s
...
10s is too short and can bother user setting their rules
with the save's visible effects
2021-03-03 17:14:56 -04:00
miruka
340c88f123
AppImage building: use Qt 5.12.9 instead of 5.12.7
2021-03-03 17:14:56 -04:00
miruka
be3d3692ef
Add Qt Multimedia as dependency for sound playback
2021-03-03 17:14:56 -04:00
miruka
99325fde86
Add support for notification sound effects
2021-03-03 17:14:56 -04:00
miruka
1b0bec3470
Add options to disable HTML in notifications
2021-03-03 17:14:56 -04:00
miruka
fe92ce6730
Fix avatar/display name missing from notifications
...
This happened when we got a message from an account-room pair
where the full member list hadn't been loaded yet, i.e. the user had
never focused the room since starting the client
2021-03-03 17:14:56 -04:00
miruka
26a68acefd
Rename Notification... components for consistency
2021-03-03 17:14:56 -04:00