Commit graph

78 commits

Author SHA1 Message Date
fiaxh 454c00ac0b Apply message quote style prior to urls
fixup 795af2d, 4e9e09a
2022-02-04 13:39:46 +01:00
fiaxh 19a3fa5e02 Stop using opacity for text due to side-effects
Fixes #1178
Due to https://gitlab.gnome.org/GNOME/gtk/-/issues/2957
2022-01-23 19:49:06 +01:00
fiaxh 4e9e09a648 Apply message quote style prior to bold/italic style
Quotes apply to the whole line. Having a bold part in that line results in the quote styling only extending up to the bold part.
2022-01-11 23:12:46 +01:00
fiaxh 85f4bddf99 Use opacity for "pending" and "edited" hints
Getting the dim-label color doesn't work without actually rendering it
2022-01-04 12:35:18 +01:00
Xavi92 795af2d9ce
Format quotes as preformatted text (#1111) 2021-12-30 16:22:03 +01:00
fiaxh 447464f4d1 Display message delivery error, color text using theme colors
fixes #672
2021-08-17 22:32:33 +02:00
minils cf8501ba30
Use opacity instead of hard coded color for formatting chars (#1000) 2021-08-14 20:19:57 +02:00
fiaxh d71604913d Merge remote-tracking branch 'origin/feature/calls' 2021-05-11 12:57:02 +02:00
fiaxh dfffa08ec1 Fix warnings 2021-04-11 14:42:59 +02:00
Sergey 45c0ac4104
Fix accounts panel width (#1017)
fixes #797
2021-03-24 17:45:54 +01:00
fiaxh 0f46facecd Add UI for audio/video calls 2021-03-21 12:41:39 +01:00
minils 73f012133a
Add different formating with less contrast for markup strings like *,_,~ and `. (#883) 2021-02-17 23:25:59 +01:00
Michel Le Bihan e06cc08425
Improve IBR form handling (#990)
* Change register account dialog to show instructions

Change data forms to handle title and instructions elements

* Change register account dialog to show fixed fields

Closes #988

* Change form switch to halign start

Closes #992

* Change register account dialog to markup URLs
2021-02-17 22:57:53 +01:00
fiaxh 11d9855a39 Refactor Notifications, add freedesktop backend
fixes #707
2020-11-20 15:21:34 +01:00
fiaxh dba63b1473 Fix runtime critical when room has no name 2020-10-29 19:11:55 +01:00
fiaxh 2e0357877c Fix some compiler warnings 2020-10-27 16:05:30 +01:00
fiaxh e0d81f98e3 Remove code block formating 2020-10-11 13:45:54 +02:00
fiaxh b60e7da28a Fix message duplication in MUC PMs 2020-09-07 15:29:32 +02:00
Marvin W 6aa08a3282
Some locales need more than 2 chars for AM/PM, make the buffer a bit larger 2020-07-08 11:23:37 +02:00
Marvin W 3e08fc2f92
Use strftime() instead DateTime.format(), fixes #875 2020-07-08 11:05:02 +02:00
Marvin W c16fbdd19f
Clean up some image rendering code 2020-06-28 11:53:43 +02:00
Marvin W 1f506cec42
Do not use GNOME specific setting for 24 hours 2020-06-23 17:00:11 +02:00
fiaxh 0beb592c5a Use sqlite UPSERT 2020-06-10 23:40:00 +02:00
Marvin W 204455afd2
Fix rare issue with incorrect link parsing 2020-04-22 23:58:02 +02:00
fiaxh 51a2372869 Add file upload preview
fixes #756
2020-04-22 15:44:12 +02:00
fiaxh 871ff33ac7 Add support for last message correction 2020-04-03 22:49:59 +02:00
fiaxh 1c8e15c408 Fix message markup parsing for single characters 2020-04-03 20:59:47 +02:00
Marvin W 0af8526ab1
Work-around use after free
Upstream: https://gitlab.gnome.org/GNOME/vala/-/issues/751
2020-04-01 17:40:47 +02:00
Marvin W 2f52291be5
Fix issue rendering messages outside reachable scroll area
Related: https://gitlab.gnome.org/GNOME/gtk/-/issues/2556
2020-04-01 00:30:37 +02:00
Marvin W d55f6691c6
Scale files and images to the available space 2020-03-14 00:50:54 +01:00
Marvin W 25751c88ce
Properly handle variation selector after emoji (even if useless) 2020-03-14 00:50:27 +01:00
fiaxh 65039b4c23 Improve code block regex 2020-02-21 19:07:07 +01:00
Roberto Santalla 447b5ad54a Add support for strikethrough styling 2020-02-21 19:05:46 +01:00
Roberto Santalla 6f77283c2c Format fenced code blocks 2020-02-21 19:05:46 +01:00
Marvin W 60d735fc7d
Add more non-trailing chars for urls 2020-01-15 19:31:47 +01:00
Marvin W 3fc9bdab05
Correctly display names in groupchat pms
Also show "Me" when no local alias is set instead of JID
2020-01-09 14:28:08 +01:00
Marvin W 5e1f646cbc
Another set of changes to URL detection 2020-01-09 13:43:02 +01:00
Marvin W 81bde9197b
URL linker: count open/close parens, simplify regex 2019-12-29 16:11:53 +01:00
Marvin W 4a3cef89fd
Don't allow newlines in URLs, also clean up on http file transfer detection 2019-12-26 15:46:58 +01:00
Marvin W f3af064262
Improve on URI detection 2019-12-25 19:56:51 +01:00
Marvin W a0a956ee08
Properly check Jids everywhere 2019-12-23 16:58:53 +01:00
fiaxh 890b91ce4d Only send new room config if something was changed
fixes #675
2019-12-16 01:41:04 +01:00
fiaxh b03da2af60 Check window width and hight before (re)storing them 2019-11-26 18:37:23 +01:00
fiaxh 41ada4fcc8 Don't attempt DNS SRV lookups in connection fallback 2019-11-18 22:45:18 +01:00
fiaxh df217fb117 Fix segfault in groupchat name generation
fixes #635
2019-10-23 16:45:16 +02:00
Marvin W e330e60f83
Base avatars and names on conversation, not JID.
Fixes #598
2019-10-18 16:52:29 +02:00
Marvin W de3af0ae24
Fix some incorrect handling of message styling 2019-10-18 16:11:00 +02:00
fiaxh bd7fde99af fixup Fix some warnings 2019-09-10 19:36:11 +02:00
hrxi d5d305193c Fix some warnings
Instances of `RegexError` are just asserted as `assert_not_reached` as
they cannot really fail except for allocation failure if the given regex
is valid.
2019-09-10 19:36:11 +02:00
fiaxh 952ac95484 Use regex literals, fixes some compiler warnings 2019-03-14 17:39:31 +01:00