Commit Graph

1810 Commits

Author SHA1 Message Date
miruka
7c83b1c167 Remove uneeded dependencies for AppImage building
Pillow 0.7+ no longer requires separate installation of libraries like
libjpeg, zlib, etc, for common desktop architectures at least
(which is why we keep them in the INSTALL.md manual install commands).
2020-05-30 23:08:21 -04:00
miruka
61a045269d Adapt manual install instructions for updating 2020-05-30 23:08:21 -04:00
miruka
9393ed0a3f requirements.txt: sort and update versions 2020-05-30 23:08:21 -04:00
miruka
39d3121faa Set default PREFIX to /usr/local for make install 2020-05-30 23:08:21 -04:00
miruka
b399de6776 Remove account collapse bug workaround
Unable to reproduce the bug where collapsing an account with lots of
rooms corrupts the ListView, did updating to Qt 5.14.2 do something?

With the workaround removed, the 0.2s delay when removing batch of
ListView items (e.g. when filtering) is gone.
2020-05-30 23:08:21 -04:00
miruka
de894ab4bb Protect proxy/filter models with write_lock 2020-05-30 23:08:21 -04:00
miruka
9862e39108 HSelectableLabel: selectByMouse true by default 2020-05-30 23:08:21 -04:00
miruka
8b9681dc78 Rename HTextArea.append() → .insertAtCursor() 2020-05-30 23:08:21 -04:00
miruka
877290fc00 Handle 502 errors when inviting bad user to room 2020-05-30 23:08:21 -04:00
miruka
01d3b6b489 Remove usage of HScrollableTextArea 2020-05-30 23:08:21 -04:00
miruka
a91a0c18f7 Refactor Composer
- Have a simple HTextArea component instead of HScrollTextArea
- Split composer parts between multiple files
2020-05-30 23:08:21 -04:00
miruka
a87cbd3bac HTextField: fix implicitHeight Binding 2020-05-30 23:08:21 -04:00
miruka
8829b1b73d Add feature request template; label bug reports 2020-05-30 21:10:42 -04:00
miruka
52246750db Add bug report template 2020-05-30 21:06:14 -04:00
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