| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Related to #1603
|
|\
| |
| | |
Asynchronous retrieval of bookmark's thumbnails
|
|/
|
|
|
|
|
|
|
| |
This feature is based general.enable_async_metadata setting and works with existing metadata.js file.
The script is compatible with any template:
- the thumbnail div bloc must have attribute
- the bookmark bloc must have attribute with the bookmark ID as value
Fixes #1564
|
|\ |
|
| |
| |
| |
| |
| | |
- Use dedicated function to download headers to avoid apply multiple regexps on headers
- Also try to extract title from meta tags
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- There is a new standalone script (metadata.js) which requests
a new controller to get bookmark metadata and fill the form async
- This feature is enabled with the new setting: general.enable_async_metadata
(enabled by default)
- general.retrieve_description is now enabled by default
- A small rotating loader animation has a been added to bookmark inputs
when metadata is being retrieved (default template)
- Custom JS htmlentities has been removed and mathiasbynens/he
library is used instead
Fixes #1563
|
|\ \ |
|
| | | |
|
|/ / |
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
How it works:
1. when a fulltext search is made, Shaarli looks for the first
occurence position of every term matching the search. No change here,
but we store these positions in an array, in Bookmark's additionalContent.
2. when formatting bookmarks (through BookmarkFormatter
implementation):
1. first we insert specific tokens at every search result positions
2. we format the content (escape HTML, apply markdown, etc.)
3. as a last step, we replace our token with displayable span
elements
Cons: this tightens coupling between search filters and formatters
Pros: it was absolutely necessary not to perform the
search twice. this solution has close to no impact on performances.
Fixes #205
|
|\ \
| | |
| | | |
Improve Manage tags page
|
|/ /
| |
| |
| | |
Fixes #1125
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Shaarli can be fully used by prefixing any URL with /index.php/
- {$base_path} used in templates already works with this configuration
- Assets path (outside of theme's assets) must be prefixed with {$root_url}/
- Documentation section in « Server configuration »
Fixes #1590
|
|\ \ \
| |_|/
|/| | |
Strict types: fix an issue in daily where the date could be an int
|
| |/ |
|
|\|
| |
| | |
Doc: add PHP 7.4 and 8.0 as supported version
|
|/ |
|
|\
| |
| | |
Add strict types for bookmarks management
|
|/
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Add mutex on datastore I/O operations
|
|/
|
|
|
|
| |
To make sure that there is no concurrent operation on the datastore file.
Fixes #1132
|
|\
| |
| | |
Improve regex to extract HTML metadata (title, description, etc.)
|
| |
| |
| |
| |
| |
| | |
Also added a bunch of tests to cover more use cases.
Fixes #1375
|
|\ \
| | |
| | | |
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
|
|\ \ \
| | | |
| | | | |
Add Markdown Extra formatter
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Library: [Parsedown Extra](https://github.com/erusev/parsedown-extra)
Also sort dependencies alphabetically.
Fixes #1169
|
| | | |
|
|\ \ \
| | | |
| | | | |
CHANGELOG and AUTHORS for v0.12.0
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
CHANGELOG and AUTHORS for v0.12.0-beta-2
|
|/ / / |
|
|\ \ \
| | | |
| | | | |
Security: fix multiple XSS vulnerabilities + fix search tags with special chars
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list.
Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
|
|\ \ \
| | | |
| | | | |
Fix #1437 - Make tag cloud/list views buttons more obvious
|
| | | |
| | | |
| | | |
| | | | |
This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
|
|\ \ \ \
| | | | |
| | | | | |
docker-compose.yml: pin traefik image to 1.7-alpine
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
- fixes https://github.com/shaarli/Shaarli/issues/1493
- https://hub.docker.com/_/traefik/
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|