]> git.immae.eu Git - github/shaarli/Shaarli.git/commit - tests/bookmark/BookmarkFileServiceTest.php
Fix an issue with private tags and fix nomarkdown tag 1399/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 18 Jan 2020 10:33:23 +0000 (11:33 +0100)
committerArthurHoaro <arthur@hoa.ro>
Sat, 18 Jan 2020 10:39:26 +0000 (11:39 +0100)
commita39acb2518f272df8a601af72c13eabe2719dcb8
treefb8bda9de5bea9d73553c3d54610eb211d7de6fb
parent3fb29fdda04ca86e04422d49b86cf646d53c4f9d
Fix an issue with private tags and fix nomarkdown tag

The new bookmark service wasn't handling private tags properly.

nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists.

Fixes #726
13 files changed:
application/bookmark/BookmarkFileService.php
application/formatter/BookmarkDefaultFormatter.php
application/formatter/BookmarkFormatter.php
application/formatter/BookmarkMarkdownFormatter.php
application/formatter/FormatterFactory.php
index.php
tests/bookmark/BookmarkFileServiceTest.php
tests/feed/FeedBuilderTest.php
tests/formatter/BookmarkDefaultFormatterTest.php
tests/formatter/BookmarkMarkdownFormatterTest.php
tests/formatter/BookmarkRawFormatterTest.php
tests/formatter/FormatterFactoryTest.php
tests/netscape/BookmarkExportTest.php