Harald Eilertsen
a574c79f9e
Clean up detection of naked URL's in posts
...
Fix detecting naked IPv6 URL's in posts, and clean up a bit how we deal
with zid parameters. Also drops the `nakedoembed` function which no
longer had anything to do with oembed handling. This also means we no
longer need to scan the body twice for the same regex.
2026-04-26 16:22:18 +02:00
Saiwal K
9f98f6bbd5
move shared post formatting to its own tpl
2026-01-04 19:36:06 +00:00
Mario
a99e067b91
remove deprecated sjcl library and references
2025-11-07 12:39:58 +00:00
Mario
7320149fd8
only show the pin if we display the label and fix the test
2025-06-19 08:26:31 +00:00
Mario
7766e5d420
prepend geo links withe a pushpin emoji so that they can be distinguished from regular links
2025-06-19 08:18:25 +00:00
Mario Vavti
18016ab36a
remove some redundant spaces in bbcode to html conversion and fix tests
2025-06-18 11:55:47 +02:00
Mario
d788233bd7
handle naked geo URIs and add tests
2025-06-18 09:18:11 +00:00
Mario
86ebef7e08
allow geo: uri and be more specific when checking uri schemes also remove zhttp which is not used anymore and ftp which is not supported by most browsers anymore
2025-06-17 09:29:27 +00:00
Mario
7c59dd9fd7
more deprecate x()
2025-04-23 18:17:23 +00:00
Mario
083b2b1bbc
add suport for strong bbcode tag
2025-04-15 09:10:45 +00:00
Mario
e3eebcd95d
calculate observer.baseurl from xchan_url since xchan_connurl is only set for zot xchans
2025-02-26 15:32:36 +00:00
Mario
76ce4705e2
more fixes for issue #1843
2024-05-08 14:34:44 +00:00
Mario
f74922db39
add bbcode support for the HTML5 del tag
2024-05-07 08:52:05 +00:00
Mario
53354a1930
more remove additional linebreaks after block element plus test
2024-03-25 21:42:50 +01:00
Mario
3c0d6339bb
make sure we preserve linefeeds in the actual content of lists and tables also add tests
2024-03-24 17:50:27 +01:00
Mario
a0cfe22501
Merge branch 'deprecate-include-config-in-core' into 'dev'
...
Deprecate *_config() functions in core.
See merge request hubzilla/core!2114
2024-03-24 09:58:21 +00:00
Harald Eilertsen
0dc959d9fe
Deprecate *_config() functions in core.
2024-03-24 09:58:21 +00:00
Mario
cb25fc031b
use the correct tag for ordered lists
2024-03-22 08:23:44 +00:00
Mario
49509e7347
more whitespace fixes and some docu
2024-03-21 09:47:34 +00:00
Mario
66f5b34c07
possible fix for issue #1843
2024-03-20 21:08:23 +00:00
Mario
3de8f5e7de
deal with wihitespace issues in tables and lists and add tests
2024-03-20 14:35:43 +01:00
Mario
f3efdbf230
adjust encrypted content representation and also add it to bb_to_markdown
2024-03-15 22:34:27 +00:00
Mario
dddcddc453
refactor sodium b2b encryption
2024-03-15 11:30:28 +00:00
Mario
ee8aba3221
implement sodium-plus library to replace unmaintained sjcl
2024-03-10 22:35:59 +00:00
Mario
45b1be8962
inbound support for custom emojis
2024-03-08 08:42:50 +00:00
Mario
3f32a5239d
we are checking for null|array union type later - false would throw an error
2024-03-01 19:17:57 +00:00
Harald Eilertsen
80ed2ff89a
Add some beginning tests for bbcode, and a bit of refactoring
2024-03-01 16:18:07 +00:00
Mario
067a66b927
fix some whitespace issues after recent changes
2024-02-09 11:20:46 +00:00
Mario
c0a7dfe2f6
refactor fetch_and_store_parents() and inroduce the fetchparents daemon
2024-01-25 10:13:10 +00:00
Mario
ca92dd0299
bbcode: do not overrule default list style
2023-11-07 08:30:27 +00:00
Mario
20735083b3
update bb_parse_b64_crypt()
2023-03-18 14:52:25 +00:00
Mario
990a3af2a7
php8: random cleanup and warning fixes
2022-09-08 20:02:22 +00:00
Mario
fcfb9e9758
fix random php warnings
2022-09-07 12:50:46 +00:00
Mario
1a75066616
revert: do not wrap multi line code blocks into pre tag
2022-09-06 10:27:01 +00:00
Mario
3dfb0bcae9
do not wrap multi line code blocks into pre tag
2022-09-06 09:21:39 +00:00
Mario
a7ec1805e3
address deprecation warnings
2022-02-13 18:58:12 +00:00
Mario
f8149face5
toc: add headings
2022-01-11 09:17:39 +00:00
Mario
5b50454b4d
make toc bbcode find its own container by default
2022-01-09 20:44:30 +00:00
Mario
ad2c165f26
bbcode: deal with codeblocks before we escape other tags
2021-10-10 08:10:49 +00:00
Mario
6084360588
deprecate the custom highlight [hl] bbcode in favor of [mark] which is a html5 standard
2021-09-07 07:33:36 +00:00
Mario
189da4fdc1
untangle the app template into separate templates and fix bbcode view
2021-08-23 10:32:48 +00:00
Mario
c42d8a81c7
bbcode: add option to drop media content
2021-06-18 09:51:20 +00:00
Mario
7776283a47
remove zot includes
2021-05-27 09:45:39 +00:00
Mario
6a7e06f11c
deprecate get_rpost_path()
2021-05-27 09:09:52 +00:00
Mario
b8abf806ca
bbcode: escape img and zmg tags so that it will not be messed with before required (e.g. URL in image description) - issue #1554
2021-04-06 12:12:51 +00:00
Mario
15faf01ec9
do not parse bbcode in summary - issue #1532
2021-03-10 11:09:49 +00:00
Michal Klodner
f45ebfa223
- Enable enclosures in Atom/RSS (podcasts)
...
- Remove checking of audio/video URLs for pattern at the end
2021-02-24 21:03:05 +00:00
Mario
ddad4f604b
provide raw base64 encoded crypto
2021-02-19 17:37:53 +00:00
Mario
863d4d83a1
fix recursive shares
2021-02-19 07:41:29 +00:00
Mario
d50381c9c6
fix summary regex after recent bbcode chane
2021-02-18 20:36:56 +00:00