Commit graph

4704 commits

Author SHA1 Message Date
Nicolas Werner
fc0baa86b0
Fix const iteration 2022-09-19 21:57:25 +02:00
Nicolas Werner
fe403ddc70
Rework how access rules for rooms are modified completely 2022-09-19 21:39:37 +02:00
Jason Volk
603b90a6f5
Fix copypasto in cmake bundle option descriptions. 2022-09-17 18:14:48 +02:00
DeepBlueV7.X
ef2ec6d3e7
Merge pull request #1186 from q234rty/patch-1
Fix "Send by enter" on Windows
2022-09-16 16:43:49 +00:00
q234rty
15b9dbe98d
Fix "Send by enter" on Windows
Apparently on windows `Qt.inputMethod.visible` is always true when an input method is installed. Also on windows even after removing the check enter is still consumed by the input method, not nheko.
2022-09-16 22:41:11 +08:00
Nicolas Werner
cd08a130c6
Make emoji escaping less aggressive 2022-09-16 15:17:48 +02:00
DeepBlueV7.X
0ebd0b0526
Merge pull request #1185 from spaetz/patch-1
Update nheko_de.ts: typo "Animiete"
2022-09-15 10:33:48 +00:00
Sebastian Spaeth
0f544d2e45
Update nheko_de.ts
Typo "Animiete"->"Animierte" and shorten the German phrase somewhat. Sigh, it is such a verbose language...
2022-09-15 11:51:07 +02:00
Weblate
59eb09cf0f Translated using Weblate (Indonesian)
Currently translated at 100.0% (830 of 830 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-09-13 08:20:29 -04:00
Nicolas Werner
9c3ca95683
Use upstream gstreamer 2022-09-12 22:49:20 +02:00
Hiers
8071b192b8
Line to indicate first unread message (#1147)
* First draft of unread line feature.

* Minor visual fix.

* Removed unnecessary ternary operator.

* Extended unread line functionality to work on minimised window or focusing another window.

* Fix for unread line not showing when last read message is hidden.

* Minor performance improvement. Fix for misbehaving event2order DB at application start.

* Fix for possible performance issues when user has joined a large number of rooms.

* Fix for breaking macos and clazy builds.

* Changed on windows focus function to refresh unread line if room is unread.

* Unread line is removed when user sends a message.

* Linting.

* Fixed unread line to work in standalone room windows.

* Switch isRoomUnread for index 0.

* Merged try/catch blocks.

* Fix for crash on opening a room invite.

* Call fullyReadEventId function when used instead of storing it and passing it through.

* Function that was meant to sync the unread line was relying on an async function, oops.

* Linting again.

* More linting...

* Minor changes.
2022-09-11 23:05:20 +00:00
DeepBlueV7.X
02adcfdc38
Merge pull request #1163 from foresto/log-options
Control logging via command line or environment variable
2022-09-11 07:29:33 +00:00
Forest
80f7683a57 Control logging via command line and environment variables
Nheko is very chatty in its log output, generating log noise (which
complicates diagnostics) and needless disk writes (which affect power
consumption and SSD life).  This patch introduces command line options
and environment variables to control log levels and output type.

The old --debug command line option still works, at least for now.
It is overridden by the new command line options when they are used.

Partially addresses #665.
2022-09-10 18:28:44 -07:00
Nicolas Werner
12da7bd08c
Enable spoilers in replies 2022-09-11 00:29:23 +02:00
Nicolas Werner
2bdb9c4347
Fix sync with empty invite state 2022-09-10 13:19:22 +02:00
Nicolas Werner
9b751fe6d8
Bump mtxclient to released version 2022-09-09 19:13:55 +02:00
Nicolas Werner
8bec1f1934
Fix crash when joining a room with preview 2022-09-09 18:26:32 +02:00
Nicolas Werner
143d7c9b6a
Bump version 2022-09-07 21:30:19 +02:00
Weblate
7eff5b63fe Translated using Weblate (Indonesian)
Currently translated at 100.0% (830 of 830 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2022-09-07 15:15:43 -04:00
Nicolas Werner
c61c35796b
Update changelog 2022-09-07 17:08:42 +02:00
Weblate
7630b60a6a Translated using Weblate (Polish)
Currently translated at 100.0% (830 of 830 strings)

Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2022-09-07 10:41:57 -04:00
Weblate
6d9f7bc5a4 Translated using Weblate (Dutch)
Currently translated at 100.0% (830 of 830 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2022-09-07 10:41:57 -04:00
Weblate
bc25bc8c3d Translated using Weblate (Finnish)
Currently translated at 100.0% (830 of 830 strings)

Co-authored-by: Lurkki14 <jussi.kuokkanen@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fi/
Translation: Nheko/nheko
2022-09-07 10:41:56 -04:00
Weblate
36d045a0f0 Translated using Weblate (Polish)
Currently translated at 100.0% (807 of 807 strings)

Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
2022-09-07 04:43:03 -04:00
Nicolas Werner
84831e91df
Update translations 2022-09-07 10:40:43 +02:00
Nicolas Werner
8527ae78d5
Bump mtxclient 2022-09-07 10:09:48 +02:00
Nicolas Werner
e67fd45a28
Update gstreamer 2022-09-06 22:56:03 +02:00
Nicolas Werner
a014b2f8d6
Fix crash on empty private read receipts being received
fixes #1180
2022-09-06 20:25:52 +02:00
Nicolas Werner
1d7575036e
Allow creating spaces 2022-09-05 02:00:20 +02:00
Nicolas Werner
c6bf1e6508
Attribute values can contain slashes 2022-09-04 18:14:14 +02:00
Nicolas Werner
e144c5741f
Implement space stickers & emoji 2022-09-01 13:25:11 +02:00
Nicolas Werner
01fd5e6b61
Unset the transient parent on separate chat windows
relates to #1168
2022-08-31 20:44:21 +02:00
Nicolas Werner
130e1b43fb
Fix empty widgets still being shown 2022-08-30 22:05:33 +02:00
Nicolas Werner
57f505c486
Fix invalid userids on profile requests 2022-08-30 15:40:33 +02:00
Nicolas Werner
47189240a2
Don't trust synapse
fixes #1172
2022-08-27 18:44:28 +02:00
DeepBlueV7.X
27401f6416
Merge pull request #1166 from foresto/clang-format-11-compat
Restore compatibility with clang-format v11
2022-08-25 13:21:32 +00:00
Forest
c66d7dede8 Revert "Specify every linter option"
This reverts commit e6b6a76437,
because it broke compatibility with clang-format 11 (which is current
on some linux distros) and because it didn't achieve its original
goal. See PR #1166 for discussion.
2022-08-24 18:49:06 -07:00
DeepBlueV7.X
82319b87a8
Merge pull request #1165 from ChungZH/patch-1
Fix the position of version
2022-08-24 22:02:21 +00:00
Zirnc
91b1d30ef0
Fix the position of version 2022-08-24 11:05:31 +08:00
DeepBlueV7.X
2e5e157db6
Merge pull request #1162 from Hiers/discrete-roomprofile-edit
Added discrete edit button to room profiles.
2022-08-21 23:12:15 +00:00
Hiers
b94689c4d1 Added discrete edit button to room profiles. 2022-08-22 00:01:20 +01:00
DeepBlueV7.X
63339ad632
Merge pull request #1156 from foresto/patch-1
Focus message input box when pressing Esc
2022-08-20 21:50:55 +00:00
DeepBlueV7.X
3b0b8605a8
Merge pull request #1160 from foresto/reaction-colors
Reactions: avoid highlight color misuse, subdue bright border color
2022-08-20 21:49:57 +00:00
Nicolas Werner
732b82c04d
Allow summary tag 2022-08-20 23:45:38 +02:00
Forest
f66ed4bea5 Reactions: avoid highlight color misuse, subdue border color
This addresses a few problems with reaction colors:

- The state-checking conditionals for reaction text, background, and border
  were inconsistent, making it difficult to choose colors for each state
  (normal, hovered, and self reactions) that worked well in all themes.
- The QPalette::Highlight color was being misused as a text/foreground color.
  This color role is intended for background areas.  It has little contrast
  against the background in themes like KDE Plasma's Breeze High Contrast,
  so using it for text and icons makes those things difficult to read.
  https://doc.qt.io/qt-5/qpalette.html#ColorRole-enum
- The reaction border was drawn in the same color as normal text, making it
  so bright in some dark themes that it distracted from reading nearby text.

Fixes Nheko-Reborn/nheko#1159
2022-08-19 21:14:58 -07:00
Forest
4d1a01c829
Focus message input box when pressing Esc
This helps with #1065, although I think making sure the message input box gets focus by default would be worthwhile.
2022-08-19 07:41:22 +00:00
Nicolas Werner
ff87bef030
Fix inline image escape order 2022-08-18 22:05:47 +02:00
Nicolas Werner
08b304eccf
Break http images and implement barebones spoiler support when not in mobile mode
see #1042
see #483
2022-08-17 01:35:40 +02:00
DeepBlueV7.X
0e4932d973
Merge pull request #1155 from foresto/grammar-apostrophe
Grammar fix:  Group's sidebar -> Groups sidebar
2022-08-16 19:26:33 +00:00
Forest
a4bd65ee1e Grammar fix: Group's sidebar -> Groups sidebar 2022-08-15 21:49:57 -07:00