]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Fix PATCH method
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 30 Jun 2017 14:54:26 +0000 (16:54 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 3 Jul 2017 11:45:04 +0000 (13:45 +0200)
commita05b61159e147776f63baee731b5026796e5f7ae
tree80dae1ea169f3fb072a7aa2072f24507e10e91ed
parent71e1cbc8eb5928d393b0772055d6b711e90a09b3
Fix PATCH method

The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before.
Also, sending tags when patching an entry will now remove all current tags & assocatied new ones.
src/Wallabag/ApiBundle/Controller/EntryRestController.php
src/Wallabag/CoreBundle/Entity/Entry.php
src/Wallabag/CoreBundle/Helper/ContentProxy.php
tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php
tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php