Commit Graph

2701 Commits

Author SHA1 Message Date
miruka
99c5346dba Store pushrules in model with (kind, rule_id) keys
Two rules of different kinds can have the same rule ID
2021-03-03 17:14:56 -04:00
miruka
d5bcaca874 Add saving of pushrules action changes 2021-03-03 17:14:55 -04:00
miruka
2480603ee2 Improve unread counters theming & default look 2021-03-03 17:14:55 -04:00
miruka
bb8f394b78 Implement a non-functional push rule control UI 2021-03-03 17:14:55 -04:00
miruka
97f6acbb0d Security.qml: loginFuture → loginFutureId 2021-03-03 17:14:55 -04:00
miruka
0d8d07e352 Use refreshButton.loading, not separate spinner 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
755d954948 Merge account settings Encryption & Sessions page 2021-03-03 17:14:55 -04:00
miruka
bb74221e3e Add HRadioButton base component 2021-03-03 17:14:55 -04:00
miruka
e0cb040fd1 Add HComboBox base control 2021-03-03 17:14:55 -04:00
miruka
9967638694 Apply theme radius on context menus 2021-03-03 17:14:55 -04:00
miruka
7af1456c1d Add visible indicator when downloading files
Downloading file messages will now show a transfer control above the
composer, similar to uploads. Measuring the progress or pausing the
operation is not possible yet.
2021-03-03 17:14:55 -04:00
miruka
86f0a8a6a0 Add warning popup when old settings.json detected 2021-03-03 17:14:55 -04:00
miruka
5dfe700880 Fix toggle compact keybind not working immediatly 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
426faa2673 Improve RedactPopup multi-sender warning
Give reason why we can't delete all the selected messages when
selection contains a mix of own and other user messages and we don't
permission to remove them.
2021-03-03 17:14:55 -04:00
miruka
c59d54877a Add Keys.Messages.seen_tooltips keybind
Toggle display of the focused message's seen counter tooltip,
which shows which user have this message as their last seen
and when did they send that information.
When this mode is active, you can move the focus
to other messages  and the tooltip will update itself.
If a message doesn't have a counter, it won't have a tooltip.
2021-03-03 17:14:55 -04:00
miruka
f22758ea89 Add tooltips to the message "read by" indicator
Hovered the read by counter on timeline events now shows who read said
event and when.
2021-03-03 17:14:55 -04:00
miruka
6184f1cfa5 Add utils.commaAndJoin() for "a, b and c" strings 2021-03-03 17:14:55 -04:00
miruka
661ca47430 Fix Keys.Messages.debug keybind 2021-03-03 17:14:55 -04:00
miruka
2049141bfd autoreload: improve code & which files are watched 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
626a43b7b0 Replace pprintpp usage by devtools.debug 2021-03-03 17:14:55 -04:00
miruka
0dadf7de97 Have split python_(remote_)debugger keybinds
python_debugger (shift+F1) will now always start pdb, and
python_remote_debugger will always start remote_pdb.
Since the new autoreload.py script doesn't break stdin like entr with
live-reload.sh did, we can now use pdb if the app is connected to a
terminal.
2021-03-03 17:14:55 -04:00
miruka
e4959f503c Reimplement swipe to exit sidepane via DragHandler 2021-03-03 17:14:55 -04:00
miruka
7029148c87 Fix some chat right pane issues
- Remove the default Qt dragMargin: when the right pane was
  hidden/collapsed in the interface, accidentally clicking on this
  invisible 10 pixel-wide zone to the right edge of the window
  would interfere with any button under it, e.g. the button to
  expand the pane

- Fix expand pane button failing to bring back pane (due to dragMargin)
  and turning the chat page header invisible

- Disable swiping to exit panes, interferes with buttons and tiles
2021-03-03 17:14:55 -04:00
miruka
f9ec2863ff Fix appimage build.sh to compile with dbus 2021-03-03 17:14:55 -04:00
miruka
2de3060dc3 requirements.txt: update Pillow and aiofiles 2021-03-03 17:14:55 -04:00
miruka
01adc71646 Catch error when sending dbus notification fails 2021-03-03 17:14:55 -04:00
miruka
98b6a7b74e Add detail tooltips in server browser stability %
When hovering on stability percentages in the server browser, a tooltip
now shows the total downtime in the past 30 days, number of incidents,
their average length and the longest's duration.
2021-03-03 17:14:55 -04:00
miruka
ae4bcffa06 settings.py: add Chat.Composer.TypingNotifications 2021-03-03 17:14:55 -04:00
miruka
fda5bc0039 Add CLI arguments parsing + --start-in-tray
- Loading a QML file in place of src/gui/UI.qml is now possible via
  -l / --load-qml instead of taking the first positional argument

- New option to start application in tray without showing a window

- --help and --version
2021-03-03 17:14:55 -04:00
miruka
50d4aae188 Remove unused ExitRequested pyotherside event 2021-03-03 17:14:55 -04:00
miruka
ddc5b8b933 Replace live-reload.sh by autoreload.py
entr is a glitchy mess that keeps restarting for no reason and prevents
pdb usage due to stdin takeover, use a python script instead that
doesn't need external utilities.
2021-03-03 17:14:55 -04:00
miruka
768ac47c22 Add missing hsluv to requirements.txt 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
8175bbde0e Fix keyboard scrolling when kinetic is disabled 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
69a338f610 Fix handling errors in config files on startup 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
c084db201a live-reload.sh: app handles config/theme reloading 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
9769a84bb7 Update README to point to new documentation files 2021-03-03 17:14:55 -04:00
miruka
c80316c8e1 Add THEMING.md 2021-03-03 17:14:55 -04:00