Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | | |||||
* | | fix updated not supported in wrapper function | Mario | 2024-06-10 | 1 | -2/+2 |
| | | |||||
* | | docu and declare return type for t() | Mario | 2024-06-10 | 1 | -2/+2 |
| | | |||||
* | | remove superfluous param, fix wrong var and declare types for unparse_url() | Mario | 2024-06-10 | 1 | -3/+3 |
| | | |||||
* | | adjusting to the wrong direction when exporting ical and do not use Z ↵ | Mario | 2024-06-05 | 1 | -2/+2 |
| | | | | | | | | because timezone is attached | ||||
* | | Merge branch 'disable-mfa-for-dav-and-cdav' into 'dev' | Mario | 2024-06-05 | 1 | -2/+35 |
|\ \ | | | | | | | | | | | | | Skip checking MFA status for WebDAV and CardDAV requests. See merge request hubzilla/core!2131 | ||||
| * | | Skip checking MFA status for WebDAV and CardDAV requests. | Harald Eilertsen | 2024-06-05 | 1 | -2/+35 |
| |/ | |||||
* / | Fix default timeouts for z_(fetch|post)_url. | Harald Eilertsen | 2024-05-29 | 1 | -3/+3 |
|/ | | | | | | | | | | | | | | | | | | When fetching the default timouts from config, the result is converted to an int via `intval()`, the result of that again is compared strictly to `false`. Since 0 !== false, the default values will never be used, and 0 (no timeout) is passed to curl. This cause requests to hang indefinitely (or until they are killed) when receiving actions that require a lookup or fetch to another site as part of the request processing. (E.g webfinger, or fetching objects that we received an announce action for.) This again cause the request never to return a useful status to the site sending the action, and could cause them to think the Hubzilla site is dead. This patch fixes this by comparing the fetched value from config to 0 instead of false, making the defaults work again if the config is not set (or set to 0). | ||||
* | remove p tags from li. otherwise we will get unwanted new lines in the list. ↵ | Mario | 2024-05-08 | 1 | -0/+5 |
| | | | | add test. | ||||
* | more fixes for issue #1843 | Mario | 2024-05-08 | 2 | -10/+7 |
| | |||||
* | add bbcode support for the HTML5 del tag | Mario | 2024-05-07 | 2 | -1/+5 |
| |