aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/api/ApiUtils.php
Commit message (Collapse)AuthorAgeFilesLines
* Better support for notes permalinkArthurHoaro2020-07-281-1/+1
|
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-181-43/+36
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-171-0/+4
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-241-1/+1
| | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* Optimize and cleanup importsVirtualTam2019-01-131-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Http\Base64UrlVirtualTam2019-01-121-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Implements Tags endpoints for Shaarli's REST APIArthurHoaro2018-06-041-0/+16
| | | | | | | | | | | | Endpoints: * List All Tags [GET] * Get a tag [GET] * Update a tag [PUT] * Delete a tag [DELETE] Fixes #904 References shaarli/api-documentation#34
* REST API: implement PUT methodArthurHoaro2017-05-071-0/+26
| | | | | * Related to #609 * Documentation: http://shaarli.github.io/api-documentation/#links-link-put
* REST API: implement POST link serviceArthurHoaro2017-03-271-2/+33
|
* Merge pull request #727 from ArthurHoaro/api/getlinksArthurHoaro2017-01-151-0/+31
|\ | | | | REST API: implement getLinks service
| * REST API: implement getLinks serviceArthurHoaro2017-01-151-0/+31
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-links-collection-get
* | API: fix JWT signature verificationVirtualTam2017-01-041-7/+5
|/ | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/shaarli/Shaarli/issues/737 Added: - Base64Url utilities Fixed: - use URL-safe Base64 encoding/decoding functions - use byte representations for HMAC digests - all JWT parts are Base64Url-encoded See: - https://en.wikipedia.org/wiki/JSON_Web_Token - https://tools.ietf.org/html/rfc7519 - https://scotch.io/tutorials/the-anatomy-of-a-json-web-token - https://jwt.io/introduction/ - https://en.wikipedia.org/wiki/Base64#URL_applications - https://secure.php.net/manual/en/function.base64-encode.php#103849 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* REST API structure using Slim frameworkArthurHoaro2016-12-151-0/+51
* REST API routes are handle by Slim. * Every API controller go through ApiMiddleware which handles security. * First service implemented `/info`, for tests purpose.