99 Commits
Author SHA1 Message Date
grunfink 42f4c101c1 Fixed warning. 2026-04-05 10:37:09 +02:00
violette de9d546d70 Added emoji categories. 2026-01-12 06:03:04 +01:00
grunfink 11af00194e Bumped copyright year. 2026-01-01 17:01:03 +01:00
violette 85ed0eb0d5 Added emoji reactions (contributed by violette). 2025-12-18 07:58:24 +01:00
byte d23ac2b9f5 making sure that global data is immutable 2025-09-22 23:27:47 +00:00
grunfink c6c5150b59 Added Markdown support for bullets (unsorted lists). 2025-08-27 09:54:33 +02:00
grunfink 22f326ed66 Fixed markdown links with parenthesis. 2025-06-04 06:57:13 +02:00
grunfink 56816b3051 Minor memory leak fixes. 2025-05-22 11:18:48 +02:00
postscriptum 24105f6e97 use utf-8 lowercase function for tags #396 2025-05-22 03:34:48 +03:00
grunfink c166e05f7d As they look ugly in some platforms, links are no longer shown as attachments. 2025-05-09 15:31:58 +02:00
default 12107401ea Fixed crash. 2025-05-06 07:28:43 +02:00
grunfink 6e42d34eab Merge pull request 'Display custom emoji in more places' (#343) from dandelions/snac2:emoji-pr into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/343
2025-05-06 03:55:43 +00:00
grunfink 90e9a0aeef Added back again links as attachments. 2025-05-03 19:31:05 +02:00
grunfink 7f38c744dc Revert adding links as attachments. 2025-05-03 19:03:51 +02:00
grunfink 6878e3fc93 Also add direct and markdown links in posts as attachments. 2025-05-03 18:55:10 +02:00
green 0c03e6c9d9 cleaned up old changes and outdated comments 2025-04-13 15:49:18 +02:00
green 15100ad819 check the extension in a different way 2025-04-13 14:42:02 +02:00
green e251c61382 allow emoji urls with no extension 2025-04-13 14:42:02 +02:00
default 9869b29f2a Reverted Markdown error. 2025-03-17 14:25:52 +01:00
default dd318eb6b2 Reverted the usage of _ for italics (they are causing problems). 2025-03-17 08:27:38 +01:00
default 4913458205 mastoapi: added support for /api/v1/custom_emojis (contributed by violette). 2025-03-17 08:18:41 +01:00
default 5c27885a2f In sanitize(), also accept attribute values between single quotes. 2025-02-11 18:45:52 +01:00
Santtu Lakkala 52c4571820 Fix link detection. Fixes: #290 2025-02-05 10:57:27 +02:00
default 3d677f67d8 Added more Markdown (contributed by an-im-dugud). 2025-01-21 14:33:21 +01:00
default 932227bbac Bumped copyright year. 2025-01-08 16:59:14 +01:00
default 2384a5409b Make xmpp and mailto URLs clickable. 2024-12-26 03:55:27 +01:00
default 13d4fde316 Avoid adding repeated attachments. 2024-12-19 10:05:11 +01:00
default a5942432bf Fixed processing of URLs with two @ inside. 2024-11-03 15:13:31 +01:00
default b44af1b567 Fixed typo. 2024-10-25 07:22:01 +02:00
default 560db69d14 Accept any URL schema (not just http) in format_line(). 2024-10-25 07:13:28 +02:00
default 5f6a42453c Added support for markdown-like ![alt text](image url). 2024-07-19 07:24:28 +02:00
default 6e3b621f7b Added support for Markdown ~~strikethrough text~~. 2024-07-19 07:11:25 +02:00
default f3b392e06a Show bold+italic (text between ***) correctly. 2024-07-18 17:19:14 +02:00
default 6f772e4770 Fixed a minor bug in processing Markdown-style links having anchors. 2024-06-27 05:30:53 +02:00
default 36764b8ade Minor tweak to markdown-like links. 2024-05-27 05:49:29 +02:00
default 8e0ccc6d76 Added markdown-like links. 2024-05-26 09:27:36 +02:00
default 8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default 9acba489fb Add some special treatment to Event object display. 2024-05-11 19:35:33 +02:00
default 6f3763f452 Show 'Event' object types as Notes. 2024-05-11 19:15:18 +02:00
default 64adb173cc Only add Emoji tags when needed. 2024-04-19 08:56:03 +02:00
default 0f9a859f73 Added some error logging regarding the emojis.json file. 2024-04-03 08:58:44 +02:00
default adf0a13992 If an emoji in emojis.json is an URL to an image, it's stored in the tag list. 2024-03-25 16:15:09 +01:00
default bc752b7d67 Emojis are now read from ~/emojis.json. 2024-03-25 15:33:14 +01:00
default 067747cc7c Also trim , at the end of http links. 2024-02-27 13:21:59 +01:00
default 33a0386a1e In posts, fixed bad link urls if written between parentheses. 2024-01-14 14:25:51 +01:00
default 755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
Yonle a5c740f564 format.c: add <bdi>
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-15 12:01:20 +07:00
default bc5d0d4ed0 Replaced encode_html_strict() with xs_html_encode(). 2023-11-20 18:33:24 +01:00
default b1868d85bb New function encode_html_strict(). 2023-10-04 18:19:38 +02:00
default 931b871eb1 Also accept s HTML tags. 2023-09-17 03:03:20 +02:00