Commit Graph

1870 Commits

Author SHA1 Message Date
Nicolas Werner 3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Joseph Donofry 69c11d4533 Fix send message logic bug introduced with shift+enter setting 2022-12-28 18:51:30 -05:00
Weblate 35673b5b52 Added translation using Weblate (Ukrainian)
Co-authored-by: NullPointerException <kigen745@gmail.com>
2022-12-28 20:25:41 +00:00
Nicolas Werner 79a2efd25a
Finish german translation 2022-12-28 20:49:42 +01:00
Nicolas Werner 9dfe2248d5
Some german translations 2022-12-28 18:42:23 +01:00
Nicolas Werner 5bf315687a
Update english translation properly 2022-12-28 17:39:03 +01:00
Nicolas Werner f98b289ba2
Show invite reason in the UI (hidden by default) 2022-12-27 01:40:25 +01:00
Joseph Donofry c0b7963134 Update translations 2022-12-26 16:20:17 -05:00
Weblate d78187b405 Translated using Weblate (Chinese (Simplified))
Currently translated at 92.5% (791 of 855 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 92.5% (791 of 855 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 92.5% (791 of 855 strings)

Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Poesty Li <poesty7450@gmail.com>
Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2022-12-20 17:18:02 -05:00
Joseph Donofry a2e120a8a3 Add 'clear' button to search bar and implement search indicator via spinner 2022-12-20 16:34:55 -05:00
Nicolas Werner 2a4eac04b9
Fix unread bar size 2022-12-18 05:57:40 +01:00
Nicolas Werner 2ac3be1a18
Fix weird QQC2 crash in alias dialog
Backtrace:

Thread 1 "nheko" received signal SIGSEGV, Segmentation fault.
containerWidget (w=w@entry=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:2467
2467        if (const QAbstractScrollArea *sa = qobject_cast<const QAbstractScrollArea *>(w->parentWidget())) {
(gdb) bt
 #0  containerWidget(QWidget const*) (w=w@entry=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:2467
 #1  0x00007ffff4aa0ad6 in QStyleSheetStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (this=0x555559917900, pe=<optimized out>, opt=0x55555ea4b5c0, p=0x7fffffffcfd0, w=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:4452
 #2  0x00007fff61d4a86b in KQuickStyleItem::paint(QPainter*) (this=this@entry=0x55555ea4a1e0, painter=painter@entry=0x7fffffffcfd0) at /usr/src/debug/kde-frameworks/qqc2-desktop-style-5.101.0/qqc2-desktop-style-5.101.0/plugin/kquickstyleitem.cpp:1667
 #3  0x00007fff61d4b22a in KQuickStyleItem::updatePolish() (this=0x55555ea4a1e0) at /usr/src/debug/kde-frameworks/qqc2-desktop-style-5.101.0/qqc2-desktop-style-5.101.0/plugin/kquickstyleitem.cpp:1928
 #4  0x00007ffff57717c2 in QQuickWindowPrivate::polishItems() (this=0x55555ea2e760) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/items/qquickwindow.cpp:393
 #5  0x00007ffff570f4ef in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) (this=this@entry=0x5555598eb770, w=w@entry=0x7fffe000aef0, inExpose=inExpose@entry=true) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1576
 #6  0x00007ffff5710a8e in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) (this=0x5555598eb770, window=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1374
 #7  0x00007ffff43d2b45 in QWindow::event(QEvent*) (this=0x7fffe0006eb0, ev=<optimized out>) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qwindow.cpp:2450
 #8  0x00007ffff49ee481 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fffe0006eb0, e=0x7fffffffd460) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/kernel/qapplication.cpp:3637
 #9  0x00007ffff3e2d618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffe0006eb0, event=0x7fffffffd460) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qcoreapplication.cpp:1064
 #10 0x00007ffff43c8368 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x55555f648b30) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qguiapplication.cpp:3261
 #11 0x00007ffff43a55ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qwindowsysteminterface.cpp:1169
 #12 0x00007fffef102622 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
 #13 0x00007ffff386d030 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
 #14 0x00007ffff386d2d8 in  () at /usr/lib64/libglib-2.0.so.0
 #15 0x00007ffff386d36f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
 #16 0x00007ffff3e80e55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555596a4770, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qeventdispatcher_glib.cpp:423
 #17 0x00007ffff3e2c00b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd700, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:69
 #18 0x00007ffff3e344ea in QCoreApplication::exec() () at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:121
 #19 0x00005555594a5c43 in main(int, char**) (argc=2, argv=0x7fffffffdab8) at /home/nicolas/Dokumente/devel/open-source/nheko/src/main.cpp:401
(gdb) p w
$1 = (const QWidget *) 0x0
2022-12-17 05:50:44 +01:00
Nicolas Werner 6762032c53
Fix copy and paste again 2022-12-14 19:04:08 +01:00
Nicolas Werner 8730586cfd
Focus text field on key press (swallows first though...) 2022-12-13 18:09:34 +01:00
Nicolas Werner 593d08fd2e
Revert "Disable keyboard selection for text by default"
This reverts commit 0035c359ce.
2022-12-13 17:53:48 +01:00
Nicolas Werner 952827d629
Add a button to room the upgraded room in the timeline 2022-12-13 05:08:22 +01:00
Nicolas Werner 0035c359ce
Disable keyboard selection for text by default 2022-12-13 05:08:21 +01:00
Loren Burkholder fa0c14b846
confetti (#1243)
* 🎉 (confetti) message support.  Thanks @LorenDB !
2022-12-10 10:17:15 -05:00
Weblate c2eb2f7ad1 Translated using Weblate (French)
Currently translated at 75.0% (642 of 855 strings)

Translated using Weblate (French)

Currently translated at 75.0% (642 of 855 strings)

Translated using Weblate (French)

Currently translated at 75.0% (642 of 855 strings)

Co-authored-by: GitEz-code <aandrowindows@gmail.com>
Co-authored-by: Guillaume Girol <symphorien+github@xlumurb.eu>
Co-authored-by: lascapi <pascal.isman@keleo-solutions.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2022-12-09 23:08:14 -05:00
Nicolas Werner 40a7d58ce1
fix squish 2022-12-07 13:09:41 +01:00
q234rty 93291abfdf
Fix downscale 2022-12-06 01:49:42 +08:00
q234rty 4b8709598b
Fix people icon blurriness 2022-12-06 01:48:06 +08:00
Weblate ea5984a575 Translated using Weblate (Chinese (Simplified))
Currently translated at 90.0% (770 of 855 strings)

Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2022-12-03 21:20:06 -05:00
Weblate 30bbfeaea6 Translated using Weblate (German)
Currently translated at 92.7% (793 of 855 strings)

Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2022-11-17 10:23:51 -05:00
Weblate 5f554aa5cc Translated using Weblate (Japanese)
Currently translated at 9.1% (78 of 855 strings)

Co-authored-by: Max Harmathy <harmathy@secure.mailbox.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ja/
Translation: Nheko/nheko
2022-11-17 10:23:51 -05:00
Nicolas Werner ed889c32fc
Change margins because people nagged me 2022-11-10 00:43:05 +01:00
Nicolas Werner 485babba14
Implement a completer for commands
fixes #429
2022-11-09 04:59:06 +01:00
Loren Burkholder fe02e0dd91 Add room settings in room list 2022-11-07 19:26:42 -05:00
LordMZTE 80270e1f01
Add invert enter key setting 2022-11-04 23:42:35 +01:00
Nicolas Werner 56a4e97296
Make the higlight ring a bit less in your face 2022-11-03 14:45:00 +01:00
Nicolas Werner 40ac55ddd9
Highlight higlight tweaks in the timeline
fixes #400
fixes #1136
2022-11-01 23:26:21 +01:00
Nicolas Werner ee1a219661
Fix search rooms button 2022-11-01 15:11:58 +01:00
Weblate 53bbfefbab Translated using Weblate (Russian)
Currently translated at 33.0% (283 of 855 strings)

Translated using Weblate (Russian)

Currently translated at 33.0% (283 of 855 strings)

Translated using Weblate (Russian)

Currently translated at 33.0% (283 of 855 strings)

Co-authored-by: Carmina16 <mistresssilvara@hotmail.com>
Co-authored-by: Evgeny <mister.lameni@yandex.ru>
Co-authored-by: SOT-TECH <sblazhko@sot-te.ch>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2022-10-29 18:59:25 -04:00
DeepBlueV7.X 5be8298d0a
Merge pull request #1215 from foxB612/fix-thumbnail-size
Fix UploadBox thumbnail size
2022-10-25 16:06:26 +00:00
Weblate 3109508e85 Translated using Weblate (Estonian)
Currently translated at 92.0% (787 of 855 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
2022-10-24 23:22:15 -04:00
foxb612 f3ecef5cd7 Fix UploadBox thumbnail size 2022-10-25 03:22:12 +08:00
Rohit Sutradhar ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Weblate 03fc88281d Translated using Weblate (Russian)
Currently translated at 30.5% (261 of 855 strings)

Translated using Weblate (Russian)

Currently translated at 30.5% (261 of 855 strings)

Translated using Weblate (Russian)

Currently translated at 30.5% (261 of 855 strings)

Co-authored-by: Carmina16 <mistresssilvara@hotmail.com>
Co-authored-by: Mihail Iosilevich <mihail.iosilevitch@yandex.ru>
Co-authored-by: SOT-TECH <sblazhko@sot-te.ch>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ru/
Translation: Nheko/nheko
2022-10-12 12:29:48 -04:00
Weblate e2ea5650a2 Added translation using Weblate (Occidental)
Co-authored-by: Carmina16 <mistresssilvara@hotmail.com>
2022-10-12 08:12:37 -04:00
Weblate 32752df028 Translated using Weblate (Indonesian)
Currently translated at 100.0% (855 of 855 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-10-12 02:45:25 -04:00
Weblate 00cc9a09a5 Translated using Weblate (Indonesian)
Currently translated at 99.8% (854 of 855 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-10-09 09:05:18 -04:00
Nicolas Werner 7e0ea12ebb
Update to unicode 15 and make script jinja:3 compatible 2022-10-08 00:27:57 +02:00
Nicolas Werner a4524cd9af
Fix date separator 2022-10-07 11:11:07 +02:00
Nicolas Werner f2f9359f7f
Add a shortcut for search 2022-10-07 10:04:08 +02:00
Nicolas Werner f1c1f18f81
Add a slow way to search a room 2022-10-06 22:02:26 +02:00
Nicolas Werner 857d9cf2b6
Basic thread filtering
The reply pagination logic is a bit weird rn though.
2022-10-06 16:16:24 +02:00
Weblate a87f1be688 Translated using Weblate (Finnish)
Currently translated at 100.0% (855 of 855 strings)

Co-authored-by: Lurkki14 <jussi.kuokkanen@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2022-10-05 13:27:51 -04:00
Nicolas Werner d70a344a4d
Fix userprofile on roomlist 2022-10-05 17:25:01 +02:00
Nicolas Werner 005a4978bf
Update translations 2022-10-04 01:19:47 +02:00
Nicolas Werner b205819ba6
Swap thread and edit button 2022-10-04 00:38:59 +02:00