Harald Eilertsen
ced3113516
Remove unneccessary use statements
2026-03-07 12:00:56 +01:00
Harald Eilertsen
cbd208eea3
Remove use of NULL_DATE constant in core
...
The NULL_DATE constant is defined conditionally in the DBA static class.
This causes issues with static analyzing tools like PHPStan, because
they can not really know if the constant is defined or not.
We could make PHPStan ignore this, but since there already is a
`get_null_date()` method on the `dba_driver` class, this patch
changes the code to use this method instead.
We could also use the public static attribute `$null_date` on the DBA
class directly, but using a method feels cleaner, and allows for making
the attribute private, or even removing it completely at some later
time.
I'm not removing the NULL_DATE constant for now, in case it is in use by
any extensions.
2026-03-07 11:15:46 +01:00
Mario Vavti
7675ed0145
add (not exactly correct -> see fixme) mime types for docx and xlsx
2026-01-05 12:14:01 +01:00
Mario Vavti
e295765bef
fix typo and wrongedited timestamp. also add data-{id, type} to cloud directory listings
2026-01-02 15:31:54 +01:00
Mario
7fcc770fbf
rename (un)serialise() -> json_(un)serialize()
2025-11-21 20:43:35 +00:00
Mario Vavti
51b667020e
use json serialisation for iconfig
2025-11-14 10:44:56 +01:00
Mario
c8c9e4a901
fix some of the constant not found errors
2025-10-21 16:00:06 +00:00
Harald Eilertsen
6b7478c5a5
Remove dead code in handle_tag function
...
Since $profile is only ever set in the other branch of the if/else
construct, this code will never execute.
2025-09-05 23:19:07 +02:00
Mario
1da0ea86f0
more wording
2025-05-04 19:45:57 +00:00
Mario
95a2de4da2
Reapply "streamline wording"
...
This reverts commit ee3fc54be6 .
2025-05-03 15:55:13 +00:00
Mario
ee3fc54be6
Revert "streamline wording"
...
This reverts commit e2c477d775 .
2025-05-03 15:52:30 +00:00
Mario
e2c477d775
streamline wording
2025-05-03 15:42:26 +00:00
Mario
d5f7b620c4
fix regex to catch codeblocks with params like class etc
2025-04-23 19:37:57 +00:00
Mario
6515443957
more deprecate x()
2025-04-23 19:09:12 +00:00
Mario
efc9581798
comment out localize_item() in Enotify::submit() and fix some PHP warnings
2025-04-21 19:18:37 +00:00
Mario
86e88c6bb0
also continue if we have not got a filepath for some reasonÃ
2025-04-21 15:27:55 +00:00
Mario
9342a92682
deal with link type attachments
2025-04-16 07:44:40 +00:00
Mario
f5b1fda6b7
reorganize emojis and allow custom site emojis
2025-04-09 10:21:01 +00:00
Mario
484971c90a
use png for hubzilla emoji
2025-04-04 07:15:23 +00:00
Mario
3d522b99d8
add hubzilla emoji, make sure the compared term type is an integer
2025-04-03 18:12:23 +00:00
Mario
b2d09134c1
more smilies() fixes
2025-04-03 11:58:13 +00:00
Mario
322a021765
for consistency use just the name as short name
2025-04-03 10:01:09 +00:00
Mario
d191b66bb8
move custom emoji rendering to smilies()
2025-04-03 09:55:59 +00:00
Mario
f36d8e4bd2
fix fatal error if variable is an empty string
2025-03-07 08:38:33 +00:00
Mario
00c1509549
update string to match with the autotime string
2025-03-05 16:42:25 +00:00
Mario
2e13640ab4
wrong class
2024-12-05 13:14:07 +00:00
Mario Vavti
9acc73b273
some cleanup for mod magic
2024-11-18 23:15:29 +01:00
Mario Vavti
4e6696b049
Do not filter deleted hublocs in xchan_query because it will result in empty profile info in conversations if the hubloc was deleted. Deleting a hublocation does not neccesarily delete its content and the author could appear again from another location.
2024-11-09 21:11:33 +01:00
Harald Eilertsen
687cda3673
Fix regex to detect URLs in cleanup_bbcode.
...
This fixes the issue where the text after the URL would be included in
the link if it was immediately followed by a newline.
Example:
https://example.com
this is a test.
Would become:
#^[url=https://example.com_this ]https://example.com_this[/url]
is a test
2024-10-12 18:15:54 +02:00
Mario
c793cea2f0
fa2bi: catch some remains
2024-08-02 08:50:50 +00:00
Mario
dd0be272d0
fa2bi continued
2024-07-31 19:24:36 +00:00
Mario
1c34c354cf
fix issue where event items were parsed multiple times
2024-06-21 10:18:40 +00:00
Harald Eilertsen
0dc959d9fe
Deprecate *_config() functions in core.
2024-03-24 09:58:21 +00:00
Mario
6e12b5ec08
fix shortnames replaced in html tags
2024-03-14 13:35:21 +00:00
Mario
b291f1bad3
move escape_tags() to Lib/Text.php and add test
2024-03-10 13:10:42 +01:00
Mario
46fa26502b
more work on emojis
2024-03-09 20:53:18 +00:00
Mario
45b1be8962
inbound support for custom emojis
2024-03-08 08:42:50 +00:00
Mario
fe9ca30c5e
list attachments in the original order
2024-03-07 10:38:08 +00:00
Mario
46f67eaa1e
AS2 Update and implement a first draft of AS2 Profile activities
2024-02-29 17:05:48 +00:00
Mario
37878bf0a3
do away with deprecated activity types
2024-02-28 09:18:31 +00:00
Mario
3dd7394247
AS2
2024-02-25 19:29:50 +00:00
Mario
17e2877c91
make sure to decode html special chars before sending over the wire and
2024-02-21 10:44:56 +00:00
Rocky
1e0195e439
update to Bootstrap 5
2024-02-14 15:02:31 +01:00
Mario
f13af0f60b
process source xchan in xchan_query()
2024-01-23 08:46:18 +00:00
Mario
885068834f
fix more php deprecations
2024-01-14 19:58:36 +00:00
Mario Vavti
ae3db366e5
deprecate simplepie idna_convert
2023-12-31 09:54:54 +01:00
Mario
c3a235242e
do not double process quoted strings
2023-12-21 10:19:26 +00:00
Mario
4761857157
Revert "changelog"
...
This reverts commit 3aefe23184 .
2023-12-20 12:15:42 +00:00
Mario
3aefe23184
changelog
2023-12-20 12:15:24 +00:00
Mario
1063a67ae2
a possible fix for issue #1816
2023-11-09 21:37:28 +00:00