Commit graph

5141 commits

Author SHA1 Message Date
DeepBlueV7.X
bca7309e5f
Merge pull request #858 from tastytea/inline-img-aa
Request inline images in the right size and anti-alias them
2021-12-27 22:25:51 +00:00
tastytea
850d139e3d
Make custom emoticons twice as high as the font. 2021-12-27 23:16:26 +01:00
tastytea
5ac1195402
MxcImageProvider: Only use scaledToHeight if width <= 0. 2021-12-27 22:59:51 +01:00
tastytea
7086e23bdd
Request inline images in the right size and anti-alias them
- If an inline image has specified a height, add parameters to the
  image:// URI.
- Add scaled to the parameters, the images would be cropped otherwise.
- Extract the height from image:// URI and use it for requestSize.
- Use scaledToHeight instead of scaled.
2021-12-27 22:47:51 +01:00
MTRNord
7b2f7e65fd Run linter 2021-12-27 20:49:27 +01:00
Nicolas Werner
7742f12f30
Use body in alt text of custom emoji 2021-12-27 19:08:13 +01:00
rnhmjoj
9363f0b7c7
Make nheko usable without a secret storage service
This change adds the ability to run Nheko without a secrets storage
service[1]. The secrets are stored in plaintext under the [secrets]
section of nheko.conf. Since this is a "I know what I'm doing" type
of feature, it's disabled by default and can only be enabled with an
hidden setting `run_without_secure_secrets_service=true`.

Fixes issue #705.

[1]: https://freedesktop.org/wiki/Specifications/secret-storage-spec
2021-12-27 10:45:46 +01:00
Nicolas Werner
0897e4c062
Fix inclusion condition for overriden pack types 2021-12-27 06:40:47 +01:00
Nicolas Werner
ea6b19b307
Add an ugly custom emote completer using ~ 2021-12-27 06:23:36 +01:00
MTRNord
049613211a Apply (selective) Clang-tidy const function and new const pointer suggestions on TimelineModel 2021-12-23 02:55:25 +01:00
MTRNord
a872bdf8c5 Apply (selective) Clang-tidy move and some new detected const pointer suggestions on TimelineModel 2021-12-23 02:46:33 +01:00
MTRNord
02fcd0e7cf Apply (selective) Clang-tidy and clazy suggestions on TimelineModel 2021-12-23 02:33:46 +01:00
tastytea
3e8734dbd5
Add man page (#851)
This adds a man page which lists command line options, key bindings and
commands. A new CMake option `MAN` is added, enabled by default on
`UNIX` but not `APPLE`.

The man pages are generated with either `a2x` (from asciidoc) or
`asciidoctor`. If both are not found, a fatal error is signaled.
2021-12-22 21:34:07 +00:00
Nicolas Werner
926c7a89ad
Add alternative shortcut to Alt-A for systems, where that is taken already 2021-12-22 02:45:25 +01:00
Nicolas Werner
eb1e54c8df
Make edits replace the previous notification on Linux 2021-12-22 00:18:56 +01:00
DeepBlueV7.X
bccab87a5c
Merge pull request #850 from mlochbaum/master
Add note about secret server to Arch installation instructions
2021-12-21 20:32:27 +00:00
Marshall Lochbaum
5beaddff34 Add note about secret server to Arch installation instructions 2021-12-21 15:19:54 -05:00
Nicolas Werner
1ea9dc469b
Use global threadpool 2021-12-21 15:57:46 +01:00
Nicolas Werner
8edc46dc16
Cleanup jdenticon code in the same way as blurhashes 2021-12-21 15:06:34 +01:00
Nicolas Werner
04cccb8283
Cleanup blurhash formatting 2021-12-21 12:34:52 +01:00
Nicolas Werner
d424145ee4
Modernize blurhashprovider implementation
Might fix #844

See
https://code.qt.io/cgit/qt/qtdeclarative.git/commit/examples/quick/imageresponseprovider/imageresponseprovider.cpp?h=5.15&id=b1f238568214e6587b829d6695677e55a99b1d40
for context.
2021-12-21 12:17:12 +01:00
Nicolas Werner
b9a4f369e1
Fix date in CHANGELOG and appdata 2021-12-21 09:34:25 +01:00
Nicolas Werner
dfab0c92d7
Release 0.9.1 2021-12-21 00:17:38 +01:00
Weblate
22fa528f73 Translated using Weblate (Indonesian)
Currently translated at 100.0% (627 of 627 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2021-12-20 07:08:42 -05:00
Nicolas Werner
e907372f21
Bump dep versions 2021-12-19 23:32:37 +01:00
Nicolas Werner
6be752e163
Set the app_id on wayland 2021-12-19 22:54:50 +01:00
Nicolas Werner
9b25ef3c0d
Set notification category 2021-12-19 09:36:00 +01:00
Nicolas Werner
c03e4c1261
Make Nheko show up in system notification settings on Linux
relates to #845
2021-12-19 09:35:59 +01:00
Nicolas Werner
6484ed6496
Explicitly set text format for raw message dialog 2021-12-19 09:35:59 +01:00
DeepBlueV7.X
2d275b61da
Merge pull request #843 from Nheko-Reborn/openSUSE-readme
Add openSUSE install instructions
2021-12-18 04:33:34 +01:00
Loren Burkholder
da6d583eb9
Add openSUSE install instructions 2021-12-17 14:39:52 -05:00
Weblate
123aeeadaa Translated using Weblate (Indonesian)
Currently translated at 99.0% (621 of 627 strings)

Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
2021-12-17 11:53:31 -05:00
Weblate
d2425552ff Translated using Weblate (Estonian)
Currently translated at 100.0% (627 of 627 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-12-17 06:23:16 -05:00
Nicolas Werner
09aded2bc8
Fix crash when receiving matrix uri
It seems like handling the message in a blocking manner is a no-go. I
have no idea how to fix that, so just use a queued connection for now...
(ASAN does not cooperate and just hides the crash D:)

fixes #842
2021-12-17 05:58:09 +01:00
Weblate
88521caf0d Translated using Weblate (French)
Currently translated at 100.0% (627 of 627 strings)

Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2021-12-16 22:45:24 -05:00
Weblate
cb80bddcef Translated using Weblate (German)
Currently translated at 100.0% (627 of 627 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-12-16 22:45:24 -05:00
Weblate
24aae16f16 Translated using Weblate (Dutch)
Currently translated at 100.0% (627 of 627 strings)

Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
2021-12-16 22:45:24 -05:00
Nicolas Werner
5ea60a4f7f
Update translations 2021-12-16 23:31:42 +01:00
Nicolas Werner
999ac95658
Fix a small alignment issue of text in notification bubbles 2021-12-16 21:30:58 +01:00
DeepBlueV7.X
2ffd476e8f
Merge pull request #841 from LorenDB/qolImprovements
Quality-of-life improvements
2021-12-16 01:15:21 +01:00
Loren Burkholder
4a7e6d3f48 Fix a few things 2021-12-15 19:10:01 -05:00
Loren Burkholder
6e7e22b0e7 Make notification count bubbles expand some more 2021-12-15 19:09:57 -05:00
Nicolas Werner
6d69248109
Strip space chars from recovery passphrase 2021-12-15 18:26:14 +01:00
Nicolas Werner
57d1dffdbd
Update to SingleApplication 3.3.2 proper 2021-12-15 15:20:04 +01:00
Joseph Donofry
cce5d0534f
Use icns on macOS 2021-12-14 17:05:48 -05:00
Loren Burkholder
45b150fb58 make lint 2021-12-13 19:08:54 -05:00
Loren Burkholder
b25cda6939 Don't get too large of corners 2021-12-13 19:08:54 -05:00
Loren Burkholder
d15094b21e Use better translation method 2021-12-13 19:08:54 -05:00
Loren Burkholder
c09c0d35b8 Make opening room members from rooms settings dialog work 2021-12-13 19:08:54 -05:00
Loren Burkholder
95887c87db Make it obvious that this is a notification and not the actual message 2021-12-13 19:08:54 -05:00