| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Endpoints:
* List All Tags [GET]
* Get a tag [GET]
* Update a tag [PUT]
* Delete a tag [DELETE]
Fixes #904
References shaarli/api-documentation#34
|
|
|
|
| |
PHPUnit 4.x contains deprecated PHP functions in PHP 7.2.
|
|
|
|
|
|
|
| |
- when searching for tags you can now include '*' as wildcard placeholder
- new search reduces overall overhead when filtering for tags
- fixed combination with description tag search ('#' prefix)
- tests added
|
|\
| |
| | |
Empty tag search will look for not tagged links
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #784
From now, searching for tags with an empty value will return only not tagged links,
with the search bar showing `x results [not tagged]`.
Note that using the api, the searchtags request parameter must be set to `false` to get the same result.
- [ ] Update API doc
|
| |
| |
| |
| | |
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
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Namespaces have been introduced with the REST API, and should be generalized
to the whole codebase to manage object scope and benefit from autoloading.
See:
- https://secure.php.net/manual/en/language.namespaces.php
- http://www.php-fig.org/psr/psr-4/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
See http://shaarli.github.io/api-documentation/#links-link-get
|
| |
|
|
|
|
| |
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.
|