Commit graph

216 commits

Author SHA1 Message Date
Loren Burkholder
52346d972e
Make the image overlay behave better
Previously, the image would not try to stay centered; furthermore,
on mobile devices, it was impossible to zoom images without dropping
them at a slightly off rotation. This bothered me enough that I've
clamped images to the center of the screen (as long as they aren't
zoomed larger than the screen) and snapped rotations to 45-degree
increments (with a nice animation to boot).
2024-04-18 20:19:21 -04:00
Nicolas Werner
d2009428b6
workaround broken platform dialogs on macos
See https://bugreports.qt.io/browse/QTBUG-102078
2024-03-14 01:01:12 +01:00
Nicolas Werner
7c2a152cfb
Add support for intentional mentions
This is still a bit flaky around when to remove a mention, but it should
work in most cases. Might add a toggle in the future to disable these
though.
2024-03-08 18:45:18 +01:00
Nicolas Werner
8f700e1210
Remove debug label 2024-03-06 20:54:28 +01:00
Nicolas Werner
05e36dd007
Make image in overlay fit into viewer again 2024-03-06 20:52:58 +01:00
Nicolas Werner
c9bcf3a7c0
Prevent big images from becoming square in overlay 2024-03-05 21:28:48 +01:00
q234rty
7b07548b77
HiDPI Fixes
Fix various downscaled icons by removing undeeded multiplications by devicePixelRatio in sourceSize.

Fix downscaled PL indicator in the timeline by using the actual size as sourceSize.

Fix various blurry icons by specifying sourceSize.
2024-02-16 16:57:31 +08:00
Joseph Donofry
373fb49903
Fix some keyboard shortcuts on macOS that involved arrow keys 2024-01-09 20:53:22 -05:00
FallenValkyrie
c254697eaa
move destroyOnClose into ImagePackSettingsDialog 2023-12-19 16:33:54 +01:00
FallenValkyrie
c605fb6ca8
make ImagePackDialog text translatable 2023-12-16 15:48:11 +01:00
FallenValkyrie
b91c70a8ea
Fix review issues 2023-12-16 15:48:11 +01:00
FallenValkyrie
adc7fb8655
remove unnecessary destryoOnClose 2023-12-16 15:48:11 +01:00
FallenValkyrie
2aefe78a63
Integrate ImagePackDeleteDialog in ImagePackSettingsDialog as delete confirmation 2023-12-16 15:48:11 +01:00
FallenValkyrie
e3fe1703fa
Create ImagePackDeleteDialog component 2023-12-16 15:48:11 +01:00
Nicolas Werner
6fef6ad5f1
Enable even more qml linter warnings 2023-10-26 21:48:55 +02:00
Nicolas Werner
2b1c9af311
More qml cleanups 2023-10-26 20:52:18 +02:00
DeepBlueV7.X
1512810303
Merge pull request #1539 from Nheko-Reborn/issue1410
Add report message functionality
2023-10-26 09:57:47 +02:00
Loren Burkholder
bb971b0575
Add report message functionality 2023-10-25 22:24:40 -04:00
Nicolas Werner
904d3f257a
Fix some qml warnings 2023-10-26 02:31:31 +02:00
NepNep21
ad68cd8b4c
Switch to X icon and add close button 2023-10-25 19:38:04 -03:00
NepNep21
0b28e7934d
Move dialog to settings page and add avatar image to delegate 2023-10-24 19:46:04 -03:00
Nicolas Werner
a0a49b6c2a
Cleanup ignore user functionality slightly 2023-10-24 01:12:01 +02:00
Nicolas Werner
fce026725e
Merge branch 'ignore-users' of github.com:NepNep21/nheko into ignore-users 2023-10-23 23:58:53 +02:00
Nicolas Werner
78fac7dced
Small qml fixes 2023-10-18 22:43:45 +02:00
NepNep21
7c9fed91b8
Fix license lint... 2023-10-01 22:52:40 -03:00
NepNep21
4eaba191de
Use properties 2023-10-01 22:52:40 -03:00
NepNep21
6a6384babe
Move comments to proper reviews 2023-10-01 22:52:40 -03:00
NepNep21
563bb0a651
UI improvements 2023-10-01 22:52:39 -03:00
NepNep21
d1ba9fd878
Rebase 2023-10-01 22:52:31 -03:00
DeepBlueV7.X
c3fd4026ab
Merge pull request #1571 from Nheko-Reborn/directory
Add close button and room open button to room directory dialog
2023-10-01 12:58:31 +00:00
DeepBlueV7.X
e9104f8c69
Merge pull request #1534 from Nheko-Reborn/issue1494
Use @user:example.com for all sample mxids
2023-10-01 12:57:03 +00:00
Loren Burkholder
879ef31fcf
Qt 6.4 properly supports scrolling text with touch 2023-09-30 10:26:45 -04:00
Loren Burkholder
b6f71a8bc2 Add close button and room open button to room directory dialog 2023-09-29 22:49:45 -04:00
Loren Burkholder
6b41c77dad
Use @user:example.com for all sample mxids 2023-09-23 21:57:05 -04:00
DeepBlueV7.X
70ede75aa5
Merge pull request #1535 from Nheko-Reborn/powerlevelsInTimeline
Show an indicator in the timeline for mods and admins
2023-08-10 08:19:32 +00:00
Loren Burkholder
1c867dbbc2 Show an indicator in the timeline for mods and admins 2023-07-23 20:18:30 -04:00
Loren Burkholder
0634d3f09c QML the fallback auth dialog 2023-07-14 13:16:43 -04:00
DeepBlueV7.X
8112922c5f
Merge pull request #1501 from Nheko-Reborn/qmlRecaptcha
QML the reCAPTCHA dialog
2023-07-06 18:53:03 +00:00
Nicolas Werner
1abb52700a
Add an early out cache for event expiration 2023-07-06 20:51:04 +02:00
Loren Burkholder
fedc178827 Port the reCAPTCHA dialog to QML 2023-07-06 08:35:37 -04:00
Nicolas Werner
ad6e4fef64
Add experimental event expiration
Currently disabled by default.
2023-07-05 00:08:37 +02:00
Nicolas Werner
28445bd469
Rework how history settings are represented 2023-06-28 17:07:49 +02:00
Nicolas Werner
fa653bc078
Allow viewing and changing the history visibility 2023-06-24 01:04:54 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
16960e2900
Fix scrolling in image dialog 2023-06-09 02:40:50 +02:00
Nicolas Werner
b1c2b384c6
Fix username label eliding loop 2023-06-08 22:32:10 +02:00
Nicolas Werner
c25d0c6b2f
Get rid of scrollhelper 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
4bf725379a
Fix adding duplicate stickers and strip file extension 2023-05-20 00:57:51 +02:00
Nicolas Werner
6a03615413
Copy image to clipboard
Fixes #599
2023-04-23 20:55:28 +02:00