| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Parameters typing and using strict types overall increase the codebase
quality by enforcing the a given parameter will have the expected type.
It also removes the need to unnecessary unit tests checking methods
behavior with invalid input.
|
|
|
|
|
|
|
| |
Note that if they're not provided, default behaviour will apply:
creation and update dates will be autogenerated, and not empty.
Fixes #1223
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Endpoints:
* List All Tags [GET]
* Get a tag [GET]
* Update a tag [PUT]
* Delete a tag [DELETE]
Fixes #904
References shaarli/api-documentation#34
|
|
|
|
| |
See https://www.php-fig.org/psr/psr-2/\#51-if-elseif-else
|
| |
|
|
|
|
| |
CHANGED: datetime is now store as an object in history store file
|
|
|
|
| |
See http://shaarli.github.io/api-documentation/#links-history-get
|
|
|
|
|
|
| |
Based on #840
See http://shaarli.github.io/api-documentation/\#links-link-delete
|
|
|
|
|
| |
* Related to #609
* Documentation: http://shaarli.github.io/api-documentation/#links-link-put
|
| |
|
|
|
|
| |
See http://shaarli.github.io/api-documentation/#links-link-get
|
| |
|
|
|
|
|
|
| |
No update regarding the UI or the API for now
Fixes #758
|
|
|
|
| |
See http://shaarli.github.io/api-documentation/#links-links-collection-get
|
|
* REST API routes are handle by Slim.
* Every API controller go through ApiMiddleware which handles security.
* First service implemented `/info`, for tests purpose.
|