Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not filter deleted hublocs in xchan_query because it will result in empty ↵ | Mario Vavti | 2024-11-09 | 1 | -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 Eilertsen | 2024-11-09 | 2 | -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_address | Mario | 2024-11-03 | 1 | -1/+1 |
| | |||||
* | make sure we select only sys channel items and remove dupes checking (this ↵ | Mario | 2024-10-23 | 1 | -9/+4 |
| | | | | will be checked in item_store() anyway) | ||||
* | bring filed items to mod hq | Mario | 2024-10-19 | 1 | -1/+9 |
| | |||||
* | remove attach_upgrade() after 7 years it should not be required anymore | Mario | 2024-10-18 | 1 | -35/+0 |
| | |||||
* | Merge branch 'fix-cleanup-bbcode-url-regex' into 'dev' | Mario | 2024-10-12 | 2 | -19/+16 |
|\ | | | | | | | | | Fix naked URLs immediately followed by a newline See merge request hubzilla/core!2150 | ||||
| * | Fix some whitespace issues in zid.php. | Harald Eilertsen | 2024-10-12 | 1 | -14/+14 |
| | | | | | | | | No functional change. | ||||
| * | Fix regex to detect URLs in cleanup_bbcode. | Harald Eilertsen | 2024-10-12 | 1 | -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 clones | Mario Vavti | 2024-10-12 | 1 | -1/+3 |
|/ | |||||
* | Merge branch 'markdown/dont-link-urls-in-code-blocks' into 'dev' | Mario | 2024-10-02 | 1 | -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 Eilertsen | 2024-09-30 | 1 | -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 Vavti | 2024-10-02 | 1 | -21/+19 |
|/ | | | | but the previous logic was throwing error in postgresql (while the result was correct anyway) | ||||
* | whitespace | Mario | 2024-09-19 | 1 | -1/+0 |
| | |||||
* | prefer token if available | Mario | 2024-09-19 | 2 | -16/+15 |
| | |||||
* | Adjust fix_attached_permissions() so that if we got a token, we will just ↵ | Mario | 2024-09-18 | 2 | -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 primetime | Mario | 2024-09-18 | 1 | -1/+1 |
| | |||||
* | allow uploading to comments if ocap tokens are enabled | Mario | 2024-09-18 | 1 | -7/+13 |
| | |||||
* | refactor get_security_ids() to remove some legacy code from the zot/zot6 ↵ | Mario | 2024-09-18 | 1 | -36/+41 |
| | | | | transition and re-add scope sql to item_permissions_sql() | ||||
* | improved content and comment collapse/expand rendering | Mario | 2024-08-04 | 1 | -4/+4 |
| | |||||
* | streamline location rendering | Mario | 2024-08-02 | 1 | -4/+8 |
| | |||||
* | fa2bi fixes | Mario | 2024-08-02 | 1 | -4/+4 |
| | |||||
* | fa2bi: catch some remains | Mario | 2024-08-02 | 3 | -5/+5 |
| | |||||
* | fa2bi: some sed woodoo on templates and manual fixes in js and php files | Mario | 2024-08-02 | 1 | -1/+1 |
| | |||||
* | fix html2bbcode table and add test | Mario | 2024-08-02 | 1 | -5/+2 |
| | |||||
* | fa2bi continued | Mario | 2024-07-31 | 1 | -37/+37 |
| | |||||
* | fa2bi continued | Mario | 2024-07-30 | 1 | -18/+7 |
| | |||||
* | fa2bi continued | Mario | 2024-07-29 | 1 | -4/+4 |
| | |||||
* | this will be a longer journey - we will start to use bootstrap icons now ↵ | Mario | 2024-07-23 | 1 | -7/+7 |
| | | | | since forkawesome is dead | ||||
* | some cleanup | Mario | 2024-07-23 | 1 | -7/+8 |
| | |||||
* | the tag_deliver permission is not used anymore | Mario | 2024-07-23 | 1 | -3/+0 |
| | |||||
* | make sure to failà the tgroup_check() for group posts if they do not have ↵ | Mario | 2024-07-23 | 1 | -2/+1 |
| | | | | the post_wall permission. | ||||
* | item buttons redesign - initial checkin | Mario | 2024-07-22 | 1 | -15/+13 |
| | |||||
* | fix wrong logic after last commit | Mario | 2024-07-04 | 1 | -1/+1 |
| | |||||
* | revert the strlen check | Mario | 2024-07-04 | 1 | -1/+1 |
| | |||||
* | fix possible php error | Mario | 2024-07-04 | 1 | -1/+7 |
| | |||||
* | fix issue where event items were parsed multiple times | Mario | 2024-06-21 | 1 | -4/+9 |
| | |||||
* | Merge branch 'misc-fixes' into 'dev' | Mario | 2024-06-17 | 1 | -6/+9 |
|\ | | | | | | | | | Add module test helper expectRedirectTo + api docs See merge request hubzilla/core!2138 | ||||
| * | Refactor is_local_url() and add api doc. | Harald Eilertsen | 2024-06-16 | 1 | -6/+9 |
| | | |||||
* | | Use empty() to check if array entry exist in create_identity. | Harald Eilertsen | 2024-06-14 | 1 | -2/+2 |
| | | |||||
* | | Allow passing callable as array to hooks. | Harald Eilertsen | 2024-06-14 | 1 | -10/+11 |
|/ | |||||
* | Fix warnings exposed by tests. | Harald Eilertsen | 2024-06-13 | 1 | -1/+2 |
| | | | | Mainly missing variables for templates, and channel entries. | ||||
* | docu and remove superfluous break statement after return statement | Mario | 2024-06-13 | 1 | -3/+1 |
| | |||||
* | Merge branch 'fix-test-warnings' into 'dev' | Mario | 2024-06-13 | 1 | -3/+4 |
|\ | | | | | | | | | Fix test warnings See merge request hubzilla/core!2134 | ||||
| * | includes/menu: Fix timestamp handling in menu_create. | Harald Eilertsen | 2024-06-12 | 1 | -3/+4 |
| | | | | | | | | | | Referencing undefined array keys are not allowed anymore, so we need to check whether they exist first. | ||||
* | | duplicate array key | Mario | 2024-06-10 | 1 | -1/+0 |
| | | |||||
* | | too many args | Mario | 2024-06-10 | 1 | -2/+2 |
| | | |||||
* | | fix wrong variable | Mario | 2024-06-10 | 1 | -1/+1 |
| | | |||||
* | | docu | Mario | 2024-06-10 | 1 | -2/+2 |
| | | |||||
* | | docu | Mario | 2024-06-10 | 1 | -2/+2 |
| | |