Commit graph

512 commits

Author SHA1 Message Date
Michael 7d4b11b450 Preparation to add Bluesky 2023-05-21 17:19:39 +00:00
Michael 1010443031 Simplify image url 2023-05-17 20:30:45 +00:00
Michael 8b264c38fe Unify the heading levels 2023-05-17 08:17:23 +00:00
Michael bb3ec3807c Harmonize Youtube/Vimeo-Link behaviour 2023-04-18 06:02:58 +00:00
Michael db85180d1e Fix more standards 2023-04-06 19:55:41 +00:00
Michael 2f7e22c4f7 Fix code standards 2023-04-06 19:53:52 +00:00
Michael e807da9d66 Media elements added 2023-04-05 20:08:53 +00:00
Michael 88cc788c9b Fixed NPF, new OAuth library added 2023-04-04 22:21:27 +00:00
Michael 6957c3e5c8 Deactivated not working stuff 2023-04-02 19:53:58 +00:00
Michael 63d0c88c5a Deactivate the attributes 2023-04-02 09:09:55 +00:00
Michael 0c7be66d79 No call by reference anymore 2023-04-01 23:17:39 +00:00
Michael 70092a1aff Reworked parser 2023-04-01 21:51:30 +00:00
Michael 5f683df711 Nested blocks 2023-03-29 14:54:43 +00:00
Michael 459a7099ca Improved NPF 2023-03-28 05:25:33 +00:00
Michael c4c80ed3cc Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-03-27 06:42:24 +00:00
Michael aca4b2eaae Added support for "Tumblr Neue Post Format" 2023-03-27 06:40:22 +00:00
Josh Soref 765891f070 spelling: widget
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 7c5815f14e spelling: trimmed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref 33f2e933e2 spelling: possibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 3218db1f10 spelling: needn't
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Michael 9f11d189c8 Issue 12842: Use BBCode elements that are Markdown agnostic 2023-03-21 20:32:34 +00:00
Michael 7e6ba0b4d2 Tests added 2023-03-21 04:20:03 +00:00
Michael 0f9099dec6 Issue 12701: Fix Markdown problems with Quotes 2023-03-20 21:33:39 +00:00
Michael b7288b2bfd Merge remote-tracking branch 'upstream/2023.03-rc' into remove-tab 2023-03-20 04:16:52 +00:00
Michael f65c71a25b Restructured replacements 2023-03-20 04:10:35 +00:00
Michael 12d2de2c93 Remove tabs if followed by new lines (or vice versa) 2023-03-19 20:16:41 +00:00
Hypolite Petovan 1ce438e964 Rework new lines around list BBCode
- Remove blanket new lines remover in HTML::toBBCode
- Add test to ensure the commutativity of the markups
2023-03-18 23:35:51 -04:00
Hypolite Petovan 200bdb55ba Normalize [ul] and [ol] BBCode output to <ul> and <ol> HTML tags 2023-03-18 23:35:51 -04:00
Michael e73d1e13c2 Issue 12870: Support for zmg elements from Hubzilla 2023-03-18 07:05:38 +00:00
Michael d058275723 Some tests added / ensure to have paragraphs 2023-03-17 17:40:22 +00:00
Michael dfaf3eee6b Only add paragraphs if needed 2023-03-17 12:33:13 +00:00
Michael 1146fca2cd HTML: Use paragraphs instead of double line breaks 2023-03-17 06:10:56 +00:00
Michael 2a752b37b1 The function "getAttachedData" is replaced by a simplified functionality 2023-03-13 05:04:55 +00:00
Michael e0fe3bf77d Fix plaintext function by partly reverting function removal 2023-03-06 18:00:58 +00:00
Michael 699be97ea1 Reformatted code 2023-03-06 06:15:30 +00:00
Michael aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
Michael eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
Michael 5f6503a73f Editing/removing of attached pictures is now possible via web 2023-02-27 07:47:31 +00:00
Philipp Holzer f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Michael ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +00:00
Hypolite Petovan b4cbe4250e Remove Text\BBCode::scaleExternalImage
- Image size is a CSS concern, not a PHP one
2023-01-23 20:40:20 -05:00
Hypolite Petovan 7e618856ab Replace deprecated use of "self" in callables
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
2023-01-21 14:25:21 -05:00
Hypolite Petovan 5e2b655b43 Add implementation of HTTP Media Type
- Add charset extraction from DOMDocument
- TESTS!
2023-01-10 10:36:58 -05:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan 91c4ab2359 Add new xpathQuote and checkRelMeLink methods to Content\Text\HTML class
- Add tests for both methods
2022-12-23 02:41:22 -05:00
Hypolite Petovan 39607b20e2 Convert custom profile field URL values to rel="me" links 2022-12-18 23:24:59 -05:00
Hypolite Petovan d609d70bd2 Exclude [attachment] from tag search 2022-12-16 20:06:37 -05:00
Hypolite Petovan 2497817c2a Ward against empty siteinfo in Text\BBCode::embedURL
- Address https://github.com/friendica/friendica/issues/11994#issuecomment-1349593196
2022-12-15 23:33:02 -05:00
Michael 539ac4f2b8 Fix "part" calculation for splitted posts 2022-12-10 21:23:21 +00:00
Michael 870fd1a52b ID added for list of images in a post 2022-12-10 19:08:56 +00:00