Commit graph

22 commits

Author SHA1 Message Date
Nicolas Werner
0ad74590d4
Fix matrix.to link escaping
Properly escapes in replies and with unmatched [].

fixes #854
2022-07-20 14:05:10 +02:00
Nicolas Werner
9e2789a16d
Remove a few unused variables 2022-03-30 06:53:55 +02:00
Nicolas Werner
e077bdbdd5
Allow window sizes smaller than 400x400 2022-02-14 22:56:35 +01:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
a3c4ebc460
use more literals 2021-12-29 00:36:43 +01:00
Nicolas Werner
bb290f9fec
Fix more warnings and remove dead code 2021-12-28 22:30:12 +01:00
Nicolas Werner
a13f492e7d
Make clang-format <13 and clang-format >=13 behave the same
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
2021-11-22 00:33:43 +01:00
Nicolas Werner
ab0baf5d9e
Only show actions, when you have permissions to do them 2021-05-02 18:06:56 +02:00
Nicolas Werner
72d74ac59f
Fix rendering issues with ) in links 2021-04-24 14:32:24 +02:00
Nicolas Werner
8ca3a8b607
Don't send markdown links in body
fixes #422
2021-03-15 20:59:18 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01: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
7dab4d39ee modernize: raw string literals 2020-02-04 05:19:55 +01: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
Konstantinos Sideris
aa486a5c0c Adjustments for the minimized sidebar 2018-10-07 14:09:47 +03:00
Konstantinos Sideris
8f89ad15f7 Change the minimum width for modals 2018-09-30 13:37:38 +03:00
Konstantinos Sideris
758be07a5a Make the height of the bottom bar smaller 2018-09-29 14:05:59 +03:00
Konstantinos Sideris
adf2019c56 Use QPushButton on the preview modal 2018-09-25 14:41:47 +03:00
Konstantinos Sideris
3d2e29bfa0 Remove pixel values from modals, use pointSize instead 2018-07-22 18:03:12 +03:00
Konstantinos Sideris
e8cb2cee0c Use a smaller icon size in the sidebar 2018-07-20 17:44:09 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from include/Config.h (Browse further)