Commit graph

1242 commits

Author SHA1 Message Date
DeepBlueV7.X
40cfa7ae58
Merge pull request #709 from tastytea/condense-blockquotes
Decrease margins on blockquotes.
2021-09-04 17:08:29 +00:00
tastytea
c122915c28
Decrease left margins on blockquotes to 1em.
It is intentionally impossible to add borders to blockquotes via CSS:
<https://bugreports.qt.io/browse/QTBUG-23244>.

Bug: https://github.com/Nheko-Reborn/nheko/issues/704
2021-09-04 17:45:22 +02:00
Weblate
17ed785c5b Translated using Weblate (Portuguese (Portugal))
Currently translated at 7.1% (40 of 560 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 7.1% (40 of 560 strings)

Co-authored-by: Gabriel R <gbr.rms@outlook.com>
Co-authored-by: Tnpod <tmpod@pm.me>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pt_PT/
Translation: Nheko/nheko
2021-09-04 10:40:41 -04:00
Weblate
2ec6ee304f Translated using Weblate (Portuguese (Portugal))
Currently translated at 1.2% (7 of 560 strings)

Co-authored-by: Gabriel R <gbr.rms@outlook.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pt_PT/
Translation: Nheko/nheko
2021-09-03 20:11:43 -04:00
Weblate
764bd203d1 Translated using Weblate (French)
Currently translated at 100.0% (560 of 560 strings)

Translated using Weblate (French)

Currently translated at 100.0% (560 of 560 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-09-03 12:33:14 -04:00
Nicolas Werner
bf9601018d
Fix room ping permission checked incorrectly 2021-09-03 12:34:41 +02:00
DeepBlueV7.X
5d6c26c8c7
Merge pull request #696 from resolritter/reply
Right-click tap handler for replies
2021-09-03 09:43:13 +00:00
Nicolas Werner
f7560cd998
Fix z value of avatar in timeline 2021-09-03 01:33:42 +02:00
Weblate
e6e54fe415 Translated using Weblate (French)
Currently translated at 93.0% (521 of 560 strings)

Translated using Weblate (French)

Currently translated at 93.0% (521 of 560 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-09-02 17:09:57 -04:00
Weblate
f291dcc7b4 Translated using Weblate (French)
Currently translated at 72.3% (405 of 560 strings)

Translated using Weblate (French)

Currently translated at 72.3% (405 of 560 strings)

Translated using Weblate (French)

Currently translated at 72.3% (405 of 560 strings)

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Co-authored-by: Glandos <bugs-github@antipoul.fr>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-09-02 16:25:15 -04:00
Nicolas Werner
3528fe4e5d
Warn the user before they ping the whole room 2021-09-02 03:15:39 +02:00
Weblate
0ce200fee5 Translated using Weblate (Estonian)
Currently translated at 100.0% (560 of 560 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
2021-09-01 04:42:32 -04:00
Weblate
5d8a4c1b59 Translated using Weblate (Dutch)
Currently translated at 100.0% (560 of 560 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-08-31 20:47:57 -04:00
Nicolas Werner
1b07bde788
update translations 2021-09-01 01:23:20 +02:00
Weblate
debb7cb3b4 Translated using Weblate (Dutch)
Currently translated at 100.0% (552 of 552 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (552 of 552 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (552 of 552 strings)

Translated using Weblate (Dutch)

Currently translated at 100.0% (552 of 552 strings)

Co-authored-by: Bas van Rossem <bas.v.rossem@gmail.com>
Co-authored-by: Glael <glael@cock.li>
Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Co-authored-by: Thijs Wester <wester.t@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-08-31 18:56:17 -04:00
Weblate
69eddd82b5 Translated using Weblate (Dutch)
Currently translated at 9.9% (55 of 552 strings)

Translated using Weblate (Dutch)

Currently translated at 9.9% (55 of 552 strings)

Translated using Weblate (Dutch)

Currently translated at 9.9% (55 of 552 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Co-authored-by: Thijs Wester <wester.t@protonmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-08-31 15:59:30 -04:00
resolritter
3f8bb19ba1 right-click tap handler for replies 2021-08-31 16:45:44 -03:00
Nicolas Werner
ded926cdf9
Fix a few null warnings 2021-08-29 19:24:44 +02:00
Nicolas Werner
b5b580fda5
Loaded causes weird artifacts loading rooms 2021-08-29 18:45:49 +02:00
Nicolas Werner
374ad0a816
Small image pack editor improvements
- add missing mimetype
- allow removal of images from pack
- allow GIF as a format
- don't divide size by 2 if the image is very small already
2021-08-29 17:22:49 +02:00
Nicolas Werner
15bf643347
Add option to only play animated images on hover 2021-08-29 16:32:28 +02:00
Nicolas Werner
ef068ac2b3
Support animated images
fixes #461
2021-08-29 16:32:28 +02:00
Nicolas Werner
09c041c8ac
Use in memory media player instead of storing unencrypted files on disk 2021-08-29 16:32:22 +02:00
Nicolas Werner
4ddf067408
Remove CC-BY as main project license
Some of our build files and resource files are licensed as that, but not
our actual code. This leads to funny issues, that GNOME software
considers Nheko proprietary. To work around that, just put GPL there.

Fixes https://github.com/flathub/io.github.NhekoReborn.Nheko/issues/1
2021-08-28 16:21:52 +02:00
Weblate
db37667266 Translated using Weblate (Polish)
Currently translated at 25.7% (142 of 552 strings)

Translated using Weblate (Polish)

Currently translated at 25.7% (142 of 552 strings)

Co-authored-by: AXD <dexkingcrazy@gmail.com>
Co-authored-by: Stanisław Borowy <stabor7@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-08-27 22:04:23 -04:00
Weblate
8e5060b25e Translated using Weblate (German)
Currently translated at 88.7% (490 of 552 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-08-23 07:00:49 -04:00
resolritter
b5af1d81df accept Backtab and Shift-Tab for hovering selection backwards 2021-08-22 13:02:26 -03:00
Weblate
c7dc9fb17a Translated using Weblate (Estonian)
Currently translated at 100.0% (552 of 552 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
2021-08-22 05:33:21 -04:00
Thomas Karpiniec
92e8cd0681 Avoid completer jitter before closing 2021-08-21 14:24:55 +10:00
Thomas Karpiniec
a24348b574 Allow opening a completer starting with selected text 2021-08-21 13:31:27 +10:00
Thomas Karpiniec
47ad58ef49 Close popup on SelectAll 2021-08-21 13:29:27 +10:00
Nicolas Werner
327a889ad5
Simplify message delegate size calculation a bit 2021-08-21 03:13:02 +02:00
Nicolas Werner
71a153538f
Disable async timeline loading, since it hangs in a layout loop sometimes 2021-08-20 14:00:35 +02:00
Weblate
c853dd3593 Translated using Weblate (Estonian)
Currently translated at 88.5% (489 of 552 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
2021-08-19 21:54:10 -04:00
DeepBlueV7.X
cdb2167661
Merge pull request #684 from thombles/clear-emoji-search
Clear emoji search field when picker closed
2021-08-19 15:05:40 +00:00
Joseph Donofry
9504d02f18 Add Qt.WindowTitleHint to qml dialogs 2021-08-19 10:55:54 -04:00
Thomas Karpiniec
8ee043f042 Clear emoji search field when picker closed 2021-08-19 23:40:56 +10:00
Nicolas Werner
c2e777f3e4
Update translations 2021-08-17 23:51:15 +02:00
Weblate
9b99eaae77 Translated using Weblate (Estonian)
Currently translated at 100.0% (542 of 542 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
2021-08-17 17:42:22 -04:00
Nicolas Werner
5b460861b1
Allow accepting knocks in the timeline
As well as selecting more join rules.
2021-08-17 23:31:25 +02:00
Nicolas Werner
56b24f8d93
Load message list async 2021-08-17 19:11:09 +02:00
Nicolas Werner
028bcd5b7c
Update join button in room directory after join 2021-08-17 14:21:04 +02:00
DeepBlueV7.X
b01496f9b4
Merge pull request #659 from kamathmanu/nhekoRoomDirectory
Nheko room directory
2021-08-17 11:56:47 +00:00
Nicolas Werner
56db0dbc7d
Allow downloading keys from key backup 2021-08-17 03:24:12 +02:00
Joseph Donofry
e5dea361c0
Update translations 2021-08-16 17:30:01 -04:00
Weblate
0cdc0a1d83 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/
Translation: Nheko/nheko
2021-08-16 17:27:52 -04:00
Joseph Donofry
6c696dd0b8
Fix weblate merge issues 2021-08-16 17:22:34 -04:00
Nicolas Werner
1e7756c508
Fix dpi scaling of avatars 2021-08-16 12:48:45 +02:00
kamathmanu
820665db92 Formatting 2021-08-14 21:58:56 -04:00
kamathmanu
7321af8a7d Cleanup more nits 2021-08-14 21:47:11 -04:00
Nicolas Werner
42d2b10d5d
Round images in the image provider 2021-08-14 17:17:50 +02:00
kamathmanu
0f4a7b1ba6 Formatting + Licensing 2021-08-14 09:49:18 -04:00
kamathmanu
eaddfb4f73 Clean up final nits 2021-08-14 09:44:34 -04:00
Nicolas Werner
24366b7520
Tab to move down completer 2021-08-14 12:19:15 +02:00
Nicolas Werner
9bad584931
Show verification status in memberlist 2021-08-13 23:58:26 +02:00
Nicolas Werner
18ea01e198
Show if there are unverified devices in a room
Also fixes some issues where nested transactions will poison the
verification cache.
2021-08-13 23:19:54 +02:00
kamathmanu
9ab1296131 Ran qmlformat and make license 2021-08-12 10:45:42 -04:00
kamathmanu
f2560b7531 Make search text selectable by clicking 2021-08-12 09:57:26 -04:00
kamathmanu
570e5ffde2 Added Spinner while rooms load 2021-08-12 09:50:52 -04:00
Joseph Donofry
21b2db6745
Merge pull request #678 from LorenDB/closeRoom
Close currently open room when it is tapped again
2021-08-11 18:13:38 -04:00
Loren Burkholder
9a0c1c27ed Remove warnings on closing room 2021-08-10 22:16:27 -04:00
Loren Burkholder
308207c289 Remove unnecessary debugging log 2021-08-10 22:16:22 -04:00
Loren Burkholder
cc6693af8a Close currently open room when it is tapped again 2021-08-09 19:24:46 -04:00
kamathmanu
6a75e5270c Fix nits from code review 2021-08-09 09:18:08 -04:00
Nicolas Werner
89840b9e0b
AttrIbution 2021-08-08 21:18:05 +02:00
Nicolas Werner
d0947fd7c4
increase settings window size 2021-08-08 11:35:26 +02:00
Nicolas Werner
42fdbec43a
Fix decryption errors in reply popups 2021-08-08 01:17:58 +02:00
kamathmanu
2dfccda73c
Merge branch 'master' into nhekoRoomDirectory 2021-08-07 21:20:43 +00:00
kamathmanu
34ffe054cf Improve window closing 2021-08-07 17:00:28 -04:00
kamathmanu
98b733ad26 Fixed anchoring/positioning of delegate items and join room display 2021-08-07 17:00:28 -04:00
kamathmanu
f5ee1e84b5 Padding for search bar 2021-08-07 17:00:28 -04:00
kamathmanu
93f8c24fc5 Room Directory UI for exploring and joining public rooms. V1: simplistic server + network facilities 2021-08-07 17:00:28 -04:00
Nicolas Werner
72bbad7485
Show encryption errors in qml and add request keys button 2021-08-07 22:51:09 +02:00
Nicolas Werner
e5a6b2b6ef
Allow creating new packs 2021-08-06 04:31:53 +02:00
Nicolas Werner
16d0190f4e
Allow uploading additional stickers 2021-08-06 04:31:53 +02:00
Nicolas Werner
a57a15a2e0
Basic sticker pack editor 2021-08-06 04:31:53 +02:00
DeepBlueV7.X
6d83b7c675
Merge pull request #666 from LorenDB/qml-all-the-things
Open profile when clicking avatar
2021-08-06 02:33:04 +00:00
Loren Burkholder
f7d1d1b941 Open profile when clicking avatar 2021-08-05 21:14:17 -04:00
Nicolas Werner
87e81498b7
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to
ApplicationWindow.transientParent though, only to
Window.transientParent, so we just call setTransientParent in C++.
2021-08-04 02:27:50 +02:00
Weblate
4e421ca186 Translated using Weblate (Finnish)
Currently translated at 100.0% (493 of 493 strings)

Co-authored-by: -- <spdrespudro@yahoo.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2021-08-03 09:52:00 -04:00
Loren Burkholder
092f936fc9 Fix colors for manual dark theme 2021-07-31 13:55:56 -04:00
Loren Burkholder
dab1c9068a QML the raw message dialog 2021-07-31 12:11:15 -04:00
Nicolas Werner
4c151cc3c7
Fix C&P error for DeviceType 2021-07-31 15:59:19 +02:00
Nicolas Werner
5b0bd26795
Fix annoying touch overlap in room list 2021-07-31 11:08:52 +02:00
Loren Burkholder
b398454409 Use an explicit color for the label 2021-07-30 08:14:44 -04:00
Loren Burkholder
330b9d62a5 Move read receipts connection to allow for future pop-out room views 2021-07-30 07:24:48 -04:00
Loren Burkholder
135622e14e Don't switch room that read receipt-related stuff is opened in 2021-07-29 21:29:09 -04:00
Loren Burkholder
7e538851d6 Use a QSortFilterProxyModel instead of resetting the model 2021-07-29 21:07:52 -04:00
Loren Burkholder
5d38b96bbb Use Dialog flag to make tiling WMs happy 2021-07-29 21:07:52 -04:00
Loren Burkholder
9dc9152e07 Close dialog on escape 2021-07-29 21:07:52 -04:00
Loren Burkholder
2fe010c04a Dynamically update read receipts 2021-07-29 21:07:52 -04:00
Loren Burkholder
3ce7fdd63f Fix incorrect function name 2021-07-29 21:07:52 -04:00
Loren Burkholder
b03a1df19d Add close button at footer 2021-07-29 21:07:52 -04:00
Loren Burkholder
4dd994ae00 QML the read receipts list
There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
2021-07-29 21:07:16 -04:00
Nicolas Werner
d955444dc1
Port to explicit connect syntax
Also fix a lot of warnings.
2021-07-27 22:35:38 +02:00
Joseph Donofry
453c8cd1f1
Update translations 2021-07-24 18:30:14 -04:00
Joe
3f567a8da7 Merge master and fix conflicts 2021-07-24 18:26:25 -04:00
DeepBlueV7.X
ca3d17dc22
Merge pull request #651 from LorenDB/qml-all-the-things
Fix a few UI things
2021-07-23 16:17:43 +00:00
Nicolas Werner
eafbab6ae1
Add menu to enable or disable stickers globally 2021-07-23 17:43:17 +02:00
Nicolas Werner
50cc0fca3b
Fix emoji picker not connected to input 2021-07-22 15:31:07 +02:00
Nicolas Werner
0ac550ecbb
Show confirmation dialog when leaving a room via the context menu 2021-07-22 15:07:33 +02:00
Loren Burkholder
0ce7d02abe make lint 2021-07-22 07:55:12 -04:00
Loren Burkholder
bbecadf1a8 Add functionality for loading global user profile where needed
This is so viewing profiles from the invite dialog will work as expected.
2021-07-21 20:38:18 -04:00
Loren Burkholder
0971fd0fcc Pad the loading spinner 2021-07-21 20:37:36 -04:00
DeepBlueV7.X
1d3579196a
Merge pull request #650 from LorenDB/qml-all-the-things
Open room members when member info label clicked
2021-07-21 23:18:21 +00:00
Loren Burkholder
44be4c1f4a Move various room auxiliary functions to TimelineManager 2021-07-21 18:56:20 -04:00
Nicolas Werner
d6ccb6e307
Update translations 2021-07-21 19:13:34 +02:00
Loren Burkholder
b17002929c Open room members when member info label clicked 2021-07-21 12:36:02 -04:00
Nicolas Werner
5e85fa606e
Fix color of invite label 2021-07-21 13:55:29 +02:00
Loren Burkholder
d33538316c Fix the loading spinner setup
This fixes binding loops and gives it a (in my opinion) sane size.
2021-07-20 21:51:52 -04:00
Loren Burkholder
38c6aa65fa Fix elided width 2021-07-20 21:48:10 -04:00
Loren Burkholder
c78c284898 Call the correct function 2021-07-20 21:48:10 -04:00
Loren Burkholder
705c283dcb Fix bad connection 2021-07-20 21:48:10 -04:00
Loren Burkholder
44d2818e0c Add property for plain room name 2021-07-20 21:48:10 -04:00
Loren Burkholder
823e740396 Check with regex everywhere 2021-07-20 21:48:10 -04:00
Loren Burkholder
92fdda8423 Use elided label 2021-07-20 21:48:10 -04:00
Loren Burkholder
75920925dc Use correct colors 2021-07-20 21:48:10 -04:00
Loren Burkholder
fa06881c49 Don't hardcode fonts
Fix hardcoded fonts (again)
2021-07-20 21:48:07 -04:00
Loren Burkholder
152acdc4a5 Fix hardcoded spacing/padding
Another padding fix
2021-07-20 21:48:03 -04:00
Loren Burkholder
6c9ac76260 Fix roomId property 2021-07-20 21:48:03 -04:00
Loren Burkholder
7cd4e6f1c6 make lint 2021-07-20 21:48:03 -04:00
Loren Burkholder
21eb312f69 Only run spinner while loading members 2021-07-20 21:48:03 -04:00
Loren Burkholder
a7bdbc2af2 Consolidate connections 2021-07-20 21:48:03 -04:00
Loren Burkholder
48669302ec make lint 2021-07-20 21:48:03 -04:00
Loren Burkholder
e91b3067a1 Fix visibility of spinner 2021-07-20 21:48:03 -04:00
Loren Burkholder
b6d4e6b20a Drop unnecessary code 2021-07-20 21:48:03 -04:00
Loren Burkholder
4384554587 Only invite if there is something/someone to invite 2021-07-20 21:48:03 -04:00
Loren Burkholder
74d493ff16 Use standardized padding 2021-07-20 21:48:03 -04:00
Loren Burkholder
f1f5796fb8 Get Ctrl+Enter working and fix cleaning up and closing 2021-07-20 21:48:03 -04:00
Loren Burkholder
67fff656b3 Fix bad property name 2021-07-20 21:48:03 -04:00
Loren Burkholder
4d5950b6a7 Document bad behavior with footer and spinner 2021-07-20 21:48:03 -04:00
Loren Burkholder
d2c6252911 More shortcut stuff 2021-07-20 21:48:03 -04:00
Loren Burkholder
155315ecbb Fix Ctrl-Enter shortcut 2021-07-20 21:47:54 -04:00
Loren Burkholder
73d902611d Actually set invitees property 2021-07-20 21:47:54 -04:00
Loren Burkholder
462204f3f4 Fix properties 2021-07-20 21:47:54 -04:00
Loren Burkholder
81a3faee7b Finish converting function to property 2021-07-20 21:47:54 -04:00
Loren Burkholder
3c5b395171 Use fancy spinner (courtesy of redsky) 2021-07-20 21:47:46 -04:00
Loren Burkholder
cb8d140123 Fix properties 2021-07-20 21:47:46 -04:00
Loren Burkholder
02326fce70 Fix background color on text input 2021-07-20 21:47:46 -04:00
Loren Burkholder
5d9556722f Fix up components 2021-07-20 21:47:37 -04:00
Loren Burkholder
4ddcff2300 Fix borked property stuff 2021-07-20 21:47:37 -04:00
Loren Burkholder
d2d5229ede make lint 2021-07-20 21:47:32 -04:00
Loren Burkholder
182de32380 Use standard buttons for OK button 2021-07-20 21:47:32 -04:00
Loren Burkholder
59a2630be7 Simplify room details access
This removes the redundant room name property
2021-07-20 21:47:32 -04:00
Loren Burkholder
908629bec0 Fix item that accept() is called on 2021-07-20 21:47:32 -04:00
Loren Burkholder
03acced6d6 Add close on Escape shortcut 2021-07-20 21:47:32 -04:00
Loren Burkholder
c566a62541 Clean up code 2021-07-20 21:47:22 -04:00
Loren Burkholder
4746fcd16f Add fancy label if you enter a bad mxid 2021-07-20 21:47:22 -04:00
Loren Burkholder
3c999ade95 Focus the input bar automatically 2021-07-20 21:47:22 -04:00
Loren Burkholder
a176de5f11 Make sure to use the default room id if none is specified 2021-07-20 21:47:22 -04:00