]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
REST API: allow override of creation and update dates 1525/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 29 Aug 2020 09:45:08 +0000 (11:45 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 29 Aug 2020 09:45:08 +0000 (11:45 +0200)
commitb06fc28aa32f477e1785cd998385fdb490bc5ebf
tree65daa380574c5452a3e3c5679ea438115b4fb3bb
parentbea062149ebcb4663861edb1cc0a32faf85b273f
REST API: allow override of creation and update dates

Note that if they're not provided, default behaviour will apply:
creation and update dates will be autogenerated, and not empty.

Fixes #1223
application/api/ApiUtils.php
application/api/controllers/ApiController.php
application/api/controllers/Links.php
tests/api/controllers/links/PostLinkTest.php