| 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
|
|
|
|
| |
Fixes #1125
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This work alters the markup and CSS for the tag sort UI to match the button feel filters and links per page uses.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones.
- Upgrade webpack from 3.x to 4.x
- Moved babel package to main repo
- Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin
- Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin
- Replaced deprecated node-sass with (dart) sass package
- Replaced deprecated sass-lint with stylelint (the rules might be a bit different
Related to #1531: trivy doesn't raise any more issue
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
This allow users to submit the form multiple times, because there is no actual browser redirection to the page.
Fixes #1532
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also prefix most admin routes with /admin/
|
|
|
|
|
|
|
| |
With the new routes, all pages are not all at the same folder level anymore
(e.g. /shaare and /shaare/123), so we can't just use './' everywhere.
The most consistent way to handle this is to prefix all path with the proper variable,
and handle the actual path in controllers.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See https://github.com/shaarli/Shaarli/issues/1307
|
|
|
|
|
| |
For some reason, bLazy won't load the image if the img block has
either 0 height or width.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Adds a new core plugin to override default template colors
* Adds a new hook when plugin settings are saved
(`save_plugin_parameters`)
* Use CSS native variables for main colors instead of SASS variables
* Disable SASS sort order rules due to a bug in the plugin
Fixes #1312
|
|\
| |
| | |
Add print CSS rules to the default template
|
| |
| |
| |
| |
| |
| |
| | |
Fixes #1291
* Display the header bar only on the first page
* Hide search bars, pagination buttons, filters, and edit/delete buttons
|
|/
|
|
| |
And use the Shaarli icon made by @xuv in the header and footer (default template).
|
|\
| |
| | |
Slightly lighten visited link color
|
| |
| |
| |
| | |
To make it more visible in the middle of raw text.
|
|\ \
| | |
| | | |
Display sticky label in linklist
|
| |/
| |
| |
| | |
Add sticky label, like private label, in linklist to make it more visible.
|
|\ \
| |/
|/| |
Bulk action: set visibility
|
| |
| |
| |
| |
| |
| | |
Added 2 buttons when link checkboxes are checked to set them either public or private.
Related to #572 #1160
|
|/ |
|
|\
| |
| | |
Add a button to toggle all checkboxes of displayed links
|
| |
| |
| |
| | |
Related to #1160
|
| | |
|
| |
| |
| |
| |
| |
| | |
Meaning that they always appear on top of all links
Fixes #186
|
|/
|
|
| |
Fixes #1214
|
| |
|
|
|
|
|
|
| |
Firefox Social support has been dropped in Firefox 57.
Related to #1023
|
|
|
|
|
|
|
|
| |
- add a default thumb size value (125x90px)
- improve private vertical bar visual, especially with thumbnails
- translations
- add a sync thumbs button in tool and empty picwall page
- fixes WT download mode in JSON config
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* requires PHP 5.6
* use blazy on linklist since a lot more thumbs are retrieved
* thumbnails can be disabled
* thumbs size is now 120x120
* thumbs are now cropped to fit the expected size
Fixes #345 #425 #487 #543 #588 #590
|
| |
|
| |
|
|
|