Compare commits

...

2084 Commits

Author SHA1 Message Date
DeepBlueV7.X
1ace482c74
Merge pull request #594 from pcworld/narrow-view-notification
Fix notifications in narrow view when content is hidden
2021-05-29 12:11:26 +00:00
pcworld
010debe3e4 Fix notifications in narrow view when content is hidden
In narrow view, a room can be selected even if the view currently only
shows the room list and the timeline is hidden.
This commit ensures that in this case, notifications are not suppressed.
2021-05-29 02:57:37 +02:00
Weblate
72a2cfea7b Translated using Weblate (German)
Currently translated at 99.1% (487 of 491 strings)

Translated using Weblate (German)

Currently translated at 99.1% (487 of 491 strings)

Translated using Weblate (German)

Currently translated at 99.1% (487 of 491 strings)

Co-authored-by: 123 <fof300f@posteo.net>
Co-authored-by: Konstantin Papesh <konstantin@papesh.at>
Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-05-25 17:00:44 -04:00
Weblate
25cf098bb5 Translated using Weblate (Spanish)
Currently translated at 5.9% (29 of 491 strings)

Co-authored-by: LluisE <lluise@tutanota.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/es/
Translation: Nheko/nheko
2021-05-24 18:37:43 -04:00
Joseph Donofry
d094ffafb2
Merge pull request #591 from absorber/feature/context_menu_mnemonics
Added mnemonic letters to context menu.
2021-05-24 17:03:11 -04:00
AppAraat
9d25124810 Added mnemonic letters to context menu.
https://doc.qt.io/qt-5/qshortcut.html#mnemonic
2021-05-24 21:42:05 +02:00
Nicolas Werner
409992686e
Use a few more dbus name in flatpak 2021-05-23 19:39:38 +02:00
DeepBlueV7.X
a43fc91b16
Merge pull request #586 from dgalbraith/chocolatey-install-documentation
Add Chocolatey installation documentation
2021-05-21 16:12:30 +00:00
dgalbraith
e1f3cfd92a Add Chocolatey installation documentation
Updated documentation to include instructions on installing Nheko using
the Chocolatey package manager on Windows.
2021-05-21 16:53:39 +01:00
Weblate
e8c682dca7 Added translation using Weblate (Portuguese (Brazil))
Co-authored-by: zerowhy <zerowhy.server@protonmail.com>
2021-05-21 08:02:47 -04:00
Weblate
c776c6fd32 Translated using Weblate (German)
Currently translated at 97.7% (480 of 491 strings)

Translated using Weblate (German)

Currently translated at 97.7% (480 of 491 strings)

Translated using Weblate (German)

Currently translated at 97.7% (480 of 491 strings)

Translated using Weblate (German)

Currently translated at 97.7% (480 of 491 strings)

Co-authored-by: 123 <fof300f@posteo.net>
Co-authored-by: CryptKid <CryptKiddie@chaospott.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-05-19 13:27:38 -04:00
DeepBlueV7.X
fdad10ceab
Merge pull request #581 from Kirillpt/translation/russian
update Russian translation
2021-05-16 17:01:18 +00:00
kirill
9078ab8a98 update russian translation 2021-05-16 19:50:42 +03:00
Weblate
a1ea58dd95 Translated using Weblate (Finnish)
Currently translated at 50.5% (248 of 491 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2021-05-13 16:36:31 -04:00
Weblate
3151c6a8e3 Translated using Weblate (Estonian)
Currently translated at 100.0% (491 of 491 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2021-05-13 16:36:31 -04:00
Nicolas Werner
44c5236808
Fix warning on gcc11 2021-05-13 01:31:24 +02:00
Nicolas Werner
d52c2515bc
Fix stray 'a' in @room escaping 2021-05-11 15:10:28 +02:00
Nicolas Werner
0bf611beb2
Update translations 2021-05-09 16:53:58 +02:00
Nicolas Werner
b60d6f4d58
Mark unsent events as uneditable
fixes #574
2021-05-09 13:02:41 +02:00
Nicolas Werner
2df4c532ed
Add TOFU (Trust On First Use) mode to encryption 2021-05-07 17:01:57 +02:00
Nicolas Werner
0d0709ccd3
Show verification status next to messages 2021-05-07 17:01:57 +02:00
Weblate
7333de19da Translated using Weblate (Spanish)
Currently translated at 5.3% (26 of 483 strings)

Co-authored-by: Bruno Javier Blasco Smaranda <brunch875@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/es/
Translation: Nheko/nheko
2021-05-05 10:25:15 -04:00
Nicolas Werner
ab0baf5d9e
Only show actions, when you have permissions to do them 2021-05-02 18:06:56 +02:00
Nicolas Werner
1321d9bcca
Fix crash when you have no rooms and open the global user profile 2021-04-30 15:37:18 +02:00
Nicolas Werner
986b561c34
Fix crash when you have no rooms and open the profile as well as not rendering rooms without groups 2021-04-30 15:33:17 +02:00
Nicolas Werner
7431b51d27
Update mtxclient to use new login parameters
fixes #558
2021-04-30 14:46:40 +02:00
DeepBlueV7.X
b160baba4e
Merge pull request #565 from absorber/patch-2
UI/UX improvement: Better naming suggestion.
2021-04-29 22:15:11 +00:00
absorber
6ac10963b0
UI/UX improvement: Better naming suggestion.
Copy address location -> Copy link location
2021-04-29 22:10:14 +00:00
Nicolas Werner
2d678bdcf6
Allow copying messages via right click
fixes #291
2021-04-29 23:38:45 +02:00
Nicolas Werner
9ab1dc253e
Copy address location
fixes #463
2021-04-29 23:09:13 +02:00
Nicolas Werner
6d464381e4
Fix missing license header 2021-04-29 22:52:55 +02:00
Nicolas Werner
f626de0447
Copy link to message
fixes #499
2021-04-29 21:46:49 +02:00
Nicolas Werner
7644b6e442
Actually use qt5.12 in CI 2021-04-29 20:09:12 +02:00
Nicolas Werner
82fa8ab292
Highlight navigated to message 2021-04-29 19:09:16 +02:00
Nicolas Werner
620b6e8838
Fix some encoding issues when translating matrix.to to matrix: 2021-04-29 13:12:09 +02:00
Nicolas Werner
dbf23fafbf
Make pagination logic slightly more robust 2021-04-29 10:23:50 +02:00
Nicolas Werner
32962a5616
Update appdata 2021-04-29 10:22:01 +02:00
Nicolas Werner
76a9240076
Rewrite matrix.to links to matrix uris and handle them the same way 2021-04-28 20:03:52 +02:00
Nicolas Werner
5b6671f063
Add Alt-F to forward messages 2021-04-27 12:09:00 +02:00
Nicolas Werner
788131daf0
Clear appveyor deps 2021-04-27 11:48:44 +02:00
DeepBlueV7.X
1e3f0f3b26
Merge pull request #552 from Jedi18/forward_message_feature
Forward Message
2021-04-27 09:35:47 +00:00
Nicolas Werner
2b253ead9e
Make forward messages a bit more readable 2021-04-27 11:33:46 +02:00
Nicolas Werner
65d85768d0
Clean up design a bit 2021-04-27 11:08:21 +02:00
Weblate
0169193a5e 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-04-24 23:30:07 -04:00
Nicolas Werner
8236f6ba72
Merge branch 'forward_message_feature' of https://github.com/Jedi18/nheko into Jedi18-forward_message_feature 2021-04-24 14:35:21 +02:00
Nicolas Werner
72d74ac59f
Fix rendering issues with ) in links 2021-04-24 14:32:24 +02:00
Nicolas Werner
6fd485a74a
Fix completions in plain text mode 2021-04-24 14:32:24 +02:00
Weblate
0619120ab5 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-04-23 23:30:07 -04:00
Nicolas Werner
33ad65dc17
Fix typo in appdata.xml 2021-04-23 13:49:29 +02:00
Nicolas Werner
2baa0f9537
Fix missing timestamp in appdata.xml 2021-04-23 12:44:06 +02:00
Nicolas Werner
9f3e066414
Update changelog with release 2021-04-23 12:17:19 +02:00
Nicolas Werner
3dc1c3d784
Update changelog with newest translations 2021-04-23 10:48:36 +02:00
Nicolas Werner
a6b284e12c
Merge branch 'master' of github.com:Nheko-Reborn/nheko into 0.8.2-RC 2021-04-23 10:47:31 +02:00
Weblate
7c206b1b43 Translated using Weblate (French)
Currently translated at 98.1% (474 of 483 strings)

Translated using Weblate (French)

Currently translated at 98.1% (474 of 483 strings)

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-04-22 20:21:47 -04:00
targetakhil
ddb1983c63 fix macos build error 2021-04-22 11:06:19 +05:30
Nicolas Werner
b74c5a5d4f
Update changelog 2021-04-21 22:53:59 +02:00
Nicolas Werner
576cd0f569
Merge branch 'master' into 0.8.2-RC 2021-04-21 22:51:21 +02:00
Weblate
70d6b7f06e Translated using Weblate (Estonian)
Currently translated at 100.0% (483 of 483 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-04-21 16:50:00 -04:00
DeepBlueV7.X
085d064b98
Merge pull request #556 from MTRNord/MTRNord/windows-installer-cleanup
refactor: Remove windows installer feature that was always broken
2021-04-20 20:40:24 +00:00
MTRNord
5cdb296da2 ci: Upload windows installer also in PR builds 2021-04-20 22:18:45 +02:00
MTRNord
721ffc9b7c refactor: Remove windows installer feature that was always broken 2021-04-20 21:47:06 +02:00
Weblate
874c057ce5 Translated using Weblate (Hungarian)
Currently translated at 100.0% (483 of 483 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-04-20 14:53:40 -04:00
Weblate
fdaf7aab27 Translated using Weblate (German)
Currently translated at 100.0% (483 of 483 strings)

Translated using Weblate (German)

Currently translated at 100.0% (483 of 483 strings)

Translated using Weblate (German)

Currently translated at 100.0% (483 of 483 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-04-20 14:04:55 -04:00
Weblate
3fb7f1b310 Translated using Weblate (Hungarian)
Currently translated at 94.6% (457 of 483 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-04-20 14:04:55 -04:00
Weblate
207cf9f911 Translated using Weblate (French)
Currently translated at 93.5% (452 of 483 strings)

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-04-20 14:04:55 -04:00
Nicolas Werner
9699e95688
Merge branch 'master' of github.com:Nheko-Reborn/nheko into 0.8.2-RC 2021-04-20 20:04:40 +02:00
Nicolas Werner
1936749ff5
Fix keys not being reshared to the same devices, that already got them, if the message got lost 2021-04-20 19:52:23 +02:00
Nicolas Werner
20c1ca2aae
Fix a a session with a higher minimum index being able to overwrite an older one 2021-04-20 14:19:07 +02:00
Weblate
4ba4586399 Translated using Weblate (German)
Currently translated at 100.0% (483 of 483 strings)

Translated using Weblate (German)

Currently translated at 100.0% (483 of 483 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-04-20 03:42:10 -04:00
Weblate
a4aaa5d868 Translated using Weblate (German)
Currently translated at 99.5% (481 of 483 strings)

Translated using Weblate (German)

Currently translated at 99.5% (481 of 483 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Konstantin Papesh <konstantin@papesh.at>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-04-20 03:39:02 -04:00
Weblate
7b141ed082 Translated using Weblate (German)
Currently translated at 99.3% (480 of 483 strings)

Translated using Weblate (German)

Currently translated at 99.3% (480 of 483 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Konstantin Papesh <konstantin@papesh.at>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-04-20 03:37:13 -04:00
Weblate
e256f342ff Translated using Weblate (English)
Currently translated at 100.0% (483 of 483 strings)

Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2021-04-20 03:13:48 -04:00
Weblate
28dfd9b02b Added translation using Weblate (Spanish)
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2021-04-19 18:54:12 -04:00
Nicolas Werner
95a603fd62
Linkify matrix uris 2021-04-19 16:35:06 +02:00
Nicolas Werner
d6109b95fb
Escape html in topics and show line breaks in the settings 2021-04-19 11:20:52 +02:00
Joseph Donofry
a792ea1465
Bump version to 0.8.2 2021-04-18 20:21:30 -04:00
Nicolas Werner
59b6712e28
Update changelog for pending 0.8.2 2021-04-18 23:15:45 +02:00
Joseph Donofry
c41879c7d6
Update translations 2021-04-18 15:58:38 -04:00
Nicolas Werner
c2e625756c
Use one CompletionProxy for everything including EmojiPicker 2021-04-18 21:53:39 +02:00
Nicolas Werner
1b0af04cc8
Prevent warning on empty user requests 2021-04-18 21:53:36 +02:00
Joseph Donofry
a402e85a0f
Fix display name referenced for incorrect event types 2021-04-18 15:32:28 -04:00
targetakhil
5a5aba662e make util strip util functions non-static and move definition to cpp file 2021-04-18 12:03:25 +05:30
DeepBlueV7.X
01ee25cee4
Merge pull request #554 from Jedi18/display_name_wording
Change display name wording
2021-04-18 06:24:11 +00:00
targetakhil
ab83c7c3a8 change display name wording 2021-04-18 11:43:02 +05:30
targetakhil
2dfa40e017 strip reply fallbacks from forwarded message 2021-04-18 11:22:44 +05:30
Nicolas Werner
663c3b0014
Set a title for the room settings 2021-04-17 20:40:31 +02:00
Nicolas Werner
fcda5ace6b
Update translations 2021-04-17 20:14:50 +02:00
targetakhil
06e12a0a16 move detection code to nheko namespace and fix a few other bugs 2021-04-17 22:58:04 +05:30
targetakhil
eb13f7c169 directly upload old file object and reuse old message 2021-04-17 22:28:17 +05:30
Nicolas Werner
eaa91b4e56
Fix cursor positioning on edits
fixes #502
2021-04-15 23:21:50 +02:00
Nicolas Werner
3022178334
Fix paste not overwriting selections 2021-04-15 21:13:53 +02:00
Nicolas Werner
84b2cf08a1
Set Dialog flag on Dialogs
Relates to #538
2021-04-15 21:13:53 +02:00
targetakhil
9934004702 remove unused function and set position to center of timeline view 2021-04-15 22:37:47 +05:30
targetakhil
dff5cfc3ba Added overlay and UI changes 2021-04-15 22:37:47 +05:30
targetakhil
6893e3a8d5 show forward menu item only for relevant events, changes to ui 2021-04-15 22:37:47 +05:30
targetakhil
ce8246238e Fix basic UI for forward completer 2021-04-15 22:37:47 +05:30
targetakhil
603ff33ea6 added basic forwarding 2021-04-15 22:37:41 +05:30
Joseph Donofry
a6c89d1362
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2021-04-13 17:58:39 -04:00
Joseph Donofry
3a0ad55ecc
Fix emoji picker getting cut off 2021-04-13 17:58:21 -04:00
Nicolas Werner
99314c948e
Fix broken olm channels automatically 2021-04-13 23:43:09 +02:00
Nicolas Werner
8108d98fa7
Store state events with state keys 2021-04-13 14:36:37 +02:00
Nicolas Werner
18e96d5c7d
Fix some TapHandler focus issues 2021-04-11 22:24:50 +02:00
DeepBlueV7.X
9d97f9f705
Merge pull request #547 from LordMZTE/feature/notice
add notice and rainbownotice commands
2021-04-11 20:15:26 +00:00
LordMZTE
2e597263a2 add notice and rainbownotice commands 2021-04-11 21:47:20 +02:00
Nicolas Werner
7d6bd67615
Improve sorting a bit and fix some bugs in edge cases
makes nheko appear at the top, if you search for it as well as TWIM match the twim room
2021-04-09 17:20:07 +02:00
Nicolas Werner
28074794e7
Fix undefined warning 2021-04-09 14:12:37 +02:00
Nicolas Werner
ff449c705c
Fix crash on exit 2021-04-09 01:47:13 +02:00
Nicolas Werner
c8a547630b
Fix a weird edge case with persisted empty event ids
No idea, how that happened and where it came from
2021-04-08 12:56:31 +02:00
Nicolas Werner
795b8fb7dd
Fix small leak in TrayIcon 2021-04-08 12:26:15 +02:00
Nicolas Werner
ec6f0f9296
Don't use direct image response objects anymore 2021-04-05 13:58:00 +02:00
Nicolas Werner
6c71802680
Fix download button 2021-04-04 00:15:37 +02:00
Nicolas Werner
007ee38b04
Fix exif rotation in unencrypted rooms 2021-04-04 00:15:08 +02:00
Nicolas Werner
5f4ab925da
Fix qtlabs platform in windows packages 2021-04-03 15:18:57 +02:00
Nicolas Werner
b67520256c
Fix appveyor 2021-04-03 13:24:09 +02:00
Nicolas Werner
8719d59e22
Fix rainbow replies and add rainbowme 2021-04-01 17:51:30 +02:00
DeepBlueV7.X
6cf3d97ebd
Merge pull request #540 from LorenDB/master
Use qsTr() for strings
2021-03-31 21:13:34 +00:00
Loren Burkholder
877685d66d Use qsTr() for strings 2021-03-31 17:07:07 -04:00
Nicolas Werner
fa68ae9fe9
Tweak rainbow slightly 2021-03-28 20:56:08 +02:00
Nicolas Werner
edaeb3ccde
Fix emojis being split by rainbows 2021-03-28 20:41:08 +02:00
DeepBlueV7.X
326f48d87f
Merge pull request #535 from LordMZTE/feature/rainbow
add /rainbow command
2021-03-28 18:23:50 +00:00
DeepBlueV7.X
c5f4245945
Merge pull request #539 from anjanik012/fix_build
Fix build: refactor variables to avoid same names in a scope
2021-03-28 17:21:10 +00:00
Anjani Kumar
a8f5672715
Lint Code 2021-03-28 22:09:57 +05:30
LordMZTE
4b45c61024 run formatter 2021-03-28 17:37:36 +02:00
DeepBlueV7.X
3317d4582d
Update src/timeline/InputBar.cpp 2021-03-28 14:00:13 +00:00
DeepBlueV7.X
463dd20682
Use QRegularExpression 2021-03-28 13:59:47 +00:00
LordMZTE
6c31bb6ddc fix command parsing 2021-03-28 15:36:46 +02:00
LordMZTE
ff2e7bb989 commands now also work with newline after them 2021-03-28 14:49:34 +02:00
LordMZTE
e7f20eeae0 use QString as buf in rainbowifyer 2021-03-28 14:14:05 +02:00
LordMZTE
4e6150f28e implement requested changes 2021-03-28 14:00:35 +02:00
Anjani Kumar
4201ade5ae
Fix build: refactor variables to avoid same names in a scope 2021-03-28 14:22:47 +05:30
Joseph Donofry
38ddfabee6
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2021-03-27 19:43:16 -04:00
Joseph Donofry
27d6c0fb92
Add new mtxclient 2021-03-27 19:25:00 -04:00
Nicolas Werner
1a448ae584
Remove delay when focusing quick switcher 2021-03-27 22:01:56 +01:00
LordMZTE
64e29b07e2 remove incorrect include 2021-03-27 17:04:00 +01:00
LordMZTE
39ff68c6e6 use QString to format in rainbow function 2021-03-27 16:06:42 +01:00
LordMZTE
939f00c90d rainbow now works with unicode! 2021-03-27 14:35:06 +01:00
LordMZTE
a898abcecb use qtextboundary finder to rainbowify. (not working for unicode chars yet) 2021-03-27 14:16:40 +01:00
LordMZTE
947b8c0291 fix size type 2021-03-27 12:47:18 +01:00
Nicolas Werner
583fd9b5ab
Fix double click on video message 2021-03-27 01:18:20 +01:00
DeepBlueV7.X
1bd59a3939
Merge pull request #536 from LorenDB/master
Add a part command
2021-03-26 00:38:00 +00:00
Nicolas Werner
ae19dd2bc2
Disable horizontal scrollbar in timeline
fixes #530
2021-03-26 01:31:46 +01:00
Loren Burkholder
32f5e35037 Use correct Qt version 2021-03-25 20:20:13 -04:00
Loren Burkholder
ea2fb7f8df Add part/leave command 2021-03-25 20:19:48 -04:00
LordMZTE
44bd3376ce add /rainbow command 2021-03-26 00:42:46 +01:00
Nicolas Werner
0d4ddadb15
Fix emoji picker appearing in wrong locations 2021-03-23 18:05:43 +01:00
DeepBlueV7.X
e46ddbbb45
Merge pull request #532 from salahmak/esc-cancel-upload
Pressing escape hides PreviewUploadOverlay
2021-03-20 23:15:28 +00:00
salahmak
2108d98c6d Pressing escape hides PreviewUploadOverlay 2021-03-20 21:09:04 +01:00
salahmak
21a649492f Pressing escape hides PreviewUploadOverlay 2021-03-20 11:18:16 +01:00
Nicolas Werner
b31e74d9f6
Reserve memory for rooms in completer 2021-03-19 04:59:28 +01:00
Nicolas Werner
0e60c09b19
Fix room settings opening twice on room title 2021-03-19 04:40:41 +01:00
DeepBlueV7.X
f6de66576c
Merge pull request #475 from LorenDB/htmlFormattedNotifs
Better notifications
2021-03-18 15:46:04 +01:00
DeepBlueV7.X
98b2df43ad
Merge pull request #527 from anjanik012/ignore_event
Prevent EventType::Unsupported events to be saved in statesdb (BugFix)
2021-03-17 22:19:23 +01:00
Nicolas Werner
1408b1a97d
Make CI happy 2021-03-17 22:13:12 +01:00
Anjani Kumar
9b9d784a82
Prevent EventType::Unsupported type events to be saved in db, avoiding exceptions 2021-03-18 02:09:23 +05:30
Nicolas Werner
21562eed75
Fix shadowing 2021-03-17 20:32:12 +01:00
Nicolas Werner
95bbc559fa
Add missing QPointer include 2021-03-17 19:45:02 +01:00
Joseph Donofry
9754b94364
Use old hunter directory 2021-03-17 14:27:24 -04:00
Nicolas Werner
f6d2fa5ec1
Fix licenses 2021-03-17 19:18:46 +01:00
Nicolas Werner
e5d75c814b
Clean up notification code a bit 2021-03-17 19:18:07 +01:00
Nicolas Werner
95026dcc62
Refactor image download code to be reusable 2021-03-17 19:18:07 +01:00
Loren Burkholder
41737ac22c
Simplify image loading 2021-03-17 19:18:07 +01:00
Loren Burkholder
95a26edad2
Don't create a QImage every time 2021-03-17 19:18:07 +01:00
Loren Burkholder
716c598f4a
Simplify macOS checks for a null image 2021-03-17 19:18:07 +01:00
Loren Burkholder
5da6ab0aec
make lint 2021-03-17 19:18:07 +01:00
Loren Burkholder
98b2fee71b
Block notifications until the image has been downloaded 2021-03-17 19:18:07 +01:00
Loren Burkholder
64dd10a6a0
Only try to display images if they exist 2021-03-17 19:18:06 +01:00
Loren Burkholder
82bbdfb929
Use better method of resizing images 2021-03-17 19:18:06 +01:00
Loren Burkholder
fda6d7629a
Switch readImage to take a reference instead of a pointer
There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
2021-03-17 19:18:06 +01:00
Loren Burkholder
8b33b1f08b
Simplify regex 2021-03-17 19:18:06 +01:00
Loren Burkholder
3748d7853e
Simplify formatting on Windows 2021-03-17 19:18:06 +01:00
Loren Burkholder
2192e8bea8
Better handle encrypted notifications 2021-03-17 19:18:06 +01:00
Loren Burkholder
9168c2c785
Remove unnecessary header 2021-03-17 19:18:06 +01:00
Nicolas Werner
f578272a0d
Rewrite notification posting logic
This does away with the nice abstraction layers in order to easily get the best-looking notifications for each platform.
2021-03-17 19:17:57 +01:00
Loren Burkholder
37acdad928
Add regex to remove replies in notifications 2021-03-17 19:17:15 +01:00
Loren Burkholder
c693d54598
Fix when "replied" is displayed
I accidentally put it in backwards.
2021-03-17 19:17:15 +01:00
Loren Burkholder
df998ef671
Get event text in event parser function 2021-03-17 19:17:15 +01:00
Loren Burkholder
b57b76d948
Add "replied" marker to regular reply messages 2021-03-17 19:17:15 +01:00
Loren Burkholder
39576fea96
Create function for processing whether a message is a reply 2021-03-17 19:17:15 +01:00
Loren Burkholder
d8fb4d9292
Simplify message body construction 2021-03-17 19:17:14 +01:00
Loren Burkholder
4a86e14d04
Simplify determination of whether markup is supported
This should also result in a speed increase (however slight), since the capabilities are now sorted through only once.
2021-03-17 19:17:14 +01:00
Loren Burkholder
4150d75be7
Only HTML-format the body if it should be formatted 2021-03-17 19:17:14 +01:00
Loren Burkholder
c38c6fe49e
Format notifications according to the FreeDesktop specification 2021-03-17 19:17:14 +01:00
Loren Burkholder
dcd9b80dde
Fix Linux HTML notifications 2021-03-17 19:17:14 +01:00
Loren Burkholder
b05657d51a
Fix colon spacing 2021-03-17 19:17:14 +01:00
Loren Burkholder
01bbec88dd
Don't run markdownToHtml on messages 2021-03-17 19:17:14 +01:00
Loren Burkholder
e630504863
Disable HTML on macOS 2021-03-17 19:17:13 +01:00
Loren Burkholder
648844089c
Move data parsing into a dedicated function
Actually posting the notification is now the responsibility of a private function
2021-03-17 19:17:13 +01:00
Loren Burkholder
09303ca49f
make lint 2021-03-17 19:17:13 +01:00
Loren Burkholder
ae7468a716
Use the class D-Bus member 2021-03-17 19:17:13 +01:00
Loren Burkholder
8d3e463fa6
Use plaintext for Windows notifications 2021-03-17 19:17:13 +01:00
Loren Burkholder
3dcbac8875
Only pass formatted text if it is supported (Linux) 2021-03-17 19:17:13 +01:00
Loren Burkholder
c74e68c945
Parse markdown overrides during replies
I apparently missed this when I originally added the overrides.
2021-03-17 19:17:13 +01:00
Loren Burkholder
029ae18a07
Format markdown as HTML in notifications 2021-03-17 19:17:13 +01:00
Joseph Donofry
dd1ed7e3fb
Test a shorter PATH for appveyor 2021-03-17 01:35:36 -04:00
Nicolas Werner
cc3d32c65e
Move check for duplicate /sync responses to the same thread 2021-03-16 21:01:14 +01:00
Nicolas Werner
0dc40e50f8
Convert flatpak file to yaml to be able to add comments 2021-03-15 21:15:53 +01:00
Nicolas Werner
2ee31aa09e
Use device=all in flatpak for webcam support
fixes #517
2021-03-15 21:03:39 +01:00
Nicolas Werner
8ca3a8b607
Don't send markdown links in body
fixes #422
2021-03-15 20:59:18 +01:00
Nicolas Werner
86766b739d
Store all state events 2021-03-15 17:11:02 +01:00
DeepBlueV7.X
6548b84e29
Merge pull request #523 from Jedi18/master
Fix windows video bug
2021-03-15 15:51:10 +00:00
Nicolas Werner
569ea5b5f4
Rotate session keys properly 2021-03-15 16:24:01 +01:00
DeepBlueV7.X
61c5dffffd
Merge pull request #525 from salahmak/image-upload-dialog
Pressing return on image upload dialog sends the message
2021-03-15 11:48:55 +00:00
salahmak
aa0223c041 Pressing return on image upload dialog sends the message 2021-03-15 12:42:17 +01:00
targetakhil
a4b7966d21 prepend file:// for linux and macos 2021-03-15 09:03:06 +05:30
DeepBlueV7.X
dcaebea0b0
Merge pull request #524 from Nheko-Reborn/native-menus
Use native menus
2021-03-14 23:35:36 +00:00
Nicolas Werner
e438fc1068
Shorten hunter dir path 2021-03-14 23:23:37 +01:00
Nicolas Werner
e490ef953f
Use native menus 2021-03-14 22:22:52 +01:00
targetakhil
5614f70576 Add faq section 2021-03-14 23:32:24 +05:30
targetakhil
02e388e542 fix windows video bug 2021-03-14 23:16:41 +05:30
Nicolas Werner
47a7adf823
Use readonly properties where possible 2021-03-14 16:24:04 +01:00
Nicolas Werner
9b8e6c7f5c
Remove some more allocations 2021-03-14 15:34:18 +01:00
Nicolas Werner
98e0b95635
Reduce allocations when escaping emoji 2021-03-14 14:04:30 +01:00
DeepBlueV7.X
c47ae99805
Merge pull request #493 from Jedi18/quickswitcher_qml
Port QuickSwitcher to QML
2021-03-14 01:54:09 +00:00
Nicolas Werner
eb9603f4c0
Fix room completions not showing label avatars
When no image is set for a room, the room didn't have the first
character in the avatar, when opening any completer, that showed it.
2021-03-14 02:50:44 +01:00
Nicolas Werner
05c636a8d4
Fix qml license headers again 2021-03-14 02:45:20 +01:00
Nicolas Werner
8ebb55623e
Remove background of quick switcher popup 2021-03-14 02:42:41 +01:00
Nicolas Werner
1961312b15
Improve sorting and sizing of completions a bit 2021-03-14 01:24:26 +01:00
Nicolas Werner
b82c11bd79
Fix text corruption from unrounded pixel height 2021-03-13 23:52:46 +01:00
Nicolas Werner
7a356f3832
Merge branch 'quickswitcher_qml' of git://github.com/Jedi18/nheko into Jedi18-quickswitcher_qml 2021-03-13 23:45:05 +01:00
DeepBlueV7.X
df797175ca
Merge pull request #520 from Nheko-Reborn/openssl-fixes
Disable bundled OpenSSL by default, even with hunter
2021-03-13 22:42:42 +00:00
Nicolas Werner
ce547357b8
Disable bundled OpenSSL by default, even with hunter 2021-03-13 22:42:44 +01:00
Nicolas Werner
6ad4065de4
Fix a few db access crashes 2021-03-12 17:14:18 +01:00
Nicolas Werner
2a70847c80
Bump mtxclient version 2021-03-12 17:14:18 +01:00
Nicolas Werner
27fe0a45b6
Disable room pings in replies 2021-03-12 17:14:17 +01:00
Weblate
e78be31429 Translated using Weblate (German)
Currently translated at 93.0% (426 of 458 strings)

Co-authored-by: Konstantin Papesh <konstantin@papesh.at>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-03-11 22:21:30 -05:00
Weblate
e84d3ffb85 Translated using Weblate (English)
Currently translated at 100.0% (458 of 458 strings)

Co-authored-by: Emilie <em@nao.sh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2021-03-11 22:21:29 -05:00
Weblate
5ffd81710a Translated using Weblate (Estonian)
Currently translated at 100.0% (458 of 458 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-03-08 22:30:05 -05:00
Nicolas Werner
31cc727594
Fix disable certificate validation on login page 2021-03-08 13:44:38 +01:00
DeepBlueV7.X
dea7680604
Merge pull request #510 from Jedi18/master
Add matrix uri handler registry values in windows installer
2021-03-07 17:24:55 +00:00
Nicolas Werner
3da9c45df2
Fix popup opening at wrong place
fixes #512
2021-03-07 18:23:50 +01:00
Nicolas Werner
c03f716e8b
Fix conflict between qmlformat and license check 2021-03-07 05:57:56 +01:00
Nicolas Werner
bb6ff8cec8
Show mxid on hovering username
fixes #507
2021-03-07 05:53:54 +01:00
Nicolas Werner
d5e578d0e4
Fix missing include for FetchContent
fixes #511
2021-03-07 02:18:41 +01:00
Nicolas Werner
47e97d490c
Add config option to disable tls validation 2021-03-06 20:52:08 +01:00
Jedi18
8870455f9d change allowed mistakes, fix minor style issues, remove old completer function from inputbar 2021-03-07 00:18:24 +05:30
Nicolas Werner
973ec13ad8
Add linebreaks to fingerprint 2021-03-06 19:36:18 +01:00
DeepBlueV7.X
57a6edadcb
Merge pull request #506 from Nheko-Reborn/timeline-buttons
Use overlay buttons for message actions
2021-03-06 13:47:37 +00:00
DeepBlueV7.X
22071f4ff7
Merge pull request #509 from trilene/master
Bump mtxclient
2021-03-06 03:27:22 +00:00
trilene
52b38abd08 Bump mtxclient 2021-03-05 21:24:00 -05:00
trilene
3846adfecc Bump mtxclient 2021-03-05 20:08:41 -05:00
Nicolas Werner
e5cff64460
Use short format for time 2021-03-05 17:44:49 +01:00
Nicolas Werner
2685eec6c7
Mark message currently being edited 2021-03-05 17:22:47 +01:00
Nicolas Werner
e1c96569c1
Fix janky hoverhandling for text messages
Add a 1px border to get more hover enter events...
2021-03-05 16:47:20 +01:00
Nicolas Werner
02e459b4e6
Fix unused variable 2021-03-05 15:27:46 +01:00
Nicolas Werner
1be42045ee
fix linting 2021-03-05 15:26:07 +01:00
Nicolas Werner
a305c2689c
Fix cplusplus macro on windows 2021-03-05 15:23:48 +01:00
Nicolas Werner
13cdbd5227
Update translations 2021-03-05 15:04:47 +01:00
Nicolas Werner
f4164cc799
Fix a few join confirmations too many 2021-03-05 14:59:59 +01:00
Nicolas Werner
626d8bf151
Remove tweeny 2021-03-05 14:04:30 +01:00
DeepBlueV7.X
56c44d0454
Merge pull request #505 from Nheko-Reborn/license-headers
License headers
2021-03-05 01:04:36 +00:00
Joseph Donofry
4b12b53133
Fix linting 2021-03-04 19:11:08 -05:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Joseph Donofry
87bf761dc2
Properly format matrix errors in spdlog statements 2021-03-04 18:56:25 -05:00
Nicolas Werner
1142fe2663
Use overlay buttons for message actions 2021-03-04 22:59:10 +01:00
Weblate
387ba1a1e6 Translated using Weblate (French)
Currently translated at 97.8% (447 of 457 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-03-03 21:21:28 -05:00
Nicolas Werner
e3803ceb9a
Avoid some duplicate property queries 2021-03-03 21:34:24 +01:00
Nicolas Werner
3b4f8f2016
Fix avatar fallback in rooms 2021-03-03 17:54:00 +01:00
Nicolas Werner
67ab204050
Fix reply relating to the wrong id of edited event 2021-03-03 17:42:41 +01:00
DeepBlueV7.X
d6f80e9275
Merge pull request #504 from Nheko-Reborn/new-lmdbxx
Update to new lmdbxx version
2021-03-03 04:38:59 +00:00
Nicolas Werner
c2898623dd
Fix the include path for lmdb from hunter 2021-03-03 04:26:55 +01:00
Nicolas Werner
0704b3cc84
Download single file for lmdb++.hpp 2021-03-03 02:50:00 +01:00
Nicolas Werner
d28a620f42
Add comment to mark db keys as such 2021-03-03 00:08:33 +01:00
Nicolas Werner
1b0abe97f9
Update to new lmdbxx version 2021-03-03 00:01:17 +01:00
Jedi18
fe6d990ad3 add matrix uri handler registry values in installer 2021-03-03 00:02:21 +05:30
Weblate
aa04c233bd Translated using Weblate (German)
Currently translated at 96.7% (442 of 457 strings)

Co-authored-by: CryptKid <CryptKiddie@chaospott.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-03-02 03:21:24 -05:00
Nicolas Werner
c710b4257c
Fix indentation 2021-03-01 02:20:13 +01:00
Nicolas Werner
40de75c40b
Use one after_build in appveyor 2021-03-01 02:19:07 +01:00
Nicolas Werner
818fc51059
Fix appveyor upload 2021-03-01 02:17:38 +01:00
Nicolas Werner
a0fad2513e
Don't ask to join joined rooms when clicking matrix uri 2021-03-01 01:46:22 +01:00
Weblate
a651643f6e Translated using Weblate (French)
Currently translated at 92.3% (422 of 457 strings)

Translated using Weblate (French)

Currently translated at 92.3% (422 of 457 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Co-authored-by: Nicolas Guichard <nicolas@guichard.eu>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-02-26 13:00:40 -05:00
Weblate
d405ce7878 Translated using Weblate (Swedish)
Currently translated at 95.8% (438 of 457 strings)

Co-authored-by: Emilie <em@nao.sh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/sv/
Translation: Nheko/nheko
2021-02-26 13:00:40 -05:00
Jedi18
1f8a3ae1e8 changed bottomToTop to true and renamed textWidth to textHeight 2021-02-26 11:39:51 +05:30
Nicolas Werner
b55e6fbae8
Use toggles for screen share settings 2021-02-25 20:45:59 +01:00
DeepBlueV7.X
0bf3f4634d
Merge pull request #484 from trilene/screenshare-x11
Support screen sharing on X11
2021-02-25 19:16:18 +00:00
trilene
099207b88c Restore voice/video calls 2021-02-25 13:44:08 -05:00
trilene
6baa775ec8 add_feature_info for screen sharing window selection 2021-02-25 13:27:22 -05:00
trilene
12e40a13cb Add missing translation mark 2021-02-25 12:44:09 -05:00
trilene
55fb00c67b Merge remote-tracking branch 'upstream/master' into screenshare-x11 2021-02-25 12:10:12 -05:00
trilene
402bd565cb Add screen sharing window preview 2021-02-25 12:00:55 -05:00
Nicolas Werner
1f373479b8
Fix unaligned reads 2021-02-25 15:15:59 +01:00
Nicolas Werner
c62f328590
Merge branch 'master' of github.com:Nheko-Reborn/nheko 2021-02-25 14:55:02 +01:00
Nicolas Werner
8846a2a013
Fix potential issue with modifiers and edit shortcuts 2021-02-25 14:54:50 +01:00
DeepBlueV7.X
4c71ca8110
Merge pull request #494 from Jedi18/minor_issue_fixes
Fix registration bug and navigate to created room
2021-02-25 12:54:08 +00:00
Jedi18
4a5b9d014a change mtxclient url, fix login page assert failure and dendrite registration bug 2021-02-25 18:10:06 +05:30
Jedi18
043737c8cb navigate to newly created rooms 2021-02-25 10:29:30 +05:30
Nicolas Werner
345dc1e61f
Fix text input restoring after edits 2021-02-25 00:50:17 +01:00
Nicolas Werner
f6b5b24d64
Allow editing via up and down arrows 2021-02-24 23:51:05 +01:00
trilene
efe240d609 Allow choice of single window when sharing screen 2021-02-24 17:07:01 -05:00
Jedi18
68c999e5f4 remove old quick switcher 2021-02-24 19:50:36 +05:30
Jedi18
0ce7f78446 added margins and ui changes for quickswitcher and completer 2021-02-24 19:32:13 +05:30
Jedi18
096f37df1f fix row content centering 2021-02-24 13:38:01 +05:30
Nicolas Werner
29a71741f4
Ensure we ask for confirmation when clicking on a matrix uri 2021-02-24 01:37:26 +01:00
Nicolas Werner
db78cec626
Add missing dependency to appimage 2021-02-24 00:54:17 +01:00
Nicolas Werner
6800be2483
Copy upload steps from flathub 2021-02-24 00:24:45 +01:00
Nicolas Werner
be85c51b91
Use flatpakref from repo 2021-02-24 00:07:46 +01:00
Nicolas Werner
b9f72c2098
Update flat-manager-client 2021-02-23 23:13:13 +01:00
Nicolas Werner
2787103903
commit and publish flatpak in one command 2021-02-23 22:56:43 +01:00
Nicolas Werner
150281b4de
Add nightly flatpak repo 2021-02-23 21:58:10 +01:00
Nicolas Werner
8ca819525a
Remove unused link 2021-02-23 21:22:58 +01:00
Nicolas Werner
3e80f55f4e
Make flatpak ref autodownload 2021-02-23 21:18:02 +01:00
Nicolas Werner
28fd47bf8d
Add flatpak nightly repository 2021-02-23 21:09:09 +01:00
Jedi18
ebb35e5cb1 fix matrixtextfield color and quickswitcher font size 2021-02-23 22:07:45 +05:30
Jedi18
97c2505619 add matrix text field 2021-02-23 21:36:21 +05:30
Nicolas Werner
865344c7aa
Fix unused capture 2021-02-23 12:42:57 +01:00
Nicolas Werner
7560972cac
Fix qml formatting 2021-02-23 05:24:34 +01:00
DeepBlueV7.X
736ba5e2e8
Merge pull request #488 from Nheko-Reborn/scroll-view-thingy
Use Scrollview again
2021-02-22 22:14:31 +00:00
Nicolas Werner
78ecffb45b Use scrollview again for input 2021-02-22 23:13:38 +01:00
Nicolas Werner
af9b66dd3e Linkify topic in room settings and use non-deprecated MessageDialog 2021-02-22 21:37:32 +01:00
Jedi18
ee232c5c60 fix timeline focus 2021-02-23 00:46:40 +05:30
Jedi18
b1dec6f6ac enter key now works, fix room highlighting and add overlay 2021-02-23 00:18:31 +05:30
Jedi18
3f4ad1dd8b selecting room in quickswitcher now works, added completionSelected signal 2021-02-22 23:08:42 +05:30
trilene
70c77cdc44 Display screen sharing content locally 2021-02-21 16:30:10 -05:00
Jedi18
0922a8e4c7 add room alias delegate, fix some quickswitcher ui problems 2021-02-22 00:01:50 +05:30
Jedi18
32d419d14f add quick switcher qml file and moved completerFor from inputbar to timeline view class 2021-02-21 23:10:21 +05:30
trilene
e8e88e7d79 Refine X11 test 2021-02-20 17:33:04 -05:00
trilene
c461c0aac0 Require GStreamer 1.18 for voip support 2021-02-20 17:14:22 -05:00
trilene
8ccd2abc6a Screen sharing (X11): support picture-in-picture 2021-02-20 11:26:53 -05:00
Nicolas Werner
8351cc4180 Fix miscalculation of padding in timeline 2021-02-20 02:53:14 +01:00
Nicolas Werner
264a85b9e4 Avoid some copies when sorting the room list 2021-02-20 02:38:41 +01:00
Nicolas Werner
ebd12a6f33 Fix login with SSO and Password supported 2021-02-19 15:48:43 +01:00
DeepBlueV7.X
99efe2f06b
Merge pull request #479 from Jedi18/add_rooms_model_completer
Add rooms completion model
2021-02-19 14:03:42 +00:00
Jedi18
3ea0e79a36 check for empty alias and percent encoding for alias in url 2021-02-19 17:04:31 +05:30
DeepBlueV7.X
744feabeca
Merge pull request #474 from Jedi18/room_settings_qml
Shifted Room Settings Dialog to QML
2021-02-19 08:43:03 +00:00
trilene
3b26cf4ba3 Screen sharing (X11): add hide mouse cursor option 2021-02-18 16:53:30 -05:00
trilene
8df10eeeca Support desktop screen sharing on X11 2021-02-18 15:55:29 -05:00
Nicolas Werner
9f7dc5488e Adapt to changes in MSC2312 2021-02-17 23:45:41 +01:00
Nicolas Werner
b8c6c716be Make inline images work a bit better 2021-02-17 22:14:19 +01:00
Nicolas Werner
c9393fe3f6 Fix crash from logging unset indices (leftover after debugging) 2021-02-17 18:47:59 +01:00
Jedi18
0b6c82dfff added bool to choose between showing only rooms with aliases and all of the rooms 2021-02-17 19:58:41 +05:30
Jedi18
8aadde7885 add matrix link for completed item 2021-02-17 19:26:19 +05:30
DeepBlueV7.X
7ff7e33d4a
Merge pull request #482 from eltociear/patch-1
GitHub format
2021-02-17 02:55:58 +00:00
Jedi18
f76f7b7f8a fixed roomsettings spacing and toggle button right align bug 2021-02-16 22:22:55 +05:30
Ikko Ashimine
a1cd55917b
GitHub format
Github -> GitHub
2021-02-16 23:38:56 +09:00
Jedi18
8c4f0a070e change togglebutton size, set textarea color to colors.text 2021-02-16 11:52:03 +05:30
Weblate
0d971f543b Translated using Weblate (Hungarian)
Currently translated at 100.0% (457 of 457 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-02-15 22:30:04 -05:00
DeepBlueV7.X
cae5531c4b
Merge pull request #476 from Jedi18/master
Fix room leaving related bugs and few minor bugs
2021-02-15 21:56:07 +01:00
Jedi18
96028f00a5 trim invite input text 2021-02-16 01:00:32 +05:30
Jedi18
19dbbb2c6c add rooms model, add room delegate for completer 2021-02-16 00:50:28 +05:30
Jedi18
f35e826485 Fix room list updating on adding to hidden tag or removing tag 2021-02-14 19:57:29 +05:30
Jedi18
a2dab31fd6 Fix two room leaving related bugs and add invite user on clicking invite 2021-02-14 13:01:16 +05:30
Jedi18
b5e351ab02 Replace rowlayouts with gridlayout and fix room settings initializer list 2021-02-14 11:26:10 +05:30
Akhil Nair
8400540428
Merge branch 'master' into room_settings_qml 2021-02-14 00:04:27 -05:00
Nicolas Werner
734fb7e286 Add double tap to reply feature
Does not always work, since Text steals focus...

relates to #414
2021-02-14 01:56:46 +01:00
Nicolas Werner
d43607d01c Fix hover handling in the timeline 2021-02-14 01:28:28 +01:00
Nicolas Werner
0d61f4bff1 Improve scroll to message a bit by using a ScrollView 2021-02-13 23:53:30 +01:00
DeepBlueV7.X
ca237f36b9
Merge pull request #471 from LorenDB/emoteNotif
Display notifications for emote messages properly
2021-02-13 23:19:26 +01:00
Loren Burkholder
8c62df1bab Include notifications header instead of responses header 2021-02-13 13:40:30 -05:00
Loren Burkholder
567b2d05ef Move notification parsing into postNotification 2021-02-13 13:40:26 -05:00
Jedi18
1a406f79e6 replaced with togglebutton using qtquickcontrols2 2021-02-13 23:59:42 +05:30
Loren Burkholder
9f9c499cb2 Fix typo 2021-02-13 13:01:04 -05:00
Loren Burkholder
299c486a2b Display notifications for emote messages properly 2021-02-13 13:01:04 -05:00
Jedi18
4996ae27a0 added togglebutton styling 2021-02-13 21:49:21 +05:30
Jedi18
6540352123 fix roomsetting layout 2021-02-13 20:46:40 +05:30
Jedi18
f3596aed55 added room topic 2021-02-13 19:08:52 +05:30
Nicolas Werner
7ddcab3902 Mark messages as read, when Nheko gets focused
fixes #235
2021-02-13 01:41:09 +01:00
Nicolas Werner
e2fc676c77 Revert keeping whitespace in html, it breaks lists 2021-02-12 18:22:41 +01:00
Nicolas Werner
3c91b5b47b Fix crash when editing an edited message pointing to itself 2021-02-12 16:11:11 +01:00
Jedi18
35aa0126ac added changing of name through edit modal, removed old roomsettings 2021-02-12 12:48:12 +05:30
Weblate
192c3b7a77 Translated using Weblate (Hungarian)
Currently translated at 94.5% (432 of 457 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-02-11 15:44:02 -05:00
Weblate
cc1f9a079b Translated using Weblate (Finnish)
Currently translated at 43.9% (201 of 457 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2021-02-11 14:21:16 -05:00
Jedi18
f044e2d2a1 fix avatar update on timeline sync 2021-02-11 23:50:45 +05:30
Jedi18
a7d7d18e92 shifted room avatar changing 2021-02-11 23:39:11 +05:30
Jedi18
473b14ed0f added roomversion, roomid etc 2021-02-11 21:23:33 +05:30
Jedi18
7401bd13b2 added notifications and encryption for the new roomsettings 2021-02-11 19:54:09 +05:30
Weblate
6ff8db1799 Translated using Weblate (Estonian)
Currently translated at 100.0% (457 of 457 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-02-10 16:37:10 -05:00
Nicolas Werner
0db4d71ec2 Prevent edits of unsent messages 2021-02-10 21:13:57 +01:00
Nicolas Werner
2a5e20dc6f Fix cancel edit order on Escape key 2021-02-10 18:00:52 +01:00
Jedi18
b70f37194f ui almost looks the same, midway between transition from old room settings to new room settings 2021-02-10 21:22:42 +05:30
Nicolas Werner
6c65136101 Update translations 2021-02-10 15:31:33 +01:00
Nicolas Werner
2606568376 Fix messages sometimes not being rendered, when they are too large 2021-02-10 15:24:00 +01:00
Nicolas Werner
6a2e8a6952 Try to avoid QTBUG-89568 2021-02-10 14:38:41 +01:00
Nicolas Werner
a62276c289 Fix UI allowing edits of foreign messages in some cases 2021-02-10 14:32:16 +01:00
DeepBlueV7.X
4a5b5f992d
Merge pull request #420 from Nheko-Reborn/render-edits
Switch to new relations format and show edits
2021-02-10 14:12:49 +01:00
Nicolas Werner
29c89b1b9e Abort -> Cancel 2021-02-10 14:11:55 +01:00
Nicolas Werner
6d678a108f Use fully read marker and fix stuck read marker with edits 2021-02-10 02:37:47 +01:00
Nicolas Werner
bdb6e6b79e Fix stuck notifications because of edits
Does not fix the read status yet, for that we need to compare read
receipts for all events after the last visible event.
2021-02-10 01:03:20 +01:00
Nicolas Werner
6e2ae1d812 Add edit shortcuts and fix some focus stuff 2021-02-09 20:22:53 +01:00
Nicolas Werner
9b7d33e847 Implement message editing
The UI still looks ugly, but I have no good idea atm.

fixes #134
2021-02-09 20:22:53 +01:00
Nicolas Werner
00fd4eecec Display edits correctly 2021-02-09 20:22:49 +01:00
Nicolas Werner
faeaf9dc6b Fix edited replies 2021-02-09 20:22:02 +01:00
Nicolas Werner
d6504812c7 Render edits 2021-02-09 20:22:02 +01:00
Nicolas Werner
2e77a1554f Switch to new relations format 2021-02-09 20:22:02 +01:00
Nicolas Werner
463cee7146 Fix wrong font used in emoji escape 2021-02-09 20:21:01 +01:00
DeepBlueV7.X
6aabe9d5f7
Merge pull request #468 from tverrbjelke/missing_dep_for_debian
Fixes issue 462
2021-02-09 19:48:11 +01:00
Jedi18
37679ac57e added room settings qml 2021-02-09 23:11:39 +05:30
Nicolas Werner
8d95532b28 Fix linting 2021-02-09 17:00:06 +01:00
Nicolas Werner
0285bf5e4e Remove unused variables 2021-02-09 16:31:33 +01:00
Nicolas Werner
50f994bd23 Clean up config names a bit 2021-02-09 16:26:38 +01:00
DeepBlueV7.X
23a9306383
Merge pull request #459 from Jedi18/minor_fixes
Fix emoji related issues
2021-02-09 16:25:37 +01:00
DeepBlueV7.X
3797f585c2
Merge pull request #450 from kallisti5/haiku-fixes
Haiku fixes
2021-02-09 15:44:20 +01:00
DeepBlueV7.X
cb704006a5
Merge pull request #465 from trilene/call-devices
Add Duplex call devices
2021-02-09 15:43:17 +01:00
tverrbjelke
2fcc9c2fbb Fixes issue 463
Installation description for debian (buster) misses package qtdeclarative5-dev

	modified:   README.md
2021-02-09 13:21:42 +01:00
trilene
974c336c5e make lint 2021-02-07 13:58:32 -05:00
trilene
8d68534456 Add Duplex call devices 2021-02-07 13:54:18 -05:00
Jedi18
04b920fbee linting fix 2021-02-07 22:18:04 +05:30
trilene
f1bc3ba587 Move call device handling out of WebRTCSession 2021-02-07 11:47:47 -05:00
Jedi18
c2a56fc233 emoji default translation fix 2021-02-07 22:15:06 +05:30
Nicolas Werner
375e20462b Native rendering breaks kerning 2021-02-07 02:01:44 +01:00
Jedi18
8d195a4d11 translation fix for default text in emoji combo 2021-02-06 10:24:41 +05:30
Weblate
87122ffe77 Translated using Weblate (Hungarian)
Currently translated at 91.8% (406 of 442 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-02-05 22:30:06 -05:00
DeepBlueV7.X
49ce7701d3
Merge pull request #455 from LorenDB/fixLogoutIssues
Fix issues with logout
2021-02-05 22:44:31 +01:00
Jedi18
4aefac08a4 focus message input on adding emoji/reacting to a message 2021-02-05 22:42:08 +05:30
Jedi18
f02342fe22 close emoji autocompleter if space typed after : issue #433 and adds default option for emoji font family settings 2021-02-05 21:52:49 +05:30
Loren Burkholder
343c9c8116 Don't attempt to begin group "" 2021-02-04 19:01:48 -05:00
Loren Burkholder
777b9bf20d Set profile to "" if it's the default for compatibility 2021-02-04 18:44:36 -05:00
Loren Burkholder
46e15218d4 Use UserSettings where possible 2021-02-04 18:44:36 -05:00
Loren Burkholder
eae09f8f14 Fix bug on logout of non-default profile 2021-02-04 18:44:36 -05:00
Nicolas Werner
7874d61c33 Fix scheme handler not passing arguments 2021-02-04 01:02:38 +01:00
Alexander von Gluck IV
e8ff6c9486 notifications/mananger: Follow Linux code paths on Haiku as well 2021-02-03 14:40:14 -06:00
Alexander von Gluck IV
cf00abc03e cmake: Don't build with Werror on Haiku 2021-02-03 14:39:49 -06:00
DeepBlueV7.X
e0207ff337
Merge pull request #445 from Jedi18/avatar_username_feature
Change user avatar (global and room avatar)
2021-02-03 03:26:44 +01:00
DeepBlueV7.X
a7150b5666
Merge branch 'master' into avatar_username_feature 2021-02-03 03:17:28 +01:00
Nicolas Werner
3433cc3be7 Cleanup privacy screen, no more grabImage 2021-02-03 03:14:43 +01:00
DeepBlueV7.X
724c86e663
Merge pull request #446 from LorenDB/master
Fix QML layout warnings
2021-02-03 01:33:08 +01:00
Loren Burkholder
5109dc5e0f Fix QML layout warnings 2021-02-02 19:30:03 -05:00
Nicolas Werner
e466cd10ff Change matrix to guru overlay
fixes #410
2021-02-02 22:32:09 +01:00
Nicolas Werner
f73418f368 Merge branch 'privacy_screen' into 'master'
Chat Privacy screen

See merge request nheko-reborn/nheko!6
2021-02-02 14:10:34 -05:00
Nicolas Werner
aeec1e12fc Merge branch 'master' into 'privacy_screen'
# Conflicts:
#   resources/qml/TimelineView.qml
2021-02-02 13:00:53 -05:00
Nicolas Werner
935abee62e Fix unused capture warning 2021-02-02 12:57:21 -05:00
Joseph Donofry
2a858d84e2
Update format script again 2021-02-02 11:50:57 -05:00
Joseph Donofry
2bfd44755e
Try to fix format script and fix linting 2021-02-02 11:37:10 -05:00
Jedi18
2ff3c0c97e fixed global avatar updation in the dialog 2021-02-02 17:46:02 +05:30
Jedi18
cd3f719e43 add loading indicator 2021-02-02 17:24:08 +05:30
Jedi18
d535cc5e75 add error message and update avatars on avatar change in timeline and user profile dialog 2021-02-02 13:30:47 +05:30
DeepBlueV7.X
82e80d464d
Merge pull request #444 from LorenDB/dragDropTimeline
Allow drag/drop of files on whole timeline
2021-02-02 03:22:18 +01:00
Joseph Donofry
08dbdac3b7
Change bash variable check 2021-02-01 21:02:27 -05:00
Loren Burkholder
1c3e113d4e Allow drag/drop of files on whole timeline 2021-02-01 20:44:47 -05:00
Joseph Donofry
00885e41f8
Update wording on settings page for privacy timer 2021-02-01 19:07:04 -05:00
Joseph Donofry
1127aa7c91
Small UX fixes 2021-02-01 18:57:59 -05:00
Joseph Donofry
53c653a228
Merge remote-tracking branch 'nheko-im/master' into privacy_screen 2021-02-01 18:42:38 -05:00
Joseph Donofry
d59910a8f2
Remove redundant import and fix visible warning 2021-02-01 18:42:18 -05:00
Nicolas Werner
4874006501 Fix emojis with fe0f in the middle 2021-02-01 21:53:04 +01:00
DeepBlueV7.X
2b7bd09ad3
Merge pull request #431 from Jedi18/avatar_username_feature
Username editing (room specific and global)
2021-02-01 19:14:57 +01:00
Jedi18
c3e02240bf update room and global avatar through user profile 2021-02-01 22:13:04 +05:30
Weblate
50e2b5617f Translated using Weblate (Hungarian)
Currently translated at 81.2% (359 of 442 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-31 20:21:11 -05:00
Jedi18
0ebb2947ef focus and select text on clicking edit button 2021-01-30 14:08:02 +05:30
Weblate
f5693b56f0 Translated using Weblate (Russian)
Currently translated at 84.6% (374 of 442 strings)

Translated using Weblate (Russian)

Currently translated at 84.6% (374 of 442 strings)

Co-authored-by: Alexey Murz Korepov <murznn@gmail.com>
Co-authored-by: Artem <ego.cordatus@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2021-01-29 20:21:18 -05:00
Weblate
9709d6af16 Translated using Weblate (Hungarian)
Currently translated at 71.7% (317 of 442 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-29 20:21:18 -05:00
DeepBlueV7.X
5930b8eb31
Merge pull request #381 from LorenDB/centerUserInfo
Center user info dialog on the screen
2021-01-30 00:33:46 +01:00
Loren Burkholder
58dc79074c Close user profile dialog on Esc 2021-01-29 18:29:38 -05:00
Loren Burkholder
c3fa592018 make lint 2021-01-29 18:17:44 -05:00
Loren Burkholder
d8ebc0b3dc Fix warning about non-NOTIFYable property 2021-01-29 18:16:55 -05:00
Loren Burkholder
cd998d1c35 Center user info dialog on the screen 2021-01-29 18:16:50 -05:00
Jedi18
e09e587796 shifted isUsernameEditingAllowed to qml from c++ 2021-01-29 12:06:38 +05:30
Jedi18
9b5a287d14 made requeste changes 2021-01-29 11:55:24 +05:30
Jedi18
195bb0499b fix linting 2 2021-01-29 00:15:40 +05:30
Jedi18
fa7ad4f234 Shifted fetching of global username fom timeline model to user profile 2021-01-29 00:09:11 +05:30
Jedi18
3b82b2ff97 fix linting 2021-01-28 23:53:56 +05:30
Jedi18
b3f29f592b Changed edit method from double clicking to an edit button 2021-01-28 23:35:02 +05:30
Jedi18
87490c29cd Username can be edited by double clicking on text, added global user profile menu action in user info widget 2021-01-28 20:03:50 +05:30
Weblate
12bc7d4131 Translated using Weblate (Estonian)
Currently translated at 100.0% (442 of 442 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-01-27 22:30:04 -05:00
Nicolas Werner
1a2517e829 Bump version to 0.8.1 2021-01-27 22:13:06 +01:00
Nicolas Werner
105e097e02 Update changelog 2021-01-27 21:50:02 +01:00
Nicolas Werner
50564985cc Fix crash, when keys for no events were requested 2021-01-27 21:30:06 +01:00
Nicolas Werner
5fbf17f6ec Fix request key loops 2021-01-27 20:29:06 +01:00
Nicolas Werner
73244afdb8 Fix username completion deleting characters before it
fixes #421
2021-01-27 20:26:54 +01:00
Nicolas Werner
6c370b1f0e Update new translations 2021-01-27 19:49:41 +01:00
Weblate
982784883c Translated using Weblate (Estonian)
Currently translated at 100.0% (438 of 438 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-01-27 13:39:25 -05:00
Nicolas Werner
54cc77de0e Only select elements in completer when mouse is moved 2021-01-27 19:36:53 +01:00
Nicolas Werner
9e48659016 Add a few missing strings on the login page to translations 2021-01-27 19:24:06 +01:00
Nicolas Werner
d1280af2e4 Autoclose completer when space is pressed and no suggestion available 2021-01-27 19:19:21 +01:00
Nicolas Werner
498bfb89b3 Translate some of the new messages 2021-01-27 17:20:22 +01:00
Nicolas Werner
b07f26bde6 Update translations 2021-01-27 14:49:25 +01:00
Weblate
0ac7912f50 Translated using Weblate (Hungarian)
Currently translated at 62.7% (273 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-27 08:12:27 -05:00
Weblate
a413c538e4 Translated using Weblate (Hungarian)
Currently translated at 53.7% (234 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-27 01:21:08 -05:00
Jedi18
5e3f513655 update room specific username from userprofile 2021-01-27 11:03:08 +05:30
Joseph Donofry
bfeb766a91
Implement Privacy Screen
* Add handles for window focus gained / focus lossed and connect to timer
* Clean up some of the PrivacyScreen.qml code
* Connect settings to PrivacyScreen visibility
2021-01-26 17:23:28 -05:00
Joseph Donofry
cb93ac3402
Fix formatting 2021-01-26 00:03:09 -05:00
Joseph Donofry
0794f0a3fd
Initial commit for privacy screen
Missing window focus event and knowing when room is encryption
2021-01-25 23:46:55 -05:00
DeepBlueV7.X
e6dc1da22f
Merge pull request #419 from LorenDB/master
Use correct syntax for emoji generation script
2021-01-26 04:06:54 +01:00
Loren Burkholder
f0a6ad6ea4 Use updated emoji-test.txt 2021-01-25 22:05:21 -05:00
Loren Burkholder
61cc4cc37d Use correct syntax for emoji generation script 2021-01-25 22:04:26 -05:00
DeepBlueV7.X
a5cd283423
Merge pull request #418 from LorenDB/fixEmojiCategories
Fix emoji categories
2021-01-26 03:46:12 +01:00
Loren Burkholder
e57dc5ea83 Make lint 2021-01-25 21:41:25 -05:00
Loren Burkholder
7629e9b786 Use new enum structure in emoji generation script 2021-01-25 21:40:47 -05:00
Loren Burkholder
bc7cf9ef39 Get category switching working 2021-01-25 21:40:27 -05:00
Weblate
e3f95fcdab Translated using Weblate (Hungarian)
Currently translated at 48.2% (210 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-25 12:35:39 -05:00
Nicolas Werner
0b5269bfc0 Reload the timeline after key import 2021-01-25 17:06:27 +01:00
Nicolas Werner
e5d2e2b728 Remove test log message 2021-01-25 16:19:28 +01:00
Nicolas Werner
2165eb8cb8 Focus input area on room switch and reply change again
fixes #412
fixes #413
2021-01-25 16:17:14 +01:00
Nicolas Werner
be49d184be Make matrix link chat invites direct chats 2021-01-25 15:59:15 +01:00
Nicolas Werner
6313ecb7d4 Treat empty secrets as no secret 2021-01-25 15:28:35 +01:00
Nicolas Werner
f0102c1e55 Fix old messages being played back after limit reset 2021-01-24 20:02:24 +01:00
DeepBlueV7.X
fc76a939bb
Merge pull request #405 from rnhmjoj/move-state
Write database to the DataLocation
2021-01-24 06:00:23 +01:00
DeepBlueV7.X
a5944ab047
Merge pull request #406 from rnhmjoj/open-in
Add "open in external program" action
2021-01-24 05:52:44 +01:00
DeepBlueV7.X
b76865de61
Merge pull request #409 from Nheko-Reborn/appveyor-python
Add python 3 to path in appveyor
2021-01-24 05:51:35 +01:00
Nicolas Werner
219ed587ca Add python 3 to path in appveyor 2021-01-24 05:25:37 +01:00
c569ab24bc
Add "open in external program" action 2021-01-24 01:50:23 +01:00
0e628290af
Write database to the DataLocation 2021-01-24 00:40:19 +01:00
DeepBlueV7.X
ccc5903161
Merge pull request #403 from LorenDB/fixEmojiCategories
Get category switching working
2021-01-23 23:31:05 +01:00
Nicolas Werner
577d403be7 Fix emoji update script 2021-01-23 23:25:52 +01:00
Weblate
fdf5acac74 Translated using Weblate (Malayalam)
Currently translated at 13.3% (58 of 435 strings)

Co-authored-by: vachan-maker <revsamtp@hotmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ml/
Translation: Nheko/nheko
2021-01-23 17:14:02 -05:00
Weblate
7c0b05e89c Translated using Weblate (Hungarian)
Currently translated at 35.6% (155 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-23 17:14:02 -05:00
Weblate
66be966375 Translated using Weblate (Dutch)
Currently translated at 14.2% (62 of 435 strings)

Co-authored-by: Glael <glael@cock.li>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-01-23 17:14:01 -05:00
Nicolas Werner
7bc57f76f7 Request unknown message indices 2021-01-23 20:08:59 +01:00
DeepBlueV7.X
049278bc35
Merge pull request #395 from LorenDB/master
A few small things
2021-01-23 02:40:22 +01:00
Loren Burkholder
cd426d8f75 Use colors.mid for Completer border 2021-01-22 20:38:09 -05:00
DeepBlueV7.X
a082a98ede
Merge pull request #393 from LorenDB/mdCommands
Markdown setting override commands
2021-01-23 02:02:59 +01:00
DeepBlueV7.X
f956d012a9
Remove useless parentheses 2021-01-23 00:51:29 +00:00
Nicolas Werner
80eb2d915d Fix Qt < 5.14 compat 2021-01-23 01:47:22 +01:00
Loren Burkholder
7e374a205c Fix UserProfile's behavior in dark theme 2021-01-22 19:18:56 -05:00
Nicolas Werner
6ae1a5e8ad Persist hidden tags 2021-01-23 00:49:28 +01:00
Nicolas Werner
fdb9d7ab40 Allow users to hide rooms with specific tags 2021-01-23 00:49:28 +01:00
Nicolas Werner
97340bed13 Fix font tags showing up in playable media messages 2021-01-23 00:49:28 +01:00
Loren Burkholder
98e7532854 Move profile item to System 2021-01-22 18:43:15 -05:00
DeepBlueV7.X
4f80fbea97
Merge pull request #398 from Jedi18/master
Fix assert failure due to calling versionOk on a different thread
2021-01-22 17:06:31 +01:00
Weblate
5483c00411 Added translation using Weblate (Malayalam)
Co-authored-by: vachan-maker <revsamtp@hotmail.com>
2021-01-22 09:08:26 -05:00
Weblate
d6eb4475c9 Translated using Weblate (Hungarian)
Currently translated at 32.6% (142 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-22 07:35:24 -05:00
Jedi18
d7bdff27b0 Fix assert failure due to calling versionOk on a different thread 2021-01-22 11:47:19 +05:30
Weblate
1a4b009c7d Translated using Weblate (Finnish)
Currently translated at 43.9% (191 of 435 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2021-01-21 21:54:13 -05:00
Nicolas Werner
1c98426536 Fix tags 2021-01-22 03:18:36 +01:00
Loren Burkholder
97c8b5c78c Rename Provider_new.cpp to Provider.cpp
It isn't new any more.
2021-01-21 20:04:46 -05:00
Loren Burkholder
b1f8397499 Add border to Completer to distinguish it from the window 2021-01-21 19:05:34 -05:00
Loren Burkholder
3508ed56a0 Add item for reporting whether profiles are used 2021-01-21 19:05:12 -05:00
Nicolas Werner
1a83a982fc Properly skip device, if it has no keys 2021-01-21 19:25:00 +01:00
Nicolas Werner
db961204c8 Move GNUInstallDirs after the project languages 2021-01-21 19:23:21 +01:00
Nicolas Werner
3b0d14b1b9 Actually use stored size in splitter after restart 2021-01-21 13:45:50 +01:00
Nicolas Werner
f31e2ffc7b Handle devices without keys 2021-01-21 13:21:34 +01:00
Loren Burkholder
06f6a5bcca Clarify how markdown is determined 2021-01-20 21:12:07 -05:00
Loren Burkholder
1d93570814 Make lint 2021-01-20 18:22:24 -05:00
Loren Burkholder
91155bf803 Add commands to override Markdown setting 2021-01-20 18:22:24 -05:00
DeepBlueV7.X
f47bedff23
Merge pull request #388 from LorenDB/fixBorkedDbus
Keep DBUS from blocking
2021-01-21 00:11:41 +01:00
Nicolas Werner
2605ce9a89 Clean up notification watching a bit 2021-01-20 23:59:27 +01:00
Weblate
b5ead0e80d Translated using Weblate (Hungarian)
Currently translated at 24.1% (105 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-20 17:36:40 -05:00
Nicolas Werner
f05fe0b371 Merge branch 'fixBorkedDbus' of https://github.com/LorenDB/nheko into LorenDB-fixBorkedDbus 2021-01-20 23:19:30 +01:00
Loren Burkholder
89304a5c6b Fix crash 2021-01-20 16:52:37 -05:00
Loren Burkholder
9c154e9747 Fix error in assignment of image/text 2021-01-20 16:15:14 -05:00
Loren Burkholder
cf4f50dac8 Use deleteLater() instead of delete 2021-01-20 16:13:21 -05:00
Loren Burkholder
1479743e70 Use async call in closeNotification 2021-01-20 16:09:25 -05:00
Loren Burkholder
ac36e92447 Make watcher a pointer so that it doesn't get destroyed too soon 2021-01-20 16:08:56 -05:00
Weblate
1d270559f9 Translated using Weblate (Hungarian)
Currently translated at 20.6% (90 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-20 11:00:25 -05:00
Nicolas Werner
a9faecea47 Bump version 2021-01-20 01:15:28 +01:00
Loren Burkholder
7727c0d249 make lint 2021-01-19 18:47:44 -05:00
Nicolas Werner
6f17e2ff6e Fix flickable direction for MessageInput 2021-01-20 00:47:34 +01:00
Loren Burkholder
b04a7fbef6 Remove showNotification function 2021-01-19 18:47:18 -05:00
Loren Burkholder
e2d89e093a Use async call 2021-01-19 18:46:25 -05:00
DeepBlueV7.X
e742869385
Merge pull request #387 from Nheko-Reborn/fix-appvecor-download
Download newer installer framework from mirror while official repos a…
2021-01-20 00:43:13 +01:00
Loren Burkholder
70a4e1e265 Keep DBUS from blocking 2021-01-19 18:30:04 -05:00
Nicolas Werner
6d47bb189d Download newer installer framework from mirror while official repos are down 2021-01-20 00:03:03 +01:00
Nicolas Werner
32a20a5f8c Simplify section handling a bit 2021-01-19 23:58:40 +01:00
DeepBlueV7.X
9192dc8ae5
Merge pull request #385 from trilene/master
Support webcams that report [min,max] frame rates
2021-01-19 23:40:16 +01:00
trilene
5ef837af6d Support webcams that report [min,max] frame rates 2021-01-19 15:24:25 -05:00
Weblate
b51bf6748b Translated using Weblate (Finnish)
Currently translated at 42.7% (186 of 435 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2021-01-19 11:13:56 -05:00
Weblate
eee3964084 Translated using Weblate (Hungarian)
Currently translated at 11.7% (51 of 435 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-19 11:13:56 -05:00
Weblate
7b393e8b65 Translated using Weblate (Estonian)
Currently translated at 100.0% (435 of 435 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-01-19 11:13:56 -05:00
Nicolas Werner
5105d2cb96 Fix crash when persisting null relations 2021-01-19 14:21:04 +01:00
Nicolas Werner
3d8f16e6c5 Add some missing things to changelog 2021-01-19 13:46:13 +01:00
DeepBlueV7.X
38540495c4
Merge pull request #384 from trilene/master
Fix typo
2021-01-19 04:42:55 +01:00
trilene
150046233b Fix typo 2021-01-18 21:49:27 -05:00
Nicolas Werner
15750872de Fix completer opening in wrong place after warning fix 2021-01-19 03:31:00 +01:00
Nicolas Werner
d11978ac1b Fix qml warnings 2021-01-19 03:25:56 +01:00
Nicolas Werner
74c9af0432 Fix presence unknown type warning 2021-01-19 03:16:59 +01:00
Nicolas Werner
38dee9b7f9 Update translations 2021-01-19 01:51:23 +01:00
Weblate
2d4b9f627b Translated using Weblate (Estonian)
Currently translated at 94.1% (416 of 442 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-01-18 19:49:58 -05:00
Weblate
82539878bc Translated using Weblate (Hungarian)
Currently translated at 6.7% (30 of 442 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-18 19:49:11 -05:00
DeepBlueV7.X
5f82f002df
Merge pull request #383 from jasikpark/patch-1
Update `brew` install command
2021-01-19 01:21:43 +01:00
Caleb Jasik
ea6c8ccb10
Update brew install command
Brew has moved away from using the `brew cask` command, so either `brew install nheko` or `brew install --cask nheko` should probably be reccomended instead.

They are trying to combine casks and formulas into the same commands, where you can specify `--formula` or `--cask` to get the old behavior.
2021-01-18 17:37:38 -06:00
Nicolas Werner
8aa44852cc update translations 2021-01-19 00:29:49 +01:00
DeepBlueV7.X
8f3231aa2c
Merge pull request #382 from LorenDB/master
Update Esperanto translation
2021-01-19 00:27:33 +01:00
Loren Burkholder
c2c4530784 Update Esperanto translation 2021-01-18 17:10:50 -05:00
Nicolas Werner
240c3062c1 Fix mistakes in CHANGELOG 2021-01-18 22:22:24 +01:00
Nicolas Werner
ec989f2900 Update changelog for 0.8.0 2021-01-18 21:59:37 +01:00
Nicolas Werner
123a1ed342 Update changelog for 0.8.0 2021-01-18 21:58:38 +01:00
Nicolas Werner
bcfa683468 Improve hover stuff, needs HoverHandler for a proper fix 2021-01-18 21:58:38 +01:00
Nicolas Werner
6a0de004a2 Fix placeholderTextColor not supported below Qt 5.12 2021-01-18 13:44:26 +01:00
Nicolas Werner
7040be1d09 Fix kick translation 2021-01-18 13:25:27 +01:00
Nicolas Werner
fcc1358e6b Fix more anchors.centerIn 2021-01-18 12:43:27 +01:00
Weblate
b43562d4f5 Translated using Weblate (Estonian)
Currently translated at 92.9% (411 of 442 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-01-17 22:30:04 -05:00
Nicolas Werner
724e6436ee Remove unused stuff in profile 2021-01-18 00:53:07 +01:00
DeepBlueV7.X
20885dd66a
Merge pull request #378 from LorenDB/readReceipts
Display read receipts when read indicator is clicked
2021-01-17 23:55:58 +01:00
Weblate
d919e925ca Translated using Weblate (Hungarian)
Currently translated at 6.1% (27 of 442 strings)

Co-authored-by: maxigaz <maxigaz@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/hu/
Translation: Nheko/nheko
2021-01-17 09:12:07 -05:00
Weblate
829f2e3cb3 Added translation using Weblate (Hungarian)
Co-authored-by: maxigaz <maxigaz@protonmail.com>
2021-01-17 04:15:04 -05:00
Weblate
d21c14d261 Translated using Weblate (French)
Currently translated at 97.2% (430 of 442 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-01-16 22:30:05 -05:00
Nicolas Werner
07e71e6eae Fix crash with ScrollView 2021-01-17 04:05:02 +01:00
Loren Burkholder
93b492e9e6 Only use a pointing hand if there is something to click on 2021-01-16 19:55:50 -05:00
Loren Burkholder
6f6d962ab9 Fix warning messages about null image path 2021-01-16 11:52:58 -05:00
Loren Burkholder
b46cd339a1 Fix tooltips 2021-01-16 11:41:37 -05:00
Loren Burkholder
8f7ca298bc
Simplify source URL construction
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2021-01-16 10:19:26 -05:00
Loren Burkholder
7671927fa4 Remove unnecessary properties; simplify hover code 2021-01-16 10:16:27 -05:00
Loren Burkholder
139ab146bb Use an ImageButton for the StatusIndicator
Incidentally, this allows ImageButtons to not change color.
2021-01-16 10:02:55 -05:00
DeepBlueV7.X
551515860e
Merge pull request #379 from LorenDB/fixTypo
Fix typo in README.md
2021-01-16 15:45:19 +01:00
Loren Burkholder
9579c8708b Fix typo 2021-01-16 09:44:44 -05:00
DeepBlueV7.X
81ef1c6e65
Merge pull request #380 from trilene/master
Translation fix
2021-01-16 15:38:52 +01:00
trilene
0f94ae435f Translation fix 2021-01-16 09:31:22 -05:00
Nicolas Werner
42b08257ec Make read markers a bit less confusing 2021-01-16 13:54:56 +01:00
Loren Burkholder
f520f8ce16 Display read receipts when read indicator is clicked 2021-01-15 20:46:43 -05:00
Weblate
fa67b5b0f8 Translated using Weblate (Italian)
Currently translated at 58.1% (257 of 442 strings)

Translated using Weblate (Italian)

Currently translated at 58.1% (257 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Lorenzo Ancora <lorenzolucio+github@live.it>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/it/
Translation: Nheko/nheko
2021-01-15 20:45:05 -05:00
Weblate
beee0e866c Translated using Weblate (Swedish)
Currently translated at 100.0% (442 of 442 strings)

Co-authored-by: Emilie <em@nao.sh>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/sv/
Translation: Nheko/nheko
2021-01-15 20:45:05 -05:00
Weblate
0135627843 Translated using Weblate (Chinese (Simplified))
Currently translated at 31.6% (140 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2021-01-15 20:45:04 -05:00
Weblate
aae270f44f Translated using Weblate (Romanian)
Currently translated at 60.1% (266 of 442 strings)

Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ro/
Translation: Nheko/nheko
2021-01-15 20:45:04 -05:00
Weblate
650e967d47 Translated using Weblate (Russian)
Currently translated at 85.0% (376 of 442 strings)

Translated using Weblate (Russian)

Currently translated at 85.0% (376 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Libre Hacker <librehacker@snopyta.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2021-01-15 20:45:04 -05:00
Weblate
8ce4e4a15c Translated using Weblate (Polish)
Currently translated at 44.3% (196 of 442 strings)

Translated using Weblate (Polish)

Currently translated at 44.3% (196 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 20:45:04 -05:00
DeepBlueV7.X
4467edd18e
Merge pull request #377 from LorenDB/master
Remove unused stuff
2021-01-16 02:30:48 +01:00
Loren Burkholder
fef042f131 Remove unused file 2021-01-15 19:18:00 -05:00
Loren Burkholder
b0c3fd5a7d Remove UserItem class 2021-01-15 19:17:29 -05:00
Weblate
40377689f9 Translated using Weblate (Polish)
Currently translated at 37.5% (166 of 442 strings)

Translated using Weblate (Polish)

Currently translated at 37.5% (166 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 17:33:14 -05:00
Weblate
b610071440 Translated using Weblate (Polish)
Currently translated at 27.6% (122 of 442 strings)

Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 17:29:07 -05:00
Weblate
27062f75c0 Translated using Weblate (Polish)
Currently translated at 27.3% (121 of 442 strings)

Translated using Weblate (Polish)

Currently translated at 27.3% (121 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 17:28:58 -05:00
Weblate
df1c4a9bba Translated using Weblate (Polish)
Currently translated at 22.1% (98 of 442 strings)

Translated using Weblate (Polish)

Currently translated at 22.1% (98 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 17:27:33 -05:00
Weblate
d95f885aec Translated using Weblate (Polish)
Currently translated at 21.7% (96 of 442 strings)

Co-authored-by: luff eman <userx@disroot.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2021-01-15 17:27:08 -05:00
Weblate
db128f7c07 Translated using Weblate (Romanian)
Currently translated at 14.9% (66 of 442 strings)

Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ro/
Translation: Nheko/nheko
2021-01-15 17:01:21 -05:00
Weblate
67f2a2e293 Translated using Weblate (Romanian)
Currently translated at 6.5% (29 of 442 strings)

Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ro/
Translation: Nheko/nheko
2021-01-15 16:59:20 -05:00
Weblate
1424da4706 Translated using Weblate (Romanian)
Currently translated at 6.3% (28 of 442 strings)

Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ro/
Translation: Nheko/nheko
2021-01-15 16:59:04 -05:00
Weblate
2132863a7e Translated using Weblate (Swedish)
Currently translated at 33.7% (149 of 442 strings)

Co-authored-by: Emilie <em@nao.sh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/sv/
Translation: Nheko/nheko
2021-01-15 14:36:33 -05:00
Weblate
1162b2d78a Translated using Weblate (Swedish)
Currently translated at 0.6% (3 of 442 strings)

Co-authored-by: Emilie <em@nao.sh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/sv/
Translation: Nheko/nheko
2021-01-15 13:44:24 -05:00
Weblate
31e2288f8d Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 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-01-15 13:44:24 -05:00
Nicolas Werner
759f0e3b30 Update translations 2021-01-15 19:29:00 +01:00
Weblate
e075d3c540 Translated using Weblate (English)
Currently translated at 97.9% (433 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2021-01-15 13:27:11 -05:00
Weblate
f8744e50ed Translated using Weblate (German)
Currently translated at 95.2% (421 of 442 strings)

Translated using Weblate (German)

Currently translated at 95.2% (421 of 442 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2021-01-15 13:27:11 -05:00
Nicolas Werner
1e6b48a916 Update German translation 2021-01-15 19:15:40 +01:00
Nicolas Werner
2bb49fe02a Update German translation 2021-01-15 17:25:09 +01:00
Nicolas Werner
a42ac6c8c0 Update German translation 2021-01-15 16:03:30 +01:00
Nicolas Werner
ca54de0b50 Update translations 2021-01-15 13:57:19 +01:00
Nicolas Werner
a68507b6a7 Merge branch 'flatpak-voip' into 'master'
Build gstreamer 1.18.3 in flatpak

See merge request nheko-reborn/nheko!5
2021-01-14 19:56:02 -05:00
DeepBlueV7.X
061e4c1b09
Merge pull request #374 from trilene/master
Add call invite screen for mobile
2021-01-15 01:36:50 +01:00
Nicolas Werner
a5e160b922 Build gstreamer 1.18.3 in flatpak 2021-01-15 00:51:43 +01:00
Nicolas Werner
60eb5d51a8 Update mtxclient with more explicit session backup errors
fixes #371
2021-01-14 19:39:06 +01:00
Nicolas Werner
0567f669c2 Don't start in tray, if only minimize to tray is enabled
fixes #375
2021-01-14 13:56:22 +01:00
trilene
dfe2f7dc57 Finesse mobile call invite screen 2021-01-13 16:00:41 -05:00
Nicolas Werner
024ffde08d Allow more font sizes to be selected
fixes #367
2021-01-13 02:02:00 +01:00
trilene
ebe61701d9 Fix spurious call invite timeout 2021-01-12 15:16:59 -05:00
trilene
a85823b68a Add call invite screen for mobile 2021-01-12 14:22:52 -05:00
Nicolas Werner
c16e2467da Fix attribute warnings 2021-01-12 16:45:22 +01:00
Nicolas Werner
14cb3bfe10 Don't use centerIn on popup on Qt < 5.12 2021-01-12 15:55:36 +01:00
Nicolas Werner
826a5cfb14 Use minimum required versions for qml imports 2021-01-12 15:04:31 +01:00
Nicolas Werner
6090d00251 Revert "Update QtQuick versions to match Qt 5.10"
This reverts commit 74e32dd96b.
2021-01-12 15:03:39 +01:00
Nicolas Werner
31881e14d9 Make it easier to understand, what button to click for verification from profile 2021-01-12 15:00:59 +01:00
Nicolas Werner
81762119b9 Make device verification request dialogs easier to understand. 2021-01-12 15:00:59 +01:00
Joseph Donofry
74e32dd96b
Update QtQuick versions to match Qt 5.10 2021-01-11 22:17:00 -05:00
Joseph Donofry
a8877c39f4
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2021-01-11 20:22:57 -05:00
Joseph Donofry
9be466754e
Add ripple to completer 2021-01-11 20:22:40 -05:00
Joseph Donofry
9a604d3821
Clean up Avatar click event handling 2021-01-11 20:02:39 -05:00
DeepBlueV7.X
b6f2acfed5
Merge pull request #373 from Nheko-Reborn/misc-fixes
Misc fixes
2021-01-12 00:07:20 +01:00
Nicolas Werner
2a19783f99 Fix timeline becoming corrupted on backfill
Fixes #273
2021-01-12 00:02:18 +01:00
Joseph Donofry
22f7841848
Forgot to save res.qrc 2021-01-11 17:54:04 -05:00
Joseph Donofry
3ff8b3ad8c
Merge master and fix conflicts 2021-01-11 17:51:39 -05:00
Joseph Donofry
1bc2db4bdf
Add Ripple effects to qml buttons and avatar 2021-01-11 17:50:26 -05:00
Nicolas Werner
947e40bd70 Allow joins via other servers from a matrix: uri 2021-01-11 19:15:43 +01:00
DeepBlueV7.X
b8b642219d
Merge pull request #372 from deepbluev7/fix-pr-CI
Fix branch name in PRs
2021-01-11 00:57:32 +01:00
Nicolas Werner
c1d5df44d9 Fix branch name in PRs 2021-01-11 00:02:19 +01:00
DeepBlueV7.X
d8fb5daac1
Merge pull request #370 from Nheko-Reborn/matrix-scheme
Handle matrix scheme
2021-01-10 23:29:30 +01:00
Nicolas Werner
39f9b7d90a Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
2021-01-10 22:41:56 +01:00
DeepBlueV7.X
fcedfac597
Merge pull request #369 from trilene/master
Fix call invite declined on another device
2021-01-10 18:46:57 +01:00
trilene
3572c111f3 Fix call invite declined on another device 2021-01-10 12:23:58 -05:00
Nicolas Werner
cc9de7f3b0 Fix some nulls in relations 2021-01-08 12:48:39 +01:00
Nicolas Werner
e9519689f1 Bump gstreamer requirement 2021-01-07 16:13:33 +01:00
DeepBlueV7.X
49abcb24b5
Merge pull request #356 from trilene/call-dialogs-qml
Port call dialogs to Qml
2021-01-07 15:56:46 +01:00
trilene
cf8a47503f Fix device discovery under GStreamer 1.16 2021-01-07 09:48:25 -05:00
trilene
2bd8a386e2 Color and icon button spacing fixes 2021-01-07 14:04:54 +01:00
trilene
9bbade37de Fix call answered on another device 2021-01-07 14:04:54 +01:00
trilene
2984d71971 Fix Qml control colors 2021-01-07 14:04:54 +01:00
trilene
4123e6aff1 Fix previous commit 2021-01-07 14:04:54 +01:00
trilene
1c4a86e502 Set Label text color explicitly 2021-01-07 14:04:54 +01:00
trilene
13a280df13 Finesse PlaceCall dialog 2021-01-07 14:04:54 +01:00
trilene
6427687d20 Add missing translation marks 2021-01-07 14:04:54 +01:00
trilene
87d2074c81 Add devices dialog to CallInviteBar 2021-01-07 14:04:54 +01:00
trilene
055c6f7248 Add device combos to PlaceCall dialog 2021-01-07 14:04:54 +01:00
trilene
d315d02ee6 Use Layout margins 2021-01-07 14:04:54 +01:00
trilene
07ac7b7e85 Port PlaceCall dialog to Qml 2021-01-07 14:04:50 +01:00
trilene
459c59901e Fix one-way video calls 2021-01-07 14:04:21 +01:00
trilene
7124024977 Make call invites less intrusive 2021-01-07 14:04:21 +01:00
trilene
ac410f46f2 Move call-related properties to CallManager 2021-01-07 14:04:21 +01:00
Nicolas Werner
4e6df2edcb Fix notification reply build on other platforms 2021-01-07 11:21:10 +01:00
Nicolas Werner
4b4c321397 Allow inline replies from notifications on linux 2021-01-07 10:44:59 +01:00
Nicolas Werner
236bf09a0e Explicitly mention, if call support is enabled at build time
fixes #366
2021-01-06 16:47:35 +01:00
Nicolas Werner
1db68109fc Merge branch 'macos-ci-fix' into 'master'
Macos ci fix

See merge request nheko-reborn/nheko!3
2021-01-06 08:02:00 -05:00
Nicolas Werner
4ead72fdc1 Remove sodium from flatpak 2021-01-06 12:47:13 +01:00
Nicolas Werner
f3b6e994d0 Remove useless capture 2021-01-06 11:24:35 +01:00
Nicolas Werner
0c0c69074d Fix shadowing in LoginPage.cpp 2021-01-06 11:01:41 +01:00
Nicolas Werner
03d817d277 Force override macos deps in CI 2021-01-06 10:39:07 +01:00
DeepBlueV7.X
133302d334
Merge pull request #365 from Nheko-Reborn/typing
Typing flickering fixes
2021-01-05 22:45:40 +01:00
Nicolas Werner
3a41bb9fff Fix typing notifications flickering sometimes 2021-01-05 22:38:21 +01:00
Nicolas Werner
5ca043ad87 Fix user status that got lost at some point 2021-01-04 15:14:40 +01:00
Nicolas Werner
a13502b881 lint 2021-01-01 04:14:34 +01:00
DeepBlueV7.X
aab7447d02
Merge pull request #364 from d42/d42/find-sso-flow
Try to find SSO flow in all of the server flows
2021-01-01 04:13:49 +01:00
d42
b732ea432b rename login_method -> loginMethod to fit the Nheko coding style 2020-12-31 17:57:09 +01:00
d42
4bc25ffb15 find sso flow in all of the flows 2020-12-31 17:30:13 +01:00
DeepBlueV7.X
afdd35db22
Merge pull request #363 from trilene/master
Add Fedora build requirements to README
2020-12-31 04:11:38 +01:00
trilene
6533269611 Add Fedora build requirements to README 2020-12-30 16:02:11 -05:00
DeepBlueV7.X
caaa832319
Merge pull request #361 from Nheko-Reborn/keychain-in-flatpak
Link keychain in flatpak statically
2020-12-29 08:57:34 +01:00
Nicolas Werner
63f0d6bf27 Fix missing include on Windows 2020-12-28 23:34:42 +01:00
Nicolas Werner
d84f6a7091 Link keychain in flatpak statically 2020-12-28 22:59:42 +01:00
Nicolas Werner
102ef05cfe Merge branch 'ci-cleanups-and-experiments' into 'master'
Remove travis and build appimages on gitlab

See merge request nheko-reborn/nheko!2
2020-12-27 16:59:10 -05:00
Nicolas Werner
391b1b3285 Fix #359
Actually store the login details under the selected profile
2020-12-27 22:56:54 +01:00
Nicolas Werner
71aea17ac6 Expose appimage 2020-12-26 04:52:03 +01:00
Nicolas Werner
16bfe2a930 Remove travis 2020-12-26 04:23:28 +01:00
Nicolas Werner
bfcb659d60 Upload appimage to matrix 2020-12-26 03:55:05 +01:00
Nicolas Werner
3eb836abb1 Fixup library paths 2020-12-26 03:48:29 +01:00
Nicolas Werner
f0a355c9cb AppImages in gitlab 2020-12-26 01:38:35 +01:00
Nicolas Werner
525b319a94 lint 2020-12-25 19:20:25 +01:00
Nicolas Werner
b26a6bd9d2 Remove s3 upload for nightlies 2020-12-25 18:30:40 +01:00
DeepBlueV7.X
ea5f6ca0f4
Merge pull request #358 from Nheko-Reborn/windows-fixes
Windows fixes
2020-12-25 05:59:18 +01:00
Nicolas Werner
904cafcd39 lint 2020-12-25 04:11:47 +01:00
Nicolas Werner
be9df45af9 Use vs2019 for CI 2020-12-25 04:11:24 +01:00
DeepBlueV7.X
3a047ffe30
Merge pull request #323 from LorenDB/newProfile
Set up new method of using profiles
2020-12-25 03:31:22 +01:00
Loren Burkholder
af52ceb387 Remove unused variable 2020-12-24 21:16:46 -05:00
LorenDB
53f45bdb1c Switch profile code to a more flexible method
This introduces a new version of SingleApplication as well.
2020-12-24 21:16:46 -05:00
Nicolas Werner
01e38d12ed Fix some compiler warnings 2020-12-25 00:08:06 +00:00
DeepBlueV7.X
100b5e0371
Merge pull request #357 from LorenDB/qkchdocs
Add qtkeychain to install lists
2020-12-20 04:07:17 +01:00
Loren Burkholder
6fc0b95cae Add qtkeychain to dependency installs 2020-12-19 22:05:59 -05:00
Weblate
34f45003cd Translated using Weblate (Estonian)
Currently translated at 100.0% (412 of 412 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
2020-12-19 15:20:55 -05:00
DeepBlueV7.X
45701b0896
Merge pull request #355 from Nheko-Reborn/ssss
Cross-signing with self and user signing keys
2020-12-18 15:20:11 +01:00
Nicolas Werner
3b900bdcd2 Fix unused capture 2020-12-18 14:35:41 +01:00
Nicolas Werner
fac28bac1a Another shadowed variable 2020-12-18 04:42:24 +01:00
Nicolas Werner
02163636a6 Fix some shadow warnings 2020-12-18 04:21:51 +01:00
Nicolas Werner
15d8eb2b8b Update deps for keychain 2020-12-18 03:53:57 +01:00
Nicolas Werner
994c28ea95 Add download keys from secret storage 2020-12-18 03:04:18 +01:00
Weblate
d4dfd84e7b Translated using Weblate (Finnish)
Currently translated at 54.3% (224 of 412 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2020-12-17 20:56:58 -05:00
Nicolas Werner
9d2177afe2 Request secrets after verification 2020-12-17 03:16:06 +01:00
Nicolas Werner
9413f5b8e5 Upload cross-signing signatures after verification 2020-12-17 02:34:32 +01:00
Nicolas Werner
7b46aa2a6e Store secrets in keychain 2020-12-16 22:10:09 +01:00
Nicolas Werner
7f1f747203 Fix black cat emoji 2020-12-15 21:53:51 +01:00
Nicolas Werner
559ed57565 Fix crash when we don't have device keys cached 2020-12-15 18:59:08 +01:00
Nicolas Werner
74f17bdc60 Clean up encrypted message handling 2020-12-15 16:09:47 +01:00
Nicolas Werner
9825f1bbd0 Send SSSS requests 2020-12-15 15:48:33 +01:00
Nicolas Werner
b8ce9d543d Fix scrolling the room list using touch 2020-12-15 00:17:56 +01:00
Nicolas Werner
97688763f6 Background color for code and don't collapse space in timeline 2020-12-14 02:21:58 +01:00
Nicolas Werner
7abeb1f1a4 React with arbitrary strings via /react 2020-12-13 16:23:04 +01:00
Nicolas Werner
703950273b Don't overflow room name 2020-12-13 16:05:48 +01:00
Nicolas Werner
65a4c85ed4 Don't sync db on every sync
This fixes some lag, when Nheko is running, which could affect Nheko and
even other applications by excessively calling fsync. This should be
fine, since all filesystems seem to guarantee order and in most cases,
the modified pages are still written. In the worst case we should only
lose the last /sync results or similar.
2020-12-13 01:29:35 +01:00
Nicolas Werner
dc1dd6e2e6 Remove some travis builds 2020-12-13 01:29:35 +01:00
Joseph Donofry
c97b988c57
Start addressing gstreamer deps on macos ci build 2020-12-08 22:14:55 -05:00
Joseph Donofry
0436ca080b
Change pip to pip3 2020-12-08 17:18:22 -05:00
Joseph Donofry
3bab88abb7
Add dmgbuild to macos build 2020-12-08 17:06:43 -05:00
Joseph Donofry
79e7eac7fc
More MacOS CI Updates 2020-12-08 16:32:04 -05:00
Joseph Donofry
0310c98046
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2020-12-08 15:57:16 -05:00
Joseph Donofry
cbcdec527d
Add VERSION to macos build 2020-12-08 15:56:51 -05:00
DeepBlueV7.X
a551ede742
Merge pull request #352 from Nheko-Reborn/lint
lint
2020-12-08 21:38:02 +01:00
Nicolas Werner
a06e48d407 Update Readme CI link 2020-12-08 21:36:06 +01:00
Joseph Donofry
132de8d2b0
Add DMG build to Gitlab CI 2020-12-08 15:34:07 -05:00
Nicolas Werner
77002f17c8 lint 2020-12-08 21:10:27 +01:00
Nicolas Werner
622a9f709b Merge branch 'gitlab-ci' into 'master'
Update .gitlab-ci.yml

See merge request nheko-reborn/nheko!1
2020-12-08 13:40:44 -05:00
DeepBlueV7.X
5aa2218006
Merge pull request #349 from LorenDB/iconFromTheme
Use system icon where applicable
2020-12-04 11:33:34 +01:00
DeepBlueV7.X
5ad3351268
Merge pull request #350 from Kirillpt/russian-translate
update russian translate
2020-12-03 23:27:57 +01:00
Loren Burkholder
de858ca80c Use system icon where applicable 2020-12-03 17:27:33 -05:00
kirillpt
3efaa41a5d update russian translate 2020-12-03 23:35:26 +03:00
DeepBlueV7.X
412bbd3cc1
Merge pull request #348 from trilene/master
Add GStreamer requirements to README
2020-11-30 23:44:58 +01:00
trilene
7299103cf4 List needed gstreamer plugins explicitly 2020-11-30 17:42:08 -05:00
Kirillpt
68b2f6cb4f
Improve Register page (#346)
* add username error label, add word wrapping for error labels

* make lint

* last commits

* remove font, and remove some lambdas

* add QRegularExpression for regex

* improve review things

* add isModified() for checkFields()

* add check isModified() for  all fields in checkFields

* Update src/RegisterPage.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* remove emit call for showError

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 22:30:33 +00:00
trilene
bed6d99933 Add GStreamer requirements to README 2020-11-30 17:04:36 -05:00
DeepBlueV7.X
95667edb14
Merge pull request #347 from kamathmanu/avatarFullViewSupport
Add support for viewing avatar images in full size
2020-11-30 21:25:42 +01:00
kamathmanu
69997a3d74 Lint code 2020-11-30 15:10:59 -05:00
kamathmanu
d4cece2f4d
Update resources/qml/Avatar.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 14:58:50 -05:00
kamathmanu
a48c6353bf
Update resources/qml/Avatar.qml
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 14:58:37 -05:00
kamathmanu
0edd75949b Lint code 2020-11-30 14:56:39 -05:00
Nicolas Werner
39a0a340d8 Fix selection in input area by mouse 2020-11-30 18:53:25 +01:00
kamathmanu
e36b090c5b Add support for viewing avatar images in full size 2020-11-30 10:05:24 -05:00
Nicolas Werner
c64887cfa8 Fix shadow variable 2020-11-30 01:54:53 +01:00
Nicolas Werner
2ce129e6b6 Properly share and rotate sessions on member and device changes 2020-11-30 01:54:53 +01:00
Nicolas Werner
2290ebcf78 Remove outbound session storage 2020-11-30 01:54:53 +01:00
Nicolas Werner
c24f9a22a5 Load sessions lazily from db 2020-11-30 01:54:53 +01:00
Nicolas Werner
37b971adb2 Use proper flatpak sdk 2020-11-27 16:23:06 +01:00
Nicolas Werner
ab7a75a988 Update ci flatpak sdk 2020-11-27 01:36:48 +01:00
Nicolas Werner
0cc4ab7f17 Add gitlab ci 2020-11-27 01:32:41 +01:00
Nicolas Werner
7e29f119d3 Bump Qt version 2020-11-27 00:00:29 +01:00
Nicolas Werner
b2387df411 SkipEmptyParts was only added in Qt 5.14 2020-11-26 23:59:14 +01:00
Nicolas Werner
202e3debe6 Remove unnecessary capture of this 2020-11-26 23:55:47 +01:00
DeepBlueV7.X
4d29116922
Merge pull request #344 from Kirillpt/fix/togglebutton_using
Fix toggles in the remaining dialogues
2020-11-26 23:05:31 +01:00
kirillpt
e6723884a7 fix encryption toggles 2020-11-27 00:55:39 +03:00
kirillpt
5a3905b337 change Toggle behavior 2020-11-26 23:45:44 +03:00
DeepBlueV7.X
633fd31edc
Merge pull request #343 from Kirillpt/fix/textFieldvalidation
fix validation feature in TextInput
2020-11-26 20:07:19 +01:00
kirillpt
f0eb4bfe1e fix validation feature in TextInput, it was trouble in password field in the login page 2020-11-26 22:04:24 +03:00
Nicolas Werner
7c8a1598cb Update translations 2020-11-26 16:10:19 +01:00
Nicolas Werner
233a8a5dad Fix variable shadowing 2020-11-26 16:09:53 +01:00
DeepBlueV7.X
f78549f9b9
Merge pull request #341 from Kirillpt/issue_329
change 'redacted' for 'removed'
2020-11-26 16:06:35 +01:00
kirillpt
22997439ba change 'redacted' for 'removed' 2020-11-26 11:50:37 +03:00
Nicolas Werner
90cae987fd Bump max dbs 2020-11-26 00:19:09 +01:00
Nicolas Werner
c6661049f5 Update translations 2020-11-25 23:59:13 +01:00
Nicolas Werner
c31b9e2793 Fix race when reading members from db 2020-11-25 23:54:25 +01:00
Nicolas Werner
7cda502edd Add some db logging and clean up avatar urls a bit 2020-11-25 23:54:25 +01:00
DeepBlueV7.X
140d927463
Merge pull request #339 from Kirillpt/issue_331
fix #331
2020-11-25 22:18:28 +01:00
DeepBlueV7.X
2a5432d622
Merge pull request #340 from trilene/fix-call-bar
Fix ActiveCallBar
2020-11-25 22:04:22 +01:00
DeepBlueV7.X
c44513614f
Merge branch 'master' into fix-call-bar 2020-11-25 22:01:19 +01:00
DeepBlueV7.X
54d75466c7
Merge pull request #335 from Nheko-Reborn/qml-text-input
Qml text input
2020-11-25 21:59:23 +01:00
trilene
491ca1592a Fix ActiveCallBar 2020-11-25 15:54:54 -05:00
kirillpt
8b1bc6b35a fixed toggle weirdness in settings, after loads added setChecked for Toggles, and fix issues with startInTray 2020-11-25 22:05:10 +03:00
Nicolas Werner
b7505fe562 Open completer on tab 2020-11-25 19:05:12 +01:00
Nicolas Werner
08e9461611 Fix input focus when pressing reply button 2020-11-25 19:05:12 +01:00
Nicolas Werner
c74077a41f Implement Qml drag and drop 2020-11-25 19:05:12 +01:00
Nicolas Werner
0eb8d4126b Fix enter when no completion available 2020-11-25 19:05:12 +01:00
Nicolas Werner
bc93f24a22 Remove redundant user search suggestion code 2020-11-25 19:05:12 +01:00
Nicolas Werner
37df79f796 Show userid in completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
c07c326141 Linkify username completion 2020-11-25 19:05:12 +01:00
Nicolas Werner
0cf556fa20 Mouse selection of completions 2020-11-25 19:05:12 +01:00
Nicolas Werner
7cf66ea4f3 Split completion model into header and source 2020-11-25 19:05:12 +01:00
Nicolas Werner
9c8850a46c Match on each word in the completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
90ce4f23ab Fix index out of range on backspace in completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
8922a47776 Fix completer fuzzy match not applying after prefix match and insert being broken 2020-11-25 19:05:12 +01:00
Nicolas Werner
29625ae253 Fix some issues with completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
c2eea5cb55 Fix mimetype of media messages 2020-11-25 19:05:12 +01:00
Nicolas Werner
c8fa40a2df Use a trie for filtering completions (not fuzzy yet) 2020-11-25 19:05:12 +01:00
Nicolas Werner
b47d2a809c Remove old Textinput 2020-11-25 19:05:12 +01:00
Nicolas Werner
094c0b09ab Qml emoji completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
67dcc74c79 Simple prefix match for completions 2020-11-25 19:05:12 +01:00
Nicolas Werner
ecc7759973 Custom completer filtering 2020-11-25 19:05:12 +01:00
Nicolas Werner
add5903fb0 Working User completer 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
a3c4fece7e add per-room user model 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
07259b9cb7 use completion interface in emoji completions 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
00bc87b550 add completer interface (item roles) 2020-11-25 19:05:12 +01:00
Jussi Kuokkanen
748bf0cd98 rename CompletionModel to CompletionProxyModel 2020-11-25 19:05:12 +01:00
Nicolas Werner
cabeb1464c WIP Qml completer 2020-11-25 19:05:12 +01:00
Nicolas Werner
9d68d59465 Reenable Ctrl+U 2020-11-25 19:05:12 +01:00
Nicolas Werner
d14a5f8067 Reimplement message history 2020-11-25 19:05:12 +01:00
Nicolas Werner
921379a4cc Send typing updates from QML 2020-11-25 19:05:12 +01:00
Nicolas Werner
82c441dddd Move emoji picker to qml 2020-11-25 19:05:12 +01:00
Nicolas Werner
2bec5d083c Use old style connection (for Qt5.12) 2020-11-25 19:05:12 +01:00
Nicolas Werner
d1af1a8669 Move calls to new input bar 2020-11-25 19:05:12 +01:00
Nicolas Werner
a31d3d0816 Add file uploading 2020-11-25 19:05:12 +01:00
Nicolas Werner
0bb4885632 Basic text input in qml 2020-11-25 19:05:12 +01:00
Nicolas Werner
7a74b86340 Pasteable textinput 2020-11-25 19:05:11 +01:00
Nicolas Werner
35066900d1 Disable scroll helper on mobile 2020-11-25 19:05:11 +01:00
kirillpt
041c01f3a4 made this: if Tray become disabled and startInTray was enabled, startInTray before blocks, goes disabled too 2020-11-25 19:31:03 +03:00
kirillpt
c5419f8783 change \!disabled for enabled, because toggled return true if enabled 2020-11-25 19:05:31 +03:00
kirillpt
46605d86f2 maybe fix toggle work in code 2020-11-25 18:57:54 +03:00
DeepBlueV7.X
b9dcdbcb81
Merge pull request #337 from trilene/master
Mitigate webrtc race condition
2020-11-25 02:40:31 +01:00
trilene
9a8a584fa8 Mitigate webrtc race condition 2020-11-24 20:18:13 -05:00
DeepBlueV7.X
45e91a7ee4
Merge pull request #334 from Kirillpt/issue_292
fix #292
2020-11-25 00:22:15 +01:00
DeepBlueV7.X
d13a1c6494
Apply suggestions from code review 2020-11-25 00:21:45 +01:00
DeepBlueV7.X
ebe0cd79d7
Update src/ui/TextField.cpp 2020-11-25 00:10:13 +01:00
kirillpt
4e8a2d8c9e remove QFontMEtrics declaration 2020-11-25 02:03:25 +03:00
kirillpt
daf8531e3f fixed error_label_ below login button, now it's calculating height and uses correct word wrapping 2020-11-25 01:42:35 +03:00
kirillpt
3047f1a89f remove some useless matrixid layout, and move error_label_ under homeserver input(FIXME) 2020-11-24 02:16:03 +03:00
kirillpt
b00ee2c1c5 fix word wraping for matrixid error message 2020-11-24 00:24:26 +03:00
kirillpt
566987bdf9 make lint 2020-11-24 00:10:43 +03:00
kirillpt
ac73f10eba move error_matrixid label below matrixid input, made hide/show for the label, made red underline for invalid input, add to TextField class isValid() setValid() for custom validation 2020-11-23 23:33:53 +03:00
kirillpt
4032f6e113 make lint 2020-11-23 09:44:30 +03:00
kirillpt
8a2cfddf7e Added QLabel for matrixIdError output and added new function which output input id error, improve code like suggest @deepbluev7, return for error_label setWordWrap 2020-11-23 09:44:02 +03:00
kirillpt
ec34af3d85 make lint 2020-11-23 03:20:37 +03:00
kirillpt
89d28d3b69 fixed issue 292, but removed wordWrap from error_label_, because hint looks bad with it 2020-11-23 03:18:11 +03:00
DeepBlueV7.X
40a487109d
Merge pull request #332 from Kirillpt/russian-translate
Russian translate
2020-11-22 16:15:37 +01:00
kirillpt
b63c3a4d95 make update-translations 2020-11-22 17:23:41 +03:00
kirillpt
e2c18a3195 add more russian translations 2020-11-22 17:17:46 +03:00
Nicolas Werner
5df47c4b4a Make reply background a bit less saturated 2020-11-21 01:18:55 +01:00
Nicolas Werner
081bd8d5f1 Add some padding between scrollbar and messages 2020-11-21 01:10:38 +01:00
Weblate
7e0f3e1278 Added translation using Weblate (Swedish)
Co-authored-by: Emilie <em@nao.sh>
2020-11-19 12:28:18 -05:00
Nicolas Werner
0afc55626a Fix tags and world buttons leaking as communities leaking over the network 2020-11-18 13:29:28 +01:00
Nicolas Werner
371e5a2991 Silence signal syntax deprecated 2020-11-15 17:12:46 +01:00
DeepBlueV7.X
3ec8a291b6
Merge pull request #327 from kamathmanu/qtBackwardsCompatability
Make compatible with qt 5.12
2020-11-15 17:07:05 +01:00
kamathmanu
eb72fd2cf9 Make compatible with qt 5.12 2020-11-14 16:38:17 -05:00
DeepBlueV7.X
4d9d049f2a
Merge pull request #325 from trilene/webrtc-video
Make incoming call ringtone a user setting
2020-11-13 18:15:35 +01:00
trilene
ee543254e8 clang-format 2020-11-13 09:06:38 -05:00
trilene
8c037f83c5 Make incoming call ringtone a user setting 2020-11-12 19:55:35 -05:00
DeepBlueV7.X
9c4148cca3
Merge pull request #314 from MayeulC/smoothie-2
Smooth all the things [v2]
2020-11-12 14:04:06 +01:00
DeepBlueV7.X
27bf654d92
Merge pull request #320 from trilene/webrtc-video
Video calls: add local webcam view
2020-11-09 21:49:26 +01:00
DeepBlueV7.X
a2332934af
Merge pull request #319 from HarHarLinks/patch-1
Update README with element.io
2020-11-09 21:45:46 +01:00
trilene
d391404b79 Video calls: add local webcam view 2020-11-09 10:51:17 -05:00
Kim Brose
dabaceea67
Update README with element.io 2020-11-09 16:35:14 +01:00
Weblate
57b4b606ce Translated using Weblate (French)
Currently translated at 100.0% (411 of 411 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2020-11-07 17:50:11 -05:00
Mayeul Cantan
5f086cd93d Simplify PainterHighQualityEnabler code
There is no need to iterate over a list, flags can be applied and stored
simultaneously.
2020-11-07 13:54:06 +01:00
Mayeul Cantan
6219604ff8 Smooth avatars in widgets 2020-11-07 13:53:01 +01:00
Mayeul Cantan
2c542c398a Smooth pictures in timeline 2020-10-31 23:41:04 +01:00
Mayeul Cantan
a176f0bf35 Smooth Avatars in timeline
This helps on low-dpi screens, getting rid of the jaggies.
2020-10-31 23:40:45 +01:00
DeepBlueV7.X
c3524ba89b
Merge pull request #313 from MayeulC/shrug-text
Allow sending text after `shrug`
2020-10-31 23:16:52 +01:00
Mayeul Cantan
a66046aaf0 Allow sending text after shrug
¯\_(ツ)_/¯ IDK, I like to write something after, sometimes

Allow sending:

¯\_(ツ)_/¯ some text

By entering:

/shrug some text

It's supported in Element. If you did it in nheko, you just used to lose the
extra text.

Not putting text is still supported, a ternary operator makes sure a
space is only inserted if the text isn't empty, to avoid having a trailing
space.
2020-10-31 23:13:11 +01:00
DeepBlueV7.X
5fb3d4ede8
Merge pull request #310 from MayeulC/fix-typo
Improve wording in multiple strings.
2020-10-31 22:28:40 +01:00
Mayeul Cantan
eea7aecc04 Wording: replace "encrypted room" with "encrypted private chat"
This is for consistency with "Start a private chat", and is more
specific.
2020-10-31 22:23:55 +01:00
Mayeul Cantan
bb1f2da4dc Wording: change "Mobile mode" for "Touchscreen mode"
This is less ambiguous. Moreover, this mode might be useful on a
computer touchscreen.
2020-10-31 22:23:55 +01:00
Mayeul Cantan
7564de4f70 Wording: change "trusted users" for "verified users"
This is less ambiguous, as it aligns with the other uses.

Trusted might refer to something else, like the reputation project.
You can trust a user you haven't verified.

Also mention devices as this shares keys with verified devices, for when device
verification was performed without cross-signing.
2020-10-31 22:23:55 +01:00
Mayeul Cantan
a9a0635c02 Wording: Verification request isn't a request anymore once accepted
Replace it with "verification process".
2020-10-31 22:23:34 +01:00
DeepBlueV7.X
aafc214997
Merge pull request #312 from trilene/webrtc-video
Fix crash when stun server selected
2020-10-31 00:11:22 +01:00
trilene
20d2c44329 Fix crash when stun server selected 2020-10-30 17:23:56 -04:00
Nicolas Werner
888d004764 Supress unused var warning for STUN_SERVER (used only if gstreamer supported) 2020-10-30 03:22:48 +01:00
DeepBlueV7.X
b64e6e9cd5
Merge pull request #311 from trilene/webrtc-video
Support video calls
2020-10-30 03:21:14 +01:00
trilene
b260e7eeee Unused variable 2020-10-29 20:13:34 -04:00
trilene
a19c66b79f Remove unused variable 2020-10-29 19:47:09 -04:00
trilene
2838061f10 Avoid std::from_chars for now 2020-10-29 19:42:05 -04:00
trilene
51a559ab4a Document better rtp payload types 2020-10-29 19:17:10 -04:00
trilene
c370dd8313 Avoid ugly error if pipeline creation fails 2020-10-29 18:57:09 -04:00
Joseph Donofry
0a004b87de
Fix clipboard image pasting crash on macos 2020-10-28 20:47:39 -04:00
trilene
fd479a91be Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-28 16:08:17 -04:00
Nicolas Werner
2143881997 Make back button bigger as it is hard to tap with your thumb 2020-10-28 14:53:11 +01:00
DeepBlueV7.X
fd4f173966
Merge pull request #308 from Nheko-Reborn/build-opt
Optimize build
2020-10-28 14:50:00 +01:00
Weblate
1ba08f1ae7 Translated using Weblate (Russian)
Currently translated at 31.3% (129 of 411 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2020-10-28 08:20:30 -04:00
Weblate
3524e6f80d Translated using Weblate (Finnish)
Currently translated at 50.1% (206 of 411 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2020-10-28 08:20:30 -04:00
Weblate
6ef8e1729d Translated using Weblate (French)
Currently translated at 100.0% (411 of 411 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2020-10-28 08:20:30 -04:00
Weblate
775699d578 Translated using Weblate (Estonian)
Currently translated at 100.0% (411 of 411 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
2020-10-28 08:20:30 -04:00
Nicolas Werner
70f35de449 Don't pass around empty timeline 2020-10-28 13:06:28 +01:00
trilene
b1300aff46 Fix crash on exit 2020-10-27 17:26:46 -04:00
Nicolas Werner
2bac6d6c75 Fix ambiguous namespace on gcc7 2020-10-27 22:16:59 +01:00
Nicolas Werner
e939a6b396 No roomid on leave 2020-10-27 22:03:33 +01:00
trilene
d9ca5309ac Merge remote-tracking branch 'upstream/master' into webrtc-video 2020-10-27 15:29:53 -04:00
trilene
d1f3a3ef40 Support video calls 2020-10-27 13:14:06 -04:00
Nicolas Werner
12fff7408e Optimize build 2020-10-27 17:45:28 +01:00
Weblate
8047442661 Translated using Weblate (English)
Currently translated at 100.0% (411 of 411 strings)

Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2020-10-26 17:26:43 -04:00
Nicolas Werner
7f2d18c36d Fix small scope issue 2020-10-26 21:45:00 +01:00
Joseph Donofry
62651fab02
Run update-translations 2020-10-26 16:37:03 -04:00
Nicolas Werner
0e7baa21ab Disable new MessageInput, until you can paste images 2020-10-26 21:34:34 +01:00
Nicolas Werner
3d64df41da Split up TimelineView into separate components 2020-10-26 21:34:34 +01:00
Nicolas Werner
3a0e55e97b Qml message input mockup 2020-10-26 21:34:34 +01:00
DeepBlueV7.X
da085db6d6
Merge pull request #307 from LorenDB/ctrl-u
Delete text on Ctrl-U
2020-10-24 23:55:03 +02:00
Nicolas Werner
3d7bb22df4 Fix login 2020-10-24 18:07:14 +02:00
DeepBlueV7.X
592bf42640
Merge pull request #306 from LorenDB/master
Add option for separate profiles
2020-10-24 18:08:42 +02:00
LorenDB
a2bd266c11 Add option for unique config 2020-10-24 11:50:13 -04:00
Nicolas Werner
3172811ca7 Add mobile mode which improves scrolling 2020-10-24 16:21:00 +02:00
Nicolas Werner
53734607cf Fix copying text 2020-10-24 14:42:18 +02:00
Nicolas Werner
4797b9fa96 Fix infinite pagination properly now. 2020-10-23 19:42:23 +02:00
Nicolas Werner
1ab20e0ee3 Fix share keys setting not working 2020-10-23 16:59:46 +02:00
Nicolas Werner
e537ece88d Reload message on m.room_key 2020-10-23 16:09:56 +02:00
Nicolas Werner
e959443831 Speed up rendering the timeline by a LOT by reducing clipping
Sadly still required for replies, otherwise this would be perfect.
2020-10-22 21:02:39 +02:00
Nicolas Werner
66445c507c Trade CPU usage for 30MB of members in RAM 2020-10-22 20:49:15 +02:00
LorenDB
ce29bf00c7 Delete text on Ctrl-U 2020-10-21 22:18:51 -04:00
DeepBlueV7.X
b9f2caa238
Merge pull request #303 from LorenDB/master
Change the font box to QFontComboBox as per issue 238
2020-10-22 00:31:19 +02:00
LorenDB
8a188ac6f7 Use QFontComboBox as per issue 238 (deleted comments)
Note: I have deleted commented code as per the suggestion of @utkarsh2102.
Note 2: I have fixed all the diffs, etc.
2020-10-21 17:57:29 -04:00
DeepBlueV7.X
b977c1e621
Merge pull request #305 from Nheko-Reborn/encrypted_device_messages
Encrypted device messages
2020-10-20 23:12:51 +02:00
Nicolas Werner
911b461e5d Fix corrupt channel + add additional debugging 2020-10-20 21:35:49 +02:00
Nicolas Werner
cea7f4574f Clean up key requests + autoreload 2020-10-20 19:46:37 +02:00
Nicolas Werner
983690c94f Share code for sending encrypted olm messages 2020-10-20 18:10:09 +02:00
Nicolas Werner
aa9b453f81 Store timestamp with olm sessions 2020-10-20 13:46:05 +02:00
Nicolas Werner
b3a7f0b888 Hide room name, if not loaded yet 2020-10-18 22:30:42 +02:00
Nicolas Werner
1f68bc60b5 Actually forward keys using m.forwared_room_key 2020-10-18 02:02:14 +02:00
Nicolas Werner
c25fd947a8 Automatic key sharing with trusted users 2020-10-18 00:52:35 +02:00
Nicolas Werner
bd0deb7213 Fix crash on exit 2020-10-17 00:57:29 +02:00
Nicolas Werner
bc7494473b Answer key requests for all our sessions 2020-10-17 00:12:26 +02:00
DeepBlueV7.X
b23913fa7c
Merge pull request #301 from kamathmanu/issue266-filenameOnHover
Display filename on mouse hover
2020-10-16 12:44:45 +02:00
kamathmanu
e1c4f7d516 Make Text element a sibling of the Rectangle to avoid the text from depending on the rectangle's opacity property. Switch to Nheko theme colors 2020-10-15 11:52:49 -04:00
kamathmanu
e3c6656613 Avoid hardcoded font size 2020-10-14 18:07:09 -04:00
Weblate
70b5e1e08e Translated using Weblate (Estonian)
Currently translated at 90.2% (363 of 402 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
2020-10-13 23:19:42 -04:00
kamathmanu
a0c2a174ea Display filename on mouse hover 2020-10-13 16:24:42 -04:00
Nicolas Werner
62d0bdbb77 Fix small typo in robustness logic 2020-10-13 00:14:28 +02:00
Nicolas Werner
d075a90024 Fix emoji filter losing focus 2020-10-12 22:05:55 +02:00
Nicolas Werner
716992b761 Update translations 2020-10-11 00:09:47 +02:00
Joseph Donofry
3499abd99a
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2020-10-09 12:32:38 -04:00
Joseph Donofry
31c6857f19
Add some try...catch logic around read-only databases so nheko won't crash if the db doesn't exist 2020-10-09 12:32:21 -04:00
DeepBlueV7.X
82374791c4
Merge pull request #298 from LorenDB/master
Begin Esperanto translations
2020-10-09 16:02:11 +02:00
DeepBlueV7.X
a9c0684a5a
Merge pull request #299 from Nheko-Reborn/qml-linting
Lint qml with qml-format
2020-10-08 21:12:26 +02:00
Nicolas Werner
1a029112d9 Lint qml with qml-format 2020-10-08 21:11:21 +02:00
DeepBlueV7.X
517a126a44
Merge pull request #270 from Chethan2k1/device-verification
Device verification and Cross-Signing
2020-10-08 20:08:38 +02:00
Nicolas Werner
392d7d5568 Try to fix windows build 2020-10-08 20:07:43 +02:00
Nicolas Werner
57a6c05eab More unused variables in bindings 2020-10-08 19:29:42 +02:00
Nicolas Werner
684cfacfad Bump spdlog version 2020-10-08 19:12:14 +02:00
Nicolas Werner
56ba7de501 Fix unused variable warnings on old compilers 2020-10-08 18:49:35 +02:00
Nicolas Werner
8ec76daeda Send master key in verification flow (if we trust it) 2020-10-08 18:30:31 +02:00
Nicolas Werner
e5fb9a25ea Try to please the CI gods 2020-10-08 18:16:30 +02:00
Nicolas Werner
08d5a84cbd Fix issues with old qt and bump to 5.10 2020-10-08 17:26:07 +02:00
Nicolas Werner
99ba1f17d3 Merge remote-tracking branch 'origin/master' into cross-signing 2020-10-08 16:57:03 +02:00
Nicolas Werner
cd43147b77 Implement signature upload for own master key 2020-10-08 16:17:38 +02:00
Nicolas Werner
7b6fab3373 Calculate verification status from cross-signing sigs and update dynamically 2020-10-08 00:20:12 +02:00
LorenDB
d7c3fa844e Begin Esperanto translations 2020-10-07 16:52:14 -04:00
Nicolas Werner
64d5a193f1 Fix in room verification 2020-10-06 17:02:41 +02:00
Nicolas Werner
8a4d85f801 Show different verification errors 2020-10-05 22:58:07 +02:00
Nicolas Werner
bca29a4227 Make steps in verification flow explicit 2020-10-05 22:12:10 +02:00
Nicolas Werner
2a79cd2b6b Don't fail on missing key for a device and /rotate-megolm-session command 2020-10-03 18:38:28 +02:00
Nicolas Werner
abff61bb6c Fix nullopt when iterating reactions 2020-10-03 17:23:59 +02:00
Nicolas Werner
51964c4fd7 Clean up verification pages a bit 2020-10-02 17:33:04 +02:00
Nicolas Werner
d4dccc8e36 Fix room name 2020-10-02 16:58:13 +02:00
Nicolas Werner
600df6d2ec Fix fetching inexistent batch tokens 2020-10-02 16:39:20 +02:00
Nicolas Werner
c9de044e32 Handle forwarded room keys 2020-10-02 13:46:32 +02:00
Nicolas Werner
54e3c2c96b Fix verification start to start with request 2020-10-02 12:18:54 +02:00
DeepBlueV7.X
8110f22222
Merge pull request #294 from trilene/master
Bump mtxclient
2020-10-02 01:15:48 +02:00
Nicolas Werner
94690ebd4c Clean up verification and key cache a bit 2020-10-02 01:14:42 +02:00
trilene
28e9a7ad40 Bump mtxclient 2020-10-01 08:47:01 -04:00
trilene
4caa206483 Bump mtxclient 2020-10-01 08:21:51 -04:00
Weblate
1a97859930 Added translation using Weblate (Portuguese (Portugal))
Co-authored-by: Tnpod <tmpod@pm.me>
2020-09-30 07:02:24 -04:00
DeepBlueV7.X
e5cb8c08ba
Merge pull request #290 from trilene/master
Remove duplicate control from settings page
2020-09-26 19:09:14 +02:00
trilene
5bfe0cd178 Remove duplicate control from settings page 2020-09-26 12:07:03 -04:00
DeepBlueV7.X
5cce5b9999
Merge pull request #289 from trilene/master
Port ActiveCallBar to Qml
2020-09-25 19:29:21 +02:00
trilene
e57199412a Allow button colors override 2020-09-25 12:09:22 -04:00
trilene
aab6cb88a5 Fix build for those without GStreamer 2020-09-25 11:10:45 -04:00
trilene
3f73853e4b Move ActiveCallBar Qml to separate file 2020-09-25 10:26:36 -04:00
Nicolas Werner
4802c34009 Merge remote-tracking branch 'origin/master' into cross-signing 2020-09-24 21:36:43 +02:00
Weblate
5e0eb945ae Translated using Weblate (French)
Currently translated at 100.0% (359 of 359 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2020-09-23 19:09:47 -04:00
Weblate
0cca0f17ee Translated using Weblate (French)
Currently translated at 57.9% (208 of 359 strings)

Co-authored-by: Mayeul Cantan <mayeul.cantan@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2020-09-23 14:24:51 -04:00
trilene
44cfc8d22a clang-format 2020-09-22 12:14:15 -04:00
trilene
da27670cbe Port ActiveCallBar to Qml 2020-09-22 12:07:36 -04:00
Weblate
9169a26e67 Translated using Weblate (Estonian)
Currently translated at 100.0% (359 of 359 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
2020-09-21 03:43:10 -04:00
Nicolas Werner
54db9c89ed Simplify outbound session setup
Don't send inbound session to self and claim and send all keys at once.
2020-09-20 23:07:02 +02:00
Nicolas Werner
67302b3674 Fix some missing english translations 2020-09-20 14:05:26 +02:00
Nicolas Werner
4179be427f Fix binding loop when trying to reply 2020-09-20 08:59:35 +02:00
Weblate
beef474582 Translated using Weblate (Estonian)
Currently translated at 99.1% (356 of 359 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
2020-09-19 23:30:06 -04:00
Weblate
e59bf3564d Translated using Weblate (German)
Currently translated at 76.0% (273 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2020-09-19 23:30:06 -04:00
Nicolas Werner
0afe1299e2 Fix emoji escape in file messages
This disables color emojis for now in filenames
2020-09-19 22:55:25 +02:00
Nicolas Werner
7b7d29737f Fix cut off english translation. 2020-09-19 18:30:47 +02:00
DeepBlueV7.X
fe325f9266
Merge pull request #285 from Lurkki14/master
Use Rectangle for typing users so it doesn't overlap with the timeline
2020-09-19 17:02:53 +02:00
Weblate
6c63762aa4 Translated using Weblate (Estonian)
Currently translated at 77.9% (280 of 359 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
2020-09-19 10:11:40 -04:00
Weblate
0a7189b6a1 Translated using Weblate (English)
Currently translated at 99.4% (357 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2020-09-19 10:11:40 -04:00
Weblate
b4eb1c6df9 Translated using Weblate (English)
Currently translated at 97.7% (351 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2020-09-19 10:07:27 -04:00
Weblate
a253eda5fd Translated using Weblate (English)
Currently translated at 91.0% (327 of 359 strings)

Translated using Weblate (English)

Currently translated at 91.0% (327 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2020-09-19 09:58:02 -04:00
Weblate
145e207848 Translated using Weblate (Estonian)
Currently translated at 86.0% (309 of 359 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
2020-09-19 09:58:02 -04:00
Weblate
78572d9d88 Translated using Weblate (English)
Currently translated at 82.1% (295 of 359 strings)

Translated using Weblate (English)

Currently translated at 82.1% (295 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Mihai Fufezan <fufexan@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
2020-09-19 09:46:26 -04:00
Weblate
b2c3639f04 Translated using Weblate (German)
Currently translated at 93.8% (337 of 359 strings)

Translated using Weblate (German)

Currently translated at 93.8% (337 of 359 strings)

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2020-09-19 09:46:26 -04:00
Nicolas Werner
4b36585e47 Fix typo in encryption error message 2020-09-19 15:45:23 +02:00
Weblate
1e0962d97c Translated using Weblate (German)
Currently translated at 99.1% (356 of 359 strings)

Co-authored-by: Mr. X <shop.news@posteo.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2020-09-19 09:36:28 -04:00
Nicolas Werner
75d7c2608a Update translations 2020-09-19 15:32:33 +02:00
Weblate
f10970cc83 Translated using Weblate (Estonian)
Currently translated at 99.4% (332 of 334 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
2020-09-19 09:26:23 -04:00
Weblate
ea2f7283ca Translated using Weblate (Finnish)
Currently translated at 60.7% (203 of 334 strings)

Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2020-09-19 09:26:23 -04:00
Weblate
8cb45ef834 Translated using Weblate (German)
Currently translated at 97.3% (325 of 334 strings)

Translated using Weblate (German)

Currently translated at 97.3% (325 of 334 strings)

Co-authored-by: Marlon Kern <nheko@marlon-kern.de>
Co-authored-by: Mr. X <shop.news@posteo.de>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2020-09-18 22:19:32 -04:00
Weblate
5c5134cea2 Translated using Weblate (Estonian)
Currently translated at 53.2% (178 of 334 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
2020-09-18 22:19:32 -04:00
Jussi Kuokkanen
13658d536e make typing Rectangle extents cleaner 2020-09-18 16:18:31 +03:00
Jussi Kuokkanen
bafe181010 Merge branch 'master' of https://github.com/Lurkki14/nheko 2020-09-18 15:31:32 +03:00
Jussi Kuokkanen
438dcd3c5e Merge branch 'master' of https://github.com/Nheko-Reborn/nheko 2020-09-18 15:30:53 +03:00
Lurkki14
8741e5f36a
Set typing Rectangle color directly instead of Connection
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-09-18 14:55:48 +03:00
DeepBlueV7.X
791a01487b
Merge pull request #286 from trilene/voip
Adapt device monitoring for GStreamer 1.18
2020-09-17 23:27:25 +02:00
trilene
e065bf2205 Remove GStreamer version test 2020-09-17 16:50:13 -04:00
trilene
f7beb1b34e clang-format 2020-09-17 15:57:47 -04:00
trilene
8d7c70d912 Fix preprocessor directive 2020-09-17 15:17:06 -04:00
trilene
b527c5a21c Adapt device monitoring for GStreamer 1.18 2020-09-17 11:37:30 -04:00
Jussi Kuokkanen
1f71f7227a make Rectangle to fill the gap between input widget and typing users 2020-09-17 17:52:40 +03:00
Jussi Kuokkanen
c463568031 simplify check for no typing users 2020-09-17 17:50:39 +03:00
Jussi Kuokkanen
7d72356318 Merge branch 'master' of https://github.com/Nheko-Reborn/nheko 2020-09-17 16:51:50 +03:00
Jussi Kuokkanen
e49691fe3b use Rectangle for typing users so it doesn't overlap with the timeline 2020-09-17 16:49:56 +03:00
DeepBlueV7.X
c62db00e6f
Merge pull request #284 from Nheko-Reborn/hidden-events
Hidden events backend
2020-09-17 07:36:37 +02:00
Nicolas Werner
c5f93efcd3 Actually use room account data 2020-09-16 23:49:17 +02:00
Nicolas Werner
8af056faa9 Fix avatars in notifications 2020-09-16 23:49:17 +02:00
Nicolas Werner
fef0cc2d71 Fix some images not showing up 2020-09-16 23:49:17 +02:00
Nicolas Werner
c2f2e8324c Update blurhash 2020-09-16 23:49:17 +02:00
Nicolas Werner
b05c101021 Fix null errors in qml 2020-09-16 23:49:17 +02:00
Nicolas Werner
77e241b9e5 Reenable top bar room settings menus on avatar or title clicks
Also fixes a bug with an empty room settings window introduced in the
port.
2020-09-16 23:49:17 +02:00
Nicolas Werner
640b0ee405 Port top bar to Qml
Also fixes some resize issues with stupid workarounds to our resize
logic. This really needs to be cleaned up at some point!
2020-09-16 23:49:17 +02:00
DeepBlueV7.X
66d6307252
Merge pull request #283 from trilene/voip
Remove bus watch when call ends
2020-09-16 21:06:57 +02:00
trilene
2526a5604e Remove bus watch when call ends 2020-09-16 07:29:26 -04:00
Weblate
9b8e696979 Translated using Weblate (Estonian)
Currently translated at 40.7% (136 of 334 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
2020-09-15 15:45:25 -04:00
Weblate
83f0e2772c Translated using Weblate (Estonian)
Currently translated at 16.1% (54 of 334 strings)

Translated using Weblate (Estonian)

Currently translated at 16.1% (54 of 334 strings)

Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko
2020-09-15 14:37:14 -04:00
Weblate
25b5a21ecd Merge branch 'master' of github.com:Nheko-Reborn/nheko 2020-09-15 14:06:37 -04:00
Weblate
be2c4e5021 Added translation using Weblate (Estonian)
Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
2020-09-15 12:20:25 -04:00
Weblate
ff8cec1ea3 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
2020-09-15 12:20:25 -04:00
DeepBlueV7.X
d02e899941
Merge pull request #281 from trilene/voip
Don't show default audio source in settings
2020-09-14 22:57:14 +02:00
trilene
bd0e66b548 Don't show default audio source in settings 2020-09-14 15:55:43 -04:00
CH Chethan Reddy
8eb74daf76 Split qml part of Device Verification 2020-09-14 17:27:49 +05:30
Weblate
b5669310e5 Merge branch 'master' of github.com:Nheko-Reborn/nheko 2020-09-13 17:20:51 -04:00
Weblate
a09a37cc3c Add simpified chinese translations 2020-09-13 17:14:56 -04:00
Nicolas Werner
94e1b52ddd Single line click handler 2020-09-13 18:23:41 +02:00
Nicolas Werner
b934cf329c Clean up UserProfile a bit 2020-09-13 18:16:48 +02:00
DeepBlueV7.X
75e646968d
Merge pull request #275 from Chethan2k1/master
Fix Issue #274
2020-09-13 16:38:18 +02:00
DeepBlueV7.X
a7b979084f
Merge pull request #280 from trilene/voip
Ignore empty remote ICE candidates
2020-09-13 16:37:41 +02:00
trilene
124952a11c Ignore empty remote ICE candidates 2020-09-13 10:21:29 -04:00
DeepBlueV7.X
d38a4dcf5d
Merge pull request #279 from Lurkki14/master
reset filter string when emoji completer is opened
2020-09-13 13:13:07 +02:00
Jussi Kuokkanen
bfcfa79d53 reset filter string when emoji completer is opened 2020-09-13 13:31:02 +03:00
Chethan2k1
f6a47ce72f Some fixes 2020-09-12 15:10:36 +05:30
DeepBlueV7.X
b37534aa53
Merge pull request #278 from trilene/voip
Fix earlier commit + GStreamer v1.18 released
2020-09-10 21:33:05 +02:00
trilene
b6563d9ffe GStreamer v1.18.0 released 2020-09-10 14:34:10 -04:00
trilene
7d2844b2b0 Fix earlier commit when GStreamer < v1.17 2020-09-10 14:29:25 -04:00
Chethan2k1
2b5deabbdc Fix breaking while using qmlRegisterSingletonInstance 2020-09-10 14:50:10 +05:30
Chethan2k1
a27662dc08 Making sure Verification Objects are deleted properly 2020-09-10 13:25:49 +05:30
Chethan2k1
e70b4e4268 Fix wrong tran_id issue 2020-09-10 11:09:21 +05:30
Chethan2k1
898be090af Add support non-encrypted room-verification messages 2020-09-10 11:08:39 +05:30
Nicolas Werner
c4e4938d35 Save account data and allow hiding events via account data 2020-09-08 16:21:55 +02:00
Chethan
0b03d40bf5
Update README.md
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-09-08 16:30:23 +05:30
Chethan2k1
db0d10f38e Fix Readme 2020-09-05 19:16:36 +05:30
Chethan2k1
e8eeb480d5 Fix Wrong Emojis Issue in Room Verification 2020-09-04 12:02:24 +05:30
DeepBlueV7.X
657f4073e9
Merge branch 'master' into device-verification 2020-09-03 18:11:17 +00:00
CH Chethan Reddy
5358854de3 Add support for Encrypted to-device verification messages 2020-09-03 09:37:16 +05:30
Nicolas Werner
10f09d4f43 Fix catch by value warning 2020-09-03 09:37:16 +05:30
Nicolas Werner
e0981e17a1 Fix reactions 2020-09-03 09:37:02 +05:30
Nicolas Werner
8d14a058c6 Fix endless pagination, when old history is inaccessible 2020-09-02 19:38:07 +02:00
DeepBlueV7.X
eb554e8266
Merge pull request #267 from Lurkki14/master
Added emoji completion in text input
2020-08-31 16:32:14 +00:00
Jussi Kuokkanen
8f872f1961 remove unused includes and use QRegularExpression 2020-08-31 18:24:03 +03:00
Jussi Kuokkanen
bb4636885d remove comment 2020-08-31 18:07:29 +03:00
Jussi Kuokkanen
beec2607fc get completion string based on trigger position instead of current word 2020-08-31 18:04:59 +03:00
Jussi Kuokkanen
254b7549eb ignore enter keypress when completion is selected 2020-08-31 12:21:47 +03:00
CH Chethan Reddy
f03a48eec5 fix 2020-08-30 22:36:53 +05:30
CH Chethan Reddy
b174bd9380 Merge remote-tracking branch 'upstream/master' into device-verification 2020-08-30 22:27:14 +05:30
CH Chethan Reddy
3396a7a796 Change the tag for mtxclient 2020-08-30 19:16:01 +05:30
CH Chethan Reddy
9a76db85d5 Change ReactionRealtesTo to RelatesTo 2020-08-30 16:32:28 +05:30
Jussi Kuokkanen
aed8d23aca don't select emoji completion by default and add minimum string length before showing completions 2020-08-29 23:05:40 +03:00
CH Chethan Reddy
0d1dd29b19 Small Fixes 2020-08-29 13:37:51 +05:30
Jussi Kuokkanen
f40d8d15b5 undo changes to emoji_codegen.py 2020-08-29 00:29:46 +03:00
Jussi Kuokkanen
9ad9c8ddf0 fix build and remove commented code 2020-08-29 00:26:45 +03:00
Jussi Kuokkanen
7acd4b3307 lint 2020-08-28 23:59:27 +03:00
Jussi Kuokkanen
5e344d2685 Merge branch 'master' of https://github.com/Nheko-Reborn/nheko 2020-08-28 23:35:40 +03:00
Jussi Kuokkanen
a173d964f7 add emoji completer to text input 2020-08-28 23:32:23 +03:00
DeepBlueV7.X
b7b9cee30e
Merge pull request #265 from trilene/voip
Link GStreamer elements before syncing state
2020-08-28 15:39:27 +00:00
trilene
67a6ab401b Link GStreamer elements before syncing state 2020-08-28 10:49:39 -04:00
DeepBlueV7.X
b58e370c03
Merge pull request #251 from Nheko-Reborn/new-event-store
New event store
2020-08-26 21:52:35 +00:00
Nicolas Werner
3df4bde032 Add some log messages, that migrations are in progress 2020-08-25 23:12:01 +02:00
Nicolas Werner
9f79b85579 Speedup db a bit, but loose some crash resiliency
The loss in durability shouldn't matter, if we can just receive the same
events again after a restart
2020-08-25 23:05:31 +02:00
CH Chethan Reddy
19cfd08a55 Verify signatures and find trusted devices 2020-08-25 15:41:27 +05:30
CH Chethan Reddy
1d299951b6 Cache Fix 2020-08-24 13:58:00 +05:30
DeepBlueV7.X
898297a7b0
Merge pull request #263 from trilene/voip
Under GStreamer >= 1.17 gather all candidates before sending offer/answer
2020-08-23 17:55:18 +00:00
trilene
473293b6a5 Under GStreamer >= 1.17 gather all candidates before sending offer/answer 2020-08-22 08:18:42 -04:00
DeepBlueV7.X
706ba84d73
Merge pull request #262 from bqv/patch-1
Add nixos to readme
2020-08-22 06:16:27 +00:00
Tony O
d61d108a4f
Update README.md 2020-08-22 04:55:00 +01:00
CH Chethan Reddy
8a4bd37fea [WIP] Room Verification Works! 2020-08-18 11:29:02 +05:30
DeepBlueV7.X
b5d406ad80
Merge pull request #259 from trilene/voip
Stop SendFile and Call buttons swapping places on file upload
2020-08-17 22:41:08 +00:00
Nicolas Werner
d6bc05fcd6 Bump mtxclient 2020-08-17 23:59:38 +02:00
trilene
1402732b5f Stop SendFile and Call buttons swapping places on file upload 2020-08-17 17:42:06 -04:00
Nicolas Werner
7f7108161e Hide CallCandidates again in new store 2020-08-17 23:30:36 +02:00
Nicolas Werner
de7ec4d2b3 Merge remote-tracking branch 'origin/master' into new-event-store
Conflicts:
	CMakeLists.txt
	io.github.NhekoReborn.Nheko.json
	src/Cache.cpp
	src/timeline/TimelineModel.cpp
	src/timeline/TimelineModel.h
	src/timeline/TimelineViewManager.cpp
2020-08-17 20:40:33 +02:00
Mihai Fufezan
7c1ca38d98 Translated using Weblate (English)
Currently translated at 85.3% (285 of 334 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2020-08-17 10:48:19 -04:00
Mihai Fufezan
ed17b0c33b Added translation using Weblate (Romanian) 2020-08-16 17:40:54 -04:00
DeepBlueV7.X
3fece53eb7
Merge pull request #237 from trilene/voip
Support voice calls
2020-08-14 07:59:39 +00:00
Nicolas Werner
b6751ab01e Appease the linter 2020-08-14 09:01:56 +02:00
Nicolas Werner
e06ff1ac1f Fix SVG color undefined 2020-08-14 01:20:24 +02:00
Nicolas Werner
f157602a52 Disable call support, when GStreamer is unavailable
Integrating that in our CI is currently a bit hard, so disable it for
now, if GStreamer isn't found. Just make sure to build against GStreamer
for call support!
2020-08-14 01:03:27 +02:00
Nicolas Werner
29cb065102 Bump flatpak dependency 2020-08-11 08:51:57 +02:00
Nicolas Werner
14a0aac748 Add /clear-timeline command 2020-08-09 23:36:47 +02:00
CH Chethan Reddy
2e20049b36 [WIP] Room-Verification Messages 2020-08-09 08:35:15 +05:30
Nicolas Werner
1e9efa3072 Try to fix variable timestamp width 2020-08-07 17:31:58 +02:00
Nicolas Werner
b972d827cb Try to fix issue of pagination interfering with limited: true 2020-08-07 13:12:45 +02:00
Nicolas Werner
7eb0c4e09c Also request keys from own devices 2020-08-06 22:18:52 +02:00
Nicolas Werner
1f9215a5be Split error messages from event decryption 2020-08-06 21:46:16 +02:00
Nicolas Werner
dbaddb0165 Further tweak text element 2020-08-06 19:19:13 +02:00
trilene
df65093374 Add audio input device selector 2020-08-05 17:56:44 -04:00
trilene
02dfc8039f Conditionally compile against upcoming GStreamer release 2020-08-02 22:27:05 -04:00
trilene
b86711a388 Merge remote-tracking branch 'upstream/master' into voip 2020-08-01 15:49:26 -04:00
trilene
979bba6460 Tweak AcceptCall dialog 2020-08-01 15:43:23 -04:00
trilene
e527da052b Reset TLVM initial sync flag on logout 2020-08-01 14:39:06 -04:00
trilene
e3e7595bab clang-format 2020-08-01 14:31:10 -04:00
trilene
f14d141cb5 Improve TURN server retrieval 2020-07-30 19:59:54 -04:00
trilene
c0743f9688 Fix error message 2020-07-30 19:39:03 -04:00
HelaBasa
48877307ca Added translation using Weblate (Sinhala) 2020-07-30 15:43:49 -04:00
CH Chethan Reddy
3635c185e9 Add Room Verification Messages 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1fcd768f88 Adding Room Key Verification Stuff 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
a2979c2df1 Updating keys of outdated encrypted users 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1103cc15cf Adding icons to UserProfile 2020-07-30 22:10:27 +05:30
Nicolas Werner
08028d5c57 Refactor UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ac1fbbb69f Some issue with UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
6fae36abc4 [WIP] Add Caching for users 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ffa61095b8 Error Handling and some fixes 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
00e36b6068 Add some Userprofile buttons 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
75efa5d3a2 Fix the Weird auto-confirmation and cancellation 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
fd232b1f4a Some more fixes 2020-07-30 22:10:27 +05:30
Nicolas Werner
4862be06be Fix presence indicator 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
1633650303 Some more changes
- remove unnecessary field sender in userprofile.qml
    - cover user facing string with qsTr to get picked by translations
    - add spacing and fix theming issue
    - increase and add color to username
    - change back to QVector from QLinkedList cause I have mistaken
    better time complexity to give better benchmark

red
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
d49ab15656 Some Improvements
- DeviceVerificationList change to LinkedList to improve time
    complexity while deleting
    - Downgrade the flow to not use key.verification.done and
    key.verification.ready
2020-07-30 22:10:27 +05:30
CH Chethan Reddy
ce013e67a6 Add some more slots and mac 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
67367d0004 Shared secret with decimal and emoji works! 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
41b6ef0c32 Add DeviceVerificationList to keep track of all flows and Popup on
recieving start or request
2020-07-30 22:10:27 +05:30
Chethan2k1
1eb162cb6f Handle Device Verification related to_device messages 2020-07-30 22:10:27 +05:30
Chethan2k1
cd5dd0e39b Add SAS Method choice and Add send_to_device API call 2020-07-30 22:10:27 +05:30
Chethan2k1
b628f485ff Tweak UI for device verification and Add more slots 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
f9c0f4dd54 Add C++ Model for DeviceList 2020-07-30 22:10:27 +05:30
Chethan2k1
a54a973ad6 Adding DeviceList for userprofile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy
64f204d984 Rewrite UserProfile in qml 2020-07-30 22:10:27 +05:30
Nicolas Werner
707248fea3 Add DeviceVerificationFlow dummy and verification test button 2020-07-30 22:10:27 +05:30
Nicolas Werner
b1362ca69f Use label in device verification dialogs (for proper theming) 2020-07-30 22:10:27 +05:30
Nicolas Werner
fed0463e57 Make emojis a bit smaller 2020-07-30 22:10:27 +05:30
Nicolas Werner
480c4bc8f5 Set proper emoji font for device verification 2020-07-30 22:10:27 +05:30
Nicolas Werner
2088053d26 Add DeviceVerificationFlow dummy and verification test button 2020-07-30 22:10:27 +05:30
Nicolas Werner
488cc5e73b First design iteration of device verification dialogs 2020-07-30 22:10:27 +05:30
Nicolas Werner
7f3d97517f Fix double free by closing cursor at the right time 2020-07-30 18:13:19 +02:00
trilene
97681ccf64 Remove references to video calls 2020-07-29 18:16:52 -04:00
Nicolas Werner
12090c0a06 Add workaround for duplicate syncs 2020-07-27 16:37:29 +02:00
Nicolas Werner
720bb164f7 Fix migration (hopefully) 2020-07-26 19:04:36 +02:00
trilene
43ec0c0624 Handle ICE failure 2020-07-26 10:59:50 -04:00
Nicolas Werner
ade905c881 Fix shadowing variable 2020-07-26 13:07:36 +02:00
Nicolas Werner
a00b11def7 Rename EventStore::event to get to remove ambiguity with QObject::event 2020-07-26 12:33:30 +02:00
Nicolas Werner
28e7ea40cb Bump mtxclient and use git dependency in flatpak 2020-07-26 12:12:19 +02:00
Nicolas Werner
8bf26917ad Make long press menu actually work 2020-07-26 02:06:38 +02:00
trilene
57d5a3d31f Improve debug messages 2020-07-25 18:11:11 -04:00
Nicolas Werner
6f557c19a1 Optimize scrolling a little bit 2020-07-25 23:10:02 +02:00
Nicolas Werner
cbb4356b19 Fix more non integer heights 2020-07-25 22:10:30 +02:00
Nicolas Werner
fdcf91f5eb Fix binding loop and non integer text height 2020-07-25 22:08:02 +02:00
Nicolas Werner
4e7bd20e0c Reset fetch in progress when fetch failed 2020-07-25 19:38:56 +02:00
Nicolas Werner
b294430fe5 Return to redacted messages instead of just storing the redaction 2020-07-25 19:38:27 +02:00
trilene
6be21beebd Acknowledge source of ringtones 2020-07-24 13:50:13 -04:00
trilene
aec24efbe2 Specify call type on timeline 2020-07-24 13:30:12 -04:00
trilene
d51e34e66a Cancel sent CallInvite if no response within expiry 2020-07-23 19:38:40 -04:00
trilene
a4301048e3 Fix QLayout warning 2020-07-23 18:36:10 -04:00
trilene
d508e3abd6 Send ICE candidates gathered after timeout 2020-07-23 17:58:22 -04:00
trilene
7377215d28 Confirm logout/quit if active call in progress 2020-07-23 17:20:32 -04:00
trilene
55783c6fe5 Tweak ActiveCallBar 2020-07-23 17:02:50 -04:00
Nicolas Werner
147ae68c31 Don't send url, if we send an encrypted file
Fix issues when sending images to some clients.
2020-07-23 14:33:07 +02:00
trilene
88cfa3a8fa Polish voice call UI 2020-07-22 21:15:45 -04:00
Nicolas Werner
f23d733cff Fix room joins 2020-07-20 18:25:22 +02:00
trilene
da9995fc3d Update mtxclient reference 2020-07-20 09:36:16 -04:00
Nicolas Werner
19f27236ea Fix reactions 2020-07-20 00:42:48 +02:00
DeepBlueV7.X
12cb77da9c
Merge pull request #247 from not-chicken/centerDate
Make dataBubble's text vertically aligned to vertical center
2020-07-19 20:11:37 +02:00
Nicolas Werner
6f2bc908ba Fix reaction display 2020-07-19 12:22:54 +02:00
Lorem
e86c1cc79f Make dateBubble's text vertically aligned to vertical center 2020-07-19 12:22:47 +05:30
Nicolas Werner
d467568a65 Close cursor we don't need and where we overwrite the contents 2020-07-18 22:59:03 +02:00
Nicolas Werner
8261446f83 Fix reply scrolling 2020-07-18 21:14:45 +02:00
Nicolas Werner
5695f004a2 Fix race condition between /messages and /sync 2020-07-18 21:00:36 +02:00
Nicolas Werner
046b3f4da6 Mark own events as read again after sending 2020-07-18 20:39:31 +02:00
Nicolas Werner
36e4405f25 Fix flickering of encrypted messages when sending using new store 2020-07-18 19:15:50 +02:00
Nicolas Werner
a5dda86a6c Fix encryption indicator 2020-07-18 17:59:59 +02:00
Nicolas Werner
56ea89aa11 Reenable sending messages 2020-07-18 17:43:49 +02:00
trilene
28a678ca60 Add comment wrt TURN server credentials 2020-07-16 15:53:35 -04:00
trilene
f8ef55c133 Case-insensitive sdp search 2020-07-16 15:44:07 -04:00
Nicolas Werner
aa34576dfd Warn before kicking,banning,inviting,etc 2020-07-16 20:19:28 +02:00
trilene
8968d51b65 Handle preemptive CallAnswer from fellow device 2020-07-16 13:31:38 -04:00
trilene
16209ce073 Hide incoming CallCandidates in encrypted rooms 2020-07-14 07:34:40 -04:00
trilene
195ba5e5ee Remove comments 2020-07-13 20:47:34 -04:00
trilene
9d6cce9fe3 Handle preemptive CallHangUp 2020-07-13 20:15:09 -04:00
trilene
774d864096 Hide CallCandidates events from the timeline 2020-07-13 19:45:41 -04:00
trilene
09d2d937c5 Centre PlaceCall dialog 2020-07-13 19:20:41 -04:00
trilene
e85652e7e7 Fix percent-encoding of TURN server URI 2020-07-13 19:16:28 -04:00
Nicolas Werner
9ae7d0dce3 Readd pagination and fix redactions 2020-07-13 00:08:58 +02:00
Nicolas Werner
9479fcde08 Initialize Profile later 2020-07-11 02:15:53 +02:00
trilene
c73cfe1810 Merge remote-tracking branch 'upstream/master' into voip 2020-07-10 19:39:44 -04:00
trilene
7a206441c8 Support voice calls 2020-07-10 19:19:48 -04:00
Nicolas Werner
da2f80df60 Fix translation loading
Explanation see here:
https://www.kdab.com/fixing-a-common-antipattern-when-loading-translations-in-qt/
2020-07-10 03:17:23 +02:00
Nicolas Werner
3421728898 Fetch missing events 2020-07-10 01:37:55 +02:00
Nicolas Werner
530c531c4b WIP: Event Store split out 2020-07-09 23:15:22 +02:00
Nicolas Werner
7650e6ced6 Fix autolinking breaking on single quotes in href attribute
Fixes #234
2020-07-09 13:26:01 +02:00
Nicolas Werner
8d3ab300b6 Open url using QDesktopServices from Qml
This fixes some weirdness on some platforms, where Qt.openUrlExternally
does weird stuff.
2020-07-09 00:45:37 +02:00
Nicolas Werner
fe12e63c7c Fix parent undefined warning 2020-07-08 02:02:48 +02:00
Nicolas Werner
0da1a6d5fc Add relations and order without hidden events to db 2020-07-08 02:02:14 +02:00
Nicolas Werner
82eff09062 Fetch event from db and use string_view where possible 2020-07-06 03:43:14 +02:00
Nicolas Werner
c79205c26a Use new timeline cache structure 2020-07-05 05:31:15 +02:00
Nicolas Werner
79a29953dd Persist event order 2020-07-04 02:09:12 +02:00
Nicolas Werner
233b3c06ce Store events in room specific db 2020-07-03 02:40:48 +02:00
Nicolas Werner
d72eb5eb2d Update dependencies 2020-07-01 01:05:37 +02:00
Nicolas Werner
21a1f249f9 Fix Qt 5.9 build 2020-06-27 03:15:36 +02:00
Nicolas Werner
d177405913 Don't compile qml by default
While it does improve performance a bit, it is simply bad for most
distributions, since they don't know and probably don't want to
recompile Nheko. So default it to off. Anyone who wants it can still
toggle it on and it is almost no maintenance cost.
2020-06-27 03:08:16 +02:00
Nicolas Werner
f6fa494666 Make connections across threads queued in any case 2020-06-26 13:36:21 +02:00
Nicolas Werner
da975038db Drop libsodium dependency 2020-06-26 13:36:21 +02:00
Nicolas Werner
a9e321e38f Don't use formatted body without format 2020-06-26 13:36:21 +02:00
DeepBlueV7.X
09e9cffcae
Merge pull request #228 from felixonmars/patch-1
Correct a typo in SnackBar.cpp
2020-06-22 19:33:36 +02:00
Felix Yan
751c0526d7
Correct a typo in SnackBar.cpp 2020-06-22 20:29:47 +08:00
Nicolas Werner
c973fd759b Fix m.relates_to being sent as 'null' when not set in encrypted messages.
Thank you Sorunome for reporting.
2020-06-20 19:26:54 +02:00
Nicolas Werner
cded494cb5 Try to make text rendering in qml sharper 2020-06-19 19:34:03 +02:00
Nicolas Werner
dde28c627b Lower qt version used for emoji picker and scroll helper 2020-06-17 21:34:02 +02:00
Nicolas Werner
5c8ee99e9a Remove online indicator for offline users 2020-06-17 20:50:39 +02:00
DeepBlueV7.X
887ad25ab7
Merge pull request #220 from not-chicken/theme
Fix not being able to change theme
2020-06-14 13:45:39 +02:00
Lorem
e1706f4df5 Fix not being able to change theme 2020-06-14 13:56:15 +05:30
Nicolas Werner
24d2a2d821 Update mtxclient version to tag 2020-06-13 02:44:53 +02:00
Joseph Donofry
95d5e63f4b
Version number fixes 2020-06-12 19:39:21 -04:00
Joseph Donofry
3ea5a92b2a
Prepare 0.7.2 release 2020-06-12 16:16:54 -04:00
Nicolas Werner
a09039a3be Add presence and upgrade notes to the changelog 2020-06-12 17:38:30 +02:00
Joseph Donofry
ef51b5e947
Merge pull request #219 from Nheko-Reborn/changelog
Update changelog
2020-06-11 22:30:18 -04:00
Joseph Donofry
21dfb3c0b9
Merge pull request #216 from Nheko-Reborn/presence
Presence support
2020-06-11 22:28:44 -04:00
Joseph Donofry
a96e6e5ecd
Merge branch origin/master and update translations 2020-06-11 22:28:28 -04:00
Joseph Donofry
7afb164244
Merge remote-tracking branch 'origin/master' into presence 2020-06-11 22:27:30 -04:00
Joseph Donofry
813884ee0c
Merge pull request #217 from Nheko-Reborn/reactions
Reactions
2020-06-11 22:27:17 -04:00
Joseph Donofry
dbaf92734c
Fix formatting 2020-06-11 22:22:16 -04:00
Joseph Donofry
34ed487c08
Update translations 2020-06-11 22:00:23 -04:00
Joseph Donofry
b90b718961
Merge remote-tracking branch 'origin/master' into reactions 2020-06-11 21:59:34 -04:00
Joseph Donofry
b9626f0c69
Additional code cleanup 2020-06-11 21:59:21 -04:00
Nicolas Werner
866f59f79c Update changelog 2020-06-11 23:47:20 +02:00
Nicolas Werner
150c9b1dbc Fix scale factor setting 2020-06-11 23:08:15 +02:00
Nicolas Werner
db93e6b853 Fix warning about not registered Presence type 2020-06-11 18:37:09 +02:00
Nicolas Werner
488924c9b3 Allow deleting a status 2020-06-11 18:30:52 +02:00
Joseph Donofry
12c46e86b4
Fix linting 2020-06-11 00:37:54 -04:00
Joseph Donofry
5e355c36fd
Fix build issue on some versions of clang 2020-06-10 22:34:14 -04:00
DeepBlueV7.X
75bb037bb7
Merge pull request #218 from z33ky/alert-notifications
Add setting to alert on notification
2020-06-10 13:05:33 +02:00
Alexander 'z33ky' Hirsch
2b9860c3af Add setting to alert on notification 2020-06-10 12:34:26 +02:00
Joseph Donofry
39b240e25a
Remove unused QML file 2020-06-09 21:31:19 -04:00
Joseph Donofry
73f4c26dbe
Update translations 2020-06-09 21:29:38 -04:00
Joseph Donofry
0078c72a37
Remove signals in favor of direct function calls 2020-06-09 21:28:15 -04:00
Joseph Donofry
75cdc1eee2
Remove duplicate search icons 2020-06-09 21:21:30 -04:00
Joseph Donofry
07ffd9e7e9
Fix UserSettings in QML 2020-06-09 21:05:27 -04:00
Joseph Donofry
6bb73f84a3
Merge master and fix conflicts 2020-06-09 20:51:36 -04:00
Joseph Donofry
fa34749279
Minor adjustments to emoji picker 2020-06-09 20:47:21 -04:00
Nicolas Werner
0a23615dd7 Fix small formatting error 2020-06-09 13:29:24 +02:00
Nicolas Werner
b9631753dd Reenable custom status messages
This still leaves out setting a client to online/offline, since that
seems to be causing the CPU issues with synapse.
2020-06-09 12:49:36 +02:00
Nicolas Werner
3baf11b5c4 Fix unused capture 2020-06-08 22:35:47 +02:00
Nicolas Werner
814868024c Disable presence and status_msg menu
It currently causes severe performance issues in synapse as well as many
random resets, so this is disabled until those issues are resolved.
2020-06-08 21:59:15 +02:00
Nicolas Werner
bf440f9a31 Bump mtxclient 2020-06-08 21:57:09 +02:00
Nicolas Werner
f2bfa61e08 Add menu actions to set presence 2020-06-08 20:26:37 +02:00
Nicolas Werner
96f4169be9 Show presence and set custom status messages 2020-06-08 01:59:05 +02:00
Nicolas Werner
e5a55ab1b9 Smooth scaling for images
Fixes some issues with inline images.
2020-06-07 14:53:35 +02:00
Nicolas Werner
5e684a0a2f Download boost from sourceforge
Official download links seem to break frequently because of data caps.
2020-06-06 15:49:19 +02:00
Nicolas Werner
c40429af23 Bump mtxclient version
May fix #213
2020-06-06 13:20:47 +02:00
Nicolas Werner
f4b84327e8 Limit jobs on arm 2020-06-06 00:04:18 +02:00
Nicolas Werner
43d2ebc095 Fix Qt5.15 issues
fixes #214
2020-06-05 23:34:00 +02:00
Nicolas Werner
f8903f493f Extend timeout 2020-05-31 11:39:39 +02:00
Nicolas Werner
95f29a3d19 Try travis_wait alternative 2020-05-30 19:32:43 +02:00
Nicolas Werner
5ca5b4561e Travis wait can only be used in a top level command? 2020-05-30 18:37:00 +02:00
Nicolas Werner
190b6cb3c7 Add travis_wait to flatpak builds 2020-05-30 18:29:40 +02:00
Nicolas Werner
c8ba385cb9 Install dependencies for arm manually to prevent timeout 2020-05-30 17:37:18 +02:00
Nicolas Werner
50d5891493 Fix serialization bug introduced in 9eddcfc42f 2020-05-30 17:25:18 +02:00
Nicolas Werner
4d20839d74 Skip precompiled headers for obc-c code 2020-05-30 16:53:57 +02:00
Nicolas Werner
9eddcfc42f Remove some redundant functions 2020-05-30 16:38:11 +02:00
DeepBlueV7.X
fd270dcd55 Translated using Weblate (Italian)
Currently translated at 98.2% (281 of 286 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/it/
2020-05-28 02:32:55 -04:00
Nicolas Werner
6b60ff7713 Rename settings to be more consistent 2020-05-26 22:54:51 +02:00
Nicolas Werner
f452bdf2b0 Make settings update immediately in qml and allow limiting timeline width
Limiting improves readability on wide monitors.

The immediate update of the settings is done by just exposing settings
as properties and then setting the settings as a context property.
2020-05-26 22:54:51 +02:00
Nicolas Werner
4ee9e5c27c Improve compile times a tiny bit 2020-05-26 22:54:51 +02:00
Nicolas Werner
4e5bd53b13 Optionally use precompiled headers 2020-05-26 22:54:51 +02:00
Nicolas Werner
fe45c49e56 Bump singleapplication version 2020-05-26 22:54:51 +02:00
Nicolas Werner
247539cb5a Set cxx standard as cache variable for when toolchain file is not used 2020-05-26 22:54:51 +02:00
Nicolas Werner
937b35ca8a Fix some join messages showing as empty 2020-05-26 22:54:51 +02:00
Lorenzo Ancora
f7cd0c4137 Added translation using Weblate (Italian) 2020-05-26 07:27:35 -04:00
DeepBlueV7.X
fbcc53a632
Merge pull request #205 from lkito/SettingTooltips
Added an option to have descriptions for user settings.
2020-05-25 10:51:15 +02:00
lkito
60ad6ce277 Added an option to have descriptions for user settings. 2020-05-24 15:35:25 +04:00
DeepBlueV7.X
33ba81a2e6
Merge pull request #204 from lkito/master
Added an optional feature to show bigger emoji-only messages with 3 or less emoji
2020-05-23 01:00:35 +02:00
Joseph Donofry
e20cddd005
Update translations 2020-05-21 21:22:12 -04:00
Joseph Donofry
5228861b88
Add reaction/redaction for in-line Reactions 2020-05-21 21:21:35 -04:00
lkito
d8b89e2ef0 Added an optional feature to show bigger emoji-only messages with 3 or less emoji 2020-05-21 16:31:27 +04:00
Joseph Donofry
1c521d1711
Merge origin/master into reactions 2020-05-18 21:13:41 -04:00
Nicolas Werner
bdf1147a80 add a bit of additional logging to image paste 2020-05-18 14:02:54 +02:00
Nicolas Werner
23e4408fa8 Add /roomnick command 2020-05-18 14:02:14 +02:00
Nicolas Werner
7de1fc62e8 Tag rooms via context menu 2020-05-18 04:23:36 +02:00
Nicolas Werner
5abdad308d Fix crash when reacting to messages from /sync
Messages on /sync don't have a room_id
2020-05-17 02:36:04 +02:00
Nicolas Werner
f0757a6426 Fix local echo for reactions 2020-05-16 22:48:43 +02:00
Nicolas Werner
a75d7f00bc Fix reactions binding loop 2020-05-16 22:19:37 +02:00
Joseph Donofry
f4ea0b215d
Attach emoji picker picked to reaction sender 2020-05-16 15:52:51 -04:00
Joseph Donofry
a5778bdf40
Merge remote-tracking branch 'origin/master' into reactions 2020-05-16 15:10:49 -04:00
Joseph Donofry
fca85bea39
Merge pull request #202 from aaronraimist/brew-libolm
Update macOS building dependencies now that libolm is available in Homebrew.  Thanks @aaronraimist
2020-05-16 15:10:16 -04:00
Aaron Raimist
3338ecd39f
Remove MacPorts install instructions
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-05-16 13:46:25 -05:00
Aaron Raimist
14eaad355e
Update macOS building dependencies now that libolm is available in Homebrew 2020-05-16 13:10:13 -05:00
DeepBlueV7.X
883567b0b9
Merge pull request #201 from lkito/master
Implemented message background highlight feature as per issue #193
2020-05-16 16:27:17 +02:00
lkito
2c21f6e3fa Implemented optional message body highlighting feature. 2020-05-16 17:15:43 +04:00
Nicolas Werner
3db9298e66 Bump mtxclient version 2020-05-16 00:10:59 +02:00
Nicolas Werner
73e0a9f453 Drop explicit ZLIB dependency 2020-05-15 22:48:30 +02:00
Nicolas Werner
576269c9e5 Prevent timeline being black on some platforms 2020-05-15 22:46:34 +02:00
Joseph Donofry
ca20e2a98f
Remove accidental compiled translation commit 2020-05-15 13:23:19 -04:00
DeepBlueV7.X
ce1c6a7df3
Merge pull request #198 from Chethan2k1/device-verification-dialogs
Fix nheko build(uses mtxclient device-verification)
2020-05-15 14:56:11 +02:00
CH Chethan Reddy
57b8cdbd4d remove #if defined __has_include 2020-05-15 17:48:27 +05:30
CH Chethan Reddy
e4a7e85935 Change the commit hash for mtxclient 2020-05-15 17:48:27 +05:30
CH Chethan Reddy
30d61e3114 minor fixes 2020-05-15 17:48:27 +05:30
DeepBlueV7.X
54e2e7ef7f Translated using Weblate (German)
Currently translated at 100.0% (277 of 277 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2020-05-15 06:31:24 -04:00
Nicolas Werner
5a5b85cded Wait on maybe long running install script in CI 2020-05-15 11:11:31 +02:00
Nicolas Werner
10f0f7462a Try to fix arm builds hanging breaking CI 2020-05-15 10:39:32 +02:00
Joseph Donofry
6d2789f4d5
Merge master into reactions 2020-05-14 20:53:01 -04:00
Joseph Donofry
eb4b02e8b9
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko 2020-05-14 20:35:47 -04:00
Joseph Donofry
18f934efad
Add un-encrypted warning icon for messages in encrypted rooms 2020-05-14 20:35:29 -04:00
Nicolas Werner
6ff002b4ed Use standard cmake args instead of old -H 2020-05-15 00:38:09 +02:00
Joseph Donofry
ff7468e6d5
Update emoji picker and translations 2020-05-13 20:19:15 -04:00
Nicolas Werner
279bcd1bf2 Show inline images
(This is such a hack and will probably break, but it works for now for
most cases...)
2020-05-14 00:41:10 +02:00
Nicolas Werner
2c3d09edbb Try to smooth scrolling a bit by increasing cacheBuffer 2020-05-13 23:55:02 +02:00
Nicolas Werner
d6981355d3 Align scrolling to pixels manually 2020-05-13 23:33:00 +02:00
Joseph Donofry
dfb76c693d
Update translations for new emoji picker 2020-05-13 00:39:08 -04:00
Joseph Donofry
ee4dcef90f
Add new QML-based emoji picker (work in progress)
This is necessary to support having a picker within QML.
Eventually, this should replace the existing widget-based one.
2020-05-13 00:36:41 -04:00
Nicolas Werner
004d10bfee Clip replies by default
In the future we should probably add a gradient when clipped...
2020-05-13 01:09:45 +02:00
Joseph Donofry
8984661187
Initial support for sending reactions 2020-05-09 22:39:25 -04:00
Nicolas Werner
000ab4853a Translation updates 2020-05-10 01:38:40 +02:00
Nicolas Werner
6befadeec8 Remove shadowing loginMethod 2020-05-10 01:00:20 +02:00
Nicolas Werner
9713284435 Fix not being able to log http status on login 2020-05-10 00:04:45 +02:00
Nicolas Werner
15716f5a34 bump mtxclient for SSO 2020-05-09 23:34:53 +02:00
Nicolas Werner
7b1fa60cc6 Add SSO
closes #94
2020-05-09 23:33:03 +02:00
Nicolas Werner
813790e603 Improve Login and Register page hinting 2020-05-09 23:33:03 +02:00
DeepBlueV7.X
197f702dd0
Merge pull request #195 from jonnius/patch-1
Update Ubuntu Build and Install Instructions
2020-05-09 12:22:05 +02:00
jonnius
5f9ce33562 Update Ubuntu install and build instructions 2020-05-09 12:17:47 +02:00
Joseph Donofry
991fa4ac98
Change redaction color that accidentally got committed 2020-05-07 22:22:41 -04:00
Joseph Donofry
5b9611dcd3
Merge branch 'master' into reactions 2020-05-07 22:21:06 -04:00
Joseph Donofry
cc92161339
Fix redaction color change that accidentally got committed 2020-05-07 22:20:25 -04:00
Joseph Donofry
a1661f7006
merge master into reactions 2020-05-07 20:53:24 -04:00
DeepBlueV7.X
7beaf868ef
Merge pull request #192 from Nheko-Reborn/reactions
Reactions
2020-05-08 00:13:24 +02:00
Nicolas Werner
a942ae9b93 Fix messages being immediately read again 2020-05-06 19:21:31 +02:00
Nicolas Werner
0b1d3a40f4 Remove unused binding name 2020-05-06 13:45:38 +02:00
Nicolas Werner
e48dfd15fe Add shortcuts to select/deselect reply targets 2020-05-06 13:33:13 +02:00
Nicolas Werner
e5a5a66716 Fix reaction redaction for real this time 2020-05-06 12:52:13 +02:00
Nicolas Werner
ff54ce9334 Fix rooms with a lot of reactions not paginating correctly 2020-05-06 11:37:40 +02:00
Nicolas Werner
e045e3eb1c Show displayname on reactions 2020-05-06 11:28:24 +02:00
Nicolas Werner
8348a6c35d Fix reaction count 2020-05-06 11:15:45 +02:00
Nicolas Werner
a1951056da Reaction and Button layout fixes 2020-05-06 03:40:24 +02:00
Nicolas Werner
e55a09906f Misc color fixes 2020-05-05 23:43:43 +02:00
Nicolas Werner
ca5490074a Fix scroll to replied to message (somewhat) 2020-05-05 23:43:28 +02:00
Nicolas Werner
692c6119b4 Fix joined rooms dropping to the bottom at first 2020-05-05 19:08:59 +02:00
Nicolas Werner
db24f174b1 Fix jumpy room list, when sort order is ambiguous 2020-05-05 19:08:59 +02:00
Nicolas Werner
846ff33ed8 Position reaction emoji and text on the same baseline 2020-05-04 13:41:18 +02:00
Nicolas Werner
54013e4a00 Basic, broken reaction display 2020-05-04 13:14:54 +02:00
Nicolas Werner
a9aed09d35 Add placeholder for reactions 2020-05-04 00:59:05 +02:00
Nicolas Werner
a8b22e49c3 Fix self counting as read message 2020-05-04 00:57:40 +02:00
Nicolas Werner
0c73c74574 Speed up initial load a bit 2020-05-04 00:57:40 +02:00
DeepBlueV7.X
ccd55c70df
Merge pull request #189 from Nheko-Reborn/db-migrations
Db migrations
2020-05-03 01:56:06 +02:00
Nicolas Werner
d6685e8d61 Add delete pending_receipts migration 2020-05-02 17:24:45 +02:00
Nicolas Werner
dad2de7ba2 Add support for db migrations 2020-05-02 16:44:50 +02:00
DeepBlueV7.X
38417a374d
Merge pull request #184 from shocklateboy92/features/backlog-progress
Add visual indication that data is being fetched
2020-05-01 10:19:32 +02:00
Lasath Fernando
166ed0674d Run linter 2020-04-30 22:40:27 -07:00
Nicolas Werner
9750241e73 Old Qt doesn't have .get... 2020-05-01 00:38:07 +02:00
DeepBlueV7.X
00c4d2629a
Merge pull request #188 from Nheko-Reborn/optimize-cpu-usage
Optimize cpu usage
2020-05-01 00:21:13 +02:00
Nicolas Werner
641a883bfd Optimize RoomList sorting
Keep the almost sorted list around and sort by the raw timestamp value
instead of doing the expensive toMSecSinceEpoch conversion.
2020-04-30 23:59:17 +02:00
Nicolas Werner
e6fcccc8bd Don't store pending receipts in cache
We don't get notified for every message. Sometimes we only get a read
receipt for the newest message, which means old read receipts accumulate
in the database. This least to some considerable CPU overhead, when
checking if the timeline should be notified for new read receipts.
Instead just always notify, since that has far less overhead in the
worst case and doesn't need complicated cache cleanup.

The old pending_receipts db is not removed for now. It should still have
minimal storage overhead and we don't have a good mechanism for cache
format upgrades atm.
2020-04-30 22:42:56 +02:00
Nicolas Werner
2997155f56 Fix spacing of typing notifications 2020-04-30 22:02:41 +02:00
Nicolas Werner
0716bbafff Strip reply fallback from plain text body 2020-04-30 00:04:30 +02:00
Lasath Fernando
21b33363ce Make pagination spinner inline 2020-04-29 13:52:39 -07:00
Lasath Fernando
1f9d3024b1 Add visual indication that data is being fetched
This turns `paginationInProgress` field of `TimelineModel` into a `Q_PROPERTY`, so the Ui can bind to it.
For the moment, I'm showing the same spinner as we do during initial sync. It's not ideal, on the count of being giant and in the middle but it's better than nothing. We can make it more subtle later.
2020-04-29 13:52:39 -07:00
DeepBlueV7.X
19ec8d261d
Merge pull request #183 from shocklateboy92/features/smooth-scroll
Improve scrolling in timeline view
2020-04-29 22:15:53 +02:00
Nicolas Werner
3226d1787c Fix some smaller coloring issues 2020-04-29 21:41:46 +02:00
Nicolas Werner
bb66254c58 Make notifications a bit easier to read 2020-04-29 20:49:57 +02:00
Nicolas Werner
27350cf51e Fix high CPU usage on high dpi screens
Fixes #180
2020-04-29 20:23:00 +02:00
Lasath Fernando
c5d373e8f1 Address CR comments 2020-04-29 02:14:43 -07:00
Lasath Fernando
5c57de070e Remove commented out code; fix padding for Pill 2020-04-28 01:10:54 -07:00
Lasath Fernando
84c5ff0bcb Fix binding loops for height 2020-04-28 00:38:13 -07:00
Lasath Fernando
1555dc2296 Shamelessly steal ScrollHelper.qml from spectral
I mean, we're both GPL so... :P
2020-04-28 00:29:51 -07:00
Nicolas Werner
17c657a170 Send correct orientation for exif rotated images 2020-04-26 11:41:30 +02:00
Nicolas Werner
dbb13dfad6 Update Changelog 2020-04-26 11:32:43 +02:00
Nicolas Werner
d6386546b3 Only prune old messages every 500 syncs 2020-04-26 11:29:05 +02:00
Nicolas Werner
28adc9dc9b Respect exif rotation of images
Sometimes thumbnails still have the wrong dimensions, as they are scaled
to fit inside a rectange of the reported size in the image. Not sure,
who is wrong there, the media repo or we.
2020-04-26 11:26:51 +02:00
Nicolas Werner
d94ac86816 Fix double percent encoding of invites 2020-04-24 16:19:11 +02:00
Joseph Donofry
a5d5ea1881
Fix URL in appdata.xml 2020-04-23 21:32:01 -04:00
Joseph Donofry
14ce840649 Update changelog 2020-04-23 19:26:26 -04:00
Joseph Donofry
619d9bc185 Merge remote-tracking branch 'origin/master' into release-prep-0.7.1 2020-04-23 19:22:54 -04:00
Joseph Donofry
4e3b190ac7
Merge pull request #173 from Nheko-Reborn/decrypt-sidebar
Decrypt sidebar setting added to user settings
2020-04-23 19:22:25 -04:00
Joseph Donofry
5893365439 Change decrypt setting again 2020-04-23 19:21:20 -04:00
Joseph Donofry
18557023d9 Fix CHANGELOG typo 2020-04-23 19:06:42 -04:00
Joseph Donofry
87c06f0fc9 Merge branch 'decrypt-sidebar' of ssh://github.com/Nheko-Reborn/nheko into decrypt-sidebar 2020-04-23 19:05:54 -04:00
Joseph Donofry
994edb836c Change how decrypt value is retrieved from settings 2020-04-23 19:05:44 -04:00
Nicolas Werner
ddcab64315 Update versions to 0.7.1 2020-04-24 00:54:21 +02:00
Joseph Donofry
69b0b68f92
Merge branch 'master' into decrypt-sidebar 2020-04-23 18:40:07 -04:00
Nicolas Werner
b00e624fb0 Fix own messages not showing as encrypted 2020-04-23 15:28:46 +02:00
Nicolas Werner
d5e1475a5c Fix encrypted messages not showing a user in the sidebar 2020-04-23 02:29:55 +02:00
Nicolas Werner
4720d2b562 Update translations 2020-04-23 02:13:20 +02:00
Joseph Donofry
b298f01d92
Add signal/slot for decryption changes in last patch 2020-04-22 19:52:30 -04:00
Nicolas Werner
35601b6bef Terminate user color calculation, when no solution can be found
fixes #172
2020-04-22 23:33:27 +02:00
Joseph Donofry
a4c280a4f9
Add ability to toggle sidebar messages for encrypted rooms 2020-04-21 22:40:58 -04:00
Nicolas Werner
0e1bb5137b Add menu entry to show decrypted source
Also make hidden entries not consume space in Menus with some qml
styles.
2020-04-21 22:32:45 +02:00
Nicolas Werner
69c8476cb7 Update changelog 2020-04-21 21:17:56 +02:00
Nicolas Werner
ba3d405513 Fix Binding restoreMode warning spamming logs
fixes #170
2020-04-21 21:09:29 +02:00
Nicolas Werner
6a39b29acc Disable opening images, when they are not loaded 2020-04-21 20:55:28 +02:00
Nicolas Werner
e8271acd99 Fix own encrypted images not showing up after sending 2020-04-21 09:03:36 +02:00
DeepBlueV7.X
22ecdfc3ff
Merge pull request #169 from not-chicken/master
Add repology badge to readme
2020-04-20 12:59:26 +02:00
Lorem
b4622f510e Add repology badge to readme 2020-04-20 15:48:51 +05:30
Joseph Donofry
03a838709b
Update appdata.xml 2020-04-19 18:31:51 -04:00
Joe
0768a70e75 Fix flatpak builds referencing wrong branch 2020-04-19 16:52:11 -04:00
Joe
9d46eb123f Release v0.7.0 2020-04-19 16:08:19 -04:00
Nicolas Werner
6e1c57a702 Prepare 0.7.0 release 2020-04-19 15:07:23 +02:00
Nicolas Werner
eff8af6fac Try to fix messages getting stuck by sometimes sending them twice and never failing them 2020-04-19 15:07:23 +02:00
DeepBlueV7.X
076a1c3607
Merge pull request #167 from jevolk/master
Add missing qml-module-qtgraphicaleffects and qml-module-qtquick-cont…
2020-04-17 08:17:05 +02:00
Jason Volk
1eede32a8b Add missing qml-module-qtgraphicaleffects and qml-module-qtquick-controls2 to Ubuntu 19.10 in README. 2020-04-16 16:21:59 -07:00
Nicolas Werner
695c3c0814 Fix registration on construct 2020-04-17 00:27:43 +02:00
Nicolas Werner
70b0cbcd0f Pull in parsing fixes in mtxclient
Fixes #166
2020-04-16 21:30:31 +02:00
Nicolas Werner
a32bf3d4fc Add minimum cmark version to CMakeList 2020-04-15 23:29:53 +02:00
Nicolas Werner
dd1dca3751 Add --debug switch 2020-04-15 23:28:04 +02:00
Nicolas Werner
a70044e67b Cache decrypted events 2020-04-14 20:15:11 +02:00
Nicolas Werner
c739a0422d Fix encrypted event indicator 2020-04-14 19:29:22 +02:00
Nicolas Werner
277c0e9564 Update translations 2020-04-13 23:30:17 +02:00
DeepBlueV7.X
46f3c97879 Translated using Weblate (English)
Currently translated at 100.0% (261 of 261 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2020-04-13 15:42:18 -04:00
DeepBlueV7.X
741da4ab32 Translated using Weblate (German)
Currently translated at 97.7% (255 of 261 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2020-04-13 15:42:17 -04:00
Nicolas Werner
872507002a Bump mtxclient to v0.3.0-rc1 2020-04-13 17:08:59 +02:00
Nicolas Werner
3ae4e49b5f Remove unused paramters 2020-04-13 17:01:57 +02:00
Nicolas Werner
dcddea6fb8 Fix reply not closing
fixes #124
2020-04-13 16:22:30 +02:00
Nicolas Werner
82ec022f9c Fix notification not being cleared, when read event didn't cause a notification 2020-04-11 23:28:34 +02:00
Nicolas Werner
2b24a978e1 Mid color is used for scrollbars it seems 2020-04-11 22:38:12 +02:00
Nicolas Werner
2022775dd0 Clear notifications when event is read 2020-04-11 01:09:47 +02:00
Nicolas Werner
537cc966cc Use Item for transparent rectangles 2020-04-10 08:48:30 +02:00
Nicolas Werner
d68b24188f Size reply background by contents 2020-04-10 08:48:30 +02:00
Nicolas Werner
d2e495532d Make Filemessage background size by content 2020-04-10 08:48:30 +02:00
adasauce
5f7f564e57
Merge pull request #161 from Nheko-Reborn/palettes
Use palettes for most theming
2020-04-09 22:05:48 -03:00
Nicolas Werner
4fa12b52aa Add comment on why we surpress some of those log messages 2020-04-08 23:12:18 +02:00
Nicolas Werner
6794b6472d Add a few missing palette colors 2020-04-08 23:10:00 +02:00
Nicolas Werner
31a5972f2a Fix UserProfile resizing 2020-04-01 01:28:05 +02:00
Nicolas Werner
94f5b25888 Change fallback style to fusion 2020-03-30 23:07:32 +02:00
Nicolas Werner
8bf25f3d80 Set palette globally 2020-03-30 21:48:28 +02:00
Nicolas Werner
d35cc3dda4 Use palette for qml code for theming
Can't do it for QtWidgets code. We need to fully transition, before we
can fully switch over probably.
2020-03-29 22:11:33 +02:00
DeepBlueV7.X
384ef13c76
Merge pull request #160 from cloudrac3r/ubuntu-19.10-dependencies
Update Ubuntu 19.10 dependencies list
2020-03-28 19:00:04 +01:00
Cadence Ember
fd1825b7c0
Update Ubuntu 19.10 dependencies list 2020-03-28 23:18:15 +13:00
DeepBlueV7.X
e389588bc2
Merge pull request #157 from Alch-Emi/no-escape
Removed double-sanitization of names in "... is typing" messages
2020-03-25 06:02:14 +00:00
Emi Simpson
a9bbea881e
Removed double-sanitization of ... is typing names 2020-03-24 18:06:19 -04:00
DeepBlueV7.X
0913887546
Merge pull request #156 from abma/patch-1
fix #155: use correct subsystem on windows
2020-03-23 13:23:43 +00:00
abma
5e14bbd1cd
fix #155: use correct subsystem on windows 2020-03-23 11:09:27 +01:00
Nicolas Werner
95272ce4ab Try to fix avatars not updating after deletion 2020-03-22 20:43:45 +01:00
Nicolas Werner
7a2b996f18 Fix high CPU usage on 5XX error codes 2020-03-22 20:33:15 +01:00
Nicolas Werner
7df6529310 Fix avatar not being set for some rooms in the top bar 2020-03-22 18:14:53 +01:00
Nicolas Werner
b25e481418 Clean up unused avatar functions 2020-03-22 18:03:08 +01:00
Nicolas Werner
31a83c515e Fix broken avatars in quick switcher 2020-03-22 14:22:42 +01:00
DeepBlueV7.X
c32a8bc226
Merge pull request #154 from adasauce/image-modal-download
Better image overlay handling when downloading
2020-03-20 20:28:43 +00:00
Adasauce
d0a1e81f43
Better image overlay handling when downloading
- hides the overlay when prompting for download location
 - cancel re-shows the dialog
 - success closes the overlay
 - would be nice to have a return code from the download fn in
 mtxclient.

Closes #140
2020-03-20 10:10:53 -03:00
DeepBlueV7.X
b41e2e6f18
Merge pull request #146 from Alch-Emi/priority-sort
Place unread rooms higher in the room list
2020-03-15 21:13:55 +00:00
Emi Simpson
5c308b1caf
Fixed bug caused by me forgetting what types im using (invites appearing at the bottom of the list instead of the top when priority sorting was off) 2020-03-15 17:05:21 -04:00
Emi Simpson
06676cfb33
Updated translations 2020-03-15 16:29:08 -04:00
Emi Simpson
d51cbe7e32
Place invites on top of room list even when sorting by importance is off 2020-03-15 16:28:32 -04:00
Emi Simpson
78ac902549
Clean up stray comment 2020-03-15 16:19:45 -04:00
Emi Simpson
12aa94ad9a
Fixed compatibility with Qt < 5.11 2020-03-15 15:27:30 -04:00
Emi Simpson
bf5ae884de
Make toggle in settings revert between old behavior and new behavior for sorting by unreads 2020-03-15 14:56:39 -04:00
Emi Simpson
abac4c8d34
Sort room list on setting change 2020-03-15 14:30:21 -04:00
Emi Simpson
2320bfea26
Foiled by the linter once more 2020-03-15 12:43:41 -04:00
Emi Simpson
6bbe8ade0f
Made merge compatible with master 2020-03-15 12:16:01 -04:00
Emi Simpson
b6bd36ac16
Added toggle in the settings to ignore minor events 2020-03-15 11:19:22 -04:00
Emi Simpson
81c9cb5c79
Switched room importance to an enum 2020-03-15 10:38:56 -04:00
Emi Simpson
a5b388db15
Appease the linter 2020-03-14 09:16:08 -04:00
Emi Simpson
389117f1e8
Add a comment explaining room importance 2020-03-13 20:59:20 -04:00
Emi Simpson
0153dc7a39
Automatically move rooms down in the list once they've been read 2020-03-13 20:52:42 -04:00
Emi Simpson
b2a6232eb3
Fixed channels appearing out of order when only mentions were present, without any non-mentions 2020-03-13 20:40:52 -04:00
Emi Simpson
08125e8c44
Sort room list by room priority 2020-03-13 19:30:50 -04:00
DeepBlueV7.X
5e991af57f
Merge pull request #145 from PC25/master
Add periods to terminate non-user messages in the timeline
2020-03-13 20:18:18 +00:00
Pushpam Choudhary
93bcdbed2d Update minor fixes in translations as requested 2020-03-13 03:27:29 +05:30
Pushpam Choudhary
71ba8cb284 Add periods to terminate non-user messages in the timeline 2020-03-13 00:48:41 +05:30
Nicolas Werner
0f1a352dd7 Make buttons hideable via setting, button contents can still be accessed via context menu 2020-03-10 00:30:45 +01:00
Nicolas Werner
69a50c15c7 Reduce times we read upload data 2020-03-08 15:26:52 +01:00
Nicolas Werner
a071f55c7b Fix images without size 2020-03-08 14:39:22 +01:00
DeepBlueV7.X
baaa687d33
Merge pull request #142 from Alch-Emi/master
Don't request access to the user's home directory
2020-03-08 13:31:22 +00:00
DeepBlueV7.X
50eec6a96b Translated using Weblate (German)
Currently translated at 68.4% (165 of 241 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2020-03-07 14:35:09 -05:00
Emi Simpson
3fddf69958
Don't request access to the user's home directory 2020-03-06 13:43:05 -05:00
DeepBlueV7.X
fc2f08a186
Merge pull request #137 from Nheko-Reborn/blurhash
Experimental Blurhash support
2020-03-05 21:07:18 +00:00
Nicolas Werner
31a403a68e Update mtxclient in flatpak for blurhash 2020-03-04 03:06:25 +01:00
Nicolas Werner
b894ce4dcd Make blurhash provider async 2020-03-04 01:56:58 +01:00
Nicolas Werner
5ac18f1f5f Speed up blurhash code 2020-03-04 01:30:43 +01:00
adasauce
005ed00d67
Merge pull request #131 from adasauce/shh
Add support for more m.room.events in timeline
2020-03-03 15:39:33 -04:00
Adasauce
ee176de1ec
update translations 2020-03-03 15:07:09 -04:00
Adasauce
ed4bb1a576
Add support for more room events in timeline 2020-03-03 15:06:52 -04:00
Joseph Donofry
ca1d3203f5 Translated using Weblate (English)
Currently translated at 100.0% (241 of 241 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2020-03-02 22:11:10 -05:00
Joseph Donofry
1046958099
Update translations 2020-03-02 21:54:33 -05:00
Joe
0f9c9df0a9 Merge remote-tracking branch 'weblate/master' 2020-03-02 21:23:49 -05:00
DeepBlueV7.X
7da5361995
Merge pull request #133 from adasauce/member1-and-too-many-others
total + first member shows as one too many room members
2020-03-03 01:36:12 +00:00
Nicolas Werner
0fc98b2692 Experimental blurhash implementation (MXC2448) 2020-03-03 02:34:26 +01:00
Adasauce
309461dcba
total + first member shows as one too many room members
i was confused when a room with me and two friends showed as "user1" and
3 others.
2020-03-02 21:30:19 -04:00
Nicolas Werner
328a3c7ebd Fix avatar layering in room list 2020-03-03 01:23:04 +01:00
DeepBlueV7.X
1a2b8b7a6b
Upload nightlies to #nheko-nightlies:neko.dev (#132)
* Upload nightlies to a matrix room

* Add branch to upload name

* Update README with new nightly location
2020-03-02 08:42:01 +00:00
Joseph Donofry
30cb7c5b02
Merge pull request #130 from Nheko-Reborn/0.7.0-dev
0.7.0 dev merge to master
2020-02-28 19:10:39 -05:00
Joseph Donofry
326e327d2c
Merge branch 'master' into 0.7.0-dev 2020-02-28 18:03:39 -05:00
Nicolas Werner
2fd6385403 Make small sidebar sizing consistent 2020-02-28 19:56:08 +01:00
Nicolas Werner
b80697b072 Fix encrypted messages being pinned to the bottom after read marker fix 2020-02-28 19:29:43 +01:00
Nicolas Werner
095b59c01f Delete unused variable 2020-02-28 09:00:26 +01:00
Nicolas Werner
9efa001bcf Fix high dpi scaling of avatars 2020-02-28 03:20:27 +01:00
Nicolas Werner
11bffd5d90 Revert change from TextEdit to TextArea
It made some messages unreadabe. We loose proper highlight colors, but
we will have to do for now, until I can figure out, why the TextArea
doesn't work.
2020-02-27 16:48:23 +01:00
Nicolas Werner
b1eff0a37f Improve link theming 2020-02-27 00:34:58 +01:00
Nicolas Werner
4d79f8078e Don't let click on reply steal focus from the replied to elements 2020-02-26 23:43:54 +01:00
Nicolas Werner
505a8b5742 Only show reply button and option button on hover 2020-02-26 23:43:15 +01:00
Nicolas Werner
bed8c52891 Fix colour in svg not being actually white 2020-02-26 21:24:47 +01:00
Nicolas Werner
5115339636 Wrap error label on login page
fixes #30
2020-02-25 01:51:21 +01:00
Nicolas Werner
1eb2869fa8 Fix stuck unread messages by storing state events in the db
This may increase the db size by a factor of 1000 in the worst case and
it will need some fixes, when we decide to not show some events in the
timeline, but it should work for now.
2020-02-24 01:07:25 +01:00
Nicolas Werner
62b962cb44 Improve read status handling in room list
Only consider the room as unread, if there is a message in the room and
only consider message and sticker events as messages.

fixes #65
2020-02-23 22:48:54 +01:00
DeepBlueV7.X
f0db1c5f12
Merge pull request #129 from nico202/master
Add Guix build and installation instructions
2020-02-23 20:56:37 +00:00
nixo
3c57c322d3 Add Guix build and installation instructions 2020-02-23 21:18:10 +01:00
Nicolas Werner
653ad0be97 Fix placeholder text being visible behind transparent avatars 2020-02-23 15:47:19 +01:00
DeepBlueV7.X
58c5bdd7b1
Delete old ISSUE_TEMPLATE 2020-02-23 14:15:29 +00:00
DeepBlueV7.X
17063c4f39 Update issue templates 2020-02-23 14:14:51 +00:00
Nicolas Werner
f3a2fdb7c9 Fix windows build 2020-02-23 14:30:00 +01:00
Nicolas Werner
33f9b9672a Try to use bundled openssl on macOS 2020-02-23 13:50:31 +01:00
Nicolas Werner
e96241265e Use third_party singleapplication helper
This may still not raise the application correctly on some WMs, because
they don't allow disturbing the user with windows popping up. I don't
think we want to work around that.

fixes #84
fixes #113
2020-02-23 13:44:05 +01:00
Nicolas Werner
3ef0d9db3c Fix Registration
fixes #97
fixes #51
2020-02-23 13:44:05 +01:00
DeepBlueV7.X
fee00746c8
Merge pull request #128 from adasauce/no-setstylesheet
remove setStyleSheet calls directly from widget code
2020-02-22 14:43:17 +01:00
Adasauce
6e6fe0cad2
remove setStyleSheet calls directly from widget code
removed from:
 - emoji panel scrollbars
 - emoji category labels
 - splitter image handles
 - textfield setTextColor impl

small change to the category separator label for better contrast /
readability in dark mode.

removed setTextColor completely from TextField. Doesn't appear to be in
use anywhere, and focus going more toward qss themeing from qproperty
setting.
2020-02-21 15:38:19 -04:00
DeepBlueV7.X
fa829bebd0
Merge pull request #127 from adasauce/cleanup-dark-qss
Dark Theme qss cleanup
2020-02-21 03:59:13 +01:00
Adasauce
5cdc5304ec
clean up the light and system themes too 2020-02-20 22:51:03 -04:00
Adasauce
388dee1d67
cleanup, re-order, de-duplicate, re-dry qss for dark 2020-02-20 22:26:09 -04:00
Nicolas Werner
55fb5532ee Fix opaque widget in community list
fixes #126
2020-02-21 02:39:28 +01:00
DeepBlueV7.X
a8cdc20dd3
Merge pull request #125 from adasauce/118-dark-theme-issues
Tooltip and Combobox bugs with Breeze / Dark theme
2020-02-20 21:05:26 +01:00
Nicolas Werner
6bdc75d073 Reset user colors on theme change (in qml timeline) 2020-02-20 20:51:07 +01:00
Adasauce
8b8b844bda
Tooltip and Combobox bugs with Breeze / Dark theme
setStyleSheet was overriding default tooltip theme from the system,
causing themes like Breeze to render white text on a grey bg for
tooltips. Tooltips now render default for the system theme everywhere.

set a theme matching color on the dark theme comboboxes.

fixes #118
2020-02-20 15:51:07 -04:00
Nicolas Werner
2895162971 Clear user colors on theme change 2020-02-20 20:28:23 +01:00
Nicolas Werner
fcaec0d099 Fix html messages sent as just plain text 2020-02-20 18:27:29 +01:00
DeepBlueV7.X
eba02dd2e6
Merge pull request #122 from adasauce/usersettings-formlayout
Replace QHBoxLayout with QFormLayout in UserSettings
2020-02-20 18:25:28 +01:00
Nicolas Werner
4500bcd577 Use spacing for layouting settings 2020-02-20 18:11:49 +01:00
Adasauce
8aaf7e9e5d
Remove constant width, that was wrong.
Use Nico's suggestion to just leverage the width of the field, and leave
a comment.
2020-02-20 12:31:07 -04:00
Adasauce
105366f2b9
Clean up variable format
don't use members format camelCaseTail_
2020-02-20 11:57:16 -04:00
Adasauce
f86cbbe16a
Add constexpr for the minimum formlayout width
to save on recalculation of the size and having to subtract the margins
to do the tally, then re-apply.
2020-02-20 11:50:56 -04:00
Adasauce
b5aa615ef5
FormLayout cleanup
Removed empty labels in favour of a fixed height and bottom alignment.
2020-02-19 15:23:57 -04:00
Adasauce
53138d7f5c
Clean up placeholder string
use QString instead of std::string (QStringLiteral doesn't have a
constructor with int, str.)

remove temp variable, and just deal with it inline.
2020-02-19 15:00:49 -04:00
DeepBlueV7.X
c6817046f0
Merge pull request #123 from cloudrac3r/ubuntu-19.10-dependencies
Add Ubuntu 19.10 build requirements to README
2020-02-19 18:58:36 +01:00
DeepBlueV7.X
6bbb43958e
Remove some hopefully unneeded dependencies on ubuntu 19.10 2020-02-19 17:57:49 +00:00
Cadence Fish
a35b326702
Add Ubuntu 19.10 build requirements to README 2020-02-19 22:44:48 +13:00
Adasauce
21b207d1f0
Review changes to UserSettingsPage
- Switch to {} widget initialization
 - set fixed size on the Toggles so they don't scale down vertically
 - add another setting section for INTERFACE
 - add a placeholder value for deviceFingerprintValue_ so it can calculate the right size.
 - fix warnings about `QLayout: Attempting to add QLayout "" to UserSettingsPage "",` in boxWrap
 - hide widgets properly in Q_OS_MAC
 - remove mainLayout_ completely
 - clean up resizeEvent
2020-02-18 17:16:07 -04:00
Adasauce
111e4504ac
Replace QHBoxLayout with QFormLayout in UserSettings
This allows form fields to wrap dynamically when they are too long for
the view. This should help mobile and small screen users to configure
the app without having to force it into portrait mode, or not be able to
reach the settings fields at all.
2020-02-18 11:08:19 -04:00
Adasauce
b24165371c Paginationg != Paginating in debug message 2020-02-17 17:13:28 +01:00
Nicolas Werner
65bd099372 Don't delete messages received out of order (fixup the flickering fix) 2020-02-16 18:58:38 +01:00
Nicolas Werner
ec9da9f42a Try to fix flickering, if sync return event before send completes 2020-02-16 00:20:41 +01:00
Nicolas Werner
70f4a89d10 Quick hack to enable touch scrolling in settings and room list 2020-02-15 03:48:23 +01:00
Nicolas Werner
ef5edbb3ea Lower general settings margins, if the window is narrow 2020-02-15 03:48:23 +01:00
DeepBlueV7.X
f70923f374
Merge pull request #117 from adasauce/file-download-path
use the standard system download path for file downloads
2020-02-15 03:28:22 +01:00
Adasauce
cb36050822
use QStandardPaths locations for all file dialogs. 2020-02-14 21:35:26 -04:00
Nicolas Werner
c557265082 Try to override asio backend on arm in flatpak 2020-02-15 00:11:18 +01:00
Adasauce
17b5cc32dc
use the standard system download path for downloads
QFileDialog's dir arg (which was set to the incoming file name from the
Matrix download) can take a full path to suggest. By prepending
QStandardPaths::DownloadLocation, it opens to the system's download
folder and proposes the filename as the download name.

Using QStandardPaths should make this work on other platforms, and from
what I read, its possible for this to return an empty string on
platforms where it doesn't support it, so this should essentially
revert to the previous functionality if Qt can't determine the system's
download location.
2020-02-14 16:24:53 -04:00
DeepBlueV7.X
c062746c83
Merge pull request #116 from sorairolake/feature/japanese-translation
Add Japanese translation
2020-02-14 12:13:57 +01:00
Nicolas Werner
6d5dbf450b Bump boost version to try to fix some arm crashes 2020-02-14 11:59:02 +01:00
Shun Sakai
2ceaead7fc Change the initial of the proper noun to uppercase
markdown -> Markdown
2020-02-14 13:02:44 +09:00
Nicolas Werner
703c289b22 Add arm build for nightly flatpaks 2020-02-14 02:12:45 +01:00
Nicolas Werner
c8bc89d0fa try out flatpak nightly build 2020-02-14 00:46:06 +01:00
DeepBlueV7.X
3c54d60eae
Merge pull request #114 from adasauce/image-overlay-fix
Fix image overlay appearing on the wrong screen.

thanks adasauce!
2020-02-13 17:34:28 +01:00
Nicolas Werner
a2566b870e show image dialog fullscreen instead of resizing to the size of the first desktop 2020-02-13 15:11:43 +01:00
Shun Sakai
68570a41e0 Add Japanese translation 2020-02-13 15:59:52 +09:00
Adasauce
95c2525218
Remove move() in ImageOverlay
it was causing the full screen image overlay to appear on the "primary
display" vs. the actual display nheko is running on.

removing the move() call makes the overlay follow the window.
2020-02-12 20:50:52 -04:00
Shun Sakai
b1e7823b50 Fix typo in CONTRIBUTING.md
The ISO 639-1 code of Japanese is not "jp" but "ja".
2020-02-11 19:22:55 +09:00
Nicolas Werner
284fc8eaa8 Improve styling of emote messages 2020-02-09 01:24:24 +01:00
Nicolas Werner
c5af3543e6 fix c++11 range-loop might detach Qt container 2020-02-07 02:56:03 +01:00
Nicolas Werner
d113733ce0 Don't leak the full file path when sending file 2020-02-06 22:25:03 +01:00
Nicolas Werner
1b039d0b16 Fix bug in html tag escaping 2020-02-06 22:04:55 +01:00
Nicolas Werner
46a77a8c11 Fix linter issue 2020-02-05 22:43:33 +01:00
Nicolas Werner
08c16a5544 Bump mtxclient to fix keybackup 2020-02-05 22:23:07 +01:00
DeepBlueV7.X
275d4dfed9
Fix integer overflow of cachesize on windows 2020-02-05 15:35:04 +01:00
Joseph Donofry
096db389d1
Make closing the reply popup actually clear the reply message 2020-02-04 18:17:14 -05:00
Nicolas Werner
9d90467e6a Select first room on startup 2020-02-04 21:16:04 +01:00
Nicolas Werner
2b531227a8 modernize: use override 2020-02-04 15:18:26 +01:00
Nicolas Werner
7dab4d39ee modernize: raw string literals 2020-02-04 05:19:55 +01:00
Nicolas Werner
7ccc120f63 modernize: use nullptr 2020-02-04 04:58:43 +01:00
Nicolas Werner
d330020fdd Improve styling a bit 2020-02-03 19:21:03 +01:00
Nicolas Werner
aae8612482 use room rules for mentions 2020-02-02 18:55:07 +01:00
Nicolas Werner
96e3a7735d Fix <displaynames> 2020-02-02 15:15:00 +01:00
Nicolas Werner
4612266a67 Add muting 2020-02-02 13:51:07 +01:00
DeepBlueV7.X
32375518de
Merge pull request #112 from Nheko-Reborn/sharp-logo
Update the logo to not be so asymmetric and add a scalable svg. I hope I fixed all the scaling issues, where the logo isn't pixel aligned in most resolutions. Also fixes an issue, where the blue bar seemed to be misaligned in some resolutions?
2020-02-02 00:10:18 +00:00
Nicolas Werner
2053f67626 Close popup when clicking outside 2020-02-02 00:33:55 +01:00
Nicolas Werner
5f4efa9442 Speed up timeline by using global ToolTip and Menu 2020-02-02 00:27:51 +01:00
Joseph Donofry
5570250eed
more emojis 2020-02-01 15:30:10 -05:00
Nicolas Werner
657f48b139 Remove wildcard mtx.hpp includes 2020-01-31 17:12:20 +01:00
Nicolas Werner
bd3b6aefb4 Remove even more headers 2020-01-31 16:36:58 +01:00
Nicolas Werner
63f3071445 Remove more unneeded headers 2020-01-31 16:25:43 +01:00
Nicolas Werner
127fb9370b Remove metatypes from headers 2020-01-31 16:08:30 +01:00
Nicolas Werner
4cd260bfcf Optimize includes a bit 2020-01-31 15:11:21 +01:00
Nicolas Werner
995568814b Use cleaned up logo 2020-01-31 03:40:27 +01:00
Nicolas Werner
558fd10f7b Add next/prev room shortcuts 2020-01-31 01:39:51 +01:00
Nicolas Werner
735086371d Make page scrolling half height 2020-01-31 00:02:15 +01:00
Nicolas Werner
9b7c1cb7f9 Add scroll page shortcut 2020-01-30 23:57:39 +01:00
Nicolas Werner
d7f7e8269f Moved down a bit 2020-01-30 22:33:35 +01:00
Nicolas Werner
324ac87a9c round variant and sizes changed a bit 2020-01-30 22:32:26 +01:00
Nicolas Werner
931f3b446e Initial rebuild of logo 2020-01-30 21:34:13 +01:00
Nicolas Werner
c2d436942e Add explicit size to reply close button 2020-01-30 04:01:44 +01:00
Nicolas Werner
af04aa5669 Fix build after mtxclient rebase... 2020-01-30 03:52:36 +01:00
Nicolas Werner
b541cecd2e Enable ban and kick button in UserProfile (and try to fix centering) 2020-01-30 03:45:27 +01:00
Nicolas Werner
a07e699811 Fix build with build system optimizations of mtxclient 2020-01-29 23:39:05 +01:00
Joseph Donofry
d6d4076d36
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2020-01-28 19:20:51 -05:00
Joseph Donofry
d205952fc8
Change tooltip palette settings for QML 2020-01-28 19:20:39 -05:00
Nicolas Werner
9559576b1b Remove stale deps folder
Follow up to the dependency and build system changes
2020-01-29 00:43:30 +01:00
Nicolas Werner
75c5c01189 Merge branch 'plain-text-messages' into 0.7.0-dev 2020-01-29 00:42:46 +01:00
DeepBlueV7.X
247af99399
Merge pull request #111 from Nheko-Reborn/better-build
Improve build system and dependency bundling.
2020-01-28 23:38:16 +00:00
Nicolas Werner
b0ff1baa1d Add command for invite,kick,ban and unban 2020-01-29 00:30:53 +01:00
Nicolas Werner
4951241d23 Simplify reply popup logic 2020-01-28 19:08:16 +01:00
Nicolas Werner
c2e0aee193 Improve styling of reply popup 2020-01-28 17:16:49 +01:00
Nicolas Werner
3319e0ec20 Fix resize loop of images in reply popup 2020-01-28 17:08:49 +01:00
Joseph Donofry
0ade72e970
Merge branch '0.7.0-dev' of ocean.joedonofry.com:nheko-reborn/nheko into 0.7.0-dev 2020-01-27 23:29:39 -05:00
Joseph Donofry
2b8b04a04b
Add initial QML Reply Popup 2020-01-27 23:28:11 -05:00
Nicolas Werner
760d4ddef9 Fix newlines in plain text messages again 2020-01-27 18:36:34 +01:00
Nicolas Werner
792c39d304 fix typo in build command in README 2020-01-27 18:27:31 +01:00
Nicolas Werner
e81a4e8f9a Don't send useless formatted_bodies 2020-01-27 17:25:09 +01:00
Nicolas Werner
9c368fa7f4 Fix reply rendering without markdown in riot 2020-01-27 17:05:40 +01:00
Nicolas Werner
e2f547149a Allow sending messages as plain text 2020-01-27 15:59:25 +01:00
Nicolas Werner
0d22da6288 Update readme with new build instructions 2020-01-26 23:36:56 +01:00
Nicolas Werner
6e3e216156 Polyfill fetchcontent_makeAvailable for cmake < 3.14 2020-01-26 18:53:24 +01:00
Nicolas Werner
498d8d464c Link bundled cmark dynamically on Windows for now 2020-01-26 16:38:31 +01:00
Nicolas Werner
e964d90e70 Disable shared cmark bundled build 2020-01-26 16:38:31 +01:00
Nicolas Werner
f2557a2f14 Disable olm tests 2020-01-26 16:38:31 +01:00
Nicolas Werner
adf956af9a Bump cmark version in fetch to fix linker issue on windows 2020-01-26 16:38:31 +01:00
Nicolas Werner
01ed56d00a Link ntdll needed for lmdb on windows 2020-01-26 16:38:31 +01:00
Nicolas Werner
9ebb7c34f4 Use appveyor provided openssl 2020-01-26 16:38:31 +01:00
Nicolas Werner
54792b7676 Remove mingw from appveyor 2020-01-26 16:38:31 +01:00
Nicolas Werner
de13b16e13 Use fetch content compatible cmark version as bundled dep 2020-01-26 16:38:31 +01:00
Nicolas Werner
1271af6962 Don't specify hunter build targets on windows CI 2020-01-26 16:38:31 +01:00
Nicolas Werner
f755550418 Add missing thread include 2020-01-26 16:38:31 +01:00
Nicolas Werner
d9aac3ee19 Only use -Werror for our code 2020-01-26 16:38:31 +01:00
Nicolas Werner
96ad385331 Fix misc ci errors 2020-01-26 16:38:31 +01:00
Nicolas Werner
c503c01474 Set prefix path explicitly on osx 2020-01-26 16:38:31 +01:00
Nicolas Werner
d10276253f Fix include of lmdb++ with hunter 2020-01-26 16:38:31 +01:00
Nicolas Werner
8a21c5942b Port CI to hunter 2020-01-26 16:38:31 +01:00
Nicolas Werner
d8263265e6 Use hunter for bundled dependencies 2020-01-26 16:38:31 +01:00
Nicolas Werner
73cf7b239b Update emoji to unicode 13.0 2020-01-24 04:18:14 +01:00
Nicolas Werner
8fcb670bde Remove translations from reply fallback 2020-01-24 01:10:40 +01:00
Nicolas Werner
453d6f5f64 Surpress qt binding warning message until we can depend on qt5.14 2020-01-23 23:59:46 +01:00
Joseph Donofry
74e2b0725d
Minor tweak to one instance of QSettings not necessarily using the same settings as everything else 2020-01-23 17:07:24 -05:00
Nicolas Werner
219b5b31e5 Remove third party fonts from readme
Since they are already removed from the repo
2020-01-23 23:01:55 +01:00
Nicolas Werner
cbd428c584 Switch around dark theme colors again (after looking at some screenshots) 2020-01-23 21:28:17 +01:00
Nicolas Werner
8389102f6c Translate member events to german 2020-01-23 21:14:36 +01:00
Nicolas Werner
e9267ffc76 Show event type string in placeholder 2020-01-23 20:59:17 +01:00
Nicolas Werner
c758cead9e Remove loggin of encrypted message body 2020-01-23 20:45:23 +01:00
Nicolas Werner
86960e67ec Implement display of membership events 2020-01-23 20:34:04 +01:00
Nicolas Werner
8f660d5223 Actually use the spdlog target 2020-01-23 20:18:13 +01:00
Nicolas Werner
569c22b755 Fix blurry avatars
They accidentally used the same state key...
2020-01-23 13:54:40 +01:00
Nicolas Werner
1943d1c74d Increase emoji range 2020-01-21 22:36:55 +01:00
Nicolas Werner
84ac122c48 PixelAlign timeline view 2020-01-21 22:22:25 +01:00
Nicolas Werner
6aedd135a9 Remove useless logging 2020-01-21 22:12:59 +01:00
Nicolas Werner
aa7ac71cfe Fix room avatars in settings 2020-01-21 21:33:35 +01:00
Nicolas Werner
fcc7c0ce5b Account for spacing when checking for bottom message for read status 2020-01-21 20:46:12 +01:00
Nicolas Werner
c95f4d8276 Fix colors in typing display, when username contains emoji 2020-01-21 20:41:09 +01:00
Nicolas Werner
79e4e2e6e1 Improve emoji escaping 2020-01-21 04:18:17 +01:00
Nicolas Werner
dc44ac50a3 Linkify links before sending 2020-01-21 03:36:26 +01:00
Nicolas Werner
f5b8c9bb31 Remove use of deprecated enum 2020-01-19 19:07:04 +01:00
Nicolas Werner
4bcb423b02 Remove libs from windows release zip 2020-01-17 01:25:43 +01:00
DeepBlueV7.X
51eddcca80 Update appveyor.yml 2020-01-17 01:25:43 +01:00
DeepBlueV7.X
2b8594af87 Update appveyor.yml 2020-01-17 01:25:43 +01:00
DeepBlueV7.X
56846fd9f0 Update appveyor to vs2019 and qt5.14 2020-01-17 01:25:43 +01:00
DeepBlueV7.X
0d6a65af07 Try to lower map size
Maybe this fixes the 1mb map size in my windows test environment?
2020-01-17 01:25:43 +01:00
Nicolas Werner
fe912240bc Move typing display to qml 2020-01-17 01:25:14 +01:00
Nicolas Werner
8c5e4db42c Remove embedded fonts 2020-01-16 20:37:07 +01:00
Nicolas Werner
719f1571b9 Don't require Qt5.12 just for QByteArray::compare 2020-01-16 20:36:44 +01:00
Nicolas Werner
853923916f Fix deps 2020-01-16 01:37:37 +01:00
Nicolas Werner
69ce94d1bd Reduce memory usage and make room switching quicker
May make scrolling more laggy or jumpy.
2020-01-14 22:37:23 +01:00
Nicolas Werner
4eb0e11740 Try to match old theme better 2020-01-14 20:44:11 +01:00
Nicolas Werner
54a16ae2d7 Fix duplicate messages in timeline after sending 2020-01-14 20:43:35 +01:00
Nicolas Werner
cdb11b1819 Reduce avatar cache size 2020-01-14 17:48:01 +01:00
Nicolas Werner
3f02b0bf56 Escape blacklisted html tags 2020-01-14 17:47:30 +01:00
Nicolas Werner
62f17dffbd Fix replies in encrypted rooms
The relation needs to be unencrypted...
2020-01-13 12:37:02 +01:00
Nicolas Werner
4ca8da9a89 Allow replying with an image 2020-01-12 17:07:22 +01:00
Nicolas Werner
4727f1c2bb Fetch missing events for replies 2020-01-11 18:53:32 +01:00
Nicolas Werner
91a576fac1 Disable appveyor .deps cache 2020-01-11 14:16:37 +01:00
Nicolas Werner
2b3dc3d8b9 Implement fancy reply rendering
This currently assumes the event, that is replied to, is already
fetched. If it isn't, it will render an empty reply. In the future we
should fetch replies before rendering them.
2020-01-11 14:07:51 +01:00
Nicolas Werner
b130b85df8 try to make appveyor happy 2020-01-06 18:36:02 +01:00
Nicolas Werner
01bd9f659d Adapt play buttons to theme and remove accidental message bg 2020-01-06 18:29:08 +01:00
Nicolas Werner
51d7e64992 Simplify read message logic with inverted timeline 2020-01-06 18:29:08 +01:00
Nicolas Werner
5af6f6528b Use fetchMore for native lazy loading of item model data 2020-01-06 18:29:08 +01:00
Nicolas Werner
946ab4d0f2 invert timeline 2020-01-06 18:29:08 +01:00
Joe
0222996cbd Upload windows nightlies to S3 2020-01-04 14:27:50 -05:00
Nicolas Werner
e084543cc0 Move visitors out of TimelineModel 2019-12-27 21:50:37 +01:00
Nicolas Werner
768ae9a5e0 Bumb mtxclient version 2019-12-27 21:49:10 +01:00
Nicolas Werner
3bbd034781 Fix transitive dependencies on iostream 2019-12-23 05:22:03 +01:00
Nicolas Werner
f2f0efe9b3 Fix appveyor deps/cmakelist path 2019-12-15 17:30:34 +01:00
Nicolas Werner
ceb6f85ccb Actually include header that provides std::signal instead of signal 2019-12-15 03:51:33 +01:00
Nicolas Werner
79f967da8c Reduce Cache.h includes further via one forward declaration 2019-12-15 03:34:37 +01:00
Nicolas Werner
37fbcaf07b Reduce includes of MatrixClient.h, as it is the most expensive header 2019-12-15 03:19:33 +01:00
Nicolas Werner
5fc1f3bd67 Reduce overhead of Cache.h 2019-12-15 02:56:04 +01:00
Nicolas Werner
7d6a015f36 Add qml debugging option 2019-12-14 23:48:28 +01:00
Nicolas Werner
935727864a Increase max cache size and remove const from lmdb constants
fixes compilation issues with last released lmdb++
2019-12-14 23:41:54 +01:00
Nicolas Werner
13df852479 Reduce some include of Cache.h since it needs 11s on average 2019-12-14 23:40:32 +01:00
Nicolas Werner
6b16616e3a Update README
[skip-ci]
2019-12-14 19:46:00 +01:00
Nicolas Werner
659e36b113 Update to c++17 2019-12-14 18:59:38 +01:00
Nicolas Werner
2ea1e11ffc Clear appveyor cache 2019-12-13 21:18:34 +01:00
Nicolas Werner
932dbf38fe Fix position of invite button and elide long button texts 2019-12-13 21:05:28 +01:00
Nicolas Werner
ba25771c08 Make invites always stick to the top
This also removes an ugly hack, that was needed before.
2019-12-13 20:49:27 +01:00
Nicolas Werner
a73ed771fa Make images always fit the timeline 2019-12-13 02:16:12 +01:00
Nicolas Werner
9c1912ed93 Fix preview of sent encrypted images 2019-12-13 01:31:14 +01:00
Nicolas Werner
db4a316b56 Bumb libsodium version, as 1.0.16 is not available anymore 2019-12-13 00:19:00 +01:00
Nicolas Werner
31b00c445b Send encrypted files as generic mimetype and actually set url 2019-12-12 23:17:17 +01:00
Nicolas Werner
c4541d08ed cache .deps directory in appveyor 2019-12-12 00:01:54 +01:00
Nicolas Werner
c52e0b0829 try caching the .deps directory 2019-12-11 23:35:09 +01:00
Nicolas Werner
60dc3cf0bc Update translations 2019-12-11 23:32:18 +01:00
Nicolas Werner
e98a61fea6 Show topic and name changes in timeline 2019-12-10 14:46:52 +01:00
Joseph Donofry
e79ae4ea09
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-12-07 21:39:47 -05:00
Nicolas Werner
dee49508de Simplify scroll logic 2019-12-08 01:26:00 +01:00
Nicolas Werner
8c44c5e2d0 Change scroll behaviour of timeline
This requires Qt 5.9 (to calculate overshoot).
The default scroll behaviour of list views has far too much inertia.
This should make scrolling feel more like scrolling the other scroll
areas of nheko.
2019-12-08 00:54:28 +01:00
Nicolas Werner
05aa7f948a Try to fix binding loop warning 2019-12-07 15:00:06 +01:00
Nicolas Werner
362efbf5b9 Restore linkification of messages 2019-12-06 02:57:08 +01:00
Joseph Donofry
9d9b214e4c
Merge pull request #100 from Nheko-Reborn/file-encryption
Add file encryption / decryption support
2019-12-05 20:15:01 -05:00
Nicolas Werner
6945d8a4c8 Update mtxclient to current 0.3.0-dev version 2019-12-06 00:34:16 +01:00
Nicolas Werner
17f40d15de Update translations 2019-12-05 15:52:59 +01:00
Nicolas Werner
43d7fe0d35 Implement sending encrypted files 2019-12-05 15:31:53 +01:00
Nicolas Werner
5bfdaff778 Implement decryption of images
It is a bit of a hack, but it works...
2019-12-03 23:34:16 +01:00
Nicolas Werner
a689118d71 lint 2019-12-03 19:49:56 +01:00
Nicolas Werner
f1340f7127 Specify to not use boost static libs via command line in ci 2019-12-03 18:43:38 +01:00
Nicolas Werner
6d6d4fbcc1 Add debugging to cmake version in ci 2019-12-03 18:04:53 +01:00
Nicolas Werner
610e4dbe90 Bump required boost and cmake version to match mtxclient 2019-12-03 17:25:22 +01:00
Nicolas Werner
b8f6e4ce64 Add encrypted file download 2019-12-03 02:48:29 +01:00
Nicolas Werner
6c2ec3fe67 Rename qml namespace from com.github.nheko to im.nheko 2019-11-30 01:43:39 +01:00
Nicolas Werner
bf94d8e43a Remove commented out code 2019-11-30 01:36:37 +01:00
Joseph Donofry
4047a90302
Merge pull request #91 from Nheko-Reborn/qml-timeline
Qml timeline
2019-11-29 14:51:24 -05:00
Nicolas Werner
9fd279c020 Show encryption enabled and use a non zero size for zero size vide 2019-11-23 20:07:15 +01:00
Nicolas Werner
85aae9408b Wrap text in pre tags 2019-11-23 20:07:15 +01:00
Nicolas Werner
7bd875004f Only mark messages as read, when room is active 2019-11-23 20:07:15 +01:00
Nicolas Werner
5429b425e9 Lint 2019-11-23 20:07:15 +01:00
Nicolas Werner
cf88499ccb Fix replies to encrypted events 2019-11-23 20:07:15 +01:00
Nicolas Werner
001c94865c Fix windows build
No idea, why apply visitor doesn't work with temporaries?
2019-11-23 20:07:15 +01:00
Nicolas Werner
c424e397b0 Add loading spinner and restore message send queue 2019-11-23 20:07:15 +01:00
Nicolas Werner
1659356839 Update translations 2019-11-23 20:07:15 +01:00
Nicolas Werner
562169965c Show only messages in room list 2019-11-23 20:07:15 +01:00
Nicolas Werner
91d1f19058 Remove old timeline 2019-11-23 20:07:15 +01:00
Nicolas Werner
e8f8182844 Use default macOS image 2019-11-23 20:07:15 +01:00
Nicolas Werner
a3fc944967 Fix links opening user dialog and in browser 2019-11-23 20:06:16 +01:00
Nicolas Werner
0cec167339 Fix infinite item instantiating loop by using height instead of contentHeight 2019-11-23 20:06:16 +01:00
Nicolas Werner
2bfb885b47 optionally use QQuickWidget and replace ColorOverlay -> colorImageProvider 2019-11-23 20:06:15 +01:00
Nicolas Werner
1268e9f11c Make replies format nicer
Also lays a bit of groundwork for better reply rendering
2019-11-23 20:06:15 +01:00
Nicolas Werner
88dc72df4f Enable link handling 2019-11-23 20:06:15 +01:00
Nicolas Werner
993926e189 Make user clickable and improve button cursor look 2019-11-23 20:06:15 +01:00
Nicolas Werner
4f7a45a0a6 Improve avatar look and layouting
Thanks to red_sky for the feedback!
2019-11-23 20:06:15 +01:00
Nicolas Werner
bde71a6cbc fixup bad room list translation commit 2019-11-23 20:06:15 +01:00
Nicolas Werner
2279484697 Remove unused import 2019-11-23 20:06:15 +01:00
Nicolas Werner
2c37beba8d Fix translation of roomlist message preview
This also makes long messages unreadable, because we don't shorten long
usernames anymore. We may eventually want to do that again, but it is
hard with translations and we probably want to shorten the displayname
more, as before this change the message was only ever as long as the
timestamp, which is usually just 5 characters...
2019-11-23 20:06:15 +01:00
Nicolas Werner
6b6085b270 Actually fix updating roomlist on new messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
3c9ddc2afb break height binding loop 2019-11-23 20:06:15 +01:00
Nicolas Werner
15badebc77 Show own messages in RoomList 2019-11-23 20:06:15 +01:00
Nicolas Werner
b1f1cb2b56 Redirect qt logger 2019-11-23 20:06:15 +01:00
Nicolas Werner
2055c75f8b Organize qml files a bit 2019-11-23 20:06:15 +01:00
Nicolas Werner
e52ff609ed Remove unused Qt Module 2019-11-23 20:06:15 +01:00
Nicolas Werner
0d8bf6c676 lint 2019-11-23 20:06:15 +01:00
Nicolas Werner
3d6f502bcc Incubate delegates asynchronously 2019-11-23 20:06:15 +01:00
Nicolas Werner
c8f97216fa Small fixes to delegate chooser implementation 2019-11-23 20:06:15 +01:00
Nicolas Werner
c37495fae2 Use a basic implementation of a DelegateChooser for compat with older Qt
The interface is taken from Qt/KDE, but the implementation is different,
because the Qt implementation depends on some Qt internals.
2019-11-23 20:06:15 +01:00
Nicolas Werner
cff46d97a8 Add native themeing to QML (where possible) 2019-11-23 20:06:15 +01:00
Nicolas Werner
a83ae7e95f Fix section layout issues and pagination issues
Pagination could get stuck, if the messages request failed.
Section height seemes to have been calculated to late, which would make
some section overlap the next message in some cases. Fix that by doing
the height calculation manually.
2019-11-23 20:06:15 +01:00
Nicolas Werner
0fd2199112 Load content if no scrollbar is needed 2019-11-23 20:06:15 +01:00
Nicolas Werner
8ebef4eed2 Size images/videos by timeline width 2019-11-23 20:06:15 +01:00
Nicolas Werner
d90038cf20 Misc layout fixes 2019-11-23 20:06:15 +01:00
Nicolas Werner
b9076c5c4d Try out DelegateChooser
requires Qt5.12+
2019-11-23 20:06:15 +01:00
Benedikt Bongartz
7f41752165 fix: add missing quickcontrols2 dep 2019-11-23 20:06:15 +01:00
Nicolas Werner
e828d9ed7b Disable autoplayback again 2019-11-23 20:06:15 +01:00
Nicolas Werner
084396059b Use win lean and mean to fix WinSock include issue 2019-11-23 20:06:15 +01:00
Nicolas Werner
ec6953d0c0 Fix linting issues 2019-11-23 20:06:15 +01:00
Nicolas Werner
241c0236fc Try to fix windows Winsock.h compilation error 2019-11-23 20:06:15 +01:00
Nicolas Werner
55696ec0ba Add required graphicaleffects package 2019-11-23 20:06:15 +01:00
Nicolas Werner
489165d579 Lower requirement on QtQuick.Layouts version 2019-11-23 20:06:15 +01:00
Nicolas Werner
e196450428 Use QtQuick.Controls compatible with Qt 5.8 2019-11-23 20:06:15 +01:00
Nicolas Werner
a1919d00d0 Try to package qml modules 2019-11-23 20:06:15 +01:00
Nicolas Werner
425d534e22 Enable Sticker and Emote messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
67d255a2de Add basic video messages
Size is fixed for now, otherwise the Video output ends up somewhere...
2019-11-23 20:06:15 +01:00
Nicolas Werner
8a511a7862 Add progress bar to audio messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
ea98d7b2ae Add simple audio message widget 2019-11-23 20:06:15 +01:00
Nicolas Werner
a8166462ad File messages (qml) 2019-11-23 20:06:15 +01:00
Nicolas Werner
ea12c9f9bc Add basic read_event support (qml) 2019-11-23 20:06:15 +01:00
Nicolas Werner
1dd1a19b06 Update roomlist on new messages 2019-11-23 20:06:15 +01:00
Nicolas Werner
aee29c6ed5 Reenable redactions 2019-11-23 20:06:15 +01:00
Nicolas Werner
0d3c9390c6 Rename initialize to sync, since it does the same thing 2019-11-23 20:06:15 +01:00
Nicolas Werner
e2d733a01a Restore saving of media 2019-11-23 20:06:14 +01:00
Nicolas Werner
9b18440b4f Reenable ImageOverlay 2019-11-23 20:06:14 +01:00
Nicolas Werner
82091999c4 Add lock to encrypted messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
a5ccd00be0 Remove noisy decrypted message 2019-11-23 20:06:14 +01:00
Nicolas Werner
bb60976e7e Reenable encrypted messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
c8315d792b Make avatar in timeline smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
6c7e6b0e86 Fix read indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
d34067a257 Enable read receipts action and sync read receipts from cache 2019-11-23 20:06:14 +01:00
Nicolas Werner
240b3a566b Add send/received indicator 2019-11-23 20:06:14 +01:00
Nicolas Werner
5200db17e9 Implement basic placeholder and disable unimplemented event types 2019-11-23 20:06:14 +01:00
Nicolas Werner
d1fffd6617 Implement simple scroll state handling 2019-11-23 20:06:14 +01:00
Nicolas Werner
691c854201 Try to fix CI, no match for QString::arg(QStringRef) 2019-11-23 20:06:14 +01:00
Nicolas Werner
62d0cd74da Implement replies in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
5c87d6faa6 Implement sending other message types in qml timeline
not using placeholders in timeline for now
2019-11-23 20:06:14 +01:00
Nicolas Werner
a7595eab5a Reimplement sending basic text messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
a1c97fc8d6 Show redactions in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
4efac5a247 Try to fix duplicate messages in certain edge cases (i.e. sync and pagination at the same time) 2019-11-23 20:06:14 +01:00
Nicolas Werner
f260b8b4ae Fix shadow error 2019-11-23 20:06:14 +01:00
Nicolas Werner
656861fa9d Fix ci formatter to format all files 2019-11-23 20:06:14 +01:00
Nicolas Werner
e20501cec7 Reenable display of encrypted messages 2019-11-23 20:06:14 +01:00
Nicolas Werner
7aca8a9430 Reenable view raw message 2019-11-23 20:06:14 +01:00
Nicolas Werner
86f4119a05 Implement basic ImageMessages in qml timeline
I suck at sizing so the images in the message are currently hardcoded to
300 pixels in width...
2019-11-23 20:06:14 +01:00
Nicolas Werner
ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
aae295cb02 Fix new messages not arriving in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
7947ba57cc Make reply and options buttons smaller 2019-11-23 20:06:14 +01:00
Nicolas Werner
8727831de7 Fix QML emojis 2019-11-23 20:06:14 +01:00
Nicolas Werner
bbbd5df75f Use system colors for now 2019-11-23 20:06:14 +01:00
Nicolas Werner
10eb64de81 Bump required Qt version to 5.8 to support Q_NAMESPACE 2019-11-23 20:06:14 +01:00
Nicolas Werner
c4ba832331 Fix misc CI issues 2019-11-23 20:06:14 +01:00
Nicolas Werner
df1da1e18f Install quickcontrols in ci 2019-11-23 20:06:14 +01:00
Nicolas Werner
c1ee22a53e Fix shadow warning 2019-11-23 20:06:14 +01:00
Nicolas Werner
34f5400e99 Implement TextMessage delegate
Text selection over multiple items doesn't work yet
2019-11-23 20:06:14 +01:00
Nicolas Werner
56e27ced25 Format date (close to) the old way in qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
ccedbde38b Add avatar placeholder and scrollbar to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
2dd636456c Add basic sections and button placeholders to qml timeline 2019-11-23 20:06:14 +01:00
Nicolas Werner
699fd7b38e Implement loading of history, when timeline is displayed 2019-11-23 20:06:14 +01:00
Nicolas Werner
47fbfd3f44 Add items to timline 2019-11-23 20:06:14 +01:00
Nicolas Werner
8b5c7b2f2f Add placeholder timeline model 2019-11-23 20:06:14 +01:00
Nicolas Werner
8e611abe87 Replace timeline with empty qml view 2019-11-23 20:06:14 +01:00
Joe
dc173581f1 Update travis to xcode9.2 for macos 2019-11-02 00:32:47 -04:00
Joe
35759d2c6c Merge branch '0.7.0-dev' of https://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-11-02 00:27:54 -04:00
Joseph Donofry
bdf6e2b028 Fix boost build in FreeBSD 2019-11-01 21:30:56 +00:00
Joseph Donofry
a997497524
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-10-31 19:43:34 -04:00
DeepBlueV7.X
1de7efd4ea
Merge pull request #98 from protesilaos/master
Update README with reference to Debian package
2019-10-30 21:00:50 +00:00
Protesilaos Stavrou
eb61ca8796
Update README with reference to Debian package 2019-10-30 18:15:31 +02:00
Nicolas Werner
cade911a03 Try to fix slow macos build
Try to prevent node upgrade via homebrew
2019-10-07 22:58:53 +02:00
Joseph Donofry
e34622d5ff
Merge pull request #93 from rnhmjoj/pr
escape html before parsing commonmark
2019-10-07 00:09:45 -04:00
Nicolas Werner
288bc7fc3d Try to use an older linuxdeployqt appimage
I think the most recent build broke deployments?
2019-10-04 01:11:23 +02:00
1659176c0d
escape html before parsing commonmark 2019-09-25 01:18:01 +02:00
Joseph Donofry
8b33c51457
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-09-06 16:03:54 -04:00
Joseph Donofry
15c1cd5d66
Merge pull request #92 from pupper68k/0.7.0-dev-bugfix-71
Add settings option to display avatars as squares
2019-09-04 12:23:22 -04:00
Aidan Hahn
34ac2c4f75
re-re-linted 2019-09-03 21:23:54 -07:00
Aidan Hahn
4a223ef508
relinted 2019-09-03 19:59:08 -07:00
Joseph Donofry
8e04197d56
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-09-03 21:16:16 -04:00
Aidan Hahn
5326d29e56
group similar ui options on settings page 2019-09-02 23:40:42 -07:00
Aidan Hahn
69fbaf9ae6
ran make lint to apply style guidelines 2019-09-02 23:30:59 -07:00
Aidan Hahn
3677c58a17
ReImplement UserSettings::setAvatarCircles 2019-09-01 19:54:50 -07:00
Aidan Hahn
a38f390355
Merge branch '0.7.0-dev' of https://github.com/Nheko-Reborn/nheko into 0.7.0-dev-bugfix-71 2019-09-01 16:32:09 -07:00
Aidan Hahn
ce978589b7
removed leftovers from previous refactor 2019-09-01 16:28:19 -07:00
Aidan Hahn
1e6fc6e342
fixed typoes in code, added layout metadata to new settings toggle. 2019-09-01 16:10:11 -07:00
Joseph Donofry
66641339b3
Minor tweak to one instance of QSettings not necessarily using the same settings as everything else 2019-09-01 18:12:01 -04:00
Aidan Hahn
a1c2aed36a
Refactored Avatar and RoomInfoListItem to access rounding settings in place 2019-09-01 14:41:23 -07:00
DeepBlueV7.X
5be967fb1d
Merge pull request #86 from Nheko-Reborn/avatar-memory-usage
Try to reduce memory usage by reusing avatar pixmaps
2019-08-30 23:15:09 +00:00
Joseph Donofry
98d4f14bd1
Fix themeing issues on mentions 2019-08-29 18:01:20 -04:00
Aidan Hahn
b10d453bd5
add controll bits for avatar rounding 2019-08-28 21:36:28 -07:00
Aidan Hahn
8a47388ec6
rounding options for Avatar class 2019-08-28 18:34:04 -07:00
Aidan Hahn
26002bf0e4
added logic in avatar class to determine rounding type 2019-08-27 23:31:04 -07:00
Nicolas Werner
c5f0c3221f Fix usage of deprecated find 2019-08-28 08:21:07 +02:00
Nicolas Werner
8b5515d5c1 Remove unused variables 2019-08-26 08:51:56 +02:00
Nicolas Werner
52056a79fa Try to reduce memory usage by reusing avatar pixmaps 2019-08-26 08:51:56 +02:00
Joseph Donofry
89015b9f18
Fix SIGNAL SLOT issue on mtx types 2019-08-19 20:44:58 -04:00
Joseph Donofry
8d04236fbd
Fix build issues w/ clang 2019-08-19 18:54:17 -04:00
Joseph Donofry
6a14188cc4
Update README with S3 nightlies listing 2019-08-19 18:45:25 -04:00
Joseph Donofry
54137a5bc3
Update mtxclient version 2019-08-19 18:13:32 -04:00
Joseph Donofry
bcdd97c85f
More updates to mentions functionality 2019-08-19 18:11:38 -04:00
Joseph Donofry
52a2621776
Fix issues with caching and loading of mentions.
Mentions are now loaded from the cache instead of
directly from the web request.  Mentions are also
properly saved to the cache now (instead of as empty
strings).  Still lots of tweaks left on this feature.
2019-08-12 22:09:40 -04:00
Joseph Donofry
f2c4162baa
Update mtxclient version 2019-08-12 21:15:42 -04:00
Joseph Donofry
8839cb7d68
Fix missing include in prior commit 2019-08-10 13:20:13 -04:00
Joseph Donofry
d5bb0936bf
Use 'system' theme as default if QT_QPA_PLATFORMTHEME is set
On first launch, before the user has configured any settings,
check the value of the QT_QPA_PLATFORMTHEME environment var.
If it is set, use the system theme as the default instead of the
light theme.  This fixes #72.
2019-08-10 13:14:37 -04:00
Joseph Donofry
7c7889a04d
Fix linting issues w/ the last commit 2019-08-09 23:36:45 -04:00
Joseph Donofry
3f563e1e6e
Cache User Mentions
Cache user mentions when they are retrieved from the server.
This logic currently isn't being utilized by the UI.  Additionally,
the app should use a 'since' value to only get mentions newer
than those stored in the DB, to avoid excessive web requests.

This will be implemented in a future commit.
2019-08-09 23:34:44 -04:00
Joseph Donofry
41dc420edd
Fix linting issues 2019-08-06 08:16:19 -04:00
Joseph Donofry
dbdaf35907
Cache user mentions 2019-08-05 23:00:07 -04:00
Joseph Donofry
eb2f444c37
Tweak S3 Upload settings 2019-08-04 18:47:21 -04:00
Joseph Donofry
80bf3dfb5f
Push to S3 on all branches 2019-08-03 18:52:38 -04:00
Joseph Donofry
c1993d63fe
Upload build artifacts to s3 bucket 2019-08-03 18:12:27 -04:00
Nicolas Werner
e85bd4a54b Actually use the mtxstatic variable in ci script 2019-08-03 18:58:39 +02:00
Nicolas Werner
dfc42643f0 Use static mtxclient on osx in travis 2019-08-03 18:36:39 +02:00
nheko rocks
493e28b8cb Translated using Weblate (German)
Currently translated at 97.0% (191 of 197 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-08-01 20:39:49 -04:00
Joseph Donofry
24a6495291
Fix lambda capture issue 2019-07-29 15:37:21 -04:00
Joseph Donofry
80a8810116 Translated using Weblate (English)
Currently translated at 100.0% (197 of 197 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 23:16:59 -04:00
Joseph Donofry
660851bcb6 Translated using Weblate (English)
Currently translated at 100.0% (195 of 195 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 23:16:07 -04:00
Joseph Donofry
fd2d4d6db3
Update mentions dialog
Mentions are now separated into 'this room' and 'all rooms'
tab., which allows the user to filter on the current room
if they desire.  Should add additional logic in the future
to show which room the mention was in the for the 'all rooms'
view.
2019-07-28 23:14:10 -04:00
Joseph Donofry
497774d623
Fix linting 2019-07-28 20:50:18 -04:00
Joseph Donofry
b875a8debc
Update translation context 2019-07-28 18:45:37 -04:00
Joseph Donofry
7bd452aed9 Translated using Weblate (English)
Currently translated at 100.0% (195 of 195 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 18:43:53 -04:00
Joseph Donofry
7743a851a3
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-07-28 18:40:44 -04:00
Joseph Donofry
a9375add32
Address 'sent' translation issue 2019-07-28 18:40:23 -04:00
Tulir
b33307b74a Translated using Weblate (Finnish)
Currently translated at 97.3% (180 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28 18:19:49 -04:00
philipp
129a97bcf6 Translated using Weblate (German)
Currently translated at 97.8% (181 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 18:19:49 -04:00
nheko rocks
02bd56d5bd Translated using Weblate (German)
Currently translated at 97.8% (181 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 18:19:49 -04:00
Nicolas Werner
19aa05bc94 Manually translate long source strings 2019-07-28 21:27:11 +02:00
DeepBlueV7.X
0c5745a9df Translated using Weblate (English)
Currently translated at 98.9% (183 of 185 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 15:21:50 -04:00
Weblate
e3d69957d3 Merge branch '0.7.0-dev' of github.com:Nheko-Reborn/nheko into 0.7.0-dev
Fix merge conflicts with weblate translation files.
2019-07-28 15:11:26 -04:00
Tulir
b25b87e877 Translated using Weblate (Finnish)
Currently translated at 94.8% (165 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/fi/
2019-07-28 14:46:21 -04:00
DeepBlueV7.X
9f9e2dc7b6 Translated using Weblate (English)
Currently translated at 96.6% (168 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-28 14:46:18 -04:00
DeepBlueV7.X
e35ddd845d Translated using Weblate (German)
Currently translated at 93.1% (162 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 14:46:17 -04:00
nheko rocks
2ae91e1e5c Translated using Weblate (German)
Currently translated at 93.1% (162 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 14:46:17 -04:00
Nicolas Werner
0398c846f6 Add 'and' to typing display 2019-07-28 18:13:16 +02:00
Nicolas Werner
b28115eb37 Fix message_type not being initialized correctly
Fixes "sent an audio file" replies, that were actually replies to text
messages.
2019-07-28 16:50:10 +02:00
Nicolas Werner
dbb8eecf29 media->file in error message, when image upload fails 2019-07-28 16:16:02 +02:00
Nicolas Werner
50c3d4ed3a Add decryption error messages to translations 2019-07-28 13:16:13 +02:00
Nicolas Werner
0f8d882aaf Fix newly added languages after timestamp localization 2019-07-28 12:56:16 +02:00
Nicolas Werner
1c9cc33902 Try to localise timestamps
I'm not sure, if that is the right way, but Qt doesn't really have a way
to format custom localised dates, so I tried to find the closest
approximations to what we currently have.

Relates to #69
2019-07-28 12:55:08 +02:00
philipp
047966a069 Translated using Weblate (German)
Currently translated at 37.4% (65 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-28 06:21:42 -04:00
Tulir
5fce4cb944 Added translation using Weblate (Finnish) 2019-07-28 05:58:47 -04:00
DeepBlueV7.X
75f7690790 Translated using Weblate (German)
Currently translated at 34.5% (60 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-27 22:26:32 -04:00
DeepBlueV7.X
e6a68e2bf7 Translated using Weblate (English)
Currently translated at 31.6% (55 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 22:26:25 -04:00
Joe
54079130e9 Update README with translation information 2019-07-27 20:35:52 -04:00
DeepBlueV7.X
3c8c365135 Translated using Weblate (English)
Currently translated at 5.2% (9 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 20:21:54 -04:00
Joseph Donofry
73c4c35ab3 Translated using Weblate (English)
Currently translated at 5.2% (9 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 20:21:54 -04:00
DeepBlueV7.X
2129a00ffa Translated using Weblate (German)
Currently translated at 48.9% (85 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/de/
2019-07-27 20:21:54 -04:00
Joseph Donofry
67f48f813e Translated using Weblate (English)
Currently translated at 3.4% (6 of 174 strings)

Translation: Nheko/nheko
Translate-URL: http://weblate.nheko.im/projects/nheko/nheko-master/en/
2019-07-27 19:48:59 -04:00
Tulir
7277df5591 Added translation using Weblate (Finnish) 2019-07-27 18:30:43 -04:00
Joseph Donofry
f18a5dacda
Ignore badge label macos deprecations 2019-07-26 17:47:52 -04:00
Joseph Donofry
9fc079a4a9
Remove uneeded log message 2019-07-26 17:47:34 -04:00
Joseph Donofry
86888ee713
Fix bug with emoji font setting and clean linting 2019-07-26 17:44:44 -04:00
Joseph Donofry
778921be8a
Add emoji text selection option for non-mac 2019-07-26 17:31:59 -04:00
Nicolas Werner
78ed78c410 Improve layout of Emoji Picker
Respect system styling
Increase size of emojis (to remove empty space)
Add hover effect (partially adresses #41)
Less hardcoding of sizes
Use emoji font (color)
2019-07-25 11:49:15 +02:00
Joseph Donofry
49ec388c1d
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-07-21 21:58:48 -04:00
Joseph Donofry
8b2488b7ef
Update Mentions UI
Mentions are now an '@' icon in the upper right.

UI Popup is now a smaller dialog.

Still lots of work to be done here.
2019-07-21 21:58:11 -04:00
Nicolas Werner
cefe5fe719 Fix copy and pasting image from clipboard
If the QMimeData contains an image, it actually has a mime type of
application/x-qt-image. At least in some cases accessing the image/*
data returns a 0 length array. Accessing the data via ->imageData works
however. So we use that as our accessor and pass it to the preview
dialog.
2019-07-22 02:38:44 +02:00
Nicolas Werner
512db8c6ff Actually set attributes before starting the app
fixes "Attribute Qt::AA_EnableHighDpiScaling must be set before
QCoreApplication is created."
2019-07-22 00:03:12 +02:00
Joseph Donofry
d2af827194
Fix linting issues 2019-07-16 22:50:23 -04:00
Joseph Donofry
579bf23460
Add User Mentions Dialog
Add a RoomListItem-like button that opens a dialog
containing all of the messages that would result in a
highlight from the server (for example, the user is mentioned,
or @room is mentioned).

This is VERY rudimentary and will be completely reworked in the future
to take advantage of the existing TimelineView class, instead of
using a dialog like it does now. The button to show the mentions
also needs work.
2019-07-16 22:39:10 -04:00
Joseph Donofry
377c9e4a79
Update Travis webhook URL for new nheko room 2019-07-05 16:33:38 -04:00
Joseph Donofry
e5576f03d4
Fix additional Qt version issue 2019-07-05 16:31:01 -04:00
Joseph Donofry
4c0d4f35fe
Fix support for Qt versions < 5.11 2019-07-04 22:58:56 -04:00
Joseph Donofry
2484e0c118
Fix formatting issues 2019-07-04 21:31:28 -04:00
Joseph Donofry
c0a010acbb
Fix deprecated function call issues with Qt 5.13
Update to mtxclient 0.3.0
2019-07-04 21:20:19 -04:00
Joseph Donofry
175737c28b
Fix some linting issues 2019-07-04 13:18:32 -04:00
Nicolas Werner
713f9dbe89 Show room version in settings 2019-07-04 01:26:16 +02:00
DeepBlueV7.X
5a0a9c96b2
Merge pull request #77 from deepbluev7/0.7.0-dev
Add .well-known support

fixes #9
2019-07-04 00:32:38 +02:00
Nicolas Werner
21be44a604 Bump mtxclient requirement
fixes #9
2019-07-03 23:52:29 +02:00
Nicolas Werner
94a8c358d1 Fix typo in log message 2019-06-27 23:01:07 +02:00
Nicolas Werner
aa3d4c4f15 Reconfigure server url, when requested by login response 2019-06-27 15:55:04 +02:00
Nicolas Werner
52871cf93c Support well-known for server discovery 2019-06-27 15:54:03 +02:00
Nicolas Werner
40d9b5c5fc Fix santizize=undefined warning (overflow) 2019-06-27 14:57:32 +02:00
Joseph Donofry
da01f1713f
Merge pull request #76 from xvitaly/0.7.0-dev
Removed RPATH from compiled binaries
2019-06-26 21:45:58 -04:00
Vitaly Zaitsev
eb4795390b
Removed RPATH from compiled binaries.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-06-26 12:27:43 +02:00
Joseph Donofry
cfd6c5703a
Further UI Updates to Rich Replies 2019-06-14 20:45:37 -04:00
Joseph Donofry
129beb57c9
Further Improve Reply Functionality
Quoted replies now include matrix.to links for the event and the user.
UI Rendering has been (slightly) improved... still very WIP.
Restructured the reply structure in the code for future usability
improvements.
2019-06-13 22:33:04 -04:00
Joseph Donofry
9f310fed09
Merge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev 2019-06-12 19:09:05 -04:00
redsky17
1d4966d5fd
Add style for reply popup. Fix ALL of the linting issues 2019-06-11 23:36:46 -04:00
redsky17
71c1cbcfd1
Fix lambda capture and lint issues 2019-06-11 22:34:15 -04:00
Joseph Donofry
042f6e312b
Update CHANGELOG 2019-06-11 21:07:24 -04:00
Joseph Donofry
756c7d1671
Fix linting issue 2019-06-11 21:06:18 -04:00
Joseph Donofry
9159b9ce22
Initial Support for Rich Replies
Add placeholder UI for showing replies in the text entry widget.
Existing quoting capability has been removed (Temporarily), as
it was replaced with the new reply capability.  Replies sent from
nheko do not currently appear correctly in the timeline (this
will be fixed in a future commit).
2019-06-11 21:04:30 -04:00
Joseph Donofry
b9dde957a8
Add initial support for rich replies to nheko 2019-06-09 19:03:18 -04:00
Joseph Donofry
0840f47f83
Update CHANGELOG.md with 0.7.0 changes thus far 2019-06-06 17:28:33 -04:00
Joseph Donofry
ce3074f59d
Update CHANGELOG.md with 0.7.0 changes thus far 2019-05-30 16:48:52 -04:00
redsky17
93520fef28
Update mtxclient version 2019-05-27 16:43:58 -04:00
redsky17
bca4d7eef6
Merge in master 2019-05-27 16:40:39 -04:00
redsky17
9671b1c0d6
Fix linting issues 2019-05-27 16:06:28 -04:00
redsky17
7c630b1363
Add reply and menu buttons to TimelineItem 2019-05-27 16:04:35 -04:00
Joseph Donofry
1b34b53afe
Update to v0.6.4 2019-05-22 22:29:31 -04:00
Joseph Donofry
e52f29a754
Minor build tweaks 2019-05-22 22:06:45 -04:00
Joseph Donofry
2ff115577b
Update mtxclient version and build args 2019-05-22 21:25:33 -04:00
Joseph Donofry
a6d5d9d9fe
Replicate AppVeyor JSON Install from mtxclient:
https://github.com/Nheko-Reborn/mtxclient/commit/023177170c4
2019-05-19 22:42:00 -04:00
Joseph Donofry
dcf13bc606
Update nightly badge link 2019-05-15 19:08:13 -04:00
Joseph Donofry
74a8c65148
Fix flathub badge size 2019-05-15 19:04:59 -04:00
Joseph Donofry
2281f0d37e
Fix flathub badge size 2019-05-15 19:03:56 -04:00
Joseph Donofry
04c2255415
Fix flathub badge size 2019-05-15 19:01:31 -04:00
Joseph Donofry
75915968a1
Update flathub link 2019-05-15 18:59:59 -04:00
Joseph Donofry
7819fea9ff
Update appdata.xml 2019-05-14 18:05:35 -04:00
Joseph Donofry
a17a5550f8
Update to newer mtxclient to allow optional static linking 2019-05-12 23:23:47 -04:00
Joseph Donofry
b8b48a2f3d
Attempt to make travis build with more cores 2019-05-12 22:44:17 -04:00
Joseph Donofry
be5287aa90 Update Travis Install Script
Add new key for ubuntu repo that causes travis to fail.
2019-05-09 19:23:20 -04:00
Joseph Donofry
002021d255
Merge pull request #64 from Nheko-Reborn/travis-ci-fixes
Link mtxclient dynamically and update to Boost 1.69 for CI build
2019-05-08 23:35:16 -04:00
redsky17
4b7e9f7746
link boost dynamically 2019-05-08 22:57:21 -04:00
redsky17
eeb8fff2b5
Update mtxclient ver 2019-05-08 22:17:46 -04:00
redsky17
da0f8cf291
Update to boost 1.69.0 to attemp travis fix 2019-05-08 21:52:00 -04:00
redsky17
b0aa8bc2b4
Remove 'error on unset' for travis builds 2019-05-01 13:01:48 -04:00
redsky17
b2c8c6a1c6
Remove unset var causing error due to Qt script 2019-05-01 11:59:10 -04:00
redsky17
8ef4ba3d11
Use bash instead of sh because the qt env script needs to be run under bash. 2019-05-01 11:20:05 -04:00
redsky17
d0300c55f0
Fix Travis GPG-related build error 2019-05-01 10:51:13 -04:00
Joseph Donofry
3f2781af86
Merge pull request #60 from MonokelPinguin/remove-xml-parsing-of-messages
Simplify linkifyMessage.  Fixes #18.  Thanks @MonokelPinguin
2019-05-01 09:53:40 -04:00
Nicolas Werner
c8c0b41527 Raw string literals not allowed in MOC headers on OSX 2019-05-01 13:33:34 +02:00
Nicolas Werner
23eef9e1bc Simplify linkifyMessage
Parsing html as xml has inherent problems, most notable there are many
matrix clients that don't escape ampersands in urls of mx-replies, etc.
(See issue #18)

This also removes the replacement of <mx-reply> as it isn't strictly
needed.

Also the QRegExp is replaced with the Qt5 QRegularExpression for
perfomance and because it supports lookahead and lookbehind.

I'm pretty sure that the original code also replaced href="" with
href=\"\", which was probably wrong, but I'm not to sure about that.

Fixes #18
2019-05-01 12:11:19 +02:00
Joseph Donofry
e1457d5c7a
Merge pull request #58 from zapashcanon/sh
improve shell scripts and update .gitignore.  Thanks @zapashcanon
2019-04-29 15:48:51 -04:00
zapashcanon
eee6f2de31
improve shell scripts and update .gitignore 2019-04-24 01:55:05 +02:00
redsky17
33b1f37e37
Update olm repo to new location.
Remove LICENSE file in favor of COPYING
2019-04-18 22:30:00 -04:00
redsky17
c06d6240cc
Change LICENSE to COPYING to match gpl standard 2019-04-18 22:26:13 -04:00
redsky17
4cb27f34f2
Fix linting 2019-04-04 22:24:21 +00:00
redsky17
2d9f98a0b7
Update mtxclient version 2019-04-04 21:49:39 +00:00
redsky17
994f79cfbc
Update nheko to export sessions using new format
(requires mtxclient updates as well).
2019-03-27 23:13:38 +00:00
Joseph Donofry
6f13b0df0d
Merge pull request #43 from vtronko/implicitconversion_fix
Get rid of implicit conversion in text input height calculation.  Thanks @vtronko
2019-03-03 18:48:46 -05:00
Joseph Donofry
e3ca96000a
Merge pull request #40 from vtronko/textwidgetborder-fix
Don't let multiline text background overlap top border of text widget.  Fixes #39 
Thanks @vtronko
2019-03-03 18:35:45 -05:00
Vladyslav tronko
c719e01f3d Don't let multiline text background overlap top border of text widget 2019-03-04 00:54:53 +02:00
Vladyslav Tronko
d2a28072f6 Get rid of implicit conversion in text input height calculation 2019-03-03 20:34:57 +02:00
redsky17
0c53a87488
Update README screenshots. Fixes #36 2019-02-27 02:43:16 +00:00
redsky17
617875f906
Make appveyor script Build Nlohmann 2019-02-27 01:45:40 +00:00
redsky17
1ac56e9c4e
Revert dockerfile to trusty and build sodium locally 2019-02-27 01:00:00 +00:00
redsky17
0c9af63d1a
Attempt to fix appimage issue 2019-02-26 23:46:07 +00:00
redsky17
8165aa2b0d
Maybe fix docker issues 2019-02-25 03:20:50 +00:00
redsky17
8a2df06f3a
Fix linting issue 2019-02-25 03:10:02 +00:00
Joe
c1788f0b7d CI Updates 2019-02-24 21:37:11 -05:00
Joe
e7b4c9ecb2 More CI Fixes 2019-02-24 18:23:08 -05:00
Joe
d57a9dee81 more ci updates 2019-02-24 17:29:51 -05:00
Joe
bc1390125b Fix line ending issue 2019-02-24 17:03:26 -05:00
redsky17
e345cee32f Switch CI builds to use bundled JSON
Apparently the nlohmann library is not available in the standard
repositories.  I would rather build it than add universe deps.
2019-02-24 16:50:55 -05:00
redsky17
ee12e01939 Update JSON build deps.
Update JSON build dependencies, change the dockerfile and other
CI files that relate to this.  Also update target mtxclient
revision.
2019-02-24 16:42:37 -05:00
redsky17
4e17b7df72 Make some Dockerfile improvements 2019-02-24 15:09:12 -05:00
redsky17
75fb95855d
Nlohmann build updates 2019-02-24 20:05:11 +00:00
Joseph Donofry
ec83d9e6bd
Merge pull request #32 from Vistaus/master
Updated Dutch translation (thanks @Vistaus )
2019-02-20 15:57:38 -05:00
Heimen Stoffels
8b560d396a
Updated Dutch translation 2019-02-20 20:05:43 +01:00
Joseph Donofry
4c8f6ab0c5
Merge pull request #31 from Nheko-Reborn/fix_initial_sync_loop
Fix initial sync loop
2019-02-18 22:52:36 -05:00
Joseph Donofry
6497d1d822
Merge pull request #27 from AndrewJDR/fix_initial_sync_loop
Attempt to fix issue #19 by increasing the lmdb max_dbs setting.
2019-02-18 18:00:46 -05:00
Joseph Donofry
15ad42562c
Merge pull request #28 from miocho/patch-1
Update nheko_de.ts (German Translations)
2019-02-17 15:23:07 -05:00
miocho
f527ce0a08
Update nheko_de.ts 2019-02-17 17:54:16 +00:00
Andrew Johnson
b5733b2737 Attempt to fix issue #19 by increasing the lmdb max_dbs setting. 2019-02-16 17:05:25 -08:00
Joe
440d0b81ca Release Nheko 0.6.3
- Update version numbers and documentation
- Fix github releases oauth key
2019-02-08 14:49:53 -05:00
Joe
ebe5b19e76 Merge branch 'master' of https://github.com/redsky17/nheko 2019-02-08 14:06:37 -05:00
redsky17
83d2d6d7dd Adjust cmake minimum for included boost 2019-02-08 04:04:07 +00:00
redsky17
fa6bc6a466 Tweak build settings 2019-02-08 03:20:03 +00:00
redsky17
13663ad5f8 Improve color generation performance
Colors are generated asynchronously now and the TimelineItem is
updated when the color generation finishes.  This allows the UI
to stay responsive while new colors are being generated.
2019-02-08 01:58:00 +00:00
redsky17
bb345a9a9f Merge branch 'ui-enhancements'
Preparing for 0.6.3 release
2019-02-07 23:15:25 +00:00
Joseph Donofry
a575178946
Merge pull request #12 from rnhmjoj/fix-join
escape id when joining a room
2019-02-07 08:27:28 -05:00
933fd22e49
escape id when joining a room 2019-02-07 13:51:18 +01:00
redsky17
df8e8ce996 Prevent symlinks from overwriting files 2019-02-05 12:06:59 +00:00
redsky17
9b2c000471 Preserve symlinks in icu4c libs 2019-02-05 03:11:58 +00:00
redsky17
e156ee3d53 Fix cp permissions issue 2019-02-05 02:16:15 +00:00
redsky17
9732c403ac Copy icu4c dylib symlinks in mac deploy 2019-02-05 00:35:03 +00:00
redsky17
d72e362686 See if bundled boost fixes mac deploy 2019-02-04 03:31:34 +00:00
redsky17
62b90e6e5d Additional mac icu4c changes 2019-02-04 02:46:41 +00:00
redsky17
da968bbaa8 Try to force link of icu4c in mac build 2019-02-04 02:03:07 +00:00
redsky17
34b2396284 Update travis mac deploy 2019-02-02 00:37:37 -05:00
redsky17
e16461e2d9 Modify linux deploy.sh 2019-01-31 20:47:27 -05:00
redsky17
8939a6871b Attempt to fix linux CI deploy 2019-01-31 20:04:00 -05:00
redsky17
4e43c5cbbc Even more CI script fixes 2019-01-31 19:29:34 -05:00
redsky17
0627f4ae62 Fix more ci script issues 2019-01-31 23:48:52 +00:00
redsky17
7a23e17625 Fix typo in script.sh 2019-01-31 22:52:31 +00:00
redsky17
e397bc9255 Update deployment configuration 2019-01-31 21:56:19 +00:00
redsky17
b4b683b590 Add TAVIS_TAG for build artifacts 2019-01-31 13:22:51 +00:00
redsky17
ebc2a64627 Attempt to fix bintray issues 2019-01-31 11:00:13 +00:00
redsky17
dc2d63bae3 Change TRAVIS_TAG to TRAVIS_COMMIT 2019-01-31 04:13:20 +00:00
redsky17
11d8cdb1ec BinTray deploy on all commits 2019-01-31 03:38:08 +00:00
redsky17
91ca7e1e89 Attempt to fix travis.yml merge issues 2019-01-31 03:08:05 +00:00
redsky17
db5532de62 merge master and fix conflicts 2019-01-30 20:41:09 -05:00
redsky17
5197023ad7 Fix bintray deploy repo naming 2019-01-30 19:55:19 -05:00
redsky17
c4e1d82d43 Attempt to make bintray builds for every commit 2019-01-30 19:18:07 -05:00
redsky17
6d629f1c90 Add download button to ImageOverlay
When opening images in the full-screen overlay, there is now
a download button next to the close button.  This button utilizes
the same functionality as the right-click->save image button.
2019-01-30 18:01:36 -05:00
Joe
af57e95759 Add /bigobj for nheko MSVC build 2019-01-27 21:03:07 -05:00
redsky17
f7255b7b49 Restore Emoji Picker, but remove forcing EmojiOne
Restored the emoji picker, but it now falls back to the system
instead of forcing Emoji One.  The allows users to user the
picker for convenience, but doesn't enforce the emoji style on them.
2019-01-26 21:02:22 +00:00
redsky17
df5d24c87f Revert "Remove built-in emoji picker"
This reverts commit 4b807229aa.
2019-01-26 18:17:08 +00:00
redsky17
faff23ed38 Fix lint issues in last commit 2019-01-26 18:11:30 +00:00
redsky17
6c31f5fe7a Add initial support for QtIndenticon
Add initial loading of qt jdenticon plugin:
https://github.com/redsky17/qt-jdenticon

Currently, the library's functionality has not been integrated
into the rest of nheko.  Next step is to add a configuration
item in the User Settings and use the plugin to generate
avatars for users without their own picture.  These avatars
should be cached in the Cache object.
2019-01-26 18:03:49 +00:00
redsky17
22a08ba6a4 Fix lint issue 2019-01-26 06:09:51 +00:00
redsky17
f869ff5ded Fix inconsistent user color updates. 2019-01-26 06:03:52 +00:00
redsky17
2ba51c821e Update user colors to use Cache vs Utils
User colors are now stored in cache.  This is consistent
with other similar variables.  I think there's a bug
right now where it doesn't properly refresh colors
for the TimeLineItem when the theme is changed.
2019-01-26 02:55:07 +00:00
redsky17
4185b8d121 Add unread notification color for user mentioned
When user is mentioned (via matrix 'highlight_count'), inactive
rooms will use a different color for the notification circle than
when only general unread messages exist.
2019-01-25 02:47:15 +00:00
Joseph Donofry
6ab12b2f6d
Merge pull request #7 from tim77/master
Update Russian translation
2019-01-24 17:35:45 -05:00
Artem Polishchuk
ab58ada970
Update Russian translation 2019-01-24 17:09:18 +02:00
redsky17
d70bc94f61 Fix lambda capture error 2019-01-24 04:54:35 +00:00
redsky17
237c7ad114 Author Color Fixes
Author color is now cached so that it will not be re-calculated
each time a new message is posted.  This cache gets cleared when
the theme is changed.

Additionally, the author color is now automatically refreshed
when the theme is changed, fixing the issue where you had to
change rooms before the colors would switch.
2019-01-20 04:43:48 +00:00
redsky17
b3f7c13e2f Update user id color generation
Update the author color generation.  Now, instead of generating
an entire hex string based on the user id, the user id instead
is used to generate a hue value.  After this hue value is created,
there is some logic to tweak first the lightness and then saturation
values to achieve a readable color (in contrast to the background).

This change makes it so that user colors will not vary as wildly
between the different themes.

The values still are not cached and still do not update
initially when the theme is changed.  Both of these things
will be resolved.
2019-01-20 00:16:31 +00:00
redsky17
98102f4f09 Fix UserSettings UI not showing saved prefs
Theme and Font Family settings will now correctly display the stored
settings when nheko is re-launched.  Previously, these combo boxes
would default to the first thing in the combo box, even if that
wasn't what the user selected.
2019-01-19 17:31:17 +00:00
redsky17
654b652db4 Add User Font Setting
User can now select a font from the installed fonts on their system

This font currently will only be applied when nheko is restarted
(similar to how font size and scaling currently work).  This will
be addressed in a future commit.  Additionally, the dropdown
does not correctly select the previously-chosen user font, and
instead defaults to the first font available on the system
(alphabetically).  This is similar to the issue with the 'Theme'
combo defaulting to 'Light' even when another theme is selected.
2019-01-19 16:20:41 +00:00
redsky17
909d11ddef Fix .travis.yml issue 2019-01-18 22:30:02 +00:00
redsky17
dd0b28f217 Update bintray-release.json 2019-01-18 18:54:20 +00:00
redsky17
f5933b74a8 Update CI Configs
Update .travis.yaml to have updated bintray api keys
Update bintray-release.json to have correct casing for repo
2019-01-18 18:43:08 +00:00
redsky17
50e382f554 Modified the code that generates user's colors so that it will
work regardless of the theme choices the user makes.  The code
now incorporates the contrast between the background color and the
color generated by the user_name when picking colors.  It currently
has two 'big' issues:
1. Colors are not cached.  I am planning on adding a QHash for this
a little later.  This should improve performance by not calculating
the color for the same users over and over and over again.
2. Theme changes do not trigger the colors to get refreshed.
Currently, you will have to switch to a different room and back
to get the colors to refresh.
2019-01-18 17:17:25 +00:00
redsky17
1882198e4b Make the author text slightly large.
Add author color generated based on user id.
2019-01-18 04:09:42 +00:00
redsky17
10095b8704 Merge branch 'master' of github.com:nheko-reborn/nheko 2019-01-18 01:01:55 +00:00
redsky17
55883ec2de Remove the code that removed paragraph tags from markdown -> html.
This fixes #2, but reverts mujx#438.  I do not think mujx#438 was a
valid issue, as it complained about the display of valid HTML on riot,
which speaks more to how Riot styles things than about an issue in
nheko itself.
2019-01-18 00:59:31 +00:00
Joe
600ec27857 Merge branch 'master' of https://github.com/redsky17/nheko 2019-01-16 20:35:23 -05:00
Joe
341c0303ec Update travis.yml to include webhook for posting build
status to nheko-reborn matrix room
2019-01-16 20:35:14 -05:00
redsky17
996a4c9590 Fix clang-format linting issue 2019-01-16 18:18:57 +00:00
redsky17
88665b0925 Update the README to point to updated endpoints for the various CI
projects.

Update the appveyor configuration to no longer use mujx keys.

Travis-CI keys still need to be updated.
2019-01-16 04:41:59 +00:00
Joe
d21fa0efa4 Update deps CMake config to point to nheko-reborn mtxclient 2019-01-15 21:47:46 -05:00
Joseph Donofry
87349fd164
Merge pull request #1 from aaronraimist/readme-redsky-room
Update README to link to the room for the fork
2019-01-13 01:28:06 -05:00
Aaron Raimist
50780c0ef2
Update README to link to the room for the fork 2019-01-12 23:58:16 -06:00
redsky17
bcabf2fb73 Update travis ci config to point to redsky17 config and try to fix lint
errors
2019-01-13 03:48:07 +00:00
redsky17
c930b36799 Update README to point to redsky17 travis-ci and appveyor vs mujx. 2019-01-13 02:18:01 +00:00
redsky17
3fceaeb203 Add hover color for timestamp.
Update dark and system themes to provide
colors for the hover states for title, subtitle, and timestamp.
2019-01-12 22:03:25 +00:00
Joe Donofry
ae91bab07d Tweak some of the colors in the CSS rules for nheko.
Add room list hover title/subtitle color change support.
2019-01-12 14:35:56 +00:00
Konstantinos Sideris
6a90ed574e Increase the height of the roomlist items 2018-10-10 22:02:59 +03:00
Konstantinos Sideris
a671bd62c4 v0.6.2 2018-10-07 17:53:09 +03:00
Konstantinos Sideris
184c8b28e9 Use a smaller font size for the timestamp 2018-10-07 16:32:46 +03:00
Konstantinos Sideris
f272d9221e Use alignment instead of stretch 2018-10-07 14:18:44 +03:00
Konstantinos Sideris
aa486a5c0c Adjustments for the minimized sidebar 2018-10-07 14:09:47 +03:00
Konstantinos Sideris
2295d681a4 Remove the bundled open sans font 2018-10-07 13:27:20 +03:00
Konstantinos Sideris
4b807229aa Remove built-in emoji picker 2018-10-07 13:13:14 +03:00
Konstantinos Sideris
c2faaa4d39 Add the correct parent to scaleCombo 2018-10-07 12:58:38 +03:00
Konstantinos Sideris
4865f852d8 Remove room re-ordering option 2018-10-06 18:43:53 +03:00
Konstantinos Sideris
3fdfc9b69f Remove Scrollbar 2018-10-06 18:39:11 +03:00
Konstantinos Sideris
675f1be777 Adjust the height of the bottom widgets 2018-10-06 18:07:02 +03:00
Konstantinos Sideris
f58cbd7281 Remove debug logs from Windows builds 2018-10-06 17:45:56 +03:00
Konstantinos Sideris
748c5898be Adjust the font sizes of the welcome page 2018-10-06 17:41:47 +03:00
Konstantinos Sideris
844443a324 Adjust the widget size of the room list items 2018-10-06 17:21:03 +03:00
Konstantinos Sideris
420937ab83 Derive widget sizing from the font size 2018-10-04 00:32:13 +03:00
Konstantinos Sideris
be1478183e Remove some unnecessary calls 2018-10-02 13:16:44 +03:00
Konstantinos Sideris
3a57d1018e Add option to configure the font size
fixes #161
2018-10-01 17:56:46 +03:00
Konstantinos Sideris
4b1b062388 Enable debug logs 2018-09-30 14:33:54 +03:00
Konstantinos Sideris
8f89ad15f7 Change the minimum width for modals 2018-09-30 13:37:38 +03:00
Konstantinos Sideris
9038c950ae Remove pixel value from fonts 2018-09-30 13:24:36 +03:00
Konstantinos Sideris
d1e08e0008 Remove obsolete font/size setting 2018-09-29 14:26:47 +03:00
Konstantinos Sideris
29f442a9f9 Remove pixel values from the text input widget 2018-09-29 14:19:22 +03:00
Konstantinos Sideris
758be07a5a Make the height of the bottom bar smaller 2018-09-29 14:05:59 +03:00
Victor Berger
18a98a7c1d Display tags as sorting items in the community panel (#401) 2018-09-28 12:40:51 +00:00
Konstantinos Sideris
59a1b6b47c Don't enable tray by default 2018-09-26 19:22:52 +03:00
Konstantinos Sideris
bbf37bf633 Don't clear selection when a context menu is requested 2018-09-26 19:21:10 +03:00
Konstantinos Sideris
c64a1bf759 Move TextLabel into its own file 2018-09-26 15:17:14 +03:00
Konstantinos Sideris
9bc7b6305e Lint 2018-09-26 12:06:30 +03:00
Konstantinos Sideris
5ea47920ab v0.6.1 2018-09-26 09:27:58 +03:00
Konstantinos Sideris
c9427c7f17 Clear text selection when focus is lost
fixes #409
2018-09-25 18:06:11 +03:00
Konstantinos Sideris
7a288cc2cb Add infinite scroll in member list
fixes #446
2018-09-25 15:43:48 +03:00
Konstantinos Sideris
39b4c83bb0 Don't clear the member list when the modal is hidden
fixes #447
2018-09-25 14:53:07 +03:00
Konstantinos Sideris
c852cd7646 ci: Update qt installer framework 2018-09-25 14:45:50 +03:00
Konstantinos Sideris
14e1545c9a Remove bintray from the readme 2018-09-25 14:42:50 +03:00
Konstantinos Sideris
adf2019c56 Use QPushButton on the preview modal 2018-09-25 14:41:47 +03:00
Konstantinos Sideris
773575ce52 Copy the missing cmark.dll from the deps directory 2018-09-25 13:53:39 +03:00
Konstantinos Sideris
dec643e6ea v0.6.0 2018-09-21 16:44:45 +03:00
Konstantinos Sideris
269519dfd9 Put back github releases 2018-09-21 15:04:50 +03:00
Konstantinos Sideris
fc684f6571 Require login when the cache format changes (regression on #444) 2018-09-21 14:43:52 +03:00
Konstantinos Sideris
b0e3a7c7fa Add close buttons to all dialogs 2018-09-21 13:56:39 +03:00
Konstantinos Sideris
2a2b52e07f Center dialogs around the main window 2018-09-21 11:30:02 +03:00
Konstantinos Sideris
ce26f041ad Add method to center widgets & clean up unused headers 2018-09-21 10:55:24 +03:00
Konstantinos Sideris
ecc346a6da Close dialogs on confirmation 2018-09-20 09:59:14 +03:00
Konstantinos Sideris
d4ce7a9dda Use confirm as the default button 2018-09-20 08:52:31 +03:00
Konstantinos Sideris
1b7816f7ca macOS: Use the native emoji picker
fixes #79
2018-09-19 23:38:36 +03:00
Konstantinos Sideris
1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Konstantinos Sideris
f108b8b915 ci: Don't count errors during brew upgrade 2018-09-18 22:06:14 +03:00
Konstantinos Sideris
b5b4a0e963 ci: Use brew upgrade --ignore-dependencies 2018-09-18 19:22:59 +03:00
Konstantinos Sideris
40b38fe7ac Replace GCC-7 with GCC-8 2018-09-18 19:12:56 +03:00
Konstantinos Sideris
95b72c3170 Don't upgrade cmake on the macOS job 2018-09-18 19:09:54 +03:00
426 changed files with 115596 additions and 19756 deletions

View File

@ -17,17 +17,17 @@
],
"package": {
"desc": "Desktop client for the Matrix protocol",
"issue_tracker_url": "https://github.com/mujx/nheko/issues",
"issue_tracker_url": "https://github.com/Nheko-Reborn/nheko/issues",
"licenses": [
"GPL-3.0"
],
"name": "nheko",
"public_download_numbers": true,
"public_stats": true,
"repo": "matrix",
"subject": "mujx",
"vcs_url": "https://github.com/mujx/nheko",
"website_url": "https://github.com/mujx/nheko"
"repo": "nheko",
"subject": "nheko-reborn",
"vcs_url": "https://github.com/Nheko-Reborn/nheko",
"website_url": "https://github.com/Nheko-Reborn/nheko"
},
"publish": true,
"version": {

View File

@ -1,14 +1,30 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
# Runs the Clang Formatter
# Return codes:
# - 1 there are files to be formatted
# - 0 everything looks fine
set -o errexit
set -o pipefail
set -o nounset
set -eu
FILES=`find src -type f -type f \( -iname "*.cpp" -o -iname "*.h" \)`
FILES=$(find src -type f \( -iname "*.cpp" -o -iname "*.h" \))
clang-format -i $FILES && git diff --exit-code
for f in $FILES
do
clang-format -i "$f"
done;
QMLFORMAT_PATH=$(command -v qmlformat || true)
if [ -n "$QMLFORMAT_PATH" ]; then
QML_FILES=$(find resources -type f -iname "*.qml")
for f in $QML_FILES
do
$QMLFORMAT_PATH -i "$f"
done;
else
echo "qmlformat not found; skipping qml formatting"
fi
git diff --exit-code

View File

@ -1,12 +1,15 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -ex
if [ $TRAVIS_OS_NAME == osx ]; then
brew update
brew install qt5 lmdb clang-format ninja libsodium cmark
brew upgrade boost cmake
if [ "$FLATPAK" ]; then
sudo apt-get -y install flatpak flatpak-builder elfutils
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak --noninteractive install --user flathub org.kde.Platform//5.15
flatpak --noninteractive install --user flathub org.kde.Sdk//5.15
exit
fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
@ -17,30 +20,13 @@ if [ $TRAVIS_OS_NAME == osx ]; then
fi
if [ $TRAVIS_OS_NAME == linux ]; then
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
sudo update-alternatives --install /usr/bin/gcc gcc "/usr/bin/${CC}" 10
sudo update-alternatives --install /usr/bin/g++ g++ "/usr/bin/${CXX}" 10
if [ -z "$QT_VERSION" ]; then
QT_VERSION="592"
QT_PKG="59"
fi
sudo update-alternatives --set gcc "/usr/bin/${CC}"
sudo update-alternatives --set g++ "/usr/bin/${CXX}"
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
sudo sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local
mkdir -p build-libsodium
pushd build-libsodium
curl -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz -o libsodium-1.0.16.tar.gz
tar xfz libsodium-1.0.16.tar.gz
cd libsodium-1.0.16/
./configure && make && make check && sudo make install
popd
sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
sudo apt-get update -qq
sudo apt-get install -qq -y \
qt${QT_PKG}base \
qt${QT_PKG}tools \
qt${QT_PKG}svg \
qt${QT_PKG}multimedia \
liblmdb-dev
wget https://cmake.org/files/v3.15/cmake-3.15.5-Linux-x86_64.sh
sudo sh cmake-3.15.5-Linux-x86_64.sh --skip-license --prefix=/usr/local
fi

14
.ci/licenses.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env sh
# Runs the license update
# Return codes:
# - 1 there are files to be formatted
# - 0 everything looks fine
set -eu
FILES=$(find src resources/qml -type f \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.qml" \))
reuse addheader --copyright="Nheko Contributors" --license="GPL-3.0-or-later" $FILES
git diff --exit-code

View File

@ -1,13 +1,17 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -ex
APP=nheko
DIR=${APP}.AppDir
TAG=`git tag -l --points-at HEAD`
# unused but may be useful...
#TAG=$(git tag -l --points-at HEAD)
# Set up AppImage structure.
mkdir -p ${DIR}/usr/{bin,lib,share/pixmaps,share/applications}
for d in bin lib share/pixmaps share/applications
do
mkdir -p ${DIR}/usr/$d
done
# Copy resources.
cp build/nheko ${DIR}/usr/bin
@ -21,8 +25,8 @@ for iconSize in 16 32 48 64 128 256 512; do
done
# Only download the file when not already present
if ! [ -f linuxdeployqt-continuous-x86_64.AppImage ] ; then
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
if ! [ -f linuxdeployqt-6-x86_64.AppImage ] ; then
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage"
fi
chmod a+x linuxdeployqt*.AppImage
@ -30,14 +34,25 @@ unset QTDIR
unset QT_PLUGIN_PATH
unset LD_LIBRARY_PATH
export ARCH=$(uname -m)
export LD_LIBRARY_PATH=.deps/usr/lib/:$LD_LIBRARY_PATH
ARCH=$(uname -m)
export ARCH
LD_LIBRARY_PATH=$(pwd)/.deps/usr/lib/:/usr/local/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
./linuxdeployqt*.AppImage ${DIR}/usr/share/applications/*.desktop -bundle-non-qt-libs
./linuxdeployqt*.AppImage ${DIR}/usr/share/applications/*.desktop -appimage
for res in ./linuxdeployqt*.AppImage
do
linuxdeployqt=$res
done
chmod +x nheko-x86_64.AppImage
./"$linuxdeployqt" ${DIR}/usr/share/applications/*.desktop -unsupported-allow-new-glibc -bundle-non-qt-libs -qmldir=./resources/qml -appimage
if [ ! -z $TRAVIS_TAG ]; then
mv nheko-x86_64.AppImage nheko-${TRAVIS_TAG}-x86_64.AppImage
chmod +x nheko-*x86_64.AppImage
mkdir artifacts
cp nheko-*x86_64.AppImage artifacts/
if [ -n "$VERSION" ]; then
# commented out for now, as AppImage file appears to already contain the version.
#mv nheko-*x86_64.AppImage nheko-${VERSION}-x86_64.AppImage
echo "nheko-${VERSION}-x86_64.AppImage"
fi

15
.ci/macos/Brewfile Normal file
View File

@ -0,0 +1,15 @@
tap "nlohmann/json"
brew "python3"
brew "pkg-config"
brew "clang-format"
brew "cmake"
brew "ninja"
brew "openssl"
brew "qt5"
brew "nlohmann_json"
brew "gstreamer"
brew "gst-plugins-base"
brew "gst-plugins-good"
brew "gst-plugins-bad"
brew "qtkeychain"

View File

@ -1,21 +1,34 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -ex
set -eux
TAG=`git tag -l --points-at HEAD`
# unused
#TAG=$(git tag -l --points-at HEAD)
# Add Qt binaries to path
PATH=/usr/local/opt/qt/bin/:${PATH}
pushd build
sudo macdeployqt nheko.app -dmg
user=$(id -nu)
sudo chown ${user} nheko.dmg
mv nheko.dmg ..
popd
( cd build
# macdeployqt does not copy symlinks over.
# this specifically addresses icu4c issues but nothing else.
ICU_LIB="$(brew --prefix icu4c)/lib"
export ICU_LIB
mkdir -p nheko.app/Contents/Frameworks
find "${ICU_LIB}" -type l -name "*.dylib" -exec cp -a -n {} nheko.app/Contents/Frameworks/ \; || true
macdeployqt nheko.app -dmg -always-overwrite -qmldir=../resources/qml/
user=$(id -nu)
chown "${user}" nheko.dmg
mv nheko.dmg ..
)
dmgbuild -s ./.ci/macos/settings.json "Nheko" nheko.dmg
if [ ! -z $TRAVIS_TAG ]; then
mv nheko.dmg nheko-${TRAVIS_TAG}.dmg
VERSION=${CI_COMMIT_SHORT_SHA}
if [ -n "$VERSION" ]; then
mv nheko.dmg "nheko-${VERSION}.dmg"
mkdir artifacts
cp "nheko-${VERSION}.dmg" artifacts/
fi

View File

@ -2,45 +2,88 @@
set -ex
if [ $TRAVIS_OS_NAME == linux ]; then
export CC=${C_COMPILER}
export CXX=${CXX_COMPILER}
if [ "$FLATPAK" ]; then
mkdir -p build-flatpak
cd build-flatpak
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/${C_COMPILER} 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/${CXX_COMPILER} 10
jobsarg=""
if [ "$ARCH" = "arm64" ]; then
jobsarg="--jobs=2"
fi
sudo update-alternatives --set gcc "/usr/bin/${C_COMPILER}"
sudo update-alternatives --set g++ "/usr/bin/${CXX_COMPILER}"
flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} $jobsarg `date`" app ../io.github.NhekoReborn.Nheko.json &
# to prevent flatpak builder from timing out on arm, run it in the background and print something every minute for up to 30 minutes.
minutes=0
limit=40
while kill -0 $! >/dev/null 2>&1; do
if [ $minutes == $limit ]; then
break;
fi
minutes=$((minutes+1))
sleep 60
done
flatpak build-bundle repo nheko-${VERSION}-${ARCH}.flatpak io.github.NhekoReborn.Nheko master
mkdir ../artifacts
mv nheko-*.flatpak ../artifacts
exit
fi
if [ $TRAVIS_OS_NAME == linux ]; then
source /opt/qt${QT_PKG}/bin/qt${QT_PKG}-env.sh || true;
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
# make build use all available cores
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
export PATH="/usr/local/bin/:${PATH}"
cmake --version
fi
if [ $TRAVIS_OS_NAME == osx ]; then
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
# shellcheck disable=SC1090
. "/opt/qt${QT_PKG}/bin/qt${QT_PKG}-env.sh" || true;
fi
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export CMAKE_PREFIX_PATH=/usr/local/opt/qt5
fi
# Build & install dependencies
cmake -GNinja -Hdeps -B.deps \
-DUSE_BUNDLED_BOOST=${USE_BUNDLED_BOOST} \
-DUSE_BUNDLED_CMARK=${USE_BUNDLED_CMARK}
cmake --build .deps
mkdir -p .deps/usr .hunter
# Build nheko
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
cmake -GNinja -H. -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=.deps/usr
-DCMAKE_INSTALL_PREFIX=.deps/usr \
-DHUNTER_ROOT=".hunter" \
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \
-DCMAKE_PREFIX_PATH=/usr/local/opt/qt5 \
-DCI_BUILD=ON
else
cmake -GNinja -H. -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=.deps/usr \
-DHUNTER_ROOT=".hunter" \
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \
-DUSE_BUNDLED_OPENSSL=OFF \
-DCI_BUILD=ON
fi
cmake --build build
if [ $TRAVIS_OS_NAME == osx ]; then
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
make lint;
if [ $DEPLOYMENT == 1 ] && [ ! -z $TRAVIS_TAG ]; then
if [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ] ; then
make macos-deploy;
fi
fi
if [ $TRAVIS_OS_NAME == linux ] && [ $DEPLOYMENT == 1 ] && [ ! -z $TRAVIS_TAG ]; then
if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$DEPLOYMENT" = 1 ] && [ -n "$VERSION" ]; then
make linux-deploy;
fi

9
.ci/upload-nightly-gitlab.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
file="$1"
fileName="nheko-${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}-${file##*-}"
uri=$(curl -H "Authorization: Bearer ${MATRIX_ACCESS_TOKEN}" -H "Content-Type: application/x-compressed" -X POST --data-binary "@${file}" "https://matrix.neko.dev/_matrix/media/r0/upload?filename=${fileName}" --http1.1 | python -c "import sys, json; print(json.load(sys.stdin)['content_uri'])")
echo "Uploaded to ${uri}"
curl -H "Authorization: Bearer ${MATRIX_ACCESS_TOKEN}" -H "Content-Type: application/json" -X PUT -d "{ \"body\": \"${fileName}\", \"filename\": \"${fileName}\", \"info\": { \"mimetype\": \"application/x-compressed\", \"size\": $(wc -c < ${file}) }, \"msgtype\": \"m.file\", \"url\": \"${uri}\" }" "https://matrix.neko.dev/_matrix/client/r0/rooms/${ROOM}/send/m.room.message/$(date +%s)"

21
.ci/upload-nightly.ps1 Normal file
View File

@ -0,0 +1,21 @@
$file = "nheko_win_64.zip"
$fileName = "nheko-${env:APPVEYOR_REPO_BRANCH}-${env:APPVEYOR_REPO_COMMIT}-win64.zip"
$response = Invoke-RestMethod -uri "https://matrix.neko.dev/_matrix/media/r0/upload?filename=$fileName" -Method Post -Infile "$file" -ContentType 'application/x-compressed' -Headers @{"Authorization"="Bearer ${env:MATRIX_ACCESS_TOKEN}"}
$txId = [DateTimeOffset]::Now.ToUnixTimeSeconds()
$fileSize = (Get-Item $file).Length
$body = @{
"body" = "${fileName}"
"filename"= "${fileName}"
"info" = @{
"mimetype" = "application/x-compressed"
"size" = ${fileSize}
}
"msgtype" = "m.file"
"url" = ${response}.content_uri
} | ConvertTo-Json
$room = "!TshDrgpBNBDmfDeEGN:neko.dev"
Invoke-RestMethod -uri "https://matrix.neko.dev/_matrix/client/r0/rooms/${room}/send/m.room.message/${txid}" -Method Put -Body "$body" -ContentType 'application/json' -Headers @{"Authorization"="Bearer ${env:MATRIX_ACCESS_TOKEN}"}

9
.ci/upload-nightly.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
file=$(find artifacts/ -type f -exec basename {} \;)
fileName="nheko-${TRAVIS_BRANCH}-${file#nheko-}"
uri=$(curl -H "Authorization: Bearer ${MATRIX_ACCESS_TOKEN}" -H "Content-Type: application/x-compressed" -X POST --data-binary "@artifacts/${file}" "https://matrix.neko.dev/_matrix/media/r0/upload?filename=${fileName}" --http1.1 | python -c "import sys, json; print(json.load(sys.stdin)['content_uri'])")
echo "Uploaded to ${uri}"
curl -H "Authorization: Bearer ${MATRIX_ACCESS_TOKEN}" -H "Content-Type: application/json" -X PUT -d "{ \"body\": \"${fileName}\", \"filename\": \"${fileName}\", \"info\": { \"mimetype\": \"application/x-compressed\", \"size\": $(wc -c < artifacts/${file}) }, \"msgtype\": \"m.file\", \"url\": \"${uri}\" }" "https://matrix.neko.dev/_matrix/client/r0/rooms/${ROOM}/send/m.room.message/$(date +%s)"

View File

@ -20,9 +20,9 @@ If you're planning to work on a new feature leave a message on the Matrix room
Example for a Japanese translation.
- Create a new translation file using the prototype in English
- e.g `cp resources/langs/nheko_en.ts resources/langs/nheko_jp.ts`
- e.g `cp resources/langs/nheko_en.ts resources/langs/nheko_ja.ts`
- Open the new translation file and change the line regarding the locale to reflect the current language.
- e.g `<TS version="2.1" language="en">` => `<TS version="2.1" language="jp">`
- e.g `<TS version="2.1" language="en">` => `<TS version="2.1" language="ja">`
- Run `make update-translations` to update the translation files with any missing text.
- Fill out the translation file (Qt Linguist can make things easier).
- Submit a PR!

View File

@ -1,22 +1,38 @@
<!--
If you want to request a feature or ask a question, feel free to remove all the irrelevant text.
-->
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
### Describe the bug
A clear and concise description of what the bug is.
### To Reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
### Expected behavior
A clear and concise description of what you expected to happen.
### Screenshots
If applicable, add screenshots to help explain your problem.
### System:
- Nheko version: <!-- Get the version from the settings menu (bottom left corner) -->
- Profile used: <!-- If you are not using the default profile, mention it here -->
- Installation method: <!-- AppImage, some repository, local build etc -->
- Operating System:
- Qt version: <!-- If you compiled it yourself -->
- C++ compiler: <!-- if you compiled it yourself -->
- Desktop Environment: <!-- for Linux -->
### Actual behavior
### Expected behavior
### Steps to reproduce
### Logs
<!-- If applicable -->

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

22
.gitignore vendored
View File

@ -1,7 +1,17 @@
build
/build*
tags
cscope*
.clang_complete
*wintoastlib*
/.ccls-cache
/.exrc
.gdb_history
.hunter
# GTAGS
GTAGS
GRTAGS
GPATH
# C++ objects and libs
@ -31,6 +41,7 @@ moc_*.cpp
qrc_*.cpp
ui_*.h
*-build-*
/.clangd/
# QtCreator
@ -43,6 +54,11 @@ ui_*.h
*.qmlproject.user
*.qmlproject.user.*
# Vim
*.swp
*.swo
*.swn
#####=== CMake ===#####
CMakeCache.txt
@ -58,6 +74,7 @@ install_manifest.txt
# Icon must end with two \r
Icon
# Thumbnails
._*
@ -101,3 +118,6 @@ package.dir
# Dependencies
.third-party
.deps
# Archives
*.bz2

204
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,204 @@
variables:
CCACHE_COMPILERCHECK: content
CCACHE_DIR: "${CI_PROJECT_DIR}/.ccache"
# prevent configure tzdata hanging apt install commands
DEBIAN_FRONTEND: noninteractive
build-gcc7:
stage: build
image: ubuntu:16.04
tags: [docker]
variables:
CXX: g++-7
CC: gcc-7
QT_PKG: 512
TRAVIS_OS_NAME: linux
before_script:
- apt-get update
- apt-get install -y software-properties-common
- add-apt-repository ppa:ubuntu-toolchain-r/test -y
- add-apt-repository ppa:beineri/opt-qt-5.12.9-xenial -y
- apt-get update && apt-get -y install --no-install-recommends g++-7 build-essential ninja-build qt${QT_PKG}{base,declarative,tools,multimedia,script,quickcontrols2,svg} liblmdb-dev libgl1-mesa-dev libssl-dev git ccache
# need recommended deps for wget
- apt-get -y install wget
- wget https://github.com/Kitware/CMake/releases/download/v3.19.0/cmake-3.19.0-Linux-x86_64.sh && sh cmake-3.19.0-Linux-x86_64.sh --skip-license --prefix=/usr/local
- /usr/sbin/update-ccache-symlinks
- update-alternatives --install /usr/bin/gcc gcc "/usr/bin/${CC}" 10
- update-alternatives --install /usr/bin/g++ g++ "/usr/bin/${CXX}" 10
- update-alternatives --set gcc "/usr/bin/${CC}"
- update-alternatives --set g++ "/usr/bin/${CXX}"
script:
- export PATH="/usr/lib/ccache:${PATH}"
- export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
- export PATH="/usr/local/bin/:${PATH}"
- . "/opt/qt${QT_PKG}/bin/qt${QT_PKG}-env.sh" || true
- mkdir -p .deps/usr .hunter
- mkdir -p build
- cmake -GNinja -H. -Bbuild
-DCMAKE_INSTALL_PREFIX=.deps/usr
-DHUNTER_ROOT=".hunter"
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=ON -DUSE_BUNDLED_LMDB=OFF
-DCMAKE_BUILD_TYPE=Release -DHUNTER_CONFIGURATION_TYPES=Release
-DCI_BUILD=ON
- cmake --build build
cache:
key: "$CI_JOB_NAME"
paths:
- .hunter/
- .ccache
build-macos:
stage: build
tags: [macos]
before_script:
- brew update
- brew reinstall --force python3
- brew bundle --file=./.ci/macos/Brewfile --force --cleanup
- pip3 install dmgbuild
script:
- export PATH=/usr/local/opt/qt/bin/:${PATH}
- export CMAKE_PREFIX_PATH=/usr/local/opt/qt5
- cmake -GNinja -H. -Bbuild
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_INSTALL_PREFIX=.deps/usr
-DHUNTER_ROOT=".hunter"
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo
-DUSE_BUNDLED_OPENSSL=ON
-DUSE_BUNDLED_BOOST=ON
-DCI_BUILD=ON
- cmake --build build
after_script:
- ./.ci/macos/deploy.sh
- ./.ci/upload-nightly-gitlab.sh artifacts/nheko-${CI_COMMIT_SHORT_SHA}.dmg
artifacts:
paths:
- artifacts/nheko-${CI_COMMIT_SHORT_SHA}.dmg
name: nheko-${CI_COMMIT_SHORT_SHA}-macos
expose_as: 'macos-dmg'
cache:
key: "${CI_JOB_NAME}"
paths:
- .hunter/
- "${CCACHE_DIR}"
build-flatpak-amd64:
stage: build
image: ubuntu:latest
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
tags: [docker]
before_script:
- apt-get update && apt-get -y install flatpak-builder git python curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15
script:
- export VERSION=$(git describe)
- mkdir -p build-flatpak
- cd build-flatpak
- flatpak-builder --user --disable-rofiles-fuse --ccache --repo=repo --default-branch=${CI_COMMIT_REF_NAME//\//_} --subject="Build of Nheko ${VERSION} `date`" app ../io.github.NhekoReborn.Nheko.yaml
- flatpak build-bundle repo nheko-amd64.flatpak io.github.NhekoReborn.Nheko ${CI_COMMIT_REF_NAME//\//_}
after_script:
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-amd64.flatpak
cache:
key: "$CI_JOB_NAME"
paths:
- build-flatpak/.flatpak-builder/
artifacts:
expose_as: 'flatpak-amd64'
paths: ['build-flatpak/nheko-amd64.flatpak']
name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-amd64
build-flatpak-arm64:
stage: build
image: ubuntu:latest
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
tags: [docker-arm64]
before_script:
- apt-get update && apt-get -y install flatpak-builder git python curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15
script:
- export VERSION=$(git describe)
- mkdir -p build-flatpak
- cd build-flatpak
- flatpak-builder --user --disable-rofiles-fuse --ccache --repo=repo --default-branch=${CI_COMMIT_REF_NAME//\//_} --subject="Build of Nheko ${VERSION} `date` for arm64" app ../io.github.NhekoReborn.Nheko.yaml
- flatpak build-bundle repo nheko-arm64.flatpak io.github.NhekoReborn.Nheko ${CI_COMMIT_REF_NAME//\//_}
after_script:
- (cd ./scripts && ./upload-to-flatpak-repo.sh ../build-flatpak/repo) || true
- bash ./.ci/upload-nightly-gitlab.sh build-flatpak/nheko-arm64.flatpak
cache:
key: "$CI_JOB_NAME"
paths:
- build-flatpak/.flatpak-builder/
artifacts:
expose_as: 'flatpak-arm64'
paths: ['build-flatpak/nheko-arm64.flatpak']
name: flatpak-${CI_COMMIT_REF_NAME}-${VERSION}-arm64
linting:
stage: build
image: alpine:latest
tags: [docker]
before_script:
- apk update && apk add clang make git python3 py3-pip
- export PATH="$PATH:/root/.local/bin"
- pip3 install --user reuse
script:
- make lint
- make license
appimage-amd64:
stage: build
image: appimagecrafters/appimage-builder
tags: [docker]
before_script:
# app build requirements
- echo 'deb http://archive.neon.kde.org/user/ bionic main' > /etc/apt/sources.list.d/neon.list
- wget -qO - https://archive.neon.kde.org/public.key | apt-key add -
- apt-get update
- apt-get install -y git wget curl
# update appimage-builder (optional)
- pip3 install --upgrade git+https://www.opencode.net/azubieta/appimagecraft.git
- apt-get install -y qt5-default qtdeclarative5-dev qttools5-dev qtscript5-dev qtquickcontrols2-5-dev qtmultimedia5-dev libqt5svg5-dev liblmdb-dev libssl-dev git ninja-build qt5keychain-dev libgtest-dev ccache
- wget https://github.com/Kitware/CMake/releases/download/v3.19.0/cmake-3.19.0-Linux-x86_64.sh && sh cmake-3.19.0-Linux-x86_64.sh --skip-license --prefix=/usr/local
- /usr/sbin/update-ccache-symlinks
script:
- export PATH="/usr/local/bin/:/usr/lib/ccache:${PATH}"
- export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
- cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -GNinja
-DHUNTER_ROOT=".hunter"
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF
-DHUNTER_CONFIGURATION_TYPES=Release
-DUSE_BUNDLED_BOOST=ON
-DUSE_BUNDLED_SPDLOG=ON
-DUSE_BUNDLED_OLM=ON
-DUSE_BUNDLED_GTEST=OFF
-DUSE_BUNDLED_CMARK=ON
-DUSE_BUNDLED_JSON=ON
-DUSE_BUNDLED_OPENSSL=OFF
-DUSE_BUNDLED_MTXCLIENT=ON
-DUSE_BUNDLED_LMDB=OFF
-DUSE_BUNDLED_LMDBXX=ON
-DUSE_BUNDLED_TWEENY=ON
-DUSE_BUNDLED_QTKEYCHAIN=OFF
- DESTDIR=`pwd`/AppDir ninja -C build install/local
- DESTDIR=`pwd`/AppDir ninja -C build _deps/cmark-build/src/install
- mkdir -p AppDir/usr/lib/x86_64-linux-gnu AppDir/lib/x86_64-linux-gnu
- appimage-builder --skip-test
after_script:
- bash ./.ci/upload-nightly-gitlab.sh nheko-latest-x86_64.AppImage
artifacts:
paths:
- 'nheko-latest-x86_64.AppImage'
expire_in: 1 week
expose_as: 'appimage-amd64'
cache:
key: "$CI_JOB_NAME"
paths:
- .hunter/
- .ccache

View File

@ -1,97 +0,0 @@
---
language: cpp
sudo: required
dist: trusty
notifications:
email: false
matrix:
include:
- os: osx
osx_image: xcode9
compiler: clang
env:
- DEPLOYMENT=1
- USE_BUNDLED_BOOST=0
- USE_BUNDLED_CMARK=0
- os: linux
compiler: gcc
env:
- CXX_COMPILER=g++-5
- C_COMPILER=gcc-5
- QT_VERSION="-5.10.1"
- QT_PKG=510
- DEPLOYMENT=1
- USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1
addons:
apt:
sources: ["ubuntu-toolchain-r-test"]
packages: ["g++-5", "ninja-build"]
- os: linux
compiler: gcc
env:
- CXX_COMPILER=g++-7
- C_COMPILER=gcc-7
- QT_VERSION="-5.10.1"
- QT_PKG=510
- USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1
addons:
apt:
sources: ["ubuntu-toolchain-r-test"]
packages: ["g++-7", "ninja-build"]
- os: linux
compiler: gcc
env:
- CXX_COMPILER=g++-7
- C_COMPILER=gcc-7
- QT_VERSION=571
- QT_PKG=57
- USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1
addons:
apt:
sources: ["ubuntu-toolchain-r-test"]
packages: ["g++-7", "ninja-build"]
- os: linux
compiler: clang
env:
- CXX_COMPILER=clang++-5.0
- C_COMPILER=clang-5.0
- QT_VERSION=592
- QT_PKG=59
- USE_BUNDLED_BOOST=1
- USE_BUNDLED_CMARK=1
addons:
apt:
sources: ["ubuntu-toolchain-r-test", "llvm-toolchain-trusty-5.0"]
packages: ["clang-5.0", "g++-7", "ninja-build"]
before_install:
- export CXX=${CXX_COMPILER}
- export CC=${C_COMPILER}
install:
- ./.ci/install.sh
- export PATH=/usr/local/bin:${PATH}
script:
- ./.ci/script.sh
- sed -i -e "s/VERSION_NAME_VALUE/${TRAVIS_TAG}/g" ./.ci/bintray-release.json || true
- cp ./.ci/bintray-release.json .
deploy:
- provider: bintray
user: "mujx"
key:
secure: "CAVzWZPxYSOTollo9bpD4tvEbfxXjqelc32aApV48GKyJrMQljQ+mvSe25BuUtnDehxnw8affgGX23AYXmvG8P7w4hM2d7//8Lgan1zCmusV8JE432jknev6X641B4cvrywqSe0Dj3l0kS9Xgirq4BGavlI0y2vUjeJfQEv0y8GYoI72LwgyH0i82v/1Qi92Fh8429IJIb0eKmC1wGWXCmo2kd8StZRL5mSlc4TmyWI0SHpA5GrLMiQwLAuD7DjDl5mpaK2yQx+H4vBcI2SUMvmlHGgVjXikJG5gURlHbnIaaBFvO67INc1/65KtMokWuMP12zxqJiaMPtsAskOpQv4FLAYDfnigH3NxufyOIGp2cxS5RhJDQhbNsxHEDnUo1kHcO23ZYNWCuC1yUdn0RXzKhWcUsz8mKF8KJs22Ty4VjfUMZ+vqK/AbHyq4rkl8DizVRZqKF1KjSWrSv/2sT4itnHk9pmcgxAYfGuALcjrJJveI4MTwDhzXB62CKnMOqLq3sAMqvE0+BdA0BykQr7qrKtptuyP2/OFx6RDbfHQl5Klkb6cSOjxm0oUzh/8iaxgsVdCrhfE67eqkhFZ+a8lJkB/rZ4zSK1Q2Cp4nLtnxenUCW+Ptk2l7zZN6kXM1/+tcgqVROChYJ6asMUpsjFOOAVQ8SZ4TcxX1rq+pxlA="
skip_cleanup: true
overwrite: true
file: "bintray-release.json"
on:
condition: $DEPLOYMENT == 1
repo: mujx/nheko
tags: true

123
AppImageBuilder.yml Normal file
View File

@ -0,0 +1,123 @@
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
AppDir:
path: ./AppDir
app_info:
id: nheko
name: nheko
icon: nheko
version: latest
exec: usr/bin/nheko
exec_args: $@
runtime:
env:
APPDIR_LIBRARY_PATH: $APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/x86_64-linux-gnu/gconv:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu/pulseaudio
apt:
arch: amd64
allow_unauthenticated: true
sources:
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic universe
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic multiverse
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
- sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted
universe multiverse
- sourceline: deb http://security.ubuntu.com/ubuntu bionic-security main restricted
- sourceline: deb http://security.ubuntu.com/ubuntu bionic-security universe
- sourceline: deb http://security.ubuntu.com/ubuntu bionic-security multiverse
- sourceline: deb http://archive.neon.kde.org/user/ bionic main
include:
- gstreamer1.0-libav
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-pulseaudio
- gstreamer1.0-x
- kimageformat-plugins
- libbs2b0
- libbz2-1.0
- libelf1
- libexpat1
- libhogweed4
- libjpeg-turbo8
- libkf5archive5
- libllvm10
- liblmdb0
- liblz4-1
- libnorm1
- libnss-mdns
- libopenexr22
- libpcre3
- libqt5keychain1
- libqt5multimedia5-plugins
- libqt5multimediagsttools5
- libqt5multimediawidgets5
- libqt5quickcontrols2-5
- libqt5quicktemplates2-5
- libqt5quickwidgets5
- libqt5svg5
- librubberband2
- libsensors4
- libsm6
- libsnappy1v5
- libsystemd0
- libwayland-server0
- libx264-152
- libxau6
- libxcb-render-util0
- libxcb-sync1
- libxcb-xinerama0
- libxcb-xkb1
- libxcursor1
- libxdmcp6
- libxext6
- libxfixes3
- libxrender1
- libxshmfence1
- libxv1
- libxxf86vm1
- libzstd1
- qml-module-qt-labs-platform
- qml-module-qtgraphicaleffects
- qml-module-qtmultimedia
- qml-module-qtquick-controls2
- qml-module-qtquick-layouts
- qml-module-qtquick-templates2
- qml-module-qtquick-window2
- qml-module-qtquick2
- qt5-image-formats-plugins
exclude: []
files:
exclude:
- usr/share/man
- usr/share/doc/*/README.*
- usr/share/doc/*/changelog.*
- usr/share/doc/*/NEWS.*
- usr/share/doc/*/TODO.*
test:
fedora:
image: appimagecrafters/tests-env:fedora-30
command: ./AppRun
use_host_x: true
debian:
image: appimagecrafters/tests-env:debian-stable
command: ./AppRun
use_host_x: true
arch:
image: appimagecrafters/tests-env:archlinux-latest
command: ./AppRun
use_host_x: true
centos:
image: appimagecrafters/tests-env:centos-7
command: ./AppRun
use_host_x: true
ubuntu:
image: appimagecrafters/tests-env:ubuntu-xenial
command: ./AppRun
use_host_x: true
AppImage:
arch: x86_64
update-information: None
sign-key: None

View File

@ -1,15 +1,443 @@
# Changelog
## [Unreleased]
## [0.8.2] -- 2021-04-23
### Highlights
- Edits
- If you made a typo, just press the `Up` key and edit what you wrote.
- Messages other users edited will get updated automatically and have a small
pen symbol next to them.
- Privacy Screen
- Blur your messages, when Nheko looses focus, which prevents others from
peeking at your messages.
- You can configure the timeout of when this happens.
- Improved notifications (contributed by lorendb)
- No more breakage, because the message included a > on KDE based DEs.
- Render html and images where possible in the notification.
- Render if a message is a reply or someone sent an emote message more nicely
where possible.
- Encrypted notifications now show, that the content is encrypted instead of
being empty.
- Screenshare support in calls on X11 (contributed by trilene)
- Share your screen in a call!
- Select if your mouse cursor should be shown or not and if your webcam should
be included.
- SEND MESSAGES AS RAINBOWS! (contributed by LordMZTE)
- YES MESSAGES, EMOTES AND NOTICES!
### Features
- Set your displayname and avatar from Nheko either globally or per room.
(contributed by jedi18)
- Show room topic in the room settings.
- Double tap a message to reply to it.
- Leave a room using `/part` or `/leave`. (contributed by lorendb)
- Show mxid when hovering a username or avatar.
- Allow opening matrix: uris on Windows.
- Disable room pings caused by replies sent via Nheko (unless you are using
Element Web/Desktop).
### Improvements
- Userprofile can be closed via the Escape key. No more hotel california!
(contributed by lorendb)
- Most dialogs are now centered on the Nheko window. (contributed by lorendb)
- Update Hungarian translations. (contributed by maxigaz)
- Update Estonian translations. (contributed by Priit)
- Update Russian translations. (contributed by Alexey Murz and Artem)
- Update Swedish translations. (contributed by Emilie)
- Update French translations. (contributed by MayeulC, Nicolas Guichard and Carl Schwan)
- Allow drag and drop of files on the whole timeline. (contributed by lorendb)
- Enable notifications on Haiku. (contributed by kallisti5)
- Update scheme handler to the latest matrix: scheme proposal.
- Close completers when typing a space after the colon. (contributed by jedi18)
- Port room settings to Qml. (contributed by jedi18)
- Improved read marker handling. Read marker should now get stuck less often.
- Various changes around hover and tap handling in the timeline, which hopefully
now works more predicatably.
- Buttons in the timeline are now rendered in a box on hover on desktop
platforms.
- Complete room links in the timeline after typing a # character. (contributed
by jedi18)
- An improved quick switcher with better rendering and search. (contributed by jedi18)
- Some fixes around inline emoji and images.
- Jump into new rooms, after you created them. (contrubuted by jedi18)
- Improved search in the emoji picker.
- Allow disabling certificate checks via the config file.
- Use native menus where possible.
- Fix video playback on Windows. (contrubuted by jedi18)
- Send image messages by pressing Enter. (contributed by salahmak)
- Escape closes the upload widget. (contributed by salahmak)
- Improve session rotation and sharing in E2EE rooms.
### Bugfixes
- Emojis joined from separate emojis with a 0xfe0f in the middle should now
render correctly.
- Fix a bug when logging out of a non default profile clearing the wrong
profile. (contrubuted by lorendb)
- Various fixed around profile handling. (contributed by lorendb)
- Focus message input after a reaction. (contributed by jedi18)
- Disable native rendering to prevent kerning bugs on non integer scale factors.
- Fix duplex call devices not showing up. (contributed by trilene)
- Fix a few crashes when leaving a room. (contributed by jedi18)
- Fix hidden tags not updating properly. (contributed by jedi18)
- Fix some issues with login, when a server had SSO as well as password login
enabled (for example matrix.org).
- Properly set the dialog flag for dialogs on most platforms. (Wayland does not
support that.)
- Properly add license to source files.
- Fix fingerprint increasing the minimum window size.
- Don't send markdown links in the plain text body of events when autocompleting
user or room names.
- Fix webcam not working in flatpaks.
- Fix markdown override in replies.
- Fix unsupported events causing errors when saving them. (contributed by
anjanik)
- Fix exif rotation not being respected anymore in E2EE rooms.
- Remove unused qml plugins in the windows package.
- Fix broken olm channels automatically when noticed.
- Fix pasting not overwriting the selection.
- Fix Nheko sometimes overwriting received keys with keys it requested, even if
they have a higher minimum index.
### Packaging changes
- Added xcb dependency on X11 based platforms for screensharing (optional)
- Bumped lmdbxx version from 0.9.14.0 to 1.0.0, which is a BREAKING change. You
can get the new version here: https://github.com/hoytech/lmdbxx/releases
(repo changed)
- Removed tweeny as a dependency.
## [0.8.1] -- 2021-01-27
### Features
- `/plain` and `/md` commands to override the current markdown setting. (contributed by lorendb)
- Allow persistent hiding of rooms with a specific tag (or from a community) via a context menu.
- Allow open media messages in an external program immediately. (contributed by rnhmjoj)
### Improvements
- Use async dbus connection for notifications. (contributed by lorendb)
- Update Hungarian translations. (contributed by maxigaz)
- Update Finnish translations. (contributed by Priit)
- Update Malayalam translations. (contributed by vachan-maker)
- Update Dutch translations. (contributed by Glael)
- Store splitter size across restarts.
- Add a border around the completer. (contributed by lorendb)
- Request keys for messages with unknown message indices (once per restart, when they are shown).
- Move the database location to XDG_DATA_DIR. (contributed by rnhmjoj)
- Reload the timeline after key backup import.
- Autoclose completer on `space`, when there are no matches.
- Make completer only react, when the mouse cursor is moved.
### Bugfixes
- Fix unhandled exception, when a device has no keys.
- Fix some cmake warnings regarding GNUInstallDirs.
- Fix tags being broken. If you have no tags showing up, you may want to logout and login again.
- Fix versionOk being called on the wrong thread. (contributed by Jedi18)
- Fix font tags showing up in media message filenames.
- Fix user profile in dark themes showing the wrong colors. (contributed by lorendb)
- Fix emoji category switching on old Qt versions. (contributed by lorendb)
- Fix old messages being replayed after a limited timeline.
- Fix empty secrets being returned from the wallet breaking verification.
- Make matrix link chat invites create a direct chat.
- Fix focus handling on room change or reply button clicks.
- Fix username completion deleting the character before it.
## [0.8.0] -- 2021-01-21
### Highlights
- Voice and Video Calls (contributed by trilene)
- Call your friends right from within Nheko.
- Use your camera if you want them to see your face!
- This requires a somewhat new gstreamer, so our builds don't support it on all platforms yet.
- Cross-Signing and Device/User Verification (contributed by Chethan)
- Verify who you are talking to!
- Ensure no malicious people eavesdrop on you!
- Enable your connected devices to access key backup and your friends to see, which of your devices you trust!
- Show devices in a users profile.
- Separate profiles (contributed by lorendb)
- Run multiple Nheko instances with separate profiles side by side.
- Use multiple accounts at the same time in separate windows.
### Features
- Before a call select which audio device to use. (contributed by trilene)
- Auto request unknown keys from your own devices.
- Add a command to clear the timeline and reload it. (/clear-timeline).
- Add a command to rotate the outbound megolm session. (/rotate-megolm-session).
- React to messages instead of replying with arbitrary strings using `/react`.
- Inline emoji and user completers. (contributed by Lurkki)
- Show filename on hover over an image. (contributed by kamathmanu)
- Mobile mode, that disables text selection and changes some dialogs.
- Allow sending text after a `/shrug` command. (contributed by MayeulC)
- Allow selecting a ringtone. (contributed by trilene)
- View avatars fullscreen. (contributed by kamathmanu)
- Request or download cross signing secrets in the settings.
- Support 'matrix:' URIs. This works in app on all platforms and on Linux Nheko may be opened by clicking a 'matrix:' link.
- Support inline replies on notifications on Linux.
### Improvements
- Remove dependency on libsodium.
- Keep a cache of received messages on disk.
- Warn when kicking, banning or inviting people.
- Align day separators in the timeline. (contributed by not-chicken)
- Confirm quit during an active call. (contributed by trilene)
- Make timestamps somwhat fixed width.
- Add NixOS to readme. (contributed by Tony)
- Speed up database accesses.
- A lot of translation updates by various users.
- Port a few more parts of the UI to Qml.
- Various end-to-end encryption fixes.
- Use a QFontComboBox to select fonts. (contributed by lorendb)
- Delete text in input area with Ctrl+U. (contributed by lorendb)
- Reduce memory usage by not loading members into RAM.
- Speed up rendering the timeline by a lot by removing excessive clipping.
- Reload encrypted message when room_key is received.
- Improve wording in various places. (contributed by MayeulC)
- Improve rendering of avatars in various places. (contributed by MayeulC)
- Riot -> Element in README. (Contributed by Kim)
- Improve login and registration page error reporting. (contributed by kirillpt)
- Move CI to Gitlab.
- Use system Nheko icon on login page. (contributed by lorendb)
- Add Fedora build requirements. (contributed by trilene)
- Add ripple effect to various buttons.
- Allow more font sizes to be selected.
- Swedish translation. (contributed by Emilie)
- German translation. (contributed by Mr X and various others)
- Romanian translation. (contributed by Mihai)
- Polish translation. (contributed by luff)
- Russian translation. (contributed by kirillpt and librehacker)
- Italian translation. (contributed by Lorenzo)
- French translation. (contributed by MayeulC)
- Hungarian translation. (contributed by maxigaz)
- Show read markers when clicking read indicator. (contributed by lorendb)
### Bugfixes
- Fix text sometimes being rendered blurry.
- Fix not being able to change theme (contributed by not-chicken)
- Fix relations sometimes being sent as null in encrypted messages.
- Don't send formatted body without format.
- Links sometimes not opening properly from Qml.
- Fix autolinking breaking on single quotes.
- Fix translation loading on some locales.
- Don't send url in encrypted file events.
- Prevent duplicate messages from showing up in the timeline.
- Fix crash when pasting image from clipboard on macOS.
- Settings toggles don't get stuck anymore. (contributed by kirillpt)
- Fix some emojis being rendered as two emoji.
- Fix SSO login on some servers that allow multiple login methods. (contributed by d42)
### For packagers
- Nheko now depends on QtKeychain.
- Nheko optionally depends on GStreamer for VOIP.
- Nheko does not depend on Sodium anymore.
- Minimum OpenSSL version is now 1.1.
## [0.7.2] -- 2020-06-12
### Highlights
- Reactions
- React to a message with an emoji! 🎉
- Reactions are shown below a message in a small bubble with a counter.
- By clicking on that, others can add to the reaction count.
- It may help you celebrating a new Nheko Release or react with a 👎 to a failed build to express your frustration.
- This uses a new emoji picker. The picker will be improved in the near future (better scrolling, sections, favorites, recently used or similar) and then probably replace the current picker.
- Support for tagging rooms `[tag]`
- Assign custom tags to rooms from the context menu in the room list.
- This allows filtering rooms via the group list. This puts you in a focus mode showing only the selected tags.
- You can assign multiple tags to group rooms however you like.
- SSO Login
- With this you can now login on servers, that only provide SSO.
- Just enter any mxid on the server. Nheko will figure out that you need to use SSO and redirect your browser to the login page.
- Complete the login in your browser and Nheko should automatically log you in.
- Presence
- Shows online status of the people you are talking to.
- You can define a custom status message to tell others what you are currently up to.
- The status message appears next to the usernames in the timeline.
- Your server needs to have presence enabled for this to work.
### Features
- Respect exif rotation of images
- An italian translation (contributed by Lorenzo Ancora)
- Optional alerts in your taskbar (contributed by z33ky)
- Optional bigger emoji only messages in the timeline (contributed by lkito)
- Optional hover feedback on messages (contributed by lkito)
- `/roomnick` to change your displayname in a single room.
- Preliminary support for showing inline images.
- Warn about unencrypted messages in encrypted rooms.
### Improvements
- perf: Use less CPU to sort the room list.
- Limit size of replies. This currently looks a bit rough, but should improve in the future with a gradient or at some other transition.
- perf: Only clean out old messages from the database every 500 syncs. (There is usually more than one sync every second)
- Improve the login and register masks a bit with hints and validation.
- Descriptions for settings (contributed by lkito)
- A visual indicator, that nheko is fetching messages and improved scrolling (contributed by Lasath Fernando)
### Bugfixes
- Fix not being able to join rooms
- Fix scale factor setting
- Buildfixes against gcc10 and Qt5.15 (missing includes)
- Settings now apply immediately again after changing them (only exception should be the scale factor)
- Join messages should never have empty texts now
- Timeline should now fail to render less often on platforms with native sibling windows.
- Don't rescale images on every frame on highdpi screens.
### Upgrade Notes
<span style="color: red;">This updates includes some changes to the database. Older versions don't handle that gracefully and will delete your database. It is therefore recommended to not downgrade below this version!</span>
## [0.7.1] -- 2020-04-24
### Features
- Show decrypted message source (helps debugging)
- Allow user to show / hide messages in encrypted rooms in sidebar
### Bugfixes
- Fix display of images sent by the user (thank you, wnereiz and not-chicken for reporting)
- Fix crash when trying to maximize image, that wasn't downloaded yet.
- Fix Binding restoreMode flooding logs on Qt 5.14.2+
- Fix with some qml styles hidden menu items leave empty space
- Fix encrypted messages not showing a user in the sidebar
- Fix hangs when generating colors with some system theme color schemes (#172)
## [0.7.0] -- 2020-04-19
0.7.0 *requires* mtxclient 0.3.0. Make sure you compile against 0.3.0
if you do not use the mtxclient bundled with nheko.
### Features
- Make nheko session import / export format match riot. Fixes #48
- Implement proper replies
- Add .well-known support for auto-completing homeserver information
- Add mentions viewer so you can see all the messages you have been mentioned in
- Currently broken due to QML changes. Will be fixed in the future.
- Add emoji font selection preference
- Encryption and decryption of media in E2EE rooms
- Square avatars
- Support for muting and unmuting rooms
- Basic support for playing audio and video messages in the timeline
- Support for a lot more event types (hiding them will come in the future)
- Support for sending all messages as plain text
- Support for inviting, kicking, banning and unbanning users
- Sort the room list by importance of messages (thanks @Alch-Emi)
- Experimental support for [blurhashes](https://github.com/matrix-org/matrix-doc/pull/2448)
### Improvements
- Add dedicated reply button to Timeline items. Add button for other options so
that right click isn't always required.
- Fix various things with regards to emoji rendering and the emoji picker
- Lots and lots and lots of localization updates.
- Additional tweaks to the system theme
- Render timeline in Qml to drop memory usage
- Reduce memory usage of avatars
- Close notifications after they have been read on Linux
- Escape html properly in most places
- A lot of improvements around the image overlay
- The settings page now resizes properly for small screens
- Miscellaneous styling improvements
- Simplify and speedup build
- Display more emojis in the selected emoji font
- Use 'system' theme as default if QT_QPA_PLATFORMTHEME is set
### Bugfixes
- Fix messages stuck on unread
- Reduce the amount of messages shown as "xxx sent an encrypted message"
- Fix various race conditions and crashes
- Fix some compatibility issues with the construct homeserver
Be aware, that Nheko now requires Qt 5.10 and boost 1.70 or higher.
## [0.6.4] - 2019-05-22
*Most* of the below fixes are due to updates in mtxclient. Make sure you compile against 0.2.1
if you do not use the mtxclient bundled with nheko to get these fixes.
### Features
- Support V3 Rooms
### Improvements
- Fix #19
- Fix initial sync issue caused by matrix-org/synapse#4898 (thanks @monokelpinguin)
- Add additional lmbd max_dbs setting (thanks @AndrewJDR)
- Update DE translations (thanks @miocho)
- Update Dutch translations (thanks @vistaus)
- Fix text input UI bug (thanks @0xd800)
- Update linkifyMessage to parse HTML better (thanks @monokelpinguin)
- Update to Boost 1.69.0
- Fix some memory-leak scenarios due to mismatched new / delete (thanks @monokelpinguin)
### Other Changes
- mtxclient now builds as a Shared Library by default (instead of statically)
## [0.6.3] - 2019-02-08
### Features
- Room notifications now distinguish between general and user mentions by using different colors
- User names are now colored based on both the theme and a hash from their user id.
- Add font selection preference
### Improvements
- Fix room joining issue by escaping (thanks rnhmjoj)
- Mild tweaks to the dark and light themes
- Add paragraph tags back to markdown, fixing #2 / mujx#438
- Tweak author text to help differentiate it from the message text
- Some Russian translations have been added/fixed (thanks tim77)
- Partially address some build issues (related to #10)
## [0.6.2] - 2018-10-07
### Features
- Display tags as sorting items in the community panel (#401 @vberger)
- Add ability to configure the font size.
### Improvements
- Don't enable tray by default.
- Hard-coded pixel values were removed. The sizes are derived from the font.
### Other changes
- Removed room re-ordering option.
## [0.6.1] - 2018-09-26
### Improvements
- Add infinite scroll in member list. (#446)
- Use QPushButton on the preview modal.
### Bug fixes
- Clear text selection when focus is lost. (#409)
- Don't clear the member list when the modal is hidden. (#447)
## [0.6.0] - 2018-09-21
### Features
- Support for sending & receiving markdown formatted messages. (#283)
- Import/Export of megolm session keys. (Incompatible with Riot) (#358)
- macOS: The native emoji picker can be used.
- Context menu option to show the raw text message of an event. (#437)
- Rooms with unread messages are marked in the room list. (#313)
- Clicking on a user pill link will open the user profile.
### Improvements
- Update Polish translation (#430)
- Enable Qt auto scaling. (#397)
- Enable colors in the console logger.
- Refactor styling to better work with the system theme.
### Bug fixes
- Fixed crash when switching rooms. (#433)
@ -18,6 +446,7 @@
- macOS: Add missing border on the top bar.
- Fallback to the login screen when the one-time keys cannot be uploaded.
- Show the sidebar after initial sync. (#412)
- Fix regression, where cache format changes didn't trigger a logout.
## [0.5.5] - 2018-09-01

File diff suppressed because it is too large Load Diff

View File

@ -2,45 +2,65 @@
"configurations": [
{
"name": "Debug",
"generator": "Visual Studio 15 2017 Win64",
"generator": "Visual Studio 16 2019 Win64",
"configurationType": "Debug",
"buildRoot": "${workspaceRoot}\\build-vc\\${name}",
"cmakeCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${workspaceRoot}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" // <-- change vcpkg location here
"name": "HUNTER_ENABLED",
"value": "OFF",
"type": "BOOL"
},
{
"name": "BUILD_SHARED_LIBS",
"value": "ON",
"type": "BOOL"
},
{
"name": "CMAKE_INSTALL_PREFIX",
"value": "${workspaceRoot}/.deps"
"value": "${workspaceRoot}/.deps",
"type": "STRING"
},
{
"name": "Qt5_DIR",
"value": "C:\\Qt\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5" // <-- change qt location here
"value": "C:\\Qt\\5.12.5\\msvc2017_64\\lib\\cmake\\Qt5", // <-- change qt location here
"type": "STRING"
}
]
],
"cmakeToolchain": "${workspaceRoot}\\toolchain.cmake",
"inheritEnvironments": [ "msvc_x64" ]
},
{
"name": "Release",
"generator": "Visual Studio 15 2017 Win64",
"generator": "Visual Studio 16 2019 Win64",
"configurationType": "Release",
"buildRoot": "${workspaceRoot}\\build-vc\\${name}",
"cmakeCommandArgs": "",
"variables": [
{
"name": "CMAKE_TOOLCHAIN_FILE",
"value": "${workspaceRoot}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake" // <-- change vcpkg location here
"name": "HUNTER_ENABLED",
"value": "ON",
"type": "BOOL"
},
{
"name": "BUILD_SHARED_LIBS",
"value": "OFF",
"type": "BOOL"
},
{
"name": "CMAKE_INSTALL_PREFIX",
"value": "${workspaceRoot}/.deps"
"value": "${workspaceRoot}/.deps",
"type": "STRING"
},
{
"name": "Qt5_DIR",
"value": "C:\\Qt\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5" // <-- change qt location here
"value": "C:\\Qt\\5.12.5\\msvc2017_64\\lib\\cmake\\Qt5", // <-- change qt location here
"type": "STRING"
}
]
},
]
],
"cmakeToolchain": "${workspaceRoot}\\toolchain.cmake",
"inheritEnvironments": [ "msvc_x64" ]
}
]
}

View File

View File

@ -5,10 +5,9 @@ RUN \
apt-get install -y software-properties-common && \
add-apt-repository -y ppa:beineri/opt-qt-5.10.1-trusty && \
add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
add-apt-repository -y ppa:chris-lea/libsodium && \
apt-get update -qq && \
apt-get install -y \
qt510base qt510tools qt510svg qt510multimedia \
qt510base qt510tools qt510svg qt510multimedia qt510quickcontrols2 qt510graphicaleffects \
gcc-5 g++-5
RUN \
@ -16,7 +15,6 @@ RUN \
make \
pkg-config \
ninja-build \
libsodium-dev \
liblmdb-dev \
libssl-dev \
mesa-common-dev \
@ -26,7 +24,7 @@ RUN \
RUN \
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh && \
sudo sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local
sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local
RUN \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 10 && \
@ -34,6 +32,14 @@ RUN \
update-alternatives --set gcc "/usr/bin/gcc-5" && \
update-alternatives --set g++ "/usr/bin/g++-5"
RUN \
mkdir libsodium-1.0.14 && \
wget https://download.libsodium.org/libsodium/releases/old/libsodium-1.0.14.tar.gz && \
tar -xzvf libsodium-1.0.14.tar.gz -C libsodium-1.0.14 && \
cd libsodium-1.0.14/libsodium-1.0.14 && \
./configure && \
make && make install
ENV PATH=/opt/qt510/bin:$PATH
RUN mkdir /build

View File

@ -41,6 +41,9 @@ macos-app-install:
lint:
./.ci/format.sh
license:
./.ci/licenses.sh
image:
docker build -t nheko-app-image .
@ -68,7 +71,7 @@ update-translations:
-locations relative \
-Iinclude/dialogs \
-Iinclude \
src/ -ts resources/langs/nheko_*.ts -no-obsolete
src/ resources/qml/ -ts resources/langs/nheko_*.ts -no-obsolete
clean:
rm -rf build

259
README.md
View File

@ -1,30 +1,40 @@
nheko
----
[![Build Status](https://travis-ci.org/mujx/nheko.svg?branch=master)](https://travis-ci.org/mujx/nheko)
[![Build status](https://ci.appveyor.com/api/projects/status/07qrqbfylsg4hw2h/branch/master?svg=true)](https://ci.appveyor.com/project/mujx/nheko/branch/master)
[![Latest Stable Version](https://img.shields.io/badge/download-stable-green.svg)](https://bintray.com/mujx/matrix/nheko/v0.5.5)
[![Nightly](https://img.shields.io/badge/download-nightly-green.svg)](https://bintray.com/mujx/matrix/nheko/nightly)
[![Chat on Matrix](https://img.shields.io/badge/chat-on%20matrix-blue.svg)](https://matrix.to/#/#nheko:matrix.org)
[![Build Status](https://nheko.im/nheko-reborn/nheko/badges/master/pipeline.svg)](https://nheko.im/nheko-reborn/nheko/-/pipelines/latest)
[![Build status](https://ci.appveyor.com/api/projects/status/07qrqbfylsg4hw2h/branch/master?svg=true)](https://ci.appveyor.com/project/redsky17/nheko/branch/master)
[![Stable Version](https://img.shields.io/badge/download-stable-green.svg)](https://github.com/Nheko-Reborn/nheko/releases/v0.8.2-RC)
[![Nightly](https://img.shields.io/badge/download-nightly-green.svg)](https://matrix-static.neko.dev/room/!TshDrgpBNBDmfDeEGN:neko.dev/)
<a href='https://flatpak.neko.dev/repo/nightly/appstream/io.github.NhekoReborn.Nheko.flatpakref' download='nheko-nightly.flatpakref'><img alt='Download Nightly Flatpak' src='https://img.shields.io/badge/download-flatpak--nightly-green'/></a>
[![#nheko-reborn:matrix.org](https://img.shields.io/matrix/nheko-reborn:matrix.org.svg?label=%23nheko-reborn:matrix.org)](https://matrix.to/#/#nheko-reborn:matrix.org)
[![AUR: nheko](https://img.shields.io/badge/AUR-nheko-blue.svg)](https://aur.archlinux.org/packages/nheko)
<a href='https://flathub.org/apps/details/io.github.NhekoReborn.Nheko'><img width='240' alt='Download on Flathub' src='https://flathub.org/assets/badges/flathub-badge-en.png'/></a>
The motivation behind the project is to provide a native desktop app for [Matrix] that
feels more like a mainstream chat app ([Riot], Telegram etc) and less like an IRC client.
feels more like a mainstream chat app ([Element], Telegram etc) and less like an IRC client.
### Translations ###
[![Translation status](http://weblate.nheko.im/widgets/nheko/-/nheko-master/svg-badge.svg)](http://weblate.nheko.im/engage/nheko/?utm_source=widget)
Help us with translations so as many people as possible will be able to use nheko!
### Note regarding End-to-End encryption
Currently the implementation is at best a **proof of concept** and it should only be used for
testing purposes.
testing purposes. Most importantly, it is missing device verification, so while your messages
and media are encrypted, nheko doesn't verify who gets the messages.
## Features
Most of the features you would expect from a chat application are missing right now
but we are getting close to a more feature complete client.
Specifically there is support for:
- E2E encryption (text messages only: attachments are currently sent unencrypted).
- E2E encryption.
- VoIP calls (voice & video).
- User registration.
- Creating, joining & leaving rooms.
- Sending & receiving invites.
- Sending & receiving files and emoji (inline widgets for images, audio and file messages).
- Replies with text, images and other media (and actually render them as inline widgets).
- Typing notifications.
- Username auto-completion.
- Message & mention notifications.
@ -33,20 +43,31 @@ Specifically there is support for:
- Basic communities support.
- Room switcher (ctrl-K).
- Light, Dark & System themes.
- Creating separate profiles (command line only, use `-p name`).
## Installation
### Releases
Releases for Linux (AppImage), macOS (disk image) & Windows (x64 installer) can be found on the [Bintray repo](https://bintray.com/mujx/matrix/nheko).
Releases for Linux (AppImage), macOS (disk image) & Windows (x64 installer)
can be found in the [GitHub releases](https://github.com/Nheko-Reborn/nheko/releases).
### Repositories
[![Packaging status](https://repology.org/badge/tiny-repos/nheko.svg)](https://repology.org/project/nheko/versions)
#### Arch Linux
```bash
pacaur -S nheko # nheko-git
```
#### Debian (10 and above) / Ubuntu (18.04 and above)
```bash
sudo apt install nheko
```
#### Fedora
```bash
sudo dnf install nheko
@ -54,10 +75,18 @@ sudo dnf install nheko
#### Gentoo Linux
```bash
sudo layman -a matrix
sudo eselect repository enable guru
sudo emerge -a nheko
```
#### Nix(os)
```bash
nix-env -iA nixpkgs.nheko
# or
nix-shell -p nheko --run nheko
```
#### Alpine Linux (and postmarketOS)
Make sure you have the testing repositories from `edge` enabled. Note that this is not needed on postmarketOS.
@ -69,37 +98,88 @@ sudo apk add nheko
#### Flatpak
```
flatpak install flathub io.github.mujx.Nheko
flatpak install flathub io.github.NhekoReborn.Nheko
```
#### macOS (10.12 and above)
#### Guix
with [macports](https://www.macports.org/) :
```
guix install nheko
```
#### macOS (10.14 and above)
with [homebrew](https://brew.sh/):
```sh
sudo port install nheko
brew install --cask nheko
```
#### Windows
with [Chocolatey](https://chocolatey.org/):
```posh
choco install nheko-reborn
```
### FAQ
##
**Q:** Why don't videos run for me on Windows?
**A:** You're probably missing the required video codecs, download [K-Lite Codec Pack](https://codecguide.com/download_kl.htm).
##
### Build Requirements
- Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with
Freetype, which is essential to properly support emoji.
- CMake 3.1 or greater.
- [mtxclient](https://github.com/mujx/mtxclient)
- Qt5 (5.12 or greater). Required for overlapping hover handlers in Qml.
- CMake 3.15 or greater. (Lower version may work, but may break boost linking)
- [mtxclient](https://github.com/Nheko-Reborn/mtxclient)
- [LMDB](https://symas.com/lightning-memory-mapped-database/)
- [cmark](https://github.com/commonmark/cmark)
- Boost 1.66 or greater.
- [libolm](https://git.matrix.org/git/olm)
- [libsodium](https://github.com/jedisct1/libsodium)
- [lmdb++](https://github.com/hoytech/lmdbxx)
- [cmark](https://github.com/commonmark/cmark) 0.29 or greater.
- Boost 1.70 or greater.
- [libolm](https://gitlab.matrix.org/matrix-org/olm)
- [spdlog](https://github.com/gabime/spdlog)
- A compiler that supports C++ 14:
- Clang 5 (tested on Travis CI)
- [GStreamer](https://gitlab.freedesktop.org/gstreamer) 1.18.0 or greater (optional, needed for VoIP support).
- Installing the gstreamer core library plus gst-plugins-base, gst-plugins-good & gst-plugins-bad
is often sufficient. The qmlgl plugin though is often packaged separately. The actual plugin requirements
are as follows:
- Voice call support: dtls, opus, rtpmanager, srtp, webrtc
- Video call support (optional): compositor, opengl, qmlgl, rtp, vpx
- [libnice](https://gitlab.freedesktop.org/libnice/libnice)
- [qtkeychain](https://github.com/frankosterfeld/qtkeychain)
- A compiler that supports C++ 17:
- Clang 6 (tested on Travis CI)
- GCC 7 (tested on Travis CI)
- MSVC 19.13 (tested on AppVeyor)
Nheko can use bundled version for most of those libraries automatically, if the versions in your distro are too old.
To use them, you can enable the hunter integration by passing `-DHUNTER_ENABLED=ON`.
It is probably wise to link those dependencies statically by passing `-DBUILD_SHARED_LIBS=OFF`
You can select which bundled dependencies you want to use by passing various `-DUSE_BUNDLED_*` flags. By default all dependencies are bundled *if* you enable hunter. (The exception to that is OpenSSL, which is always disabled by default.)
If you experience build issues and you are trying to link `mtxclient` library without hunter, make sure the library version(commit) as mentioned in the `CMakeList.txt` is used. Sometimes we have to make breaking changes in `mtxclient` and for that period the master branch of both repos may not be compatible.
The bundle flags are currently:
- USE_BUNDLED_BOOST
- USE_BUNDLED_SPDLOG
- USE_BUNDLED_OLM
- USE_BUNDLED_GTEST
- USE_BUNDLED_CMARK
- USE_BUNDLED_JSON
- USE_BUNDLED_OPENSSL
- USE_BUNDLED_MTXCLIENT
- USE_BUNDLED_LMDB
- USE_BUNDLED_LMDBXX
- USE_BUNDLED_TWEENY
A note on bundled OpenSSL: You need to explicitly enable it and it will not be using your system certificate directory by default, if you enable it. You need to override that at runtime with the SSL_CERT_FILE variable. On Windows it will still be using your system certificates though, since it loads them from the system store instead of the OpenSSL directory.
#### Linux
If you don't want to install any external dependencies, you can generate an AppImage locally using docker.
If you don't want to install any external dependencies, you can generate an AppImage locally using docker. It is not that well maintained though...
```bash
make docker-app-image
@ -118,30 +198,56 @@ sudo pacman -S qt5-base \
lmdb \
cmark \
boost \
libsodium
qtkeychain-qt5
```
##### Gentoo Linux
```bash
sudo emerge -a ">=dev-qt/qtgui-5.7.1" media-libs/fontconfig
sudo emerge -a ">=dev-qt/qtgui-5.10.0" media-libs/fontconfig dev-libs/qtkeychain
```
##### Ubuntu (e.g 14.04)
##### Ubuntu 20.04
```bash
sudo add-apt-repository ppa:beineri/opt-qt592-trusty
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo add-apt-repository ppa:ubuntu-toolchain-r-test
sudo apt-get update
sudo apt-get install -y g++-7 qt59base qt59svg qt59tools qt59multimedia cmake liblmdb-dev libsodium-dev
# Build requirements + qml modules needed at runtime (you may not need all of them, but the following seem to work according to reports):
sudo apt install g++ cmake zlib1g-dev libssl-dev qt{base,declarative,tools,multimedia,quickcontrols2-}5-dev libqt5svg5-dev libboost-system-dev libboost-thread-dev libboost-iostreams-dev libolm-dev liblmdb++-dev libcmark-dev nlohmann-json3-dev libspdlog-dev libgtest-dev qml-module-qt{gstreamer,multimedia,quick-extras,-labs-settings,-labs-platform,graphicaleffects,quick-controls2} qt5keychain-dev
```
This will install all dependencies, except for tweeny (use bundled tweeny)
and mtxclient (needs to be build separately).
##### Debian Buster (or higher probably)
(User report, not sure if all of those are needed)
```bash
sudo apt install cmake gcc make automake liblmdb-dev \
qt5-default libssl-dev libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediaquick5 libqt5svg5-dev \
qml-module-qtgstreamer qtmultimedia5-dev qtquickcontrols2-5-dev qttools5-dev qttools5-dev-tools qtdeclarative5-dev \
qml-module-qtgraphicaleffects qml-module-qtmultimedia qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qt-labs-platform\
qt5keychain-dev
```
##### macOS (Xcode 8 or later)
##### Fedora
```bash
sudo dnf install qt5-qtbase-devel qt5-linguist qt5-qtsvg-devel qt5-qtmultimedia-devel \
qt5-qtquickcontrols2-devel qtkeychain-qt5-devel spdlog-devel openssl-devel \
libolm-devel cmark-devel lmdb-devel lmdbxx-devel tweeny-devel
```
##### Guix
```bash
guix environment nheko
```
##### macOS (Xcode 10.2 or later)
```bash
brew update
brew install qt5 lmdb cmake llvm libsodium spdlog boost cmark
brew install qt5 lmdb cmake llvm spdlog boost cmark libolm qtkeychain
```
##### Windows
@ -150,61 +256,29 @@ brew install qt5 lmdb cmake llvm libsodium spdlog boost cmark
(for the CMake integration) workloads.
2. Download the latest Qt for windows installer and install it somewhere.
Make sure to install the `MSVC 2017 64-bit` toolset for at least Qt 5.9
Make sure to install the `MSVC 2017 64-bit` toolset for at least Qt 5.10
(lower versions does not support VS2017).
3. Install dependencies with `vcpkg`. You can simply clone it into a subfolder
of the root nheko source directory.
```powershell
git clone http:\\github.com\Microsoft\vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg install --triplet x64-windows \
boost-asio \
boost-beast \
boost-iostreams \
boost-random \
boost-signals2 \
boost-system \
boost-thread \
cmark \
libsodium \
lmdb \
openssl \
zlib
```
4. Install dependencies not managed by vcpkg. (libolm, libmtxclient, libmatrix_structs)
Inside the project root run the following (replacing the path to vcpkg as necessary).
```bash
cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps
-DCMAKE_TOOLCHAIN_FILE=C:/Users/<your-path>/vcpkg/scripts/buildsystems/vcpkg.cmake
-DUSE_BUNDLED_BOOST=OFF
cmake --build .deps --config Release
cmake --build .deps --config Debug
```
3. If you don't have openssl installed, you will need to install perl to build it (i.e. Strawberry Perl).
### Building
First we need to install the rest of the dependencies that are not available in our system
We can now build nheko:
```bash
cmake -Hdeps -B.deps \
-DUSE_BUNDLED_BOOST=OFF # if we already have boost & spdlog installed.
-DUSE_BUNDLED_SPDLOG=OFF
cmake --build .deps
```
We can now build nheko by pointing it to the path that we installed the dependencies.
```bash
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.deps/usr
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build
```
To use bundled dependencies you can use hunter, i.e.:
```bash
cmake -S. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF
cmake --build build --config Release
```
Adapt the USE_BUNDLED_* as needed.
If the build fails with the following error
```
Could not find a package configuration file provided by "Qt5Widgets" with
@ -218,7 +292,7 @@ You might need to pass `-DCMAKE_PREFIX_PATH` to cmake to point it at your qt5 in
e.g on macOS
```
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake --build build
```
@ -229,13 +303,14 @@ The `nheko` binary will be located in the `build` directory.
After installing all dependencies, you need to edit the `CMakeSettings.json` to
be able to load and compile nheko within Visual Studio.
You need to fill out the paths for the `CMAKE_TOOLCHAIN_FILE` and the `Qt5_DIR`.
The toolchain file should point to the `vcpkg.cmake` and the Qt5 dir to the `lib\cmake\Qt5` dir.
You need to fill out the paths for the `Qt5_DIR`.
The Qt5 dir should point to the `lib\cmake\Qt5` dir.
Examples for the paths are:
- `C:\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake`
- `C:\\Qt\\5.10.1\\msvc2017_64\\lib\\cmake\\Qt5`
You should also enable hunter by setting `HUNTER_ENABLED` to `ON` and `BUILD_SHARED_LIBS` to `OFF`.
Now right click into the root nheko source directory and choose `Open in Visual Studio`.
You can choose the build type Release and Debug in the top toolbar.
After a successful CMake generation you can select the `nheko.exe` as the run target.
@ -253,21 +328,25 @@ windeployqt nheko.exe
The final binary will be located inside `build-vc\Release\Release` for the Release build
and `build-vc\Debug\Debug` for the Debug build.
Also copy the respective cmark.dll to the binary dir from `build/cmark-build/src/Release` (or Debug).
### Contributing
See [CONTRIBUTING](.github/CONTRIBUTING.md)
### Screens
Here is a screen shot to get a feel for the UI, but things will probably change.
Here are some screen shots to get a feel for the UI, but things will probably change.
![nheko](https://dl.dropboxusercontent.com/s/3zjcezdtk8kqe4i/nheko-v0.4.0.png)
![nheko start](https://nheko-reborn.github.io/images/screenshots/Start.png)
![nheko login](https://nheko-reborn.github.io/images/screenshots/login.png)
![nheko chat](https://nheko-reborn.github.io/images/screenshots/chat.png)
![nheko settings](https://nheko-reborn.github.io/images/screenshots/settings.png)
### Third party
- [Emoji One](http://emojione.com)
- [Font Awesome](http://fontawesome.io/)
- [Open Sans](https://fonts.google.com/specimen/Open+Sans)
[Single Application for Qt](https://github.com/itay-grudev/SingleApplication)
[Matrix]:https://matrix.org
[Riot]:https://riot.im
[Element]:https://element.io

View File

@ -1,44 +1,38 @@
---
version: 0.5.5-{build}
version: 0.8.0-{build}
configuration: Release
image: Visual Studio 2017
image: Visual Studio 2019
platform: x64
environment:
BINTRAY_APIKEY:
secure: "hhhAH6csIrPEVH92NNQkiGCkuON6l6sfhbZk+pvzDAM3vHex7YbqFKW6v5UjAS8v"
secure: "iGl5mzE9/ta9kFELUxDw9XtlYMSCMai9xowXIkYzU8WKHz7NfW0mLwMJZvblZFXJ"
MATRIX_ACCESS_TOKEN:
secure: Qoy+QQ8zWXYCQrck9GtXJsoPTv9r/rhgCDUlKJ6ue+gkteYG40E9MxgwP1svn6bse20H4z6Svrxn8kFbcJB7Wg2Cnv1s326/vsJJzhWir2eHFFGK+f4SB992/U0HoQmk3Cq5hPk7dLcA7KqHIa1g1PTSFPfl1VODJ2UqqAyn8nzbC5ym+wwU1buJqoWPlTyHBW7eE8wNe77+qI18XpF7NN8yuOOyg3Tzup9YyXLrI36XiJu/5JD3j3s3V1QiUTpuLyQzqwuBUOf1MHTbzuPwHm3ZwzSM98WD6aL6riaK9qa7mDbSx1aY0ukIYSY9IdAfHNwZY/DEAn+QAVD+ZTvPq04ASv+kmSFpOBKr07kpqfM=
cache: c:\tools\vcpkg\installed\
cache:
- c:\hunter\ -> appveyor.yml
- build\_deps -> appveyor.yml
build:
verbosity: minimal
install:
- set QT_DIR=C:\Qt\5.10.1\msvc2017_64
- set PATH=%PATH%;%QT_DIR%\bin;C:\MinGW\bin
- set PATH=%PATH%;C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- vcpkg install
boost-asio:%PLATFORM%-windows
boost-beast:%PLATFORM%-windows
boost-iostreams:%PLATFORM%-windows
boost-random:%PLATFORM%-windows
boost-signals2:%PLATFORM%-windows
boost-system:%PLATFORM%-windows
boost-thread:%PLATFORM%-windows
libsodium:%PLATFORM%-windows
lmdb:%PLATFORM%-windows
openssl:%PLATFORM%-windows
zlib:%PLATFORM%-windows
- set QT_DIR=C:\Qt\5.15\msvc2019_64
- set PATH=Path=C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Program Files\7-Zip;C:\Program Files\Microsoft\Web Platform Installer\;C:\Tools\NuGet;C:\Tools\PsTools;C:\Program Files\Git\usr\bin;C:\Program Files\Git LFS;C:\Program Files\Mercurial\;C:\Program Files (x86)\Subversion\bin;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\150;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin;C:\Tools\xUnit;C:\Tools\xUnit20;C:\Tools\NUnit\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\Extensions\TestPlatform;C:\Ruby193\bin;C:\Tools\WebDriver;C:\Python27;C:\Python27\Scripts;C:\Program Files\erl10.7\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft DirectX SDK;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Tools\Doxygen;C:\Program Files (x86)\CMake\bin;C:\ProgramData\chocolatey\bin;C:\Tools\vcpkg;C:\Tools\Coverity\bin;C:\Program Files (x86)\NSIS;C:\Tools\Octopus;C:\Program Files\Meson\;C:\Tools\GitVersion;C:\Tools\NUnit3\bin;C:\Users\appveyor\AppData\Local\Microsoft\WindowsApps;C:\Users\appveyor\.dotnet\tools;C:\Program Files\AppVeyor\BuildAgent\
- set PATH=C:\Strawberry\perl\bin;C:\Python39-x64;%QT_DIR%\bin;%PATH%
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
build_script:
# VERSION format: branch-master/branch-1.2
# INSTVERSION format: x.y.z
# WINVERSION format: 9999.0.0.123/1.2.0.234
- if "%APPVEYOR_REPO_TAG%"=="false" set INSTVERSION=0.5.5
- if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.5.5
- if "%APPVEYOR_REPO_TAG%"=="false" set INSTVERSION=0.8.2
- if "%APPVEYOR_REPO_TAG%"=="false" set VERSION=0.8.2
- if "%APPVEYOR_REPO_TAG%"=="false" if "%APPVEYOR_REPO_BRANCH%"=="master" set INSTVERSION=9999.0
- if "%APPVEYOR_REPO_TAG%"=="false" set WINVERSION=%INSTVERSION%.0.%APPVEYOR_BUILD_NUMBER%
# VERSION format: v1.2.3/v1.3.4
@ -52,20 +46,12 @@ build_script:
- echo %INSTVERSION%
- echo %DATE%
# Build & install the dependencies
- cmake -G "Visual Studio 15 2017 Win64" -Hdeps -B.deps
-DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DUSE_BUNDLED_BOOST=OFF
- cmake --build .deps --config Release
# Build nheko
- rm -f cmake/FindOlm.cmake
- cmake -G "Visual Studio 15 2017 Win64" -H. -Bbuild
-DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
-DLMDBXX_INCLUDE_DIR=.deps/usr/include
-DTWEENY_INCLUDE_DIR=.deps/usr/include
-DCMARK_INCLUDE_DIR=C:/projects/nheko/.deps/usr/include
-DCMARK_LIBRARY=C:/projects/nheko/.deps/usr/lib/cmark.lib
- cmake -G "Visual Studio 16 2019" -A x64 -H. -Bbuild
-DHUNTER_ROOT="C:\hunter"
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=ON
-DCMAKE_BUILD_TYPE=Release -DHUNTER_CONFIGURATION_TYPES=Release
- cmake --build build --config Release
after_build:
@ -74,10 +60,8 @@ after_build:
- echo %BUILD%
- mkdir NhekoRelease
- copy build\Release\nheko.exe NhekoRelease\nheko.exe
- windeployqt --qmldir %QT_DIR%\qml\ --release NhekoRelease\nheko.exe
- copy C:\Tools\vcpkg\installed\x64-windows\lib\*.lib .\NhekoRelease\
- copy C:\Tools\vcpkg\installed\x64-windows\bin\*.dll .\NhekoRelease\
- copy build\_deps\cmark-build\src\Release\cmark.dll NhekoRelease\cmark.dll
- windeployqt --qmldir resources\qml\ NhekoRelease\nheko.exe
- 7z a nheko_win_64.zip .\NhekoRelease\*
- ls -lh build\Release\
@ -90,42 +74,52 @@ after_build:
- mkdir installer
- mkdir installer\config
- mkdir installer\packages
- mkdir installer\packages\com.mujx.nheko
- mkdir installer\packages\com.mujx.nheko\data
- mkdir installer\packages\com.mujx.nheko\meta
- mkdir installer\packages\com.mujx.nheko.cleanup\meta
- mkdir installer\packages\io.github.nhekoreborn.nheko
- mkdir installer\packages\io.github.nhekoreborn.nheko\data
- mkdir installer\packages\io.github.nhekoreborn.nheko\meta
# Copy installer data
- copy %BUILD%\resources\nheko.ico installer\config
- copy %BUILD%\resources\nheko.png installer\config
- copy %BUILD%\LICENSE installer\packages\com.mujx.nheko\meta\license.txt
- copy %BUILD%\LICENSE installer\packages\com.mujx.nheko.cleanup\meta\license.txt
- copy %BUILD%\COPYING installer\packages\io.github.nhekoreborn.nheko\meta\license.txt
- copy %BUILD%\deploy\installer\config.xml installer\config
- copy %BUILD%\deploy\installer\controlscript.qs installer\config
- copy %BUILD%\deploy\installer\uninstall.qs installer\packages\com.mujx.nheko\data
- copy %BUILD%\deploy\installer\gui\package.xml installer\packages\com.mujx.nheko\meta
- copy %BUILD%\deploy\installer\gui\installscript.qs installer\packages\com.mujx.nheko\meta
- copy %BUILD%\deploy\installer\cleanup\package.xml installer\packages\com.mujx.nheko.cleanup\meta
- copy %BUILD%\deploy\installer\cleanup\installscript.qs installer\packages\com.mujx.nheko.cleanup\meta
- copy %BUILD%\deploy\installer\uninstall.qs installer\packages\io.github.nhekoreborn.nheko\data
- copy %BUILD%\deploy\installer\gui\package.xml installer\packages\io.github.nhekoreborn.nheko\meta
- copy %BUILD%\deploy\installer\gui\installscript.qs installer\packages\io.github.nhekoreborn.nheko\meta
# Amend version and date
- sed -i "s/__VERSION__/0.5.5/" installer\config\config.xml
- sed -i "s/__VERSION__/0.5.5/" installer\packages\com.mujx.nheko\meta\package.xml
- sed -i "s/__VERSION__/0.5.5/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
- sed -i "s/__DATE__/%DATE%/" installer\packages\com.mujx.nheko\meta\package.xml
- sed -i "s/__DATE__/%DATE%/" installer\packages\com.mujx.nheko.cleanup\meta\package.xml
- sed -i "s/__VERSION__/0.8.2/" installer\config\config.xml
- sed -i "s/__VERSION__/0.8.2/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml
- sed -i "s/__DATE__/%DATE%/" installer\packages\io.github.nhekoreborn.nheko\meta\package.xml
# Copy nheko data
- xcopy NhekoData\*.* installer\packages\com.mujx.nheko\data\*.* /s /e /c /y
- move NhekoRelease\nheko.exe installer\packages\com.mujx.nheko\data
- xcopy NhekoData\*.* installer\packages\io.github.nhekoreborn.nheko\data\*.* /s /e /c /y
- move NhekoRelease\nheko.exe installer\packages\io.github.nhekoreborn.nheko\data
- mkdir tools
- curl -L -O https://download.qt.io/official_releases/qt-installer-framework/3.0.1/QtInstallerFramework-win-x86.exe
#- curl -L -O https://download.qt.io/official_releases/qt-installer-framework/3.0.4/QtInstallerFramework-win-x86.exe
# Since the official download.qt.io is down atm
- curl -L -O https://qt-mirror.dannhauer.de/official_releases/qt-installer-framework/4.0.1/QtInstallerFramework-win-x86.exe
- 7z x QtInstallerFramework-win-x86.exe -otools -aoa
- set PATH=%BUILD%\tools\bin;%PATH%
- binarycreator.exe -f -c installer\config\config.xml -p installer\packages nheko-installer.exe
- mv nheko-installer.exe nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe
- copy nheko-installer.exe nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe
- copy nheko-installer.exe nheko-%APPVEYOR_PULL_REQUEST_HEAD_COMMIT%-installer.exe
- ps: .\.ci\upload-nightly.ps1
on_success:
- if "%APPVEYOR_REPO_TAG%" == "true" (curl -T nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe -umujx:%BINTRAY_APIKEY% https://api.bintray.com/content/mujx/matrix/nheko/%APPVEYOR_REPO_TAG_NAME%/nheko/%APPVEYOR_REPO_TAG_NAME%/)
- if "%APPVEYOR_REPO_TAG%" == "true" (curl -T nheko-%APPVEYOR_REPO_TAG_NAME%-installer.exe -uredsky17:%BINTRAY_APIKEY% https://api.bintray.com/content/nheko-reborn/nheko/%APPVEYOR_REPO_TAG_NAME%/nheko/%APPVEYOR_REPO_TAG_NAME%/)
deploy:
- description: "Development builds"
provider: GitHub
auth_token:
secure: "ShStWeqp+TkYqJPQr7uFZb+B8ZTgC7Iwth+IkhjfRDCTLhy8gtWvlPzlQilder3E"
artifact: nheko-${APPVEYOR_REPO_TAG_NAME}-installer.exe
force_update: true
prerelease: true
on:
appveyor_repo_tag: true
artifacts:
- path: nheko_win_64.zip
- path: nheko-$(APPVEYOR_REPO_TAG_NAME)-installer.exe
- path: nheko-$(APPVEYOR_PULL_REQUEST_HEAD_COMMIT)-installer.exe

15
cmake/FindLMDB.cmake Normal file
View File

@ -0,0 +1,15 @@
#
# Find the lmdb library & include dir.
#
find_path (LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "$ENV{LMDB_DIR}/include")
find_library (LMDB_LIBRARY NAMES lmdb PATHS "$ENV{LMDB_DIR}/lib" )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARY)
add_library(lmdb INTERFACE IMPORTED GLOBAL)
target_include_directories(lmdb INTERFACE ${LMDB_INCLUDE_DIR})
target_link_libraries(lmdb INTERFACE ${LMDB_LIBRARY})
add_library(liblmdb::lmdb ALIAS lmdb)

View File

@ -1,44 +0,0 @@
#
# CMake module to search for the olm library
#
# On success, the macro sets the following variables:
# OLM_FOUND = if the library found
# OLM_LIBRARY = full path to the library
# OLM_INCLUDE_DIR = where to find the library headers
#
if(WIN32)
message(STATUS "FindOlm is not supported in Windows")
return()
endif()
find_path(OLM_INCLUDE_DIR
NAMES olm/olm.h
PATHS /usr/include
/usr/local/include
$ENV{LIB_DIR}/include
$ENV{LIB_DIR}/include/olm)
find_library(OLM_LIBRARY
NAMES olm
PATHS /usr/lib /usr/local/lib $ENV{LIB_DIR}/lib)
if(OLM_FOUND)
set(OLM_INCLUDE_DIRS ${OLM_INCLUDE_DIR})
if(NOT OLM_LIBRARIES)
set(OLM_LIBRARIES ${OLM_LIBRARY})
endif()
endif()
if(NOT TARGET Olm::Olm)
add_library(Olm::Olm UNKNOWN IMPORTED)
set_target_properties(Olm::Olm
PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${OLM_INCLUDE_DIR})
set_property(TARGET Olm::Olm APPEND PROPERTY IMPORTED_LOCATION ${OLM_LIBRARY})
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(OLM DEFAULT_MSG OLM_INCLUDE_DIR OLM_LIBRARY)
mark_as_advanced(OLM_LIBRARY OLM_INCLUDE_DIR)

View File

@ -0,0 +1,9 @@
hunter_config(
Boost
VERSION "1.70.0-p1"
CMAKE_ARGS IOSTREAMS_NO_BZIP2=1
)
hunter_config(
nlohmann_json
CMAKE_ARGS JSON_MultipleHeaders=ON
)

539
cmake/HunterGate.cmake Normal file
View File

@ -0,0 +1,539 @@
# Copyright (c) 2013-2019, Ruslan Baratov
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# This is a gate file to Hunter package manager.
# Include this file using `include` command and add package you need, example:
#
# cmake_minimum_required(VERSION 3.2)
#
# include("cmake/HunterGate.cmake")
# HunterGate(
# URL "https://github.com/path/to/hunter/archive.tar.gz"
# SHA1 "798501e983f14b28b10cda16afa4de69eee1da1d"
# )
#
# project(MyProject)
#
# hunter_add_package(Foo)
# hunter_add_package(Boo COMPONENTS Bar Baz)
#
# Projects:
# * https://github.com/hunter-packages/gate/
# * https://github.com/ruslo/hunter
option(HUNTER_ENABLED "Enable Hunter package manager support" ON)
if(HUNTER_ENABLED)
if(CMAKE_VERSION VERSION_LESS "3.2")
message(
FATAL_ERROR
"At least CMake version 3.2 required for Hunter dependency management."
" Update CMake or set HUNTER_ENABLED to OFF."
)
endif()
endif()
include(CMakeParseArguments) # cmake_parse_arguments
option(HUNTER_STATUS_PRINT "Print working status" ON)
option(HUNTER_STATUS_DEBUG "Print a lot info" OFF)
option(HUNTER_TLS_VERIFY "Enable/disable TLS certificate checking on downloads" ON)
set(HUNTER_ERROR_PAGE "https://docs.hunter.sh/en/latest/reference/errors")
function(hunter_gate_status_print)
if(HUNTER_STATUS_PRINT OR HUNTER_STATUS_DEBUG)
foreach(print_message ${ARGV})
message(STATUS "[hunter] ${print_message}")
endforeach()
endif()
endfunction()
function(hunter_gate_status_debug)
if(HUNTER_STATUS_DEBUG)
foreach(print_message ${ARGV})
string(TIMESTAMP timestamp)
message(STATUS "[hunter *** DEBUG *** ${timestamp}] ${print_message}")
endforeach()
endif()
endfunction()
function(hunter_gate_error_page error_page)
message("------------------------------ ERROR ------------------------------")
message(" ${HUNTER_ERROR_PAGE}/${error_page}.html")
message("-------------------------------------------------------------------")
message("")
message(FATAL_ERROR "")
endfunction()
function(hunter_gate_internal_error)
message("")
foreach(print_message ${ARGV})
message("[hunter ** INTERNAL **] ${print_message}")
endforeach()
message("[hunter ** INTERNAL **] [Directory:${CMAKE_CURRENT_LIST_DIR}]")
message("")
hunter_gate_error_page("error.internal")
endfunction()
function(hunter_gate_fatal_error)
cmake_parse_arguments(hunter "" "ERROR_PAGE" "" "${ARGV}")
if("${hunter_ERROR_PAGE}" STREQUAL "")
hunter_gate_internal_error("Expected ERROR_PAGE")
endif()
message("")
foreach(x ${hunter_UNPARSED_ARGUMENTS})
message("[hunter ** FATAL ERROR **] ${x}")
endforeach()
message("[hunter ** FATAL ERROR **] [Directory:${CMAKE_CURRENT_LIST_DIR}]")
message("")
hunter_gate_error_page("${hunter_ERROR_PAGE}")
endfunction()
function(hunter_gate_user_error)
hunter_gate_fatal_error(${ARGV} ERROR_PAGE "error.incorrect.input.data")
endfunction()
function(hunter_gate_self root version sha1 result)
string(COMPARE EQUAL "${root}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("root is empty")
endif()
string(COMPARE EQUAL "${version}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("version is empty")
endif()
string(COMPARE EQUAL "${sha1}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("sha1 is empty")
endif()
string(SUBSTRING "${sha1}" 0 7 archive_id)
if(EXISTS "${root}/cmake/Hunter")
set(hunter_self "${root}")
else()
set(
hunter_self
"${root}/_Base/Download/Hunter/${version}/${archive_id}/Unpacked"
)
endif()
set("${result}" "${hunter_self}" PARENT_SCOPE)
endfunction()
# Set HUNTER_GATE_ROOT cmake variable to suitable value.
function(hunter_gate_detect_root)
# Check CMake variable
string(COMPARE NOTEQUAL "${HUNTER_ROOT}" "" not_empty)
if(not_empty)
set(HUNTER_GATE_ROOT "${HUNTER_ROOT}" PARENT_SCOPE)
hunter_gate_status_debug("HUNTER_ROOT detected by cmake variable")
return()
endif()
# Check environment variable
string(COMPARE NOTEQUAL "$ENV{HUNTER_ROOT}" "" not_empty)
if(not_empty)
set(HUNTER_GATE_ROOT "$ENV{HUNTER_ROOT}" PARENT_SCOPE)
hunter_gate_status_debug("HUNTER_ROOT detected by environment variable")
return()
endif()
# Check HOME environment variable
string(COMPARE NOTEQUAL "$ENV{HOME}" "" result)
if(result)
set(HUNTER_GATE_ROOT "$ENV{HOME}/.hunter" PARENT_SCOPE)
hunter_gate_status_debug("HUNTER_ROOT set using HOME environment variable")
return()
endif()
# Check SYSTEMDRIVE and USERPROFILE environment variable (windows only)
if(WIN32)
string(COMPARE NOTEQUAL "$ENV{SYSTEMDRIVE}" "" result)
if(result)
set(HUNTER_GATE_ROOT "$ENV{SYSTEMDRIVE}/.hunter" PARENT_SCOPE)
hunter_gate_status_debug(
"HUNTER_ROOT set using SYSTEMDRIVE environment variable"
)
return()
endif()
string(COMPARE NOTEQUAL "$ENV{USERPROFILE}" "" result)
if(result)
set(HUNTER_GATE_ROOT "$ENV{USERPROFILE}/.hunter" PARENT_SCOPE)
hunter_gate_status_debug(
"HUNTER_ROOT set using USERPROFILE environment variable"
)
return()
endif()
endif()
hunter_gate_fatal_error(
"Can't detect HUNTER_ROOT"
ERROR_PAGE "error.detect.hunter.root"
)
endfunction()
function(hunter_gate_download dir)
string(
COMPARE
NOTEQUAL
"$ENV{HUNTER_DISABLE_AUTOINSTALL}"
""
disable_autoinstall
)
if(disable_autoinstall AND NOT HUNTER_RUN_INSTALL)
hunter_gate_fatal_error(
"Hunter not found in '${dir}'"
"Set HUNTER_RUN_INSTALL=ON to auto-install it from '${HUNTER_GATE_URL}'"
"Settings:"
" HUNTER_ROOT: ${HUNTER_GATE_ROOT}"
" HUNTER_SHA1: ${HUNTER_GATE_SHA1}"
ERROR_PAGE "error.run.install"
)
endif()
string(COMPARE EQUAL "${dir}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("Empty 'dir' argument")
endif()
string(COMPARE EQUAL "${HUNTER_GATE_SHA1}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("HUNTER_GATE_SHA1 empty")
endif()
string(COMPARE EQUAL "${HUNTER_GATE_URL}" "" is_bad)
if(is_bad)
hunter_gate_internal_error("HUNTER_GATE_URL empty")
endif()
set(done_location "${dir}/DONE")
set(sha1_location "${dir}/SHA1")
set(build_dir "${dir}/Build")
set(cmakelists "${dir}/CMakeLists.txt")
hunter_gate_status_debug("Locking directory: ${dir}")
file(LOCK "${dir}" DIRECTORY GUARD FUNCTION)
hunter_gate_status_debug("Lock done")
if(EXISTS "${done_location}")
# while waiting for lock other instance can do all the job
hunter_gate_status_debug("File '${done_location}' found, skip install")
return()
endif()
file(REMOVE_RECURSE "${build_dir}")
file(REMOVE_RECURSE "${cmakelists}")
file(MAKE_DIRECTORY "${build_dir}") # check directory permissions
# Disabling languages speeds up a little bit, reduces noise in the output
# and avoids path too long windows error
file(
WRITE
"${cmakelists}"
"cmake_minimum_required(VERSION 3.2)\n"
"project(HunterDownload LANGUAGES NONE)\n"
"include(ExternalProject)\n"
"ExternalProject_Add(\n"
" Hunter\n"
" URL\n"
" \"${HUNTER_GATE_URL}\"\n"
" URL_HASH\n"
" SHA1=${HUNTER_GATE_SHA1}\n"
" DOWNLOAD_DIR\n"
" \"${dir}\"\n"
" TLS_VERIFY\n"
" ${HUNTER_TLS_VERIFY}\n"
" SOURCE_DIR\n"
" \"${dir}/Unpacked\"\n"
" CONFIGURE_COMMAND\n"
" \"\"\n"
" BUILD_COMMAND\n"
" \"\"\n"
" INSTALL_COMMAND\n"
" \"\"\n"
")\n"
)
if(HUNTER_STATUS_DEBUG)
set(logging_params "")
else()
set(logging_params OUTPUT_QUIET)
endif()
hunter_gate_status_debug("Run generate")
# Need to add toolchain file too.
# Otherwise on Visual Studio + MDD this will fail with error:
# "Could not find an appropriate version of the Windows 10 SDK installed on this machine"
if(EXISTS "${CMAKE_TOOLCHAIN_FILE}")
get_filename_component(absolute_CMAKE_TOOLCHAIN_FILE "${CMAKE_TOOLCHAIN_FILE}" ABSOLUTE)
set(toolchain_arg "-DCMAKE_TOOLCHAIN_FILE=${absolute_CMAKE_TOOLCHAIN_FILE}")
else()
# 'toolchain_arg' can't be empty
set(toolchain_arg "-DCMAKE_TOOLCHAIN_FILE=")
endif()
string(COMPARE EQUAL "${CMAKE_MAKE_PROGRAM}" "" no_make)
if(no_make)
set(make_arg "")
else()
# Test case: remove Ninja from PATH but set it via CMAKE_MAKE_PROGRAM
set(make_arg "-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}")
endif()
execute_process(
COMMAND
"${CMAKE_COMMAND}"
"-H${dir}"
"-B${build_dir}"
"-G${CMAKE_GENERATOR}"
"${toolchain_arg}"
${make_arg}
WORKING_DIRECTORY "${dir}"
RESULT_VARIABLE download_result
${logging_params}
)
if(NOT download_result EQUAL 0)
hunter_gate_internal_error(
"Configure project failed."
"To reproduce the error run: ${CMAKE_COMMAND} -H${dir} -B${build_dir} -G${CMAKE_GENERATOR} ${toolchain_arg} ${make_arg}"
"In directory ${dir}"
)
endif()
hunter_gate_status_print(
"Initializing Hunter workspace (${HUNTER_GATE_SHA1})"
" ${HUNTER_GATE_URL}"
" -> ${dir}"
)
execute_process(
COMMAND "${CMAKE_COMMAND}" --build "${build_dir}"
WORKING_DIRECTORY "${dir}"
RESULT_VARIABLE download_result
${logging_params}
)
if(NOT download_result EQUAL 0)
hunter_gate_internal_error("Build project failed")
endif()
file(REMOVE_RECURSE "${build_dir}")
file(REMOVE_RECURSE "${cmakelists}")
file(WRITE "${sha1_location}" "${HUNTER_GATE_SHA1}")
file(WRITE "${done_location}" "DONE")
hunter_gate_status_debug("Finished")
endfunction()
# Must be a macro so master file 'cmake/Hunter' can
# apply all variables easily just by 'include' command
# (otherwise PARENT_SCOPE magic needed)
macro(HunterGate)
if(HUNTER_GATE_DONE)
# variable HUNTER_GATE_DONE set explicitly for external project
# (see `hunter_download`)
set_property(GLOBAL PROPERTY HUNTER_GATE_DONE YES)
endif()
# First HunterGate command will init Hunter, others will be ignored
get_property(_hunter_gate_done GLOBAL PROPERTY HUNTER_GATE_DONE SET)
if(NOT HUNTER_ENABLED)
# Empty function to avoid error "unknown function"
function(hunter_add_package)
endfunction()
set(
_hunter_gate_disabled_mode_dir
"${CMAKE_CURRENT_LIST_DIR}/cmake/Hunter/disabled-mode"
)
if(EXISTS "${_hunter_gate_disabled_mode_dir}")
hunter_gate_status_debug(
"Adding \"disabled-mode\" modules: ${_hunter_gate_disabled_mode_dir}"
)
list(APPEND CMAKE_PREFIX_PATH "${_hunter_gate_disabled_mode_dir}")
endif()
elseif(_hunter_gate_done)
hunter_gate_status_debug("Secondary HunterGate (use old settings)")
hunter_gate_self(
"${HUNTER_CACHED_ROOT}"
"${HUNTER_VERSION}"
"${HUNTER_SHA1}"
_hunter_self
)
include("${_hunter_self}/cmake/Hunter")
else()
set(HUNTER_GATE_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}")
string(COMPARE NOTEQUAL "${PROJECT_NAME}" "" _have_project_name)
if(_have_project_name)
hunter_gate_fatal_error(
"Please set HunterGate *before* 'project' command. "
"Detected project: ${PROJECT_NAME}"
ERROR_PAGE "error.huntergate.before.project"
)
endif()
cmake_parse_arguments(
HUNTER_GATE "LOCAL" "URL;SHA1;GLOBAL;FILEPATH" "" ${ARGV}
)
string(COMPARE EQUAL "${HUNTER_GATE_SHA1}" "" _empty_sha1)
string(COMPARE EQUAL "${HUNTER_GATE_URL}" "" _empty_url)
string(
COMPARE
NOTEQUAL
"${HUNTER_GATE_UNPARSED_ARGUMENTS}"
""
_have_unparsed
)
string(COMPARE NOTEQUAL "${HUNTER_GATE_GLOBAL}" "" _have_global)
string(COMPARE NOTEQUAL "${HUNTER_GATE_FILEPATH}" "" _have_filepath)
if(_have_unparsed)
hunter_gate_user_error(
"HunterGate unparsed arguments: ${HUNTER_GATE_UNPARSED_ARGUMENTS}"
)
endif()
if(_empty_sha1)
hunter_gate_user_error("SHA1 suboption of HunterGate is mandatory")
endif()
if(_empty_url)
hunter_gate_user_error("URL suboption of HunterGate is mandatory")
endif()
if(_have_global)
if(HUNTER_GATE_LOCAL)
hunter_gate_user_error("Unexpected LOCAL (already has GLOBAL)")
endif()
if(_have_filepath)
hunter_gate_user_error("Unexpected FILEPATH (already has GLOBAL)")
endif()
endif()
if(HUNTER_GATE_LOCAL)
if(_have_global)
hunter_gate_user_error("Unexpected GLOBAL (already has LOCAL)")
endif()
if(_have_filepath)
hunter_gate_user_error("Unexpected FILEPATH (already has LOCAL)")
endif()
endif()
if(_have_filepath)
if(_have_global)
hunter_gate_user_error("Unexpected GLOBAL (already has FILEPATH)")
endif()
if(HUNTER_GATE_LOCAL)
hunter_gate_user_error("Unexpected LOCAL (already has FILEPATH)")
endif()
endif()
hunter_gate_detect_root() # set HUNTER_GATE_ROOT
# Beautify path, fix probable problems with windows path slashes
get_filename_component(
HUNTER_GATE_ROOT "${HUNTER_GATE_ROOT}" ABSOLUTE
)
hunter_gate_status_debug("HUNTER_ROOT: ${HUNTER_GATE_ROOT}")
if(NOT HUNTER_ALLOW_SPACES_IN_PATH)
string(FIND "${HUNTER_GATE_ROOT}" " " _contain_spaces)
if(NOT _contain_spaces EQUAL -1)
hunter_gate_fatal_error(
"HUNTER_ROOT (${HUNTER_GATE_ROOT}) contains spaces."
"Set HUNTER_ALLOW_SPACES_IN_PATH=ON to skip this error"
"(Use at your own risk!)"
ERROR_PAGE "error.spaces.in.hunter.root"
)
endif()
endif()
string(
REGEX
MATCH
"[0-9]+\\.[0-9]+\\.[0-9]+[-_a-z0-9]*"
HUNTER_GATE_VERSION
"${HUNTER_GATE_URL}"
)
string(COMPARE EQUAL "${HUNTER_GATE_VERSION}" "" _is_empty)
if(_is_empty)
set(HUNTER_GATE_VERSION "unknown")
endif()
hunter_gate_self(
"${HUNTER_GATE_ROOT}"
"${HUNTER_GATE_VERSION}"
"${HUNTER_GATE_SHA1}"
_hunter_self
)
set(_master_location "${_hunter_self}/cmake/Hunter")
if(EXISTS "${HUNTER_GATE_ROOT}/cmake/Hunter")
# Hunter downloaded manually (e.g. by 'git clone')
set(_unused "xxxxxxxxxx")
set(HUNTER_GATE_SHA1 "${_unused}")
set(HUNTER_GATE_VERSION "${_unused}")
else()
get_filename_component(_archive_id_location "${_hunter_self}/.." ABSOLUTE)
set(_done_location "${_archive_id_location}/DONE")
set(_sha1_location "${_archive_id_location}/SHA1")
# Check Hunter already downloaded by HunterGate
if(NOT EXISTS "${_done_location}")
hunter_gate_download("${_archive_id_location}")
endif()
if(NOT EXISTS "${_done_location}")
hunter_gate_internal_error("hunter_gate_download failed")
endif()
if(NOT EXISTS "${_sha1_location}")
hunter_gate_internal_error("${_sha1_location} not found")
endif()
file(READ "${_sha1_location}" _sha1_value)
string(COMPARE EQUAL "${_sha1_value}" "${HUNTER_GATE_SHA1}" _is_equal)
if(NOT _is_equal)
hunter_gate_internal_error(
"Short SHA1 collision:"
" ${_sha1_value} (from ${_sha1_location})"
" ${HUNTER_GATE_SHA1} (HunterGate)"
)
endif()
if(NOT EXISTS "${_master_location}")
hunter_gate_user_error(
"Master file not found:"
" ${_master_location}"
"try to update Hunter/HunterGate"
)
endif()
endif()
include("${_master_location}")
set_property(GLOBAL PROPERTY HUNTER_GATE_DONE YES)
endif()
endmacro()

View File

@ -1,29 +0,0 @@
#
# Find the lmdb library & include dir.
# Build lmdb on Appveyor.
#
if(APPVEYOR_BUILD)
set(LMDB_VERSION "LMDB_0.9.21")
set(NTDLIB "C:/WINDDK/7600.16385.1/lib/win7/amd64/ntdll.lib")
execute_process(
COMMAND git clone --depth=1 --branch ${LMDB_VERSION} https://github.com/LMDB/lmdb)
set(LMDB_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/lmdb/libraries/liblmdb)
add_library(lmdb
${CMAKE_SOURCE_DIR}/lmdb/libraries/liblmdb/lmdb.h
${CMAKE_SOURCE_DIR}/lmdb/libraries/liblmdb/mdb.c
${CMAKE_SOURCE_DIR}/lmdb/libraries/liblmdb/midl.h
${CMAKE_SOURCE_DIR}/lmdb/libraries/liblmdb/midl.c)
set(LMDB_LIBRARY lmdb)
else()
find_path (LMDB_INCLUDE_DIR NAMES lmdb.h PATHS "$ENV{LMDB_DIR}/include")
find_library (LMDB_LIBRARY NAMES lmdb PATHS "$ENV{LMDB_DIR}/lib" )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LMDB DEFAULT_MSG LMDB_INCLUDE_DIR LMDB_LIBRARY)
endif()
include_directories(${LMDB_INCLUDE_DIR})

View File

@ -21,4 +21,8 @@ if(NOT EXISTS ${_qrc})
endif()
qt5_add_resources(LANG_QRC ${_qrc})
qt5_add_resources(QRC resources/res.qrc)
if(Qt5QuickCompiler_FOUND AND COMPILE_QML)
qtquick_compiler_add_resources(QRC resources/res.qrc)
else()
qt5_add_resources(QRC resources/res.qrc)
endif()

6
cmake/nheko.h Normal file
View File

@ -0,0 +1,6 @@
namespace nheko {
constexpr auto version = "${PROJECT_VERSION}";
constexpr auto build_user = "${BUILD_USER}@${BUILD_HOST}";
constexpr auto build_os = "${CMAKE_HOST_SYSTEM_NAME}";
constexpr auto enable_debug_log = ${SPDLOG_DEBUG_ON};
}

View File

@ -1,5 +0,0 @@
namespace nheko {
static constexpr const char *version = "${PROJECT_VERSION}";
static constexpr const char *build_user = "${BUILD_USER}@${BUILD_HOST}";
static constexpr const char *build_os = "${CMAKE_HOST_SYSTEM_NAME}";
}

View File

@ -1,28 +0,0 @@
function Component()
{
}
Component.prototype.createOperations = function()
{
component.createOperations();
try
{
if( installer.value("os") === "win" )
{
/**
* Cleanup AppData and registry
*/
component.addElevatedOperation("Execute","UNDOEXECUTE","cmd /C reg delete HKEY_CURRENT_USER\Software\nheko\nheko /f");
var localappdata = installer.environmentVariable("LOCALAPPDATA");
if( localappdata != "" )
{
component.addElevatedOperation("Execute","UNDOEXECUTE","cmd /C rmdir "+localappdata+"\nheko /f");
}
}
}
catch( e )
{
print( e );
}
}

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package>
<DisplayName>Cleanup AppData and Registry</DisplayName>
<Description>Cleans up AppData and Registry when selected (logs you out) - Broken</Description>
<Version>__VERSION__</Version>
<ReleaseDate>__DATE__</ReleaseDate>
<SortingPriority>80</SortingPriority>
<Script>installscript.qs</Script>
<Checkable>false</Checkable>
</Package>

View File

@ -4,7 +4,7 @@
<Version>__VERSION__</Version>
<Title>Nheko Installer</Title>
<Publisher>Mujx</Publisher>
<ProductUrl>https://github.com/mujx/nheko</ProductUrl>
<ProductUrl>https://github.com/Nheko-Reborn/nheko</ProductUrl>
<InstallerWindowIcon>nheko</InstallerWindowIcon>
<InstallerApplicationIcon>nheko</InstallerApplicationIcon>
<Logo>nheko.png</Logo>

View File

@ -23,6 +23,18 @@ Component.prototype.createOperations = function()
component.addOperation( "CreateShortcut", "@TargetDir@\\nheko.exe", "@DesktopDir@\\nheko.lnk",
"workingDirectory=@TargetDir@", "iconPath=@TargetDir@\\nheko.exe",
"iconId=0", "description=Desktop client for the Matrix protocol");
var reg = installer.environmentVariable("SystemRoot") + "\\System32\\reg.exe";
var key= "HKEY_CLASSES_ROOT\\matrix";
component.addOperation("Execute", reg, "ADD", key, "/f", "/t", "REG_SZ", "/d", "URL:Matrix Protocol");
component.addOperation("Execute", reg, "ADD", key, "/f", "/v", "URL Protocol", "/t", "REG_SZ");
var iconkey = "HKEY_CLASSES_ROOT\\matrix\\DefaultIcon";
component.addOperation("Execute", reg, "ADD", iconkey, "/f", "/t", "REG_SZ", "/d", "@TargetDir@\\nheko.exe,1");
component.addOperation("Execute", reg, "ADD", "HKEY_CLASSES_ROOT\\matrix\\shell", "/f");
component.addOperation("Execute", reg, "ADD", "HKEY_CLASSES_ROOT\\matrix\\shell\\open", "/f");
var commandkey = "HKEY_CLASSES_ROOT\\matrix\\shell\\open\\command"
component.addOperation("Execute", reg, "ADD", commandkey, "/f");
component.addOperation("Execute", reg, "ADD", commandkey, "/f", "/t", "REG_SZ", "/d", "\"@TargetDir@\\nheko.exe\" \"%1\"");
}
}
catch( e )

119
deps/CMakeLists.txt vendored
View File

@ -1,119 +0,0 @@
cmake_minimum_required(VERSION 3.1)
project(NHEKO_DEPS)
# Point CMake at any custom modules we may ship
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
set(DEPS_INSTALL_DIR "${CMAKE_BINARY_DIR}/usr"
CACHE PATH "Dependencies install directory.")
set(DEPS_BIN_DIR "${DEPS_INSTALL_DIR}/bin"
CACHE PATH "Dependencies binary install directory.")
set(DEPS_LIB_DIR "${DEPS_INSTALL_DIR}/lib"
CACHE PATH "Dependencies library install directory.")
set(DEPS_BUILD_DIR "${CMAKE_BINARY_DIR}/build"
CACHE PATH "Dependencies build directory.")
set(DEPS_DOWNLOAD_DIR "${DEPS_BUILD_DIR}/downloads"
CACHE PATH "Dependencies download directory.")
option(USE_BUNDLED "Use bundled dependencies." ON)
option(USE_BUNDLED_BOOST "Use the bundled version of Boost." ${USE_BUNDLED})
option(USE_BUNDLED_CMARK "Use the bundled version of cmark." ${USE_BUNDLED})
option(USE_BUNDLED_SPDLOG "Use the bundled version of spdlog." ${USE_BUNDLED})
option(USE_BUNDLED_OLM "Use the bundled version of libolm." ${USE_BUNDLED})
option(USE_BUNDLED_TWEENY "Use the bundled version of Tweeny." ${USE_BUNDLED})
option(USE_BUNDLED_LMDBXX "Use the bundled version of lmdbxx." ${USE_BUNDLED})
option(USE_BUNDLED_MATRIX_CLIENT "Use the bundled version of mtxclient."
${USE_BUNDLED})
include(ExternalProject)
set(BOOST_URL
https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.bz2)
set(BOOST_SHA256
7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7)
set(
MTXCLIENT_URL
https://github.com/mujx/mtxclient/archive/99ca7480d15a82a7b8c5099be5f076c0ceecc9f7.tar.gz
)
set(MTXCLIENT_HASH
e88a8c4473b6bc37c046779ea2345da00abb88a755447b9ac77ed76c89975e9d)
set(
TWEENY_URL
https://github.com/mobius3/tweeny/archive/b94ce07cfb02a0eb8ac8aaf66137dabdaea857cf.tar.gz
)
set(TWEENY_HASH
9a632b9da84823fae002ad5d9ba02c8d77c0a3810479974c6b637c5504165475)
set(
LMDBXX_HEADER_URL
https://raw.githubusercontent.com/bendiken/lmdbxx/0b43ca87d8cfabba392dfe884eb1edb83874de02/lmdb%2B%2B.h
)
set(LMDBXX_HASH
c57b501a4e8fa1187fa7fd348da415c7685a50a7cb25b17b3f257b9e9426f73d)
set(OLM_URL https://git.matrix.org/git/olm.git)
set(OLM_TAG 4065c8e11a33ba41133a086ed3de4da94dcb6bae)
set(CMARK_URL https://github.com/commonmark/cmark/archive/0.28.3.tar.gz)
set(CMARK_HASH acc98685d3c1b515ff787ac7c994188dadaf28a2d700c10c1221da4199bae1fc)
set(SPDLOG_URL https://github.com/gabime/spdlog/archive/v1.1.0.tar.gz)
set(SPDLOG_HASH
3dbcbfd8c07e25f5e0d662b194d3a7772ef214358c49ada23c044c4747ce8b19)
set(JSON_HEADER_URL
https://github.com/nlohmann/json/releases/download/v3.2.0/json.hpp)
set(JSON_HEADER_HASH
ce6b5610a051ec6795fa11c33854abebb086f0fd67c311f5921c3c07f9531b44)
file(DOWNLOAD ${JSON_HEADER_URL} ${DEPS_INSTALL_DIR}/include/json.hpp
EXPECTED_HASH SHA256=${JSON_HEADER_HASH})
if(USE_BUNDLED_BOOST)
include(Boost)
endif()
if(USE_BUNDLED_SPDLOG)
include(SpdLog)
endif()
if(USE_BUNDLED_OLM)
include(Olm)
endif()
if(USE_BUNDLED_CMARK)
include(cmark)
endif()
if(USE_BUNDLED_TWEENY)
include(Tweeny)
endif()
if(USE_BUNDLED_LMDBXX)
file(DOWNLOAD ${LMDBXX_HEADER_URL} ${DEPS_INSTALL_DIR}/include/lmdb++.h
EXPECTED_HASH SHA256=${LMDBXX_HASH})
endif()
if(WIN32)
if("${TARGET_ARCH}" STREQUAL "X86_64")
set(TARGET_ARCH x64)
elseif(TARGET_ARCH STREQUAL "X86")
set(TARGET_ARCH ia32)
endif()
endif()
add_custom_target(third-party ALL
COMMAND ${CMAKE_COMMAND} -E touch .third-party
DEPENDS ${THIRD_PARTY_DEPS})
if(USE_BUNDLED_MATRIX_CLIENT)
include(MatrixClient)
add_dependencies(MatrixClient third-party)
endif()

View File

@ -1,23 +0,0 @@
if(WIN32)
message(STATUS "Building Boost in Windows is not supported (skipping)")
return()
endif()
ExternalProject_Add(
Boost
URL ${BOOST_URL}
URL_HASH SHA256=${BOOST_SHA256}
DOWNLOAD_DIR ${DEPS_DOWNLOAD_DIR}/boost
DOWNLOAD_NO_PROGRESS 0
BUILD_IN_SOURCE 1
SOURCE_DIR ${DEPS_BUILD_DIR}/boost
CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/boost/bootstrap.sh
--with-libraries=random,thread,system,iostreams,atomic,chrono,date_time,regex
--prefix=${DEPS_INSTALL_DIR}
BUILD_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 cxxstd=14 variant=release link=static threading=multi --layout=system
INSTALL_COMMAND ${DEPS_BUILD_DIR}/boost/b2 -d0 install
)
list(APPEND THIRD_PARTY_DEPS Boost)

View File

@ -1,36 +0,0 @@
set(PLATFORM_FLAGS "")
if(MSVC)
set(PLATFORM_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
endif()
if(APPLE)
set(PLATFORM_FLAGS "-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl")
endif()
# Force to build with the bundled version of Boost. This is necessary because
# if an outdated version of Boost is installed, then CMake will grab that
# instead of the bundled version of Boost, like we wanted.
set(BOOST_BUNDLE_ROOT "-DBOOST_ROOT=${DEPS_BUILD_DIR}/boost")
ExternalProject_Add(
MatrixClient
URL ${MTXCLIENT_URL}
URL_HASH SHA256=${MTXCLIENT_HASH}
BUILD_IN_SOURCE 1
SOURCE_DIR ${DEPS_BUILD_DIR}/mtxclient
CONFIGURE_COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_BUILD_TYPE=Release
-DBUILD_LIB_TESTS=OFF
-DBUILD_LIB_EXAMPLES=OFF
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
${BOOST_BUNDLE_ROOT}
${PLATFORM_FLAGS}
${DEPS_BUILD_DIR}/mtxclient
BUILD_COMMAND
${CMAKE_COMMAND} --build ${DEPS_BUILD_DIR}/mtxclient --config Release)
list(APPEND THIRD_PARTY_DEPS MatrixClient)

34
deps/cmake/Olm.cmake vendored
View File

@ -1,34 +0,0 @@
set(WINDOWS_FLAGS "")
if(MSVC)
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
endif()
ExternalProject_Add(
Olm
GIT_REPOSITORY ${OLM_URL}
GIT_TAG ${OLM_TAG}
BUILD_IN_SOURCE 1
SOURCE_DIR ${DEPS_BUILD_DIR}/olm
CONFIGURE_COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/cmake/OlmCMakeLists.txt
${DEPS_BUILD_DIR}/olm/CMakeLists.txt
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/cmake/OlmConfig.cmake.in
${DEPS_BUILD_DIR}/olm/cmake/OlmConfig.cmake.in
COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMAKE_BUILD_TYPE=Release
${DEPS_BUILD_DIR}/olm
${WINDOWS_FLAGS}
BUILD_COMMAND ${CMAKE_COMMAND}
--build ${DEPS_BUILD_DIR}/olm
--config Release
INSTALL_COMMAND ${CMAKE_COMMAND}
--build ${DEPS_BUILD_DIR}/olm
--config Release
--target install)
list(APPEND THIRD_PARTY_DEPS Olm)

View File

@ -1,107 +0,0 @@
cmake_minimum_required(VERSION 3.1)
project(olm VERSION 2.2.2 LANGUAGES CXX C)
add_definitions(-DOLMLIB_VERSION_MAJOR=${PROJECT_VERSION_MAJOR})
add_definitions(-DOLMLIB_VERSION_MINOR=${PROJECT_VERSION_MINOR})
add_definitions(-DOLMLIB_VERSION_PATCH=${PROJECT_VERSION_PATCH})
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif()
add_library(olm
src/account.cpp
src/base64.cpp
src/cipher.cpp
src/crypto.cpp
src/memory.cpp
src/message.cpp
src/pickle.cpp
src/ratchet.cpp
src/session.cpp
src/utility.cpp
src/ed25519.c
src/error.c
src/inbound_group_session.c
src/megolm.c
src/olm.cpp
src/outbound_group_session.c
src/pickle_encoding.c
lib/crypto-algorithms/aes.c
lib/crypto-algorithms/sha256.c
lib/curve25519-donna/curve25519-donna.c)
add_library(Olm::Olm ALIAS olm)
target_include_directories(olm
PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/lib)
set_target_properties(olm PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION})
set_target_properties(olm PROPERTIES
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
#
# Installation
#
include(GNUInstallDirs)
set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/Olm)
install(TARGETS olm
EXPORT olm-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
# The exported target will be named Olm.
set_target_properties(olm PROPERTIES EXPORT_NAME Olm)
install(FILES
${CMAKE_SOURCE_DIR}/include/olm/olm.h
${CMAKE_SOURCE_DIR}/include/olm/outbound_group_session.h
${CMAKE_SOURCE_DIR}/include/olm/inbound_group_session.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/olm)
# Export the targets to a script.
install(EXPORT olm-targets
FILE OlmTargets.cmake
NAMESPACE Olm::
DESTINATION ${INSTALL_CONFIGDIR})
# Create a ConfigVersion.cmake file.
include(CMakePackageConfigHelpers)
write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/OlmConfigVersion.cmake
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion)
configure_package_config_file(
${CMAKE_CURRENT_LIST_DIR}/cmake/OlmConfig.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/OlmConfig.cmake
INSTALL_DESTINATION ${INSTALL_CONFIGDIR})
#Install the config & configversion.
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/OlmConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/OlmConfigVersion.cmake
DESTINATION ${INSTALL_CONFIGDIR})
# Register package in user's package registry
export(EXPORT olm-targets
FILE ${CMAKE_CURRENT_BINARY_DIR}/OlmTargets.cmake
NAMESPACE Olm::)
export(PACKAGE Olm)

View File

@ -1,11 +0,0 @@
get_filename_component(Olm_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(CMakeFindDependencyMacro)
list(APPEND CMAKE_MODULE_PATH ${Olm_CMAKE_DIR})
list(REMOVE_AT CMAKE_MODULE_PATH -1)
if(NOT TARGET Olm::Olm)
include("${Olm_CMAKE_DIR}/OlmTargets.cmake")
endif()
set(Olm_LIBRARIES Olm::Olm)

View File

@ -1,23 +0,0 @@
set(WINDOWS_FLAGS "")
if(MSVC)
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
endif()
ExternalProject_Add(
SpdLog
URL ${SPDLOG_URL}
URL_HASH SHA256=${SPDLOG_HASH}
BUILD_IN_SOURCE 1
SOURCE_DIR ${DEPS_BUILD_DIR}/spdlog
CONFIGURE_COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DSPDLOG_BUILD_EXAMPLES=0
-DSPDLOG_BUILD_BENCH=0
-DSPDLOG_BUILD_TESTING=0
${DEPS_BUILD_DIR}/spdlog
${WINDOWS_FLAGS})
list(APPEND THIRD_PARTY_DEPS SpdLog)

View File

@ -1,22 +0,0 @@
set(WINDOWS_FLAGS "")
if(MSVC)
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
endif()
ExternalProject_Add(
Tweeny
URL ${TWEENY_URL}
URL_HASH SHA256=${TWEENY_HASH}
BUILD_IN_SOURCE 1
SOURCE_DIR ${DEPS_BUILD_DIR}/tweeny
CONFIGURE_COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DTWEENY_BUILD_EXAMPLES=OFF
-DTWEENY_BUILD_DOCUMENTATION=OFF
${DEPS_BUILD_DIR}/tweeny
${WINDOWS_FLAGS})
list(APPEND THIRD_PARTY_DEPS Tweeny)

View File

@ -1,21 +0,0 @@
set(WINDOWS_FLAGS "")
if(MSVC)
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
endif()
ExternalProject_Add(
cmark
URL ${CMARK_URL}
URL_HASH SHA256=${CMARK_HASH}
BUILD_IN_SOURCE 0
SOURCE_DIR ${DEPS_BUILD_DIR}/cmark
CONFIGURE_COMMAND ${CMAKE_COMMAND}
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
-DCMARK_TESTS=OFF
${DEPS_BUILD_DIR}/cmark
${WINDOWS_FLAGS})
list(APPEND THIRD_PARTY_DEPS cmark)

View File

@ -0,0 +1,17 @@
#ifndef JDENTICONINTERFACE_H
#define JDENTICONINTERFACE_H
#include <QString>
class JdenticonInterface
{
public:
virtual ~JdenticonInterface() {}
virtual QString generate(const QString &message, uint16_t size) = 0;
};
#define JdenticonInterface_iid "redsky17.Qt.JdenticonInterface"
Q_DECLARE_INTERFACE(JdenticonInterface, JdenticonInterface_iid)
#endif // JDENTICONINTERFACE_H

View File

@ -0,0 +1,180 @@
id: io.github.NhekoReborn.Nheko
command: nheko
runtime: org.kde.Platform
runtime-version: '5.15'
sdk: org.kde.Sdk
rename-icon: nheko
rename-desktop-file: nheko.desktop
rename-appdata-file: nheko.appdata.xml
finish-args:
- --device=dri
# needed for webcams, see #517
- --device=all
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.freedesktop.StatusNotifierItem
- --talk-name=org.kde.*
cleanup:
- /include
- /bin/mdb*
- '*.a'
build-options:
arch:
aarch64:
cxxflags: -DBOOST_ASIO_DISABLE_EPOLL
modules:
- name: lmdb
sources:
- sha256: f3927859882eb608868c8c31586bb7eb84562a40a6bf5cc3e13b6b564641ea28
type: archive
url: https://github.com/LMDB/lmdb/archive/LMDB_0.9.22.tar.gz
make-install-args:
- prefix=/app
no-autogen: true
subdir: libraries/liblmdb
- name: cmark
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMARK_TESTS=OFF
sources:
- sha256: 2558ace3cbeff85610de3bda32858f722b359acdadf0c4691851865bb84924a6
type: archive
url: https://github.com/commonmark/cmark/archive/0.29.0.tar.gz
- name: spdlog
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DSPDLOG_BUILD_EXAMPLES=0
- -DSPDLOG_BUILD_BENCH=0
- -DSPDLOG_BUILD_TESTING=0
sources:
- sha256: 5197b3147cfcfaa67dd564db7b878e4a4b3d9f3443801722b3915cdeced656cb
type: archive
url: https://github.com/gabime/spdlog/archive/v1.8.1.tar.gz
- config-opts:
- -DCMAKE_BUILD_TYPE=Release
buildsystem: cmake-ninja
name: olm
sources:
- commit: 6753595300767dd70150831dbbe6f92d64e75038
disable-shallow-clone: true
tag: 3.1.4
type: git
url: https://gitlab.matrix.org/matrix-org/olm.git
- config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TEST_APPLICATION=OFF
- -DQTKEYCHAIN_STATIC=ON
buildsystem: cmake-ninja
name: QtKeychain
sources:
- commit: 815fe610353ff8ad7e2f1121c368a74df8db5eb7
tag: v0.12.0
type: git
url: https://github.com/frankosterfeld/qtkeychain.git
- config-opts:
- -DJSON_BuildTests=OFF
buildsystem: cmake
name: nlohmann
sources:
- sha256: d51a3a8d3efbb1139d7608e28782ea9efea7e7933157e8ff8184901efd8ee760
type: archive
url: https://github.com/nlohmann/json/archive/v3.7.0.tar.gz
- build-commands:
- ./bootstrap.sh --with-libraries=thread,system,iostreams --prefix=/app
- ./b2 -d0 variant=release link=static threading=multi --layout=system
- ./b2 -d0 install
buildsystem: simple
name: boost
sources:
- sha256: 59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722
type: archive
url: https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2
- buildsystem: meson
name: gstreamer
sources:
- commit: a42fe476d3ee5576921f67a331464065ec33b9a4
tag: 1.18.3
type: git
url: https://gitlab.freedesktop.org/gstreamer/gstreamer.git
- config-opts:
- -Dcompositor=enabled
- -Dgl=enabled
buildsystem: meson
name: gstreamer-plugins-base
sources:
- commit: 2cc319ee13f6b72df3d432b7c75aca81feb260e5
tag: 1.18.3
type: git
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base.git
- config-opts:
- -Dpulse=enabled
- -Dqt5=enabled
- -Drtp=enabled
- -Drtpmanager=enabled
- -Dvpx=enabled
buildsystem: meson
name: gstreamer-plugins-good
sources:
- commit: e816c6cd73c9e0676828c9e227a049ebad3d019f
tag: 1.18.3
type: git
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good.git
- config-opts:
- -Ddtls=enabled
- -Dgl=enabled
- -Dopenh264=enabled
- -Dopus=enabled
- -Dsrtp=enabled
- -Dwebrtc=enabled
- -Dflite=disabled
buildsystem: meson
name: gstreamer-plugins-bad
sources:
- commit: 382e373d9be363f1e21b12990a4d12f1ecb6df41
tag: 1.18.3
type: git
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad.git
- config-opts:
- -DBUILD_LIB_TESTS=OFF
- -DBUILD_LIB_EXAMPLES=OFF
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_SHARED_LIBS=OFF
buildsystem: cmake-ninja
name: mtxclient
sources:
- commit: 5d2f055ea9403770039ddf66b1900f890cd5cde7
type: git
url: https://github.com/Nheko-Reborn/mtxclient.git
- config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DTWEENY_BUILD_DOCUMENTATION=OFF
- -DTWEENY_BUILD_EXAMPLES=OFF
buildsystem: cmake-ninja
name: tweeny
sources:
- sha256: 482857256a7235646004682912badb6521d361ed6987c8ebdae7986bf64ce694
type: archive
url: https://github.com/mobius3/tweeny/archive/43f4130f7e4a67c19d870b60864bc2862c19b81f.tar.gz
- config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DLMDBXX_INCLUDE_DIR=.deps/lmdbxx
- -DCOMPILE_QML=ON
buildsystem: cmake-ninja
name: nheko
sources:
- path: .
type: dir
skip:
- build-flatpak
- dest: .deps/lmdbxx
sha256: 5e12eb3aefe9050068af7df2c663edabc977ef34c9e7ba7b9d2c43e0ad47d8df
type: archive
url: https://github.com/hoytech/lmdbxx/archive/1.0.0.tar.gz

10
nheko-nightly.flatpakref Normal file
View File

@ -0,0 +1,10 @@
[Flatpak Ref]
Title=Nheko Nightly
Name=io.github.NhekoReborn.Nheko
Branch=master
Url=https://flatpak.neko.dev/repo/nightly
Homepage=https://nheko-reborn.github.io/
Icon=https://nheko.im/nheko-reborn/nheko/-/raw/master/resources/nheko.svg
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo
IsRuntime=false
GPGKey=mDMEXENMphYJKwYBBAHaRw8BAQdAqn+Eo42lPoGpJ5HaOf4nFGfxR0QtOggJTCfsdbOyL4e0Kk5pY29sYXMgV2VybmVyIDxuaWNvbGFzLndlcm5lckBob3RtYWlsLmRlPoiWBBMWCAA+FiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAlxDTVUCGwMFCQtJjooFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQkgauGyMeBbs2rQD/dAEoOGT21BL85A8LmPK743EboBAjoRbWcI1hHnvS28AA/3b3HYGwgvTC6hQLyz75zjpeO5ZaUtbezRyDUR4xabMAtCROaWNvbGFzIFdlcm5lciA8bmljb2xhc0BuZWtvZGV2Lm5ldD6IlgQTFggAPhYhBNWLRiQlpqNxJcb+25IGrhsjHgW7BQJcQ01GAhsDBQkLSY6KBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEJIGrhsjHgW7GxwBANT4gL03Uu9N5KmTBihC7B71+0r7M/azPbUh86NthCeIAQCF2JXa0axBKhgQF5fWC5ncL+m8ZpH7C5rzDqVgO82WALQnTmljb2xhcyBXZXJuZXIgPG5pY29sYXMud2VybmVyQGdteC5uZXQ+iJYEExYIAD4WIQTVi0YkJaajcSXG/tuSBq4bIx4FuwUCXENMpgIbAwUJC0mOigULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCSBq4bIx4FuxU5APoCRDYlJW0oTsJs3lcTTB5Nsqb3X4iCEDCjIgsA3wtsIwEAlGBzD8ElCYi2+8m8esSRNlmpRcGoqgXbceLxPUXFpQu4OARcQ0ymEgorBgEEAZdVAQUBAQdAD8dBmT3iqrqdlxSw90L0SIH11fVxiX9MdWfBkTi6PzUDAQgHiH4EGBYIACYWIQTVi0YkJaajcSXG/tuSBq4bIx4FuwUCXENMpgIbDAUJC0mOigAKCRCSBq4bIx4Fu/LNAQDhH64IBic6h7H3uvtSAFT4xNn7Epobt2baIaDp7uKsQQEAyI+oc5dLknABwIOMrQQuZCmGejx9e4/8HEqLCdszhgG4MwRgNICHFgkrBgEEAdpHDwEBB0DR9eFFzfR62FIi7g+txcQenLvKFzhlyTz0wo3icOy6RYj1BBgWCAAmFiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAmA0gIcCGwIFCQlmAYAAgQkQkgauGyMeBbt2IAQZFggAHRYhBGz14re9h4cNPaFEKMjXXmEHc/LZBQJgNICHAAoJEMjXXmEHc/LZhVMBAPdYRspdeFh6E9BDxGubT705e/pZFdCHjCToDyxgdW5KAP9sU0hFI5VDHD1h98RzxSt7hc3jxyPSzbG1MBUJ9gbfCVhcAPsFfeZc3v5UBgmn4uICFEGjlzAWCQ7WctE6QTSkY5aL/wD9ETJH5lB+i/8km/sOBKQozXR0yHHw46gB6ZWMeN1wfgq4MwRgNPutFgkrBgEEAdpHDwEBB0APwMn0FJmnAds8IO8iCl/RHr7fz8xnpGd7E4zVgCNZpIj1BBgWCAAmFiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAmA0+60CGwIFCQANLwAAgQkQkgauGyMeBbt2IAQZFggAHRYhBAH7QBkzNfVIZJM93RNnXzGtBKQcBQJgNPutAAoJEBNnXzGtBKQcHnUA/0E2H5sxmfZ+EWFTso3X4NWu3uN2xF+MdNaY8C72f9H6AP91XaNmlB9gV61rg6wcB5E/j0998yWS9gltY1XY1ImqDPvlAP4sHFs5zuDazgKYxZ/kFhENCgEStdpnvJjt/DxmQPVT3AD/QK5vGoMTIeYjihv0QCnnRDfboTTZHlaEqJW8i02PQww=

View File

@ -0,0 +1,8 @@
[Flatpak Repo]
Title=Nheko Nightly
Url=https://flatpak.neko.dev/repo/nightly
Homepage=https://nheko.im/
Comment=Nheko nightly release repository
Description=Nheko nightly release repository
Icon=https://nheko.im/nheko-reborn/nheko/-/raw/master/resources/nheko.svg
GPGKey=mDMEXENMphYJKwYBBAHaRw8BAQdAqn+Eo42lPoGpJ5HaOf4nFGfxR0QtOggJTCfsdbOyL4e0Kk5pY29sYXMgV2VybmVyIDxuaWNvbGFzLndlcm5lckBob3RtYWlsLmRlPoiWBBMWCAA+FiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAlxDTVUCGwMFCQtJjooFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQkgauGyMeBbs2rQD/dAEoOGT21BL85A8LmPK743EboBAjoRbWcI1hHnvS28AA/3b3HYGwgvTC6hQLyz75zjpeO5ZaUtbezRyDUR4xabMAtCROaWNvbGFzIFdlcm5lciA8bmljb2xhc0BuZWtvZGV2Lm5ldD6IlgQTFggAPhYhBNWLRiQlpqNxJcb+25IGrhsjHgW7BQJcQ01GAhsDBQkLSY6KBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEJIGrhsjHgW7GxwBANT4gL03Uu9N5KmTBihC7B71+0r7M/azPbUh86NthCeIAQCF2JXa0axBKhgQF5fWC5ncL+m8ZpH7C5rzDqVgO82WALQnTmljb2xhcyBXZXJuZXIgPG5pY29sYXMud2VybmVyQGdteC5uZXQ+iJYEExYIAD4WIQTVi0YkJaajcSXG/tuSBq4bIx4FuwUCXENMpgIbAwUJC0mOigULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRCSBq4bIx4FuxU5APoCRDYlJW0oTsJs3lcTTB5Nsqb3X4iCEDCjIgsA3wtsIwEAlGBzD8ElCYi2+8m8esSRNlmpRcGoqgXbceLxPUXFpQu4OARcQ0ymEgorBgEEAZdVAQUBAQdAD8dBmT3iqrqdlxSw90L0SIH11fVxiX9MdWfBkTi6PzUDAQgHiH4EGBYIACYWIQTVi0YkJaajcSXG/tuSBq4bIx4FuwUCXENMpgIbDAUJC0mOigAKCRCSBq4bIx4Fu/LNAQDhH64IBic6h7H3uvtSAFT4xNn7Epobt2baIaDp7uKsQQEAyI+oc5dLknABwIOMrQQuZCmGejx9e4/8HEqLCdszhgG4MwRgNICHFgkrBgEEAdpHDwEBB0DR9eFFzfR62FIi7g+txcQenLvKFzhlyTz0wo3icOy6RYj1BBgWCAAmFiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAmA0gIcCGwIFCQlmAYAAgQkQkgauGyMeBbt2IAQZFggAHRYhBGz14re9h4cNPaFEKMjXXmEHc/LZBQJgNICHAAoJEMjXXmEHc/LZhVMBAPdYRspdeFh6E9BDxGubT705e/pZFdCHjCToDyxgdW5KAP9sU0hFI5VDHD1h98RzxSt7hc3jxyPSzbG1MBUJ9gbfCVhcAPsFfeZc3v5UBgmn4uICFEGjlzAWCQ7WctE6QTSkY5aL/wD9ETJH5lB+i/8km/sOBKQozXR0yHHw46gB6ZWMeN1wfgq4MwRgNPutFgkrBgEEAdpHDwEBB0APwMn0FJmnAds8IO8iCl/RHr7fz8xnpGd7E4zVgCNZpIj1BBgWCAAmFiEE1YtGJCWmo3Elxv7bkgauGyMeBbsFAmA0+60CGwIFCQANLwAAgQkQkgauGyMeBbt2IAQZFggAHRYhBAH7QBkzNfVIZJM93RNnXzGtBKQcBQJgNPutAAoJEBNnXzGtBKQcHnUA/0E2H5sxmfZ+EWFTso3X4NWu3uN2xF+MdNaY8C72f9H6AP91XaNmlB9gV61rg6wcB5E/j0998yWS9gltY1XY1ImqDPvlAP4sHFs5zuDazgKYxZ/kFhENCgEStdpnvJjt/DxmQPVT3AD/QK5vGoMTIeYjihv0QCnnRDfboTTZHlaEqJW8i02PQww=

4879
resources/emoji-test.txt Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -1,202 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -0,0 +1 @@
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="at" class="svg-inline--fa fa-at fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 643 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 779 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
resources/icons/ui/star.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 841 B

BIN
resources/icons/ui/tag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1004 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 741 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

1
resources/langs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.qm

2722
resources/langs/nheko_cs.ts Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2731
resources/langs/nheko_eo.ts Normal file

File diff suppressed because it is too large Load Diff

2721
resources/langs/nheko_es.ts Normal file

File diff suppressed because it is too large Load Diff

2740
resources/langs/nheko_et.ts Normal file

File diff suppressed because it is too large Load Diff

2723
resources/langs/nheko_fi.ts Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2740
resources/langs/nheko_hu.ts Normal file

File diff suppressed because it is too large Load Diff

2727
resources/langs/nheko_it.ts Normal file

File diff suppressed because it is too large Load Diff

2722
resources/langs/nheko_ja.ts Normal file

File diff suppressed because it is too large Load Diff

2721
resources/langs/nheko_ml.ts Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More