| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
|
|
|
|
|
|
| |
Regression introduced by #1596
Fixes #1623
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes creates a new form in addlink page allowing to create
multiple bookmarks at once more easily. It focuses on re-using as much
existing code and template component as possible.
These changes includes:
- a new form in addlink (hidden behind a button by default),
containing a text area for URL, and tags/private status to apply to
created links
- this form displays a new template called editlink.batch, itself
including editlink template multiple times
- User interation in this new templates are handle by a new JS script
(shaare-batch.js) making AJAX requests, and therefore does not need page
reloading
- ManageShaareController has been split into 3 distinct controllers:
+ ShaareAdd: displays addlink template
+ ShaareManage: various operation applied on existing shaares
(change visibility, pin, deletion, etc.)
+ ShaarePublish: handles creation/edit forms and saving Shaare's
form
- Updated translations
Fixes #137
|
|
|
|
|
|
|
|
|
|
|
|
| |
It contains mostly read only information about the current Shaarli instance,
PHP version, extensions, file and folder permissions, etc.
Also action buttons to clear the cache or sync thumbnails.
Part of the content of this page is also displayed on the install page,
to check server requirement before installing Shaarli config file.
Fixes #40
Fixes #185
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|/
|
|
| |
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
|