Commit graph

2103 commits

Author SHA1 Message Date
Nicolas Werner
4bf725379a
Fix adding duplicate stickers and strip file extension 2023-05-20 00:57:51 +02:00
Nicolas Werner
0dfdba4316
Add rows to stickerpicker 2023-05-20 00:57:47 +02:00
Loren Burkholder
8887a07ec2 Type keypresses that focus the input bar 2023-05-12 20:04:35 -04:00
Nicolas Werner
7dd3339477
Sort rooms in completer by 'activity' and make tombstoned rooms italic 2023-05-06 19:30:29 +02:00
Sateallia
b0e4841caf
Allow picking multiple files to upload 2023-04-25 22:44:53 +02:00
Nicolas Werner
6a03615413
Copy image to clipboard
Fixes #599
2023-04-23 20:55:28 +02:00
Weblate
0ded15315e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-04-19 14:53:23 +00:00
Weblate
a424d0f1c5 Translated using Weblate (German)
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Wuzzy <Wuzzy@disroot.org>
Co-authored-by: kleines Filmröllchen <malu.bertsch@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2023-04-19 14:53:23 +00:00
Loren Burkholder
138b0a6b86
Use the new mtxclient special effects refactoring 2023-04-11 01:01:21 +02:00
Loren Burkholder
5df7a8b2a7 Rain, rain, go away sooner 2023-04-08 18:59:17 -04:00
Loren Burkholder
58b2ae1f06 Don't apply gravity to rain
It makes the rain look wacky.
2023-04-08 18:59:17 -04:00
Loren Burkholder
5f3ecc213f Move effects into a separate file 2023-04-08 18:59:17 -04:00
Loren Burkholder
c751c487da Use particle groups to separate effects 2023-04-08 18:59:17 -04:00
Loren Burkholder
296385e6fe Add rainfall effect
This is a proof-of-concept example of inplementing a msgtype not found
in the spec.
2023-04-08 18:59:17 -04:00
Loren Burkholder
0096226aeb Implement unknown msgtype functionality 2023-04-08 18:59:17 -04:00
Weblate
b0f3d39e1e Translated using Weblate (German)
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (German)

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Julian Groß <julian.g@posteo.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
Co-authored-by: charlie <nihil@fsfe.org>
Co-authored-by: kleines Filmröllchen <malu.bertsch@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2023-04-08 16:32:53 +00:00
Nicolas Werner
7ebf0c0032
Add a more obvious thread indicator 2023-04-04 20:25:09 +02:00
Nicolas Werner
c1c02b4aae
Make the profile buttons a bit bigger 2023-04-04 19:29:08 +02:00
David Elsing
2aadc7c2c4 Improve choosing screen share type 2023-03-30 17:36:40 +02:00
David Elsing
1ba6a4d78d Support screen sharing with xdg-desktop-portal 2023-03-30 17:36:40 +02:00
Weblate
d916d6cd63 Translated using Weblate (Turkish)
Currently translated at 22.2% (210 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-27 08:57:21 +00:00
DeepBlueV7.X
8136659024
Merge pull request #1409 from Nheko-Reborn/uiTweaks
Overhaul switch appearance
2023-03-25 23:56:52 +00:00
Nicolas Werner
ef31f67c32
Delay some delegate removals to reduce CPU spent on recalculating sizes 2023-03-25 23:42:01 +01:00
tastytea
ead02fb654
make name and attribution in image pack settings plain text
Otherwise, <foo> would be swallowed.
2023-03-24 18:19:43 +01:00
Loren Burkholder
3a122782f2 Overhaul switch appearance 2023-03-24 11:51:27 -04:00
Weblate
357d7b9d99 Translated using Weblate (Turkish)
Currently translated at 17.1% (162 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-24 01:02:05 +00:00
0xDEADCADE
541ee8ea94
Add width to PowerLevelEditor, fixes 0/1px wide window on tiling WMs
Same fix as device verification window
2023-03-22 20:35:30 +00:00
0xDEADCADE
ac842845bd
Add width to device verification window
Fixes the device verification window being 0 or 1 pixels wide on some tiling window managers.
2023-03-21 15:02:13 +00:00
Nicolas Werner
e114b1adc7
Fix space-community wording 2023-03-18 15:06:19 +01:00
DeepBlueV7.X
9ad3f3f4fb
Merge pull request #1404 from LcsTen/dont-show-private-rooms-in-space
Don't show inaccessible private rooms in spaces
2023-03-18 14:02:03 +00:00
LcsTen
b3b5b6b374 Check isPreviewFetched property for hints 2023-03-18 13:07:08 +01:00
Weblate
087580a0db Translated using Weblate (Turkish)
Currently translated at 13.8% (130 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-16 16:29:21 +00:00
Weblate
d1ff1c8939 Translated using Weblate (Turkish)
Currently translated at 11.7% (111 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-16 14:26:34 +00:00
Weblate
8a32b70080 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-16 14:26:34 +00:00
Weblate
91248aeeae Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Integral <integral@murena.io>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-15 13:42:29 +00:00
Weblate
8546ca74fa Translated using Weblate (Turkish)
Currently translated at 3.9% (37 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-15 13:34:20 +00:00
Weblate
4fae3886af Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Integral <integral@murena.io>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-15 13:34:20 +00:00
Weblate
670389ef64 Translated using Weblate (Turkish)
Currently translated at 1.5% (15 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-15 13:10:31 +00:00
Weblate
b7e6348ef1 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Integral <integral@murena.io>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-15 13:10:31 +00:00
Weblate
c551b3504d Translated using Weblate (Turkish)
Currently translated at 1.1% (11 of 942 strings)

Co-authored-by: Emilia <emilia@animegirls.info>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/tr/
Translation: Nheko/nheko
2023-03-15 13:08:08 +00:00
Weblate
32cf85d2dd Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Integral <integral@murena.io>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-15 13:08:08 +00:00
Weblate
90c909397c Added translation using Weblate (Turkish)
Co-authored-by: Emilia <emilia@animegirls.info>
2023-03-15 12:34:33 +00:00
tastytea
a4d8df7bd0
make scroll-down button (toEndButton) focus message input 2023-03-12 22:46:23 +01:00
LcsTen
f186e56121 Show an appropriate hint if the room is inaccessible 2023-03-11 13:19:04 +01:00
DeepBlueV7.X
7d8ccd4ce8
Merge pull request #1388 from Nheko-Reborn/command
Warn if an invalid command is entered
2023-03-10 00:17:06 +00:00
DeepBlueV7.X
94c34a6e58
Merge pull request #1394 from Nheko-Reborn/uiTweaks
Some small UI changes
2023-03-09 23:06:30 +00:00
Nicolas Werner
d0d33660ba
Cleanup table rendering
fixes #1406
2023-03-09 21:08:18 +01:00
Loren Burkholder
b266185ce8 Handle incomplete commands better 2023-03-07 19:17:26 -05:00
Weblate
5bce1b043c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Chen Shaoju <oshirisu.red@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-03-03 12:23:59 +00:00
Loren Burkholder
9429e3c000 Scroll farther on PgUp/PgDn 2023-03-02 13:35:14 -05:00
Loren Burkholder
7bb509005c Add leave button to space preview 2023-03-02 10:30:59 -05:00
Loren Burkholder
1e701d411b Don't double-show encryption dialog 2023-03-01 14:39:16 -05:00
Loren Burkholder
3245b119be Make switches respect accent color 2023-03-01 10:49:17 -05:00
Loren Burkholder
24d401365e Always open the invite dialog properly from the member list 2023-02-28 20:40:22 -05:00
Loren Burkholder
f3ab0abadf Change members button color when hovered 2023-02-28 20:40:22 -05:00
Loren Burkholder
eced5c83b4 Elide nicks and userids in read reciepts dialog 2023-02-28 20:40:22 -05:00
Loren Burkholder
0e3453660f Prevent long nicks/userids from breaking roomlist layout
Fixes #1297
2023-02-28 20:40:22 -05:00
Loren Burkholder
a731402816 Use the nheko spinner everywhere 2023-02-28 20:40:22 -05:00
Loren Burkholder
c27407bfab Don't show timeline behind warnings 2023-02-28 20:10:25 -05:00
Loren Burkholder
b4f8d4947f Simplify code a bit 2023-02-28 20:10:25 -05:00
Loren Burkholder
22ac5d861e Move command calculation logic into InputBar 2023-02-28 20:10:25 -05:00
Loren Burkholder
b6ef00b5ee Show warning when invalid command is entered
Fixes #1363

Please note that this doesn't prompt when you try to send a message with a bad command.
2023-02-28 20:10:25 -05:00
Loren Burkholder
9043087c80 Enhance appearance of room ping warning 2023-02-28 20:10:25 -05:00
Weblate
f8285f165e Translated using Weblate (Ukrainian)
Currently translated at 47.8% (451 of 942 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-02-28 23:41:02 +00:00
Nicolas Werner
3c895ecd17
add missing license header 2023-02-24 02:55:56 +01:00
Nicolas Werner
aae3300860
Show rooms you share with someone 2023-02-24 02:40:14 +01:00
DeepBlueV7.X
4372742bc1
Merge pull request #1374 from Nheko-Reborn/private_images
Blur images properly
2023-02-23 18:03:13 +00:00
Loren Burkholder
5abd2df9b4 Fade in images when fully recieved 2023-02-22 20:25:45 -05:00
DeepBlueV7.X
532ab1a0a5
Merge pull request #1385 from Bubu/print_dialog_errors
print errors on failed dialog creation
2023-02-23 00:52:01 +00:00
Nicolas Werner
22ed465679
Merge branch 'v0.11.2-next' 2023-02-23 01:36:53 +01:00
Nicolas Werner
d27e42dec6
Hotfix redundant null terminator inserted by emoji completer 2023-02-23 00:50:45 +01:00
Marcus Hoffmann
7c08d88990 print errors on failed dialog creation
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-22 13:14:16 +01:00
Weblate
5d9895a38c Translated using Weblate (Esperanto)
Currently translated at 99.6% (939 of 942 strings)

Co-authored-by: Tirifto <tirifto@posteo.cz>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/eo/
Translation: Nheko/nheko
2023-02-22 03:55:12 +00:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
1a6728fe47
Fix newlines in status messages 2023-02-21 23:35:52 +01:00
Nicolas Werner
5d7deca0db
Simplify status message in profile a bit 2023-02-21 23:25:49 +01:00
Marcus Hoffmann
7fe62aa4ca UserProfile: add padding to device list
Add the same padding as is applied to long status messages.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 14:29:14 +01:00
Marcus Hoffmann
4c328193ce UserProfile: fix status message overflowing
Also style the "Status:" prefix bold.
2023-02-21 14:24:25 +01:00
Marcus Hoffmann
7c7a8d2d9a UserProfile: reduce spacing by a bit
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Marcus Hoffmann
9635b248f8 UserProfile: display status message
Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Marcus Hoffmann
9c5a7c4075 MessageView: Add ToolTip to status message
Show the user that this is a status text on hover.

We need to change the status text label width to be it's implicitWidth
(or the maximum width as specified before), otherwise the tooltip is
wildly off-centered.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Marcus Hoffmann
6c37f219ba MessageView: improve styling of presence status
Significantly reduce the font size as to visually indicate this is
additional information and not part of the username or message
text. Align the text with the username field besides it.

Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
2023-02-21 12:39:43 +01:00
Loren Burkholder
2b8cadaac8 Properly handle images without blurhashes 2023-02-20 19:59:06 -05:00
Loren Burkholder
179c16fd08 Use a single, reversible privacy screen transition 2023-02-20 19:18:05 -05:00
Loren Burkholder
c9e3ad1850 Animate transition to blurhash 2023-02-20 16:35:00 -05:00
Loren Burkholder
66d8a38c80 Blurhash images when the privacy screen is active 2023-02-20 16:35:00 -05:00
Weblate
38e259cc27 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (942 of 942 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Estela ad Astra <i@estela.cn>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2023-02-20 03:40:01 +00:00
Weblate
58033d7bfc Translated using Weblate (Ukrainian)
Currently translated at 42.5% (401 of 942 strings)

Co-authored-by: NullPointerException <kigen745@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/uk/
Translation: Nheko/nheko
2023-02-20 03:40:01 +00:00
Weblate
239c17d514 Translated using Weblate (Indonesian)
Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2023-02-20 03:40:01 +00:00
Nicolas Werner
7284b20643
Bump version 2023-02-20 02:34:29 +01:00
Nicolas Werner
920409e914
Reduce code bloat a bit
Especially the emoji array shrinks a lot with this, but adds a few extra
relocations on startup. But it removes a lot of exception handling code
at runtime, which is nice and possibly this is still faster.
2023-02-19 21:38:28 +01:00
Nicolas Werner
5457d67c98
Explicitly set parent for scrollbars to prevent them from showing on some platforms 2023-02-16 00:39:47 +01:00
Weblate
0e64ccca02 Translated using Weblate (Estonian)
Currently translated at 100.0% (942 of 942 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2023-02-15 11:17:54 +00:00
Nicolas Werner
58f5ba5023
Make scrollbars optional and disabled by default
Also add them to the communities sidebar
2023-02-14 22:01:00 +01:00
Alexander Bantyev
ac19c6c92b
Room list: add scrollbar when not collapsed 2023-02-14 22:01:00 +01:00
DeepBlueV7.X
316eb07dbf
Merge pull request #1366 from Nheko-Reborn/uiTweaks
Focus text input when quick switcher is closed
2023-02-14 20:42:36 +01:00
Weblate
bbaa4b58d0 Translated using Weblate (German)
Currently translated at 100.0% (940 of 940 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2023-02-14 19:31:04 +00:00
Nicolas Werner
c0fa7330a2
Update translations 2023-02-14 18:58:29 +01:00
Loren Burkholder
9297035ba8 Focus text input when quick switcher is closed
Fixes #1065
2023-02-14 12:58:28 -05:00
DeepBlueV7.X
009d1a8e2d
Merge pull request #1359 from Nheko-Reborn/encryption_delegate
Add a fancy delegate when encryption is enabled
2023-02-14 18:54:43 +01:00