Commit graph

24509 commits

Author SHA1 Message Date
Hypolite Petovan 66d4e5ce5f Remove wrap length in Babel HTML::toPlaintext display 2019-08-06 21:23:09 -04:00
Hypolite Petovan d32de58e34 Add test case to avoid trimming empty image tags 2019-08-06 21:22:46 -04:00
Hypolite Petovan 246894f233 Ensure trimmed HTML nodes are text nodes in HTML::toBBCode 2019-08-06 21:22:19 -04:00
Hypolite Petovan e3ce18ebcf
Merge pull request #7484 from tobiasd/20190806-messagespo
regen messages.po
2019-08-06 10:59:26 -04:00
Tobias Diekershoff 71d1703556 regen messages.po 2019-08-06 16:54:18 +02:00
Tobias Diekershoff dc85451b78
Merge pull request #7483 from MrPetovan/task/7474-html-to-bbcode
Fix bug removing spaces between hashtag links in HTML::toPlaintext
2019-08-06 16:50:00 +02:00
Hypolite Petovan 79374dbf7a Fix DOMNodeList length compatibility with PHP <7.2 in Content\Text\HTML 2019-08-06 09:00:32 -04:00
Philipp c6845a1fe4
Merge pull request #7481 from MrPetovan/task/7473-trending-tags
Add trending tags widget to community page
2019-08-06 14:54:42 +02:00
Hypolite Petovan d1db9bc8e6 Add test case for hashtag link list space removal 2019-08-06 08:21:26 -04:00
Hypolite Petovan 5dbf319e06 Fix bug removing spaces between hashtag links in HTML::toPlaintext 2019-08-06 08:20:48 -04:00
Hypolite Petovan 3e2f0e9ffa Feedback changes
- Import namespaces in mod/community
- Fix alignment in Content\Feature
- Add phpDoc to Widget\TrendingTags
2019-08-06 07:37:48 -04:00
Hypolite Petovan 9e8ae520b8 Move trending tags queries to Model\Term 2019-08-06 07:36:51 -04:00
Hypolite Petovan 4c45cb864a Update master translation strings file
- Fix gettext warning for empty string in Module\Item\Compose
2019-08-06 07:09:05 -04:00
Hypolite Petovan c399e40618 Add trending_tags additional feature + usage in mod/community 2019-08-06 07:09:04 -04:00
Hypolite Petovan a947bd0889 Add Trending Tags widget + template 2019-08-06 07:09:04 -04:00
Hypolite Petovan 6b7dfd0c71
Merge pull request #7465 from nupplaphil/task/dice_cache_lock
Refactor Cache/Lock to DICE
2019-08-06 07:05:07 -04:00
Tobias Diekershoff 951444e715
Merge pull request #7482 from annando/image-description
Support for multiple picture posts in API and connectors
2019-08-06 08:21:54 +02:00
Philipp Holzer 5442dfa21e
remove constructor parameter 2019-08-06 07:43:13 +02:00
Michael 27006f577c Support for multiple picture posts 2019-08-06 05:35:21 +00:00
Michael ae3c9eceed Support for posting multiple pictures via API 2019-08-06 05:34:04 +00:00
Tobias Diekershoff 9de014b683
Merge pull request #7480 from MrPetovan/develop
Revert using LIBXML_NOBLANKS
2019-08-06 06:39:00 +02:00
Hypolite Petovan 2ab43f94d8 Revert using LIBXML_NOBLANKS
- This removed all self-closing tags (img, br, etc...) from HTML sources
2019-08-05 20:57:03 -04:00
Hypolite Petovan 66f805a39e
Merge pull request #7479 from annando/image-description
Support for image descriptions and multiple image posts to external services
2019-08-05 13:26:10 -04:00
Hypolite Petovan da0c99a78a
Merge pull request #7477 from tobiasd/20190805-lng
DE, PL translation updates
2019-08-05 13:25:09 -04:00
Michael cbee91a61b Avoid a notice 2019-08-05 16:48:58 +00:00
Michael Vogel 7795fafdbf
Merge pull request #7478 from tobiasd/20190805-typo
Typo in setting description
2019-08-05 18:33:24 +02:00
Michael bdc07b4213 Added support for image descriptions and multiple image posts to external services 2019-08-05 16:27:45 +00:00
Tobias Diekershoff 3053cde210 Typo in setting description 2019-08-05 18:07:43 +02:00
Tobias Diekershoff 02d0bb24b3 DE translation update THX hoergen 2019-08-05 18:03:46 +02:00
Michael Vogel ad74580ad0
Merge pull request #7476 from tobiasd/20180805-issue7471
[frio] remove basepath form field from admin panel site page
2019-08-05 17:41:15 +02:00
Tobias Diekershoff 03e97db0fc PL translation update THX waldis 2019-08-05 17:35:23 +02:00
Tobias Diekershoff 035528c2be [frio] remove basepath form field from admin panel site page 2019-08-05 17:24:30 +02:00
Philipp Holzer 2e65b96cb4
Revert ProfilerTest 2019-08-05 09:22:06 +02:00
Philipp Holzer 9682cc440c
Using method-chaining for DICE 2019-08-05 09:03:12 +02:00
Michael Vogel a507963c7f
Merge pull request #7474 from MrPetovan/bug/7457-html-bbcode-plaintext
Fix HTML/BBCode::toPlaintext
2019-08-04 22:08:53 +02:00
Philipp Holzer a66580444f
Fixing sort of BaseURL usage for App & Cache usage 2019-08-04 20:01:15 +02:00
Philipp Holzer fba0574ec0
Switched to Classes for ApiTest 2019-08-04 18:50:24 +02:00
Hypolite Petovan 858f210c5a
Merge pull request #7463 from annando/alt-description
Respecting the "alt" description of images during import from HTML
2019-08-04 10:34:20 -04:00
Hypolite Petovan 515935b241 Add test case for this bug
- Fix whitespaces in MarkdownTest
2019-08-04 10:24:25 -04:00
Hypolite Petovan 4a85de4c19 Add HTML output panel to babel module 2019-08-04 10:22:49 -04:00
Hypolite Petovan c3e3e83a52 Improve BBCode:toPlaintext
- Fix issue where matching literal square brackets were removed with their content
- Fix issue where content without line feeds between BBCode tags would end up compacted in plain text
- Update extr calls to BBCode::toPlaintext in api
2019-08-04 10:22:23 -04:00
Philipp Holzer 3834d5e129
Renamed __toString() to getName() 2019-08-04 16:14:19 +02:00
Hypolite Petovan a0f77e1800 Improve HTML::toPlaintext
- Ignore empty trimmed text nodes
- Ignore anchor links
- Ignore blank tags and avoids adding a doctype to transitional DOM objects
2019-08-04 10:11:59 -04:00
Philipp Holzer d2211bd6dd
Removed some leftovers 2019-08-04 15:58:53 +02:00
Philipp Holzer 7cdcad9f6c
Remove unused class variable 2019-08-04 15:54:37 +02:00
Philipp Holzer 19777baa79
- Move constants to the "Cache" class (more transparent than inside the interface) 2019-08-04 15:53:28 +02:00
Philipp Holzer 34e4968c06
Adding possibility to use a different cache-backend for locking and caching
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
2019-08-04 15:42:39 +02:00
Michael d2b551a616 Merge remote-tracking branch 'upstream/develop' into alt-description 2019-08-04 12:07:21 +00:00
Hypolite Petovan d5fc4a268d
Merge pull request #7466 from annando/api-alt
API: We now transmit the text description there as well
2019-08-04 07:16:34 -04:00
Philipp Holzer 86bf2ee45a
Rename *CacheDriver to *Cache because they don't act as driver anymore 2019-08-04 10:26:53 +02:00