| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes https://github.com/shaarli/Shaarli/issues/668
Changed:
- let nginx rewrite API URLs
See:
- https://www.slimframework.com/docs/start/web-servers.html
- https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_split_path_info
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| |/
|/| |
API: fix JWT signature verification
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Bugfixes on link deletion, and use a GET form
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use a GET form to delete links: harmonize with edit_link and preparation for #585
Bug fixes:
* LinkDB element can't be passed as reference, fix error:
PHP Notice: Indirect modification of overloaded element of LinkDB has no effect
* Resource cache folder setting wasn't set correctly
|
|\ \
| | |
| | | |
Hide default ports in local URL behind a reverse proxy
|
| | | |
|
|\ \ \
| | | |
| | | | |
URL cleanup: add 'campaign_' to the annoying parameters
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Closes https://github.com/shaarli/Shaarli/issues/735
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \
| | | |
| | | | |
API: fix Slim namespaces
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \ \
| |_|/ /
|/| | | |
Fix fatal error during the install
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Add opensearch to RSS and ATOM feeds
|
| |/ /
| | |
| | |
| | | |
Fixes #709
|
|\ \ \
| |/ /
|/| | |
Fixes presence of empty tags for private tags and in search results
|
|/ /
| |
| |
| |
| |
| |
| | |
* Private tags: make sure empty tags are properly filtered
* Search results:
* Use preg_split instead of function combination
* Add normalize_spaces to remove extra whitespaces displaying empty tags search
|
|\ \
| | |
| | | |
Move Pubsubhub to a default plugin
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
REST API structure using Slim framework
|
| | |
| | |
| | |
| | |
| | |
| | | |
* REST API routes are handle by Slim.
* Every API controller go through ApiMiddleware which handles security.
* First service implemented `/info`, for tests purpose.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
API settings:
- api.enabled
- api.secret
The API settings will be initialized (and the secret generated) with an update method.
|
| |/
|/| |
|
|\ \
| | |
| | | |
Fixes can login function call in loginform.html
|
| |/
| |
| |
| | |
Fixes #711
|
|\ \
| |/
|/| |
Fix a regression: permalinks change when old links are edited
|
|/
|
|
| |
fixes #713
|
| |
|
|\
| |
| | |
Bump version to v0.8.1
|
|/
|
|
| |
Signed-off-by: ArthurHoaro <arthur@hoa.ro>
|
|\
| |
| | |
changelog: add release date for v0.8.1 and add section v0.9.0
|
| | |
|
|\|
| |
| | |
changelog update
|
|/ |
|
|\
| |
| | |
Link ID refactoring
|
| |
| |
| |
| |
| |
| |
| | |
All existing link will keep their permalinks.
New links will have smallhash generated with date+id.
The purpose of this is to avoid collision between links due to their creation date.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
creation and update dates are now DateTime objects.
Since this update is very sensitve (changing the whole database), the datastore will be automatically backed up into the file datastore.<datetime>.php.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Links now use an incremental unique numeric identifier.
This ID is persistent and must never change.
ArrayAccess is used to match the link ID with the array keys (see the comment in LinkDB for more details)
Key 'created' added, with creation date as a DateTime object. 'updated' is now also a DateTime.
|
|\ \
| |/
|/| |
Improve theme dependent plugin placeholders:
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- buttons_toolbar: now expect links represented by an array instead of HTML content
- fields_toolbar: now expect a form represented by an array instead of HTML content
- action_plugin: now expect links represented by an array instead of HTML content
Default templates updated accordingly
mprove theme dependent plugin placeholders:
|
|\ \
| | |
| | | |
Remove new line between content tag and CDATA in ATOM feed
|
| | |
| | |
| | |
| | | |
Content not starting directly with CDATA can be misinterpreted by some feed parsers.
|
|\ \ \
| | | |
| | | | |
Add latest merged changes to the CHANGELOG
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
Describe markdown HTML rendering and display a warning
|
| | |
| | |
| | |
| | | |
Fixes #688
|