Nicolas Werner
e5a6deaeb2
Change width of pinned message box
3 years ago
Nicolas Werner
36b743c5b9
Bump mtxclient dependency
3 years ago
Nicolas Werner
89e58f78f1
Fix a few shadowing warnings
...
fixes #824
3 years ago
Nicolas Werner
75b112f0c8
Support pinned messages
...
fixes #519
3 years ago
Nicolas Werner
2e0d0dad96
Fix escaped html showing up in playable media message labels
...
fixes #840
3 years ago
Nicolas Werner
cf31fff5fe
Fix blurry thumbnails AGAIN
3 years ago
Weblate
8effdbc447
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Linerly <linerly@protonmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/id/
Translation: Nheko/nheko
3 years ago
Nicolas Werner
6367d94623
Fix lint
3 years ago
Nicolas Werner
d409bab838
Limit max memory usage of images
3 years ago
Nicolas Werner
07b5f0805f
Fix display of images, that can't be thumbnailed
3 years ago
Nicolas Werner
30791f7890
Get rid of threadpool for images
3 years ago
Nicolas Werner
868342ffc9
Allow swiping between views in single page mode
...
Allows access to spaces on mobile for example
3 years ago
Nicolas Werner
b2b9cccb5e
Fix a few clang tidy warnings
3 years ago
Thulinma
9996411d15
Added window role to image overlay
3 years ago
Weblate
f36b3836a6
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
3 years ago
Nicolas Werner
6760397f6c
Fix sanitizer warning about signed shifts
3 years ago
DeepBlueV7.X
c7a29d1fb0
Merge pull request #833 from Bubu/clion_suggestions
...
Go through some CLion (clazy, clang-tidy) suggestions in InputBar{cpp.h}
3 years ago
Weblate
dfc510129f
Translated using Weblate (Esperanto)
...
Currently translated at 99.8% (611 of 612 strings)
Co-authored-by: Tirifto <tirifto@posteo.cz>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/eo/
Translation: Nheko/nheko
3 years ago
Weblate
7b50c4ad2c
Translated using Weblate (French)
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Eldred HABERT <stuff@eldred.fr>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
3 years ago
Marcus Hoffmann
a01bc14db6
InputBar: run clang-format
3 years ago
Marcus Hoffmann
a9d8059fb2
InputBar: Mark some functions as [[nodiscard]]
...
This warns when you the return value of those functions isn't used.
Suggested-by: Clang-Tidy: Function X should be marked [[nodiscard]]
3 years ago
Marcus Hoffmann
9676b7709d
InputBar: mark constrictor as explicit
...
Suggested-By:
Clang-Tidy: Single-argument constructors must be marked explicit to
avoid unintentional implicit conversions
More info: https://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
3 years ago
Marcus Hoffmann
8aa4a60d12
InputBar: use X.empty() instead of !X.size()
...
Suggested-by:
Clang-Tidy: The 'empty' method should be used to check for emptiness instead of 'size'
3 years ago
Marcus Hoffmann
abcbcecac1
InputBar: use auto type
...
Suggested-by:
Clang-Tidy: Use auto when initializing with new to avoid duplicating the type name
3 years ago
Marcus Hoffmann
313bd649dd
InputBar: use multi-arg string replacement
...
This could actually change the behaviour here (could, because I don't
know if we can hit this special case) but this should hopefully the
correct way of doing this.
There's some detailed explanation of the difference here:
https://doc.qt.io/qt-5/qstring.html#arg-14
> This is the same as str.arg(a1).arg(a2), except that the strings
> a1 and a2 are replaced in one pass. This can make a difference if
> a1 contains e.g. %1:
```
QString str;
str = "%1 %2";
str.arg("%1f", "Hello"); // returns "%1f Hello"
str.arg("%1f").arg("Hello"); // returns "Hellof %2"
```
Suggested-by:
Clazy: Use multi-arg instead
3 years ago
Marcus Hoffmann
02aa87590b
InputBar: use character argument instead of string
...
Suggested-by:
Clang-Tidy: 'find' called with a string literal consisting of a
single character; consider using the more effective overload
accepting a character
3 years ago
Marcus Hoffmann
6d8d38490a
InputBar: apply clang-tidy const reference suggestions
...
All suggested by:
Clang-Tidy: The parameter 'X' is copied for each invocation
but only used as a const reference; consider making it a const reference
3 years ago
Marcus Hoffmann
abf4b3a0a3
InputBar: use QFileInfo::exists()
...
Suggested by:
Clazy: Use the static QFileInfo::exists() instead. It's documented to be faster.
3 years ago
Marcus Hoffmann
5441ea8840
InputBar: remove unused imports
3 years ago
Marcus Hoffmann
b7213ab179
add clion/idea dir to gitignore
3 years ago
Nicolas Werner
943a20fc37
Navigate to subspaces by clicking on them
3 years ago
Weblate
2a3492be69
Translated using Weblate (Finnish)
...
Currently translated at 92.9% (569 of 612 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
3 years ago
Weblate
fcd5977c5d
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (612 of 612 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
3 years ago
Nicolas Werner
b774a671da
Remember all the collapsed trees
3 years ago
Nicolas Werner
aa5d2098d0
Don't waste space for non existing subspaces
3 years ago
Nicolas Werner
fee2f5c701
Don't pad, just fill
3 years ago
Nicolas Werner
65152252a4
Leaves can't collapse
3 years ago
Nicolas Werner
fe49beb68e
Hide me underneath the space tree
3 years ago
Nicolas Werner
b505fa42d5
Fix crash on redactions without because
3 years ago
Weblate
0d43eb1e11
Translated using Weblate (English)
...
Currently translated at 100.0% (606 of 606 strings)
Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/en/
Translation: Nheko/nheko
3 years ago
Nicolas Werner
6266c917c0
Cleanup error logging a bit
3 years ago
Nicolas Werner
6779f0e509
Delete rooms even if we fail to leave
3 years ago
Nicolas Werner
a703e6f041
Remove double padding on redactions
3 years ago
Nicolas Werner
a5bfc833e4
Fix source translation
3 years ago
Nicolas Werner
87d99779eb
Merge branch 'redaction_updates' into 'master'
...
Change QML UI for redactions
See merge request nheko-reborn/nheko!16
3 years ago
Joe Donofry
b920f8d7ca
Change QML UI for redactions
3 years ago
Nicolas Werner
bd020bb473
If the locale is set to C, force english locale
...
This fixes date formatting as well as count based translations.
3 years ago
Nicolas Werner
eb6320862e
Use old flatpak runtime to prevent crashes on arm
3 years ago
Weblate
a9941c902b
Translated using Weblate (Italian)
...
Currently translated at 43.0% (261 of 606 strings)
Co-authored-by: Elia Tomasi <elia.tomasi@pm.me>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/it/
Translation: Nheko/nheko
3 years ago
Nicolas Werner
0620632d6a
Properly fix #825
...
We should read the message before sending the ack!
3 years ago