miruka
e23f6f2e7c
Remove uneeded and update some QML imports
2020-03-16 09:04:59 -04:00
miruka
992719554f
Log the involved user id in sync failures
2020-03-16 00:31:31 -04:00
miruka
1b1912a55f
Fix "developper" typos
2020-03-16 00:25:30 -04:00
miruka
665c00645b
Fix displaying transparent GIFs
2020-03-16 00:15:47 -04:00
miruka
977e75e95e
Bundle default theme fonts
2020-03-15 19:08:12 -04:00
miruka
647d2e1f1f
Fix (explicitely define) popup overlay
2020-03-15 19:08:12 -04:00
miruka
bbc4a9bb17
Fix HMenuItem icon colors
2020-03-15 19:08:12 -04:00
miruka
cada86a05f
Log server sync errors as warnings instead
2020-03-15 19:08:12 -04:00
miruka
faaa5933d4
Fix local echo
2020-03-15 19:08:12 -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
d00db2256d
PointHand cursor when "upload profile pic" hovered
2020-03-15 19:08:12 -04:00
miruka
73d54b5788
Don't show CancelledError when logging out early
2020-03-15 19:08:12 -04:00
miruka
beac0ce3dd
HBox: fix error when setting firstButton sometimes
2020-03-15 19:08:12 -04:00
miruka
25101578cc
Fix retry_decrypting_events()
2020-03-15 19:08:12 -04:00
miruka
7fd41f3eb4
QML Utils.showError() function
2020-03-15 19:08:12 -04:00
miruka
de729e42d9
Notice event line: respect UI zoom
2020-03-15 19:08:12 -04:00
miruka
64d67234ab
Fix room settings background
2020-03-15 19:08:12 -04:00
miruka
90a2773a8c
Fix room header and composer avatar radius
2020-03-15 19:08:12 -04:00
miruka
ebab1e15c2
Add more control on radiuses from themes
2020-03-15 19:08:12 -04:00
miruka
615c08848d
HBox: respect theme.radius
2020-03-15 19:08:12 -04:00
miruka
deb4161bbe
Make fields and text areas respect theme.radius
2020-03-15 19:08:12 -04:00
miruka
1c23450805
Make events, checkbox, avatars respect radius
2020-03-15 19:08:12 -04:00
miruka
abdaf13da5
Add way to round images
2020-03-15 19:08:12 -04:00
miruka
4d2345f4b9
Fix JsonDataFile default file loading
2020-03-15 10:26:53 -04:00
miruka
f507523af6
Fix default theme retrieval mess
2020-03-14 22:20:41 -04:00
miruka
cc3bb3c4fd
Fix utils.py import for Python 3.6
2020-03-14 17:32:05 -04:00
miruka
d3e01b938c
Force fusion QML style, prevent problems with KDE
2020-03-14 17:31:52 -04:00
miruka
b85236d514
Slightly reduce "typing" icon size
2020-03-13 13:04:36 -04:00
miruka
9d7bffcee8
Ignore alias in room with no permission to talk
2020-03-13 12:47:01 -04:00
miruka
8d6fcf5c88
Limit display name setting to 255 bytes
2020-03-13 12:18:31 -04:00
miruka
5d7aa0b142
Fix composer alias field label overflow
2020-03-13 12:16:09 -04:00
miruka
3922903d38
Reduce text colors intensity
2020-03-13 12:11:02 -04:00
miruka
298043b3cb
Prevent saving alias taken by other account
2020-03-13 12:10:47 -04:00
miruka
a0c42fe5a6
Example placeholder for composer alias
2020-03-13 11:44:47 -04:00
miruka
8c1c3ef05c
Add explanation tooltip for composer alias
2020-03-13 11:35:05 -04:00
miruka
15afce3393
Fix invisible room pane filter placeholder text
2020-03-13 10:34:37 -04:00
miruka
190eb58187
Write user files and media atomically
2020-03-13 04:36:22 -04:00
miruka
9d3e2dbfc4
Fix quotes in room subtitles
2020-03-13 03:55:04 -04:00
miruka
630e011cfd
HMxcImage: cancel media retrieval on destruction
2020-03-13 02:52:38 -04:00
miruka
7e5896f52b
Fix MediaCache asyncio Semaphore early import bug
2020-03-13 02:46:21 -04:00
miruka
3a2771d138
Change main pane top bar buttons and layout
2020-03-13 01:41:38 -04:00
miruka
46a1c13088
Update LoadingScreen design
2020-03-13 01:17:47 -04:00
miruka
5cee0f6c8a
Improve overall theme and pane colors
2020-03-13 01:09:04 -04:00
miruka
0068550410
Get rid of main pane error when no currentItem
2020-03-12 23:31:13 -04:00
miruka
05ebe955d0
Fix accentBackground/Element colors
2020-03-12 23:30:58 -04:00
miruka
710891be90
Fix add new account & focus filter rooms keybinds
2020-03-12 23:23:21 -04:00
miruka
02d09f405a
Improve MainPane when reduced to minimumSize
2020-03-12 23:17:23 -04:00
miruka
ca53e18e24
Add main pane top bar, improve readability
2020-03-12 22:16:33 -04:00
miruka
247eb15281
Rename MainPaneToolBar to BottomBar
2020-03-12 17:15:36 -04:00
miruka
a6315f7829
Fix default theme path with QRC
2020-03-12 16:46:44 -04:00
miruka
b531ca0a4a
Mention keys *until present time* are exported
2020-03-12 15:52:43 -04:00
miruka
77d877047b
Update docstrings
2020-03-12 14:41:00 -04:00
miruka
04790b3ed3
EventList: Add missing QtQuick.Window import
2020-03-12 13:30:46 -04:00
miruka
9bad0132d6
Make upload cancelling instant without visual hack
2020-03-12 13:28:30 -04:00
miruka
e8d4823227
Unset parent_model when deleting item in model
2020-03-12 13:28:30 -04:00
miruka
8f19adf279
Don't show Chat spinner for short loadings
2020-03-12 13:28:30 -04:00
miruka
45ea3de3d8
Make keyboard room switching more reactive
2020-03-12 13:28:30 -04:00
miruka
b26fe10810
Load Chat faster by delaying EventList loading
2020-03-12 13:28:30 -04:00
miruka
8a43690676
Remove old HSortFilterProxy component
2020-03-11 11:05:32 -04:00
miruka
c8bf9a6e63
Optimize EventList cacheBuffer binding
2020-03-11 10:57:20 -04:00
miruka
5f6a23f051
Split HPage into more specialized components
2020-03-11 10:45:47 -04:00
miruka
1c9604c31a
Add comment about file:// for theme image property
2020-03-10 12:28:22 -04:00
miruka
59296dd22c
Change name and bump version
2020-03-10 10:41:27 -04:00
miruka
612c18ac28
Increase display names lightness
2020-03-10 10:04:30 -04:00
miruka
ecfdd8ff23
Glass.qpl: increase bgSaturation
2020-03-10 09:54:01 -04:00
miruka
298ab30672
Read theme in app dir if doesn't exist in user dir
2020-03-10 09:51:51 -04:00
miruka
264c2ab16b
Rename themes
2020-03-10 09:48:51 -04:00
miruka
7c83041f6c
Add new theme
2020-03-10 09:33:02 -04:00
miruka
a8c6538de1
Update register/reset not implemented labels
2020-03-10 09:03:56 -04:00
miruka
baac01d1ad
Revise default theme
2020-03-10 08:58:14 -04:00
miruka
8d594e3e83
Fix room at index 0 not highlightable
2020-03-10 06:07:55 -04:00
miruka
89ee4c2361
Reselect the right room when main pane loses focus
2020-03-10 05:41:40 -04:00
miruka
aafbecfdda
Fix main pane highlight
2020-03-10 05:38:28 -04:00
miruka
49966e06ad
Fix Transfer.time_left that could be None
2020-03-09 17:36:47 -04:00
miruka
f9f558cd34
Fix Thumbnail.from_bytes()
2020-03-09 17:33:07 -04:00
miruka
24180fc346
GUI-report important errors that occur during sync
...
Important = "isn't a server 5xx error"
2020-03-09 13:08:09 -04:00
miruka
46f3f15694
Fix cached thumbnails extensions
2020-03-09 12:10:04 -04:00
miruka
7ee83c5fe4
Downloaded files: include title + ext in filename
2020-03-09 11:46:08 -04:00
miruka
bd7b45cc7a
Add title property for EventMediaLoader
2020-03-09 11:08:07 -04:00
miruka
2a2b3df845
Utils.urlExtension: don't lowercase returned ext
2020-03-09 11:00:48 -04:00
miruka
ff642485e8
Show max size in "too large" UI Transfer error
2020-03-09 10:27:22 -04:00
miruka
048c1ddabf
Reject files too large before attempting to upload
2020-03-09 10:23:08 -04:00
miruka
382235875c
Upload thumbnails with the correct extension
2020-03-09 10:10:21 -04:00
miruka
2307d5f1b2
Fix thumbnail uploading for SVG files
2020-03-09 10:03:22 -04:00
miruka
61cc87cf18
Show max file size on upload button tooltip
2020-03-09 09:57:53 -04:00
miruka
ca8dd65f34
Disable buggy composer backspace override
2020-03-09 08:09:58 -04:00
miruka
0fa16400df
Error msg for bad invites in non-federated room
2020-03-09 07:59:23 -04:00
miruka
c618fb8ba3
Don't upload thumbnail if heavier than original
2020-03-08 08:10:27 -04:00
miruka
e1b26d1ec7
Show thumbnail uploading progress when uploading
2020-03-08 08:05:41 -04:00
miruka
d1e42a72a0
Fix upload pause/cancel
2020-03-08 07:34:38 -04:00
miruka
cdb79d11aa
Use const instead of let when possible
2020-03-08 04:46:20 -04:00
miruka
ffc8a13db6
Get rid of the HMxcImage undefined py warnings
2020-03-08 04:27:51 -04:00
miruka
606e8a25df
PythonBridge: minor code improvements
2020-03-08 04:27:43 -04:00
miruka
7d2b85dfda
Remove Chat user/roomInfo binding loop
2020-03-08 04:02:26 -04:00
miruka
46232e3fb1
Button icon.cache only exists for Qt 5.13+
2020-03-07 13:08:18 -04:00
miruka
617e68cc71
Fix main pane list position when kb-scrolling top
2020-03-07 12:37:39 -04:00
miruka
5709b5b756
Fix local echoed message replaced only for one acc
2020-03-07 12:35:12 -04:00
miruka
9fc347ac10
Fix selecting a room in a collapsed account
2020-03-07 11:28:51 -04:00
miruka
ffca63653d
Fix Enter in filter rooms field
2020-03-07 11:17:48 -04:00
miruka
1556e569b8
Replace room loading bar with an eventList header
2020-03-07 11:11:32 -04:00
miruka
269bd1d557
Improve filtered main pane keyboard navigation
2020-03-07 10:15:54 -04:00
miruka
f60b46f26b
Account without matches: -opacity instead of hide
...
Hiding doesn't work properly
2020-03-07 09:45:52 -04:00
miruka
566aaf3a51
Fix main pane list scrolling?
2020-03-07 09:32:56 -04:00
miruka
c49f9b98b2
Split RoomPane into Base/MultiviewPane
2020-03-06 08:41:04 -04:00
miruka
191e86530f
C++ hsluv(): ensure passing color within bounds
2020-02-14 12:32:45 -04:00
miruka
ff72983bb4
Don't copy the default theme to userdata dir
2020-02-14 12:21:24 -04:00
miruka
f6cec0bcdb
Half-fix main pane scrolling?
2020-02-14 10:24:42 -04:00
miruka
7325c78c5a
Highlight main pane items on startup and clicks
2020-02-13 07:19:27 -04:00
miruka
7547703bb0
Main pane list items keyboard activation
2020-02-13 05:56:10 -04:00
miruka
4636a36154
AccountRoomsList highlight delegate scrolling
2020-02-13 05:36:28 -04:00
miruka
a78f5506b8
AccountRoomList keyboard up/down
...
Item activation or proper scrolling not reimplemented yet
2020-02-12 17:58:24 -04:00
miruka
ce0a868579
Refix Event.source, JSONify dicts for ListModel
2020-02-12 14:14:09 -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
f922204644
Optimize Model insertions (blist + bisect)
2020-02-12 07:43:03 -04:00
miruka
7020706ff1
items.py: rebase fix
2020-02-12 06:27:21 -04:00
miruka
e982de1c61
Make Event.inline_content & links pure attrs
2020-02-12 06:21:43 -04:00
miruka
8a29143b60
Working Event.event_type & source fields
2020-02-12 06:19:49 -04:00
miruka
b992db9bfe
Use typing.TYPE_CHECKING to avoid inner imports
2020-02-12 05:56:18 -04:00
miruka
a653a6160a
Get SortProxyFilterModel stuff working?
...
Came back from a break and forgot what I was fixing
2020-02-12 05:56:18 -04:00
miruka
d8e18c3337
Room: show month for previous years dates
2020-01-06 03:41:27 -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
2ce5e20efa
Fix chat creation client methods
2019-12-29 14:30:15 -04:00
miruka
10dabca1d9
Use monospace font for error popup traceback
2019-12-28 04:55:34 -04:00
miruka
5f3ecef408
Merge branch 'style' into 0.3
2019-12-27 16:35:56 -04:00
miruka
ce733c6641
Catch signal exception when imported from thread
2019-12-27 09:28:46 -04:00
miruka
a1256cf20a
Turn Clipboard into a singleton
2019-12-27 09:06:42 -04:00
miruka
f34d2a1c6d
Turn CppUtils into a Singleton
2019-12-27 08:58:24 -04:00
miruka
e7caa0b8ef
Use a C++ implementation of hsluv
2019-12-27 08:23:32 -04:00
miruka
77f851c319
Respect uiScale to decide how to align our msgs
2019-12-26 11:12:33 -04:00
miruka
35fd57be56
Improve HDrawer complience/behavior with zoom
2019-12-26 11:09:40 -04:00
miruka
fc7f7256a1
Fix RoomPane buttons background static height
2019-12-26 10:51:41 -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
eff64fabd6
Catch any nio.ErrorResponse to raise MatrixErrors
2019-12-26 08:16:04 -04:00
miruka
4f1e4fcf1c
Remove excess period
2019-12-22 11:36:31 -04:00
siedes
f3e87eb3fc
Minor spelling and wording corrections
2019-12-22 11:29:33 -04:00
miruka
74d21224ab
Hide account icons when MainPane gets too small
2019-12-22 09:35:21 -04:00
miruka
ab786173d9
MainPane: leave more space to chat in small window
2019-12-22 09:35:21 -04:00
miruka
e9efca76d4
HDrawer: snap around default size when resize-drag
2019-12-22 09:35:21 -04:00
miruka
b4df752f8a
Improve MembersView when RoomPane collapsed
2019-12-22 09:35:21 -04:00
miruka
44e5de02f8
font color → span mx color for outgoing HTML
...
Also remove HTML_PROCESSOR `filter_inline` and `from_markdown_inline`
methods. `filter` and `from_markdown` now take an `inline` argument.
2019-12-22 09:35:21 -04:00
miruka
335d931b0a
Turn markdown color names into hex codes
...
Not all clients may know the same color names or even support them, hex
codes are unambiguous.
2019-12-22 09:35:15 -04:00
miruka
b0d77d74a9
Add custom markdown syntax for coloring text
...
<color>(text to color) where color can be a SVG color name,
3 characters hex or 6 characters hex code.
Can be used to send colored message from the composer. Other clients
that follow the matrix spec should be able to display them (e.g. riot,
even if it can't send them)
2019-12-20 14:44:31 -04:00
miruka
be61a34ec0
Event context menu entry to open debug console
...
Replaces the hidden double-click-on-empty-space feature
2019-12-20 10:39:10 -04:00
miruka
9bd739a0db
Fix focus and simplify popup-opener menu items
...
Introduce a HmenuItemPopupSpawner component that takes care of reacting
to onTriggered signals and calling the utils.makePopup() function.
The combination of this new component used in HMenu to open a HPopup
now correctly takes and restore focus to the right element when closed.
2019-12-20 10:30:50 -04:00
miruka
d9b7118f45
load_past_events: raise instead of logging errors
2019-12-20 09:30:57 -04:00
miruka
5e26188dfe
Fix & improve EventImage thumbnail sizes
2019-12-20 09:12:16 -04:00
miruka
be6292a521
RoomPane leave more space for chat in small window
2019-12-20 07:38:42 -04:00