| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
| |
| |
| |
| | |
Also fixed the regex to support this failing header: charset="utf-8"\r\n"
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Used @nodiscc suggestion in #1148 (slightly edited).
It provides a description of what Shaarli does, Markdown rendering demo, and a thumbnail link.
Fixes #1148
|
|/
|
|
|
|
| |
This filter (links by day) didn't apply any visibility parameter.
Fixes #1543
|
|
|
|
| |
Fixes #1485
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Including a bunch of improvements on the container,
and helper used across new controllers.
|
| |
|
|
|
|
| |
The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
And update dependencies and tests.
Note that SESSION['tags'] has been removed a log ago
|
| |
|
|
|
|
|
|
|
|
| |
The new bookmark service wasn't handling private tags properly.
nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists.
Fixes #726
|
|
|
|
| |
See #1307
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307 for details
|
|
|
|
| |
Fixes #1348
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the option is enabled, it will try to find a meta tag containing
the page description and keywords, just like we do for the page title.
It will either look for regular meta tag or OpenGraph ones.
The option is disabled by default.
Note that keywords meta tags is mostly not used.
In `configure` template, the variable associated with this setting
is `$retrieve_description`.
Fixes #1302
|
|\
| |
| | |
Do not try to retrieve thumbnails for internal link
|
| |
| |
| |
| | |
Also adds a helper function to determine if a link is a note and apply it across multiple files.
|
|\ \
| | |
| | | |
Fix a warning if links sticky status isn't set
|
| |/
| |
| |
| |
| | |
- initiate its status to false when the link is created
- if not defined, initiate its status to false (can happen if the updater hasn't run)
|
|/
|
|
| |
Fixes #1239
|
|
|
|
| |
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>
|