aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Do not filter deleted hublocs in xchan_query because it will result in empty ↵Mario Vavti2024-11-091-2/+2
| | | | 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.
* Fix incorrect module imports.Harald Eilertsen2024-11-092-4/+4
| | | | | | | | When importing modules with use statements, they always require the fully qualified module name. Iow, there's no need to prefix them with an extra backslash. Ref: https://www.php.net/manual/en/language.namespaces.importing.php
* explicit check for channel_addressMario2024-11-031-1/+1
|
* make sure we select only sys channel items and remove dupes checking (this ↵Mario2024-10-231-9/+4
| | | | will be checked in item_store() anyway)
* bring filed items to mod hqMario2024-10-191-1/+9
|
* remove attach_upgrade() after 7 years it should not be required anymoreMario2024-10-181-35/+0
|
* Merge branch 'fix-cleanup-bbcode-url-regex' into 'dev'Mario2024-10-122-19/+16
|\ | | | | | | | | Fix naked URLs immediately followed by a newline See merge request hubzilla/core!2150
| * Fix some whitespace issues in zid.php.Harald Eilertsen2024-10-121-14/+14
| | | | | | | | No functional change.
| * Fix regex to detect URLs in cleanup_bbcode.Harald Eilertsen2024-10-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix duplicate posts from forum clonesMario Vavti2024-10-121-1/+3
|/
* Merge branch 'markdown/dont-link-urls-in-code-blocks' into 'dev'Mario2024-10-021-16/+0
|\ | | | | | | | | markdown: Don't link URLs in code blocks. See merge request hubzilla/core!2145
| * markdown: Don't link URLs in code blocks.Harald Eilertsen2024-09-301-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passing a content throught the `markdown_to_bb` function to convert any markdown in the content, any recognized URLs in the content would be converted to BBCode links as a post processing step after the main conversion. After commit a1ccacb825edac6ae36e5db4f62ebfe7aeaebe9f this did no longer consider content within code blocks, and would thus convert them as to BBCode links. Example: The following content [code] example url: https://example.com [/code] Would be converted to [code] example url: [url=https://example.com]https://example.com[/url] [/code] Prior to commit a1ccacb825edac6ae36e5db4f62ebfe7aeaebe9f, code blocks would be protected, so this would not happen. This patch removes the post processing step for converting plain URLs to links completely from this routine. This functionality is in any case covered in the actual BBCode parser where it belongs. This will have some other side effects as well, such as images and links created using Markdown, will not be converted to [zmg] or [zrl] tags where that would be done automatically before. If you intend to use a [zrl] or [zmg] tag, you now need to do so explicitly.
* | rewrite sql logic to rename photos - there are more DB queries involved now ↵Mario Vavti2024-10-021-21/+19
|/ | | | but the previous logic was throwing error in postgresql (while the result was correct anyway)
* whitespaceMario2024-09-191-1/+0
|
* prefer token if availableMario2024-09-192-16/+15
|
* Adjust fix_attached_permissions() so that if we got a token, we will just ↵Mario2024-09-182-8/+18
| | | | add the token to the original ACL instead of rewriting the ACL to theitem ACL - it probably makes much more sense that way
* not yet ready for primetimeMario2024-09-181-1/+1
|
* allow uploading to comments if ocap tokens are enabledMario2024-09-181-7/+13
|
* refactor get_security_ids() to remove some legacy code from the zot/zot6 ↵Mario2024-09-181-36/+41
| | | | transition and re-add scope sql to item_permissions_sql()
* improved content and comment collapse/expand renderingMario2024-08-041-4/+4
|
* streamline location renderingMario2024-08-021-4/+8
|
* fa2bi fixesMario2024-08-021-4/+4
|
* fa2bi: catch some remainsMario2024-08-023-5/+5
|
* fa2bi: some sed woodoo on templates and manual fixes in js and php filesMario2024-08-021-1/+1
|
* fix html2bbcode table and add testMario2024-08-021-5/+2
|
* fa2bi continuedMario2024-07-311-37/+37
|
* fa2bi continuedMario2024-07-301-18/+7
|
* fa2bi continuedMario2024-07-291-4/+4
|
* this will be a longer journey - we will start to use bootstrap icons now ↵Mario2024-07-231-7/+7
| | | | since forkawesome is dead
* some cleanupMario2024-07-231-7/+8
|
* the tag_deliver permission is not used anymoreMario2024-07-231-3/+0
|
* make sure to failà the tgroup_check() for group posts if they do not have ↵Mario2024-07-231-2/+1
| | | | the post_wall permission.
* item buttons redesign - initial checkinMario2024-07-221-15/+13
|
* fix wrong logic after last commitMario2024-07-041-1/+1
|
* revert the strlen checkMario2024-07-041-1/+1
|
* fix possible php errorMario2024-07-041-1/+7
|
* fix issue where event items were parsed multiple timesMario2024-06-211-4/+9
|
* Merge branch 'misc-fixes' into 'dev'Mario2024-06-171-6/+9
|\ | | | | | | | | Add module test helper expectRedirectTo + api docs See merge request hubzilla/core!2138
| * Refactor is_local_url() and add api doc.Harald Eilertsen2024-06-161-6/+9
| |
* | Use empty() to check if array entry exist in create_identity.Harald Eilertsen2024-06-141-2/+2
| |
* | Allow passing callable as array to hooks.Harald Eilertsen2024-06-141-10/+11
|/
* Fix warnings exposed by tests.Harald Eilertsen2024-06-131-1/+2
| | | | Mainly missing variables for templates, and channel entries.
* docu and remove superfluous break statement after return statementMario2024-06-131-3/+1
|
* Merge branch 'fix-test-warnings' into 'dev'Mario2024-06-131-3/+4
|\ | | | | | | | | Fix test warnings See merge request hubzilla/core!2134
| * includes/menu: Fix timestamp handling in menu_create.Harald Eilertsen2024-06-121-3/+4
| | | | | | | | | | Referencing undefined array keys are not allowed anymore, so we need to check whether they exist first.
* | duplicate array keyMario2024-06-101-1/+0
| |
* | too many argsMario2024-06-101-2/+2
| |
* | fix wrong variableMario2024-06-101-1/+1
| |
* | docuMario2024-06-101-2/+2
| |
* | docuMario2024-06-101-2/+2
| |