Mario
1ef7fcda0a
Remove capability to update xchan entries via api. If this functionality is required it should be implemented over a channel endpoint where xchan and channel info would be updated after verification.
...
(cherry picked from commit cb7dc2059a )
Co-authored-by: Mario Vavti <mario@mariovavti.com >
2026-01-30 13:00:39 +00:00
Mario Vavti
9019636449
update attach.filetype field length to match photo.mimetype field length and attempt to find mimetype with finfo class if applicable.
2026-01-05 15:34:42 +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
f25211d7ff
Merge branch 'xchan-fetch-escape-args' into 'dev'
...
Escape args in xchan_fetch
See merge request hubzilla/core!2252
2026-01-04 19:53:51 +00:00
Mario
1323ea8e18
Merge branch 'dev' into 'dev'
...
move shared post formatting to its own tpl
See merge request hubzilla/core!2248
2026-01-04 19:36:06 +00:00
Saiwal K
9f98f6bbd5
move shared post formatting to its own tpl
2026-01-04 19:36:06 +00:00
Harald Eilertsen
cedc6c4230
Escape args in xchan_fetch
2026-01-04 14:55:03 +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
87f79381d9
MessageFilter: move decoding to the caller and also check the summary field
2025-12-19 08:24:22 +00:00
Mario
28746891c8
curl_close() is deprected and noop since PHP version 8.0
2025-12-16 11:47:10 +00:00
Mario Vavti
48dbba2f4d
implement new version of MessageFilter derived from forte and add some more tests
2025-12-12 12:42:01 +01:00
Mario
bb49a51be3
feed: fix channel links and check for top=0. also filter out Add and Remove activities when building the feed (we should probably do this in fetch_items() but that will require some refactoring
2025-12-09 12:05:19 +00:00
Mario
be5c8aa2a3
more work on determining whether an event should be adjusted is an all-day event
2025-12-09 08:24:53 +00:00
Mario
643d25b34b
simplify and be slightly more strict to define allday events
2025-12-05 22:38:20 +00:00
Mario Vavti
c29d79854e
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
2025-12-05 22:24:33 +01:00
Mario
2834544451
an attempt to better deal with events that have no endTime and events that inline timezone offset in the timestamp
2025-12-05 21:16:30 +00:00
Mario Vavti
60eb8aa42b
provide the event hash and timezone in the event object
2025-12-05 22:04:52 +01:00
Harald Eilertsen
94e5aa172c
Update API docs for hooks
2025-11-29 22:52:30 +01:00
Mario
9e5344d624
fix typo in last commit
2025-11-22 19:57:28 +00:00
Mario
4c122fd3b3
do not attempt tag delivery if not item type post - fix issue #1941
2025-11-22 19:54:58 +00:00
Mario
7fcc770fbf
rename (un)serialise() -> json_(un)serialize()
2025-11-21 20:43:35 +00:00
Mario
3878dbd6bd
show viewsource link for pubstream items
2025-11-21 08:27:53 +00:00
Mario
7cadb43029
fix insufficient target attribution for forums - channel_url() requires the channel array not the address
2025-11-20 23:05:12 +00:00
Mario
ad017baaa6
singleton object cache - initial commit
2025-11-20 20:41:20 +00:00
Mario Vavti
6f9348540e
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
2025-11-14 10:45:29 +01:00
Mario Vavti
51b667020e
use json serialisation for iconfig
2025-11-14 10:44:56 +01:00
Harald Eilertsen
1e92aeb7f9
Improve dba_pdo::insert function
2025-11-13 16:14:05 +00:00
Mario
9c27f94709
move language specific folders into its own subfolder in /view
2025-11-07 14:38:55 +00:00
Mario
a99e067b91
remove deprecated sjcl library and references
2025-11-07 12:39:58 +00:00
Mario
aa5bd9bbfc
do not allow observer posting files to wall if they do not have permission - issue #1940 part two
2025-11-03 08:50:39 +00:00
Mario
4ae65a63c6
photo_upload(): moderate photo items where observer has write_storage perm but not post_wall perm - fix issue #1940
2025-10-22 18:31:49 +00:00
Mario Vavti
b50aa43542
remove redundant args
2025-10-21 21:09:13 +02:00
Mario Vavti
040b52a1d5
fix undefined constant
2025-10-21 18:57:15 +02:00
Mario
c8c9e4a901
fix some of the constant not found errors
2025-10-21 16:00:06 +00:00
Mario
3cdfa94c29
announced toplevel items will have type Announce in our case - possible fix for issue #1936
2025-10-10 15:47:49 +00:00
Mario
1a68dbccf1
remove check for current user and apply update
2025-10-06 20:42:27 +00:00
Mario
548b0c4931
Merge branch 'misc-phpstan-fixes' into 'dev'
...
Fix remaining issues flagged by PHPStan level 0
See merge request hubzilla/core!2228
2025-10-02 08:36:00 +00:00
Mario
121fb74c6c
tagcloud: remove redundant f arg
2025-09-15 07:12:09 +00:00
Harald Eilertsen
176a7cb9b5
Comment duplicate keys in xchan_change_key func
...
PHP arrays can't have duplicate keys, so adding an entry with the same
key again will replace the existing entry with the later one. This patch
comment out the entries that in any case are replaced, so functionally
it should be equivalent to what was before. (But still probably wrong!)
2025-09-12 21:51:24 +02:00
Harald Eilertsen
b31123ae2f
Fix missing return from translate_scope function
...
Also make sure the output is escaped wherever this function is used.
2025-09-12 21:51:24 +02:00
Harald Eilertsen
330c8ca890
Fix ref to undefined var in account.php
2025-09-12 21:51:24 +02:00
Harald Eilertsen
bb4c08caf0
PHPStan: Ignore missing function make_xchan_hash
...
This function does not exist, but is called from a function that is
never used. For rationale for why this code is kept, see the discussion
here:
https://framagit.org/hubzilla/core/-/merge_requests/2209
2025-09-12 21:51:24 +02:00
Harald Eilertsen
f8795288a1
More misc fixes in verify_email_address
2025-09-12 21:51:24 +02:00
Harald Eilertsen
107b8e67d2
Fix/complete template args in verify_email_address
2025-09-12 21:51:24 +02:00
Harald Eilertsen
5a36a37b9f
Fix template language in verify_email_address
2025-09-12 21:51:24 +02:00
Harald Eilertsen
0910ae0e52
Fix db query in verify_email_address
2025-09-12 21:51:24 +02:00
Harald Eilertsen
c6c5a8b5e0
Cleanup verify_email_address
...
- Add type annotations, and change arg to a string instead of array.
Only the email address was used anyways.
- Fix indentation
- Improve API doc and remove unnecessary comments.
2025-09-12 21:51:24 +02:00
Harald Eilertsen
da2c57c432
Fix undefined var $hash in verify_email_address
2025-09-12 21:51:24 +02:00
Harald Eilertsen
e7523e7fc5
Remove ref to undefined variables in get_zcard()
2025-09-12 21:51:24 +02:00
Harald Eilertsen
e52d3639de
Fix missing returns in plugin.php
...
Flagged by phpstan
2025-09-12 21:51:24 +02:00