miruka
b803c34338
Make middle click also work outside of image
2020-07-20 14:30:00 -04:00
miruka
66a44b5251
Split ImageViewer components
2020-07-20 14:27:52 -04:00
miruka
9444225afa
Remove pressDelay from image viewer flickable
...
Seems to create a bug where the user can accidentally scroll the
timeline behind the popup instead of the image viewer flickable itself
2020-07-20 13:24:03 -04:00
miruka
066102e64d
fullscreen: alt. scale mode only if image < window
2020-07-19 20:29:25 -04:00
miruka
06c2a24c9e
Image viewer: separate fullscreen functions
2020-07-19 20:27:08 -04:00
miruka
48014cb8e5
Allow right clicking outside of image to close it
2020-07-19 20:22:36 -04:00
miruka
fe08014697
Image viewer: make thumbnailPath property optional
2020-07-19 16:51:06 -04:00
miruka
2dbb155a22
Fix clicking in image viewer always closing GIFs
2020-07-19 16:02:38 -04:00
miruka
26a4d76fc2
Implement basic image viewer popup
...
Current features:
- Show scaled up thumbnail while the full image is loading
- Click to alternate between scaling mode (or reset zoom if not 1x)
- Click outside of image to close
- Double click to toggle fullscreen
- Middle click to open externally (also for thumbnail in timeline)
- Right click anywhere to close
- Ctrl+wheel to zoom
- Click-drag to pan when image larger than window
2020-07-19 03:26:33 -04:00
miruka
6463228db2
Fix path upload preview popup when QRC is used
2020-07-17 11:10:15 -04:00
miruka
bd30f89055
Fix compiling on Qt 5.12 (clipboard lambda)
2020-07-17 10:30:06 -04:00
miruka
eea2693c6a
fix gif crap again
2020-07-17 07:26:31 -04:00
miruka
716ac2a0af
Refer to custom components to access their enums
2020-07-17 01:45:02 -04:00
miruka
23a0504937
Increase confirm/preview upload popups width
2020-07-16 17:41:02 -04:00
miruka
6065b6c1d6
confirm upload popups: limit size of loaded images
2020-07-16 17:36:13 -04:00
miruka
1708f692b3
Loading spinners for confirm/preview upload popups
2020-07-16 17:17:58 -04:00
miruka
bceafd7bbd
Preview/confirm popup for clipboard pasting
2020-07-16 15:59:54 -04:00
miruka
60832b2fcd
Confirm uploading from path in clipboard
2020-07-16 12:42:42 -04:00
miruka
3c7b78d4ca
Reorder QML files to follow coding conventions
...
https://doc.qt.io/qt-5/qml-codingconventions.html#qml-object-declarations
2020-07-12 01:27:44 -04:00
miruka
ed030f7dd9
Refactor ButtonLayout module components
...
- Rename ButtonLayout module to just Buttons
- Rename ButtonLayout into AutoDirectionLayout and move it to Base,
it's useful not just for buttons
- Rename OtherButton into GroupButton, which is now the base of all
other Buttons buttons
- Add generic (Positive|Middle|Negative)Button components, which are now
the base for (Apply|Cancel)Button
2020-07-12 00:13:52 -04:00
miruka
2b52040632
Improve KeyVerificationPopup for current device
...
Make the text more useful and more adapted to the possible situations.
2020-07-11 16:12:10 -04:00
miruka
224e82f38c
KeyVerificationPopup: make details copiable
2020-07-11 15:51:31 -04:00
miruka
9a943120a8
Show how many devices will be deleted in popup
2020-07-10 13:14:18 -04:00
miruka
7c213a5317
Verify/blacklist devices for all our accounts
2020-07-10 13:14:17 -04:00
miruka
196d57701a
Cancel device delete when popup closed
2020-07-10 13:14:17 -04:00
miruka
b47d4d981f
Implement session sign out (password auth only)
2020-07-10 13:14:17 -04:00
miruka
d058926902
Uncheck messages before clearing event list
2020-06-26 06:11:03 -04:00
miruka
213867750d
Add unimplemented auth popup for deleting devices
2020-06-26 04:30:47 -04:00
miruka
088462c4f9
Better icons and details text for password popups
2020-06-26 04:06:01 -04:00
miruka
edc73c6952
Implement blacklisting from verification key popup
2020-06-26 02:16:00 -04:00
miruka
bcbc356a98
Implement manual key verification popup
2020-06-26 02:09:59 -04:00
miruka
a15a101ce0
Fix error popup focusOnItemTab
2020-06-25 14:54:03 -04:00
miruka
dcc634be04
Page & popups: standardized keyboard accept/cancel
2020-06-25 10:27:24 -04:00
miruka
da4a5ab5cd
Rework HBox-based pages and account settings
...
- Refactor everything about HBox, and adapt all the pages and popups
that used it
- Replace HTabContainer by HTabbedBox
- Make boxes swippable
- Make esc presses in boxes click the cancel button
- Make all boxes and popups scrollable when needed
- Replace generic apply button icons in popups
- Fix tab focus for error and invite popups
- Rework (still WIP) the account settings page:
- Use the standard tabbed design of other pages
- Ditch the horizontal profile layout, hacky and impossible to extend
- Add real-time coloring for the display name field
- Implement a device list in account settings (Sessions, still WIP)
2020-06-25 08:49:27 -04:00
miruka
ae37e13c6e
Use new scrollbars for scrollviews (ie text areas)
2020-06-22 13:57:49 -04:00
miruka
8ec715eab7
Improve "user not found" error messages
2020-06-02 20:30:04 -04:00
miruka
eb2c98f67f
Handle MatrixNotFound errors, not UserNotFound
...
UserNotFound doesn't exist anymore
2020-06-02 20:19:09 -04:00
miruka
e676473f82
HLabeledTextField → extensible HLabeledItem
2020-06-02 20:14:55 -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
2cc3f27247
Add Ban to member context menu
...
Also don't try to load past messages in rooms we've left/been
kicked/banned from.
2020-05-15 20:56:23 -04:00
miruka
2a0a3765fc
Add kick to room member context menu
2020-05-15 20:56:23 -04:00
miruka
5f38788434
Focus reason field by default in RedactPopup
2020-04-03 07:53:36 -04:00
miruka
0e04eafebd
Redaction local echo for our other accounts
2020-04-03 07:53:36 -04:00
miruka
5cb013838b
Be able to redact our other account's events
2020-04-03 07:53:36 -04:00
miruka
5ea339ea33
Add keybinds for message removal
2020-04-03 07:53:36 -04:00
miruka
05319af858
Redaction code adjustments + theme addition
2020-04-03 07:53:36 -04:00
vSLG
e60a7f6dac
Make "Remove" option conditional in context menu
...
Refactor code in the backend so things can work
better
2020-04-03 07:53:36 -04:00
vSLG
b3f1075507
Add redacting event via context menu
2020-04-03 07:53:36 -04:00
miruka
6662628b4e
Really cancel key import when clicking "Cancel"
2020-03-21 12:43:16 -04:00
miruka
d96304dc33
Have labels for text fields
2020-03-17 14:24:35 -04:00
miruka
0fa16400df
Error msg for bad invites in non-federated room
2020-03-09 07:59:23 -04:00
miruka
cdb79d11aa
Use const instead of let when possible
2020-03-08 04:46:20 -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
10dabca1d9
Use monospace font for error popup traceback
2019-12-28 04:55:34 -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
siedes
f3e87eb3fc
Minor spelling and wording corrections
2019-12-22 11:29:33 -04:00
miruka
fb1f9c62e5
Add SPDX ID LGPL v3+ license headers
2019-12-19 07:46:16 -04:00
miruka
f4d7636df6
Move Chat/ dir under Pages/
2019-12-18 04:53:08 -04:00
miruka
2bdf21d528
Rename some filers and folder for clarity
2019-12-18 04:45:09 -04:00