| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
- Add a share link next to « Permalink » in linklist (using share icon
from fork awesome)
- This link generates a private key associated to the bookmark
- Accessing the bookmark while logged out with the proper key will
display it
Fixes #475
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #1347
|
|
|
|
|
| |
Including a bunch of improvements on the container,
and helper used across new controllers.
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
| |
put back the link on the thumbmail and fix a11y
|
| |
|
|
|
|
|
|
|
| |
Fixes #1291
* Display the header bar only on the first page
* Hide search bars, pagination buttons, filters, and edit/delete buttons
|
|\
| |
| | |
Display sticky label in linklist
|
| |
| |
| |
| | |
Add sticky label, like private label, in linklist to make it more visible.
|
|/ |
|
|
|
|
|
|
| |
The lang is based on the user defined one. If the language is automatic, no language will be specified.
Fixes #1216
|
|\
| |
| | |
Add a button to toggle all checkboxes of displayed links
|
| |
| |
| |
| | |
Related to #1160
|
|\ \
| | |
| | | |
Fix a bug making thumbnail to request the current page
|
| |/ |
|
| | |
|
|/
|
|
|
|
| |
Meaning that they always appear on top of all links
Fixes #186
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Reduce multiple margins (markdown, space between block, etc.)
* Move thumbnails to the right in the same line as the title
* Move edit button as floating to the left
* Move fold/collapse and checkbox buttons as floating to the right
* Add a bunch of HTML ID in the linklist template
Relates to #877
|
|
|
|
|
|
|
|
|
| |
* translation system and unit tests
* Translations everywhere
Dont use translation merge
It is not available with PHP builtin gettext, so it would have lead to inconsistency.
|
| |
|
|\
| |
| | |
Empty tag search will look for not tagged links
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #784
From now, searching for tags with an empty value will return only not tagged links,
with the search bar showing `x results [not tagged]`.
Note that using the api, the searchtags request parameter must be set to `false` to get the same result.
- [ ] Update API doc
|
|/
|
|
|
|
|
| |
* Add a checkboxes in linklist which display a sub-header containing action buttons
* Strongly rely on JS
* Requires a modern browser (ES6 syntax support)
* Checkboxes are hidden if the browser is old or JS disabled
|
|
|
|
| |
data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use php-intl extension to display datetimes a bit more nicely, depending on the locale.
What changes:
* the day is no longer displayed
* day number and month are ordered according to the locale
* the timezone is more readable (UTC+1 instead of CET)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add API settings in `configure.html`
* Fix textarea autoresize
* Load user.css from data folder
* Move fold/expand all button to the right and fix an issue with already folded items
* Reset datetime display to international datetime
* Temporarilly remove JS login panel (need improvement and integration with the plugin system)
* Body background is slightly lighter
* Fix an issue where thumbnails were hidden by description
* Fix an issue where private orange bar wasn't displayed with thumbnails
* Remove the gradient bar behind titles
* Fix empty bookmarklet name in Firefox
|
| |
|
| |
|
|
|