miruka
f4dca1c2c9
Fix SyncId type hint & remove debug prints
2020-05-15 20:56:23 -04:00
miruka
c502aa4245
Add model batch removal optimization for filtering
2020-05-15 20:56:23 -04:00
miruka
2bb13bf7f7
HStringFilterModel: Refilter when field changes
2020-05-15 20:56:23 -04:00
miruka
01adcff77e
Reduce the number of room delegate errors
2020-05-15 20:56:23 -04:00
miruka
fd8cf4ad8d
Optimize model field replacements
2020-05-15 20:56:23 -04:00
miruka
2cbedaa892
HLoader as room delegates test
2020-05-15 20:56:23 -04:00
miruka
1adbddc063
Enable member lazy-loading for /sync and /messages
2020-05-15 20:56:23 -04:00
miruka
379a851a62
alertOnMessageForMsec: correctly handle 0 value
...
If 0: don't show any alert
If -1: show alert indefinitly until user focuses the window
2020-03-24 11:31:32 -04:00
miruka
b1144572aa
Fix loop exceptions not printed in terminal
2020-03-22 20:58:24 -04:00
miruka
8a99ccd976
Make retry_decrypt_events() work for good
2020-03-15 19:08:12 -04:00
miruka
adbe2d88ee
Fix dict changing size problem in retry_decrypt_..
...
Also add a copy() method to models, and make them able
to not have a sync_id (in which case they won't send pyotherside
events).
2020-03-15 19:08:12 -04:00
miruka
7fd41f3eb4
QML Utils.showError() function
2020-03-15 19:08:12 -04:00
miruka
630e011cfd
HMxcImage: cancel media retrieval on destruction
2020-03-13 02:52:38 -04:00
miruka
49966e06ad
Fix Transfer.time_left that could be None
2020-03-09 17:36:47 -04:00
miruka
2a2b3df845
Utils.urlExtension: don't lowercase returned ext
2020-03-09 11:00:48 -04:00
miruka
cdb79d11aa
Use const instead of let when possible
2020-03-08 04:46:20 -04:00
miruka
606e8a25df
PythonBridge: minor code improvements
2020-03-08 04:27:43 -04:00
miruka
5709b5b756
Fix local echoed message replaced only for one acc
2020-03-07 12:35:12 -04:00
miruka
ae780345e8
Make "Filter members" work again
2020-02-12 08:15:54 -04:00
miruka
9a0969adf5
Fix Event.source for messages we send
2020-02-12 08:10:59 -04:00
miruka
9990fecc74
Begin yet another model refactor
...
Use native ListModel which require a lot of changes, but should be
much faster than the old way which exponentially slowed down to a crawl.
Also fix some popup bugs (leave/forget).
Not working yet: side pane keyboard controls, proper highlight,
room & member filtering, local echo replacement
2020-01-06 03:41:14 -04:00
miruka
f34d2a1c6d
Turn CppUtils into a Singleton
2019-12-27 08:58:24 -04:00
miruka
f977d9acf2
GUI popup for uncaught asyncio loop exceptions
2019-12-26 10:17:54 -04:00
miruka
511681ae4d
Report uncaught Python exceptions with a GUI popup
2019-12-26 09:24:54 -04:00
miruka
fb1f9c62e5
Add SPDX ID LGPL v3+ license headers
2019-12-19 07:46:16 -04:00
miruka
23be12fb60
Document backend & qml_bridge + minor code changes
2019-12-18 08:14:35 -04:00
miruka
87b262ebee
Move backend.__about__ stuff into __init__
2019-12-18 06:55:05 -04:00
miruka
9e372d01d5
Python backend "App" becomes QmlBridge
...
Is now strictly about setting up asyncio/uvloop and providing the
functions for QML to interact with it and call backend coroutines.
The appdirs attribute is moved to Backend.
2019-12-18 06:44:18 -04:00
miruka
5d7d66f99b
Have a QML Future object instead of JS dict
2019-12-18 06:16:24 -04:00
miruka
717c5078c7
Move QML Python stuff to its own subfolder
2019-12-18 05:00:27 -04:00