Commit Graph

42 Commits

Author SHA1 Message Date
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
0f2023b924 Customize check mark for checkable menu items 2021-03-03 17:14:56 -04:00
miruka
d7fbe8c222 Add keybinds to control global notifications
Alt+M: toggle "mute all notifications except highlights"
Alt+Shift+M: toggle "mute all notifications"

The Keys.Rooms.(previous/next)_highlight keybinds, previously bound to
Alt+(Shift+)M (stood for "mention") now defaults to Alt+(Shift+)H.

The NotificationLevel enum and notificationLevel property had to be
moved from Window to UI due to QML having a global "Window" object that
causes conflicts when trying to access the enum as
"Window.NotificationLevel" from UI.qml.
2021-03-03 17:14:56 -04:00
miruka
027454c6e0 Improve global notifications menu
- More descriptive menu entries
- Indicate the current setting in the menu with a checkmark
- Remove menu button tooltip that gets in the way
- Remove unused icon
2021-03-03 17:14:56 -04:00
miruka
4306098692 Add actions to push rule settings popup 2021-03-03 17:14:56 -04:00
miruka
f466fe9f08 Implement adding new custom push rules 2021-03-03 17:14:56 -04:00
miruka
64b8ee03e3 Add some missing copyright/license headers 2021-03-03 17:14:56 -04:00
miruka
e8b8509d22 Open settings popup on pushrule delegate click 2021-03-03 17:14:56 -04:00
miruka
8c4e5deb66 Implement removing push rules 2021-03-03 17:14:56 -04:00
miruka
765ce46aeb Add popup to edit push rules 2021-03-03 17:14:56 -04:00
miruka
a06ce3352e Make local unread markers optional, off by default
Add RoomList.local_unread_markers option to settings.py,
which is False by default.
Before, this way always enabled and conflicts with push rules by marking
anything as unread without any logic.
2021-03-03 17:14:56 -04:00
miruka
1017d02a83 Change window alert setting names and defaults
- Notifications.alert_time → Notifications.flash_time,
  more evocative of what these "alerts" actually do

- Change default for the above from 0 to 5, since now push rules already
  control precisely what to enable or disable these alerts for

- Notifications.urgent_alert_time → Notifications.highlight_flash_time,
  "highlight" is the term used in the matrix doc
2021-03-03 17:14:56 -04:00
miruka
c7d4f719b6 Security.qml: fix first DeviceSection padding 2021-03-03 17:14:56 -04:00
miruka
3dd12691b8 Make desktop notifications follow push rules 2021-03-03 17:14:56 -04:00
miruka
bb8f394b78 Implement a non-functional push rule control UI 2021-03-03 17:14:55 -04:00
miruka
38da930a99 Fix/improve Security page offline account handling 2021-03-03 17:14:55 -04:00
miruka
fd2d9d2c31 Fix image events read counter being underlined
caused by 2ca01c69d8e56e903e346b604842cf0664583f0d
2021-03-03 17:14:55 -04:00
miruka
2d3553531d Better explain XDG vs default locations in docs 2021-03-03 17:14:55 -04:00
miruka
68412a1975 Make doc links point to dev branch for now 2021-03-03 17:14:55 -04:00
miruka
4070b75544 RoomHeader: add message selection info and actions
When messages are selected in the timeline, change the chat header's
mode to show how many messages are selected and offer copy, remove and
deselect buttons.
2021-03-03 17:14:55 -04:00
miruka
da7c1541a5 CONFIG.md: point to app --help for env variables 2021-03-03 17:14:55 -04:00
miruka
db33ad6d3d CONFIG.md: add default reset_zoom key to example 2021-03-03 17:14:55 -04:00
miruka
56459a0d3d CONFIG.md: add hint about disable kinetic scroll 2021-03-03 17:14:55 -04:00
miruka
fe9d26eaf8 Add some stuff to CONTRIBUTING.md 2021-03-03 17:14:55 -04:00
miruka
aaf0eb2f09 INSTALL.md: add missing ```sh code fences 2021-03-03 17:14:55 -04:00
miruka
f9d1ec6e8a CONFIG/THEMING.md: add info about manual reload 2021-03-03 17:14:55 -04:00
miruka
199ec7646b Watch files included from PCN files (auto-reload) 2021-03-03 17:14:55 -04:00
miruka
99e2be650b Install default config into $PREFIX/share/examples 2021-03-03 17:14:55 -04:00
miruka
c80316c8e1 Add THEMING.md 2021-03-03 17:14:55 -04:00
miruka
71acca2168 Add CONFIG.md and PCN.md documentation 2021-03-03 17:14:55 -04:00
miruka
388cc0e218 Add an index to CHANGELOG.md 2021-03-03 17:14:55 -04:00
miruka
58257c0930 Add note about unofficial packages in INSTALL.md 2021-03-03 17:14:55 -04:00
miruka
f7ee6ba175 Fix links for AUR packages in INSTALL.md 2021-03-03 17:14:41 -04:00
miruka
8125b89178 Add OpenMandriva Lx package to INSTALL.md 2021-03-03 17:13:51 -04:00
miruka
3564e7a571 Turn bookmarks/aliases/at_index into Sections 2021-03-03 17:13:51 -04:00
miruka
cd2ea17614 Add NixOS package to INSTALL.md 2021-03-03 17:13:51 -04:00
miruka
506b35a385 Add Debian package section to INSTALL.md 2021-03-03 17:13:51 -04:00
miruka
df2b913573 Add CONTRIBUTING.md 2021-03-03 17:13:51 -04:00
miruka
2efaeeb887 Move CHANGELOG.md, INSTALL.md and TODO.md to docs/ 2021-03-03 17:13:51 -04:00
miruka
bffd6bab4b Move README screenshots to a new "docs" folder 2021-03-03 17:12:09 -04:00