miruka
e8d8f7fe0b
Add global notification control icon in top bar
...
The "Mentions & keywords only" option doesn't work yet in multi-account
cases: when notifications arrive for a room that multiple accounts are
part of, the first notification to arrive is let through, and the
duplicate later ones are ignored. The first notification to arrive may
not be from the account that gets highlighted, thus it is ignored under
the "Mentions & keywords" setting.
2021-03-03 17:12:08 -04:00
miruka
bfc3a60cad
Update flatpak script generator
...
- Make the code cleaner and don't require bash
- Generate less uneeded intermediate files
- Add the flatpak-pip-generator script to make clean
- flatpak-pip-generator now requires requirements-parser from pip
2021-03-03 17:12:08 -04:00
miruka
03e4f9b85e
Make settings icon open a more complete menu
2021-03-03 17:12:08 -04:00
miruka
22e7dc7e8d
Notifications: format replies properly
2021-03-03 17:12:08 -04:00
miruka
4cd562e02f
Notifications: process non-message events text
2021-03-03 17:12:08 -04:00
miruka
94a623f677
Print coro infos on get_client not found error
2021-03-03 17:12:08 -04:00
miruka
7ae2ae6cd7
Notifications: turn newline symbols into real <br>
2021-03-03 17:12:08 -04:00
miruka
4a6e2ea46a
Prevent duplicate notifications for the same event
2021-03-03 17:12:08 -04:00
miruka
8691a8c85b
Add sender avatar to desktop notifications
2021-03-03 17:12:08 -04:00
miruka
21ccf90d23
Notifications: properly italicize emote messages
2021-03-03 17:12:08 -04:00
miruka
dcc3473ecf
Don't show notification if window is focused
2021-03-03 17:12:08 -04:00
miruka
a8a25d09ee
Ensure room has 2 members to hide notif. sender
2021-03-03 17:12:08 -04:00
miruka
04daae8328
Fix account unreads not updated from old events
2021-03-03 17:12:08 -04:00
miruka
4dacc3a12d
Make alerts and notification push rules-aware
2021-03-03 17:12:08 -04:00
miruka
69e414b31c
Add basic desktop notifications support
2021-03-03 17:12:08 -04:00
Cynosure
71785911a0
INSTALL.md: fix typo in Ubuntu dependencies
...
`qml-module:io-thp-pyotherside` changed to ` qml-module-io-thp-pyotherside`
2021-01-24 21:20:20 -04:00
make-file
844321974c
Fix AUR package links
2021-01-21 23:30:04 -04:00
Newbyte
7a508b7622
INSTALL.md: add note about Alpine Linux package
2021-01-04 08:42:31 -04:00
axel simon
f4d24db021
Clarify Flatpak instructions ( #160 )
...
* Clarify Flatpak instructions
* Flatpak instructions: use list, keep it <80 column
Co-authored-by: miruka <miruka@disroot.org>
2020-11-21 08:52:47 -04:00
Proprietary Chrome-chan
f5b96ad835
INSTALL.md: add Gentoo overlay instructions ( #141 )
...
* Add Gentoo
* Change to 'git dev'
* Add colon
Co-authored-by: miruka <miruka@disroot.org>
* Change formatting
Co-authored-by: miruka <miruka@disroot.org>
2020-10-03 08:08:27 -04:00
miruka
60a57db33e
Fix QML Connections-using code for Qt 5.12
2020-09-16 08:29:07 -04:00
miruka
82fc447a73
Update changelog for 0.6.4
2020-09-16 07:54:54 -04:00
miruka
8d71e5eb87
Bump version to 0.6.4
2020-09-16 07:52:04 -04:00
miruka
e65202cfbe
Fix checkbox update when default state changes
...
Make sure to update checkboxes when their default value changes
and the user hasn't already changed the value themselves.
This fixes a dangerous issue with new room switching and
room settings checkboxes keeping their value from the previous room.
2020-09-16 07:46:27 -04:00
miruka
9ac4cd0a97
Separate localEcho & readCounter theme properties
...
Allows making the hourglass gray by default again, while the read
counter uses the accent color.
2020-09-16 06:40:21 -04:00
miruka
850e925ae7
Update changelog for v0.6.3
2020-09-15 15:08:15 -04:00
miruka
0db80d312b
Bump to version 0.6.3
2020-09-15 15:03:47 -04:00
miruka
5ce30d6019
Add message echo/read counter color theme property
2020-09-15 14:55:03 -04:00
miruka
d7d111705f
Don't center the room list on clicks by default
...
Previously, clicking to select a room would make the list jump around
to become centered again. This behavior is now reserved to keyboard
navigation.
A "centerRoomListOnClick" setting has been added to allow going back
to the previous behavior.
2020-09-14 12:02:28 -04:00
miruka
2712896456
Show read marker counts on messages
...
Tells how many people have the message as their last seen one in the
room.
2020-09-14 11:58:37 -04:00
miruka
0d7a33d3a9
Unify Sessions (shift+)tab and up/down navigation
2020-09-13 19:28:50 -04:00
miruka
fb846226f8
Focus filter field on member profile exit
2020-09-13 19:16:46 -04:00
miruka
9b1608b696
Delay members loading for faster room switching
2020-09-13 16:05:23 -04:00
miruka
6df9647b59
Faster switching of rooms from different accounts
...
Use a single [userId, roomId] property for the chat page.
This gets read of the intermediate state where the userId property has
been updated but the roomId one not yet, which led to the page unloading
and reloading itself until both were properly set.
Side-effect: when starting Mirage after this commit for the first time,
the last saved page will not load and user must click a room or
other page manually.
2020-09-13 16:05:15 -04:00
miruka
32679aa7f8
Abandon fetching offline presence on 400 error
...
It seems like some servers return a M_UNRECOGNIZED code instead of
M_FORBIDDEN or "offline" when trying to fetch the presence for a user
and it's not available.
Fixes https://github.com/mirukana/mirage/issues/116
2020-09-13 10:34:01 -04:00
miruka
a9c316fcf5
Store read receipts in event model items
2020-09-11 14:50:27 -04:00
miruka
d51d266642
Add ModelItem.notify_change() for list/dicts
2020-09-11 14:50:27 -04:00
miruka
7580ecfd64
Fix missing typing.Tuple import in model.py
2020-09-11 14:50:27 -04:00
miruka
59748c7cc8
EventDelegate: better separationSpacing formatting
2020-09-11 14:50:27 -04:00
miruka
0ccf3d03c9
Merge pull request #125 from vSLG/system-tray
...
Add a system tray icon
2020-09-11 13:52:20 -04:00
vslg
b10234768b
Do not use qFatal on component error loop
...
Using qFatal will terminate the program when it
prints the first error, so use qCritical to print
all errors and then terminate the program.
2020-09-08 08:48:38 -03:00
vslg
67012d6334
Move tray code to a reasonable place
...
- Move required properties to top
- Do not use concatenation on qsTr, use .arg()
2020-09-08 08:47:00 -03:00
vslg
ae9f88cae5
Fix show up watcher
2020-09-08 08:47:00 -03:00
vslg
4382edc8b0
Rename drawAttention
to restoreFromTray
2020-09-08 08:47:00 -03:00
vslg
438b368be6
Fix typos and improve code
...
- Do not end log messages with '.'
- Rephrase some messages
- Do not use braces on case statement unless there
is an assignment
2020-09-08 08:47:00 -03:00
vslg
6f9d983e03
Use settingsFolder
instead of configDir
2020-09-08 08:47:00 -03:00
vslg
c41ed5d77d
Improve system tray icon click behavior
...
- Middle click now closes Mirage
- A normal click now toggle window visibility
2020-09-08 08:47:00 -03:00
vslg
a543c79c02
Use Qt.quit() when closing the window
...
Qt.quit() is used because KDE Plasma will minimize
to tray by default when clicking on X button
2020-09-08 08:47:00 -03:00
vslg
8a04f80602
Use application name instead of hardcoding Mirage
2020-09-08 08:47:00 -03:00
vslg
bde7af8a5a
Move system tray icon code to its file
2020-09-08 08:46:40 -03:00