| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
Change DB_Upgrade to a static function instead.
See merge request hubzilla/core!2151
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
No need for this to be an object, since it's never referenced or even
kept after construction. Further all the functionality was in the
constructor anyways.
Also removed some unused properties.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
tests: Tests for BBCode cleanup fix
See merge request hubzilla/core!2152
|
| | |/
| |/|
| | |
| | | |
Somehow I forgot to include this in the patch that fixed the issue.
|
|/ / |
|
| |
| |
| |
| | |
will be checked in item_store() anyway)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Fix naked URLs immediately followed by a newline
See merge request hubzilla/core!2150
|
| |
| |
| |
| | |
No functional change.
|
| |
| |
| |
| |
| |
| |
| | |
This makes the configuration used align better with how it is being used
in the mdpost addon. This also reveals some issues that are less than
ideal for Markdown posts. The relevant test cases have been adjusted to
pass with the new config, but have been commented.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | | |
Remove addon repo management from admin/addons.
See merge request hubzilla/core!2149
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This functionality was broken anyways, and needs to be rethought. Addon
reporitories can still be managed from the terminal using the tools in
util/.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove HTML5 parser lib deprecated in Hubzilla 5.0
See merge request hubzilla/core!2148
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
tests: Add some tests for the Zotlabs\Magic module.
See merge request hubzilla/core!2147
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Only tests the delegate functionality at the moment.
This patch also includes some minor fixes to the Magic module, triggered
by the tests with empty destination URL's.
|
| |_|/
|/| | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/| |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
tests: Add a basic test for ActivityStreams
See merge request hubzilla/core!2146
|
| |
| |
| |
| |
| | |
This is just a basic test that parses a specific object, and tests that
all the referenced objects are fetched from the originating servers.
|
|\ \
| | |
| | |
| | |
| | | |
markdown: Don't link URLs in code blocks.
See merge request hubzilla/core!2145
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| |/
|/|
| |
| | |
but the previous logic was throwing error in postgresql (while the result was correct anyway)
|
| | |
|