Commit Graph

2096 Commits

Author SHA1 Message Date
miruka
60fa027c2e Lock models when trying to decrypt events
Trying to deep-copy can result in pickling errors (#50),
write-lock the models instead to avoid "dictionary changed size during
iteration" issues.
2020-05-28 14:16:43 -04:00
miruka
c0118c4e28 Rename Model._write_lock → Model.write_lock 2020-05-28 14:13:14 -04:00
miruka
0f6f3bce98 Improve ImportKeys popup closing/cancelling
- Once the importing process starts, only allow the popup to be closed
  by pressing pressing esc or clicking the Cancel button, to prevent
  accidental clicks

- When closing the popup without clicking the Cancel button, cancel the
  import process
2020-05-28 14:11:49 -04:00
miruka
ee58b0cee4 Update TODO.md 2020-05-28 13:59:25 -04:00
miruka
e3f13dc16f Fix hiding gaierror 2020-05-24 16:55:50 -04:00
miruka
ab6a9d0225 Update TODO.md 2020-05-23 03:19:12 -04:00
miruka
855672481f Improve some python documentation and add an intro 2020-05-22 17:27:57 -04:00
miruka
c8f3a4937c Fix potential exceptions on AllRooms model __init__
Calling super().__init__ may result in source model items being added,
which needs the self.account and self._collapsed attributes to
already exist.
2020-05-22 16:47:15 -04:00
miruka
2ed5798fb7
Merge pull request #44 from rinigus/flatpak-0.5.0
[flatpak] Switch to KDE 5.14 runtime, update dependencies
2020-05-22 16:44:04 -04:00
Rinigus
4f4233f17b [flatpak] Switch to KDE 5.14 runtime, update dependencies 2020-05-22 22:04:58 +03:00
miruka
0b84ad7b53 Add new features to README.md 2020-05-22 09:16:47 -04:00
miruka
1324b1d909 Update flatpak required nio version 2020-05-22 09:11:58 -04:00
miruka
562e1431b9 Fix adding account when none were previously saved 2020-05-22 08:48:58 -04:00
miruka
9f8c28e1db CHANGELOG.md: Unreleased → 0.5.0 2020-05-22 08:42:54 -04:00
miruka
3d474502e7 Update TODO.md 2020-05-22 08:31:45 -04:00
miruka
10ea48080e generate-flatpak-script: use python3, not python 2020-05-22 08:25:45 -04:00
miruka
25840afb35 Fix typos in CHANGELOG.md 2020-05-22 08:12:53 -04:00
miruka
b3b12014ee Workaround collapsing large account ListView bug 2020-05-22 07:31:00 -04:00
miruka
4f9ed2a77f Add CHANGELOG.md 2020-05-22 02:51:29 -04:00
miruka
3d40f762ce Don't strip <mx-reply> tags 2020-05-22 02:11:21 -04:00
miruka
1fea162fac Give up finding last event to respond to after 1k 2020-05-22 00:18:44 -04:00
miruka
6c7335e5db Add keybind to open links in messages
Ctrl+O by default.
Opens externally all links in selecteds, focused or the last
message that has links.
Can't open files (media events) yet.
2020-05-22 00:10:45 -04:00
miruka
bbd845c040 Use kwargs when calling nio.AsyncClient.upload() 2020-05-21 20:52:42 -04:00
miruka
921f75827d Use pdb if remote_pdb isn't installed 2020-05-21 20:50:43 -04:00
miruka
fb975fad71 Remove unused Backend.await_model_item() 2020-05-21 20:46:08 -04:00
miruka
8c9b5267e9 Update and add missing new docstrings 2020-05-21 20:45:15 -04:00
miruka
cc1403974c Must install qml-module-qtquick-shapes on Ubuntu 2020-05-21 20:06:55 -04:00
miruka
6f688ae1aa Implement circle progress bars in QML 2020-05-21 20:06:47 -04:00
miruka
35e6c1c7eb Make sure to register room on ignored events 2020-05-21 14:37:48 -04:00
miruka
24ede5653d Hide popups for annoying socket.gaierror
Workaround until I can figure out how to catch it
2020-05-21 14:20:13 -04:00
miruka
58dd63a850 Traceback if getting profile/server config fails 2020-05-21 14:14:27 -04:00
miruka
5ae71cb7ce Work around ModelStore binding loop 2020-05-21 01:26:12 -04:00
miruka
b30ce33494 Fix default media_mime for media events 2020-05-21 01:05:31 -04:00
miruka
96e61f15ce Set a more useful minimum size for main pane
144px min for a pane that's still useful.
Also set `collapseSidePanesUnderWindowWidth` config option to `450`
instead of `400` by default now.
2020-05-21 01:04:24 -04:00
miruka
07701ae880 Remove uvloop support, causes issues 2020-05-20 23:56:19 -04:00
miruka
e128471628 Merge branch 'dev' of https://github.com/mirukana/mirage into dev 2020-05-20 23:40:41 -04:00
miruka
fc28ffd741
Merge pull request #43 from vSLG/trackpad
Add option to disable kinetic scrolling
2020-05-20 23:07:45 -04:00
vslg
6f68f35810 Fix goal is disabling kinetic scrolling 2020-05-20 23:03:36 -03:00
vslg
1bad1e1106 Multiply scrollFactor to wheel.pixelDelta 2020-05-20 21:09:34 -03:00
vslg
3094e47a99 Fix bugs and improve trackpad scroll precision
Improve trackpad precision by making the amount
of scroll, flickVelocity and flickDeceleration
proportional
2020-05-20 21:09:34 -03:00
vslg
107f928007 Fix bug when setting useTrackpadFix option 2020-05-20 21:09:34 -03:00
vslg
f72544e3d0 Improve trackpad fix
- Add it to remaining components
- Do not use Timer, as flickDeceleration from
  Flickable is more performant
- Add a setting option for it: useTrackpadFix
2020-05-20 21:09:34 -03:00
vslg
b179480327 Remove allowDragging, as it is not needed anymore 2020-05-20 21:09:34 -03:00
vslg
d840080fdb Add custom scroll handler to MouseArea 2020-05-20 21:09:34 -03:00
miruka
4a91b3d09d Hide unknown events by default (reaction spam) 2020-05-20 11:49:25 -04:00
miruka
a48b1cedd0 Don't limit width of messages with code blocks 2020-05-20 11:08:02 -04:00
miruka
42b62377ab Fix past member events affecting actual room state 2020-05-20 09:05:36 -04:00
miruka
7719df0135 Fix message mention link regex
Also stop trying to autolink strings like "$messageId:example.org" in message
text, matrix.tpo message links need a room ID to make sense.
2020-05-20 07:54:40 -04:00
miruka
8823077a1c Composer: on escape, cancel any response 2020-05-20 07:19:02 -04:00
miruka
d6846b08d9 Fix debugFocusedMessage keybind 2020-05-20 07:12:00 -04:00