| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Handle pagination through BookmarkService
|
| |
| |
| |
| |
| |
| |
| | |
Handle all search results through SearchResult object.
This is a required step toward implementing a BookmarkService based on SQL database.
Related to #953
|
|/
|
|
|
|
|
|
|
|
| |
DefaultFormatter:
- format 'a' tag content and not href attribute
- format hashtags properly
Markdown(Extra)Formatter:
- Extend Parsedown to format highlight properly: https://github.com/erusev/parsedown/wiki/Tutorial:-Create-Extensions
Fixes #1681
|
|
|
|
|
|
| |
Use either legacy key _PAGE_ or new 'template' one.
Related to https://github.com/kalvn/Shaarli-Material/issues/118
|
|
|
|
|
|
| |
Currently the cache is only invalidated when the datastore changes, while it should rely on selected period of time.
Fixes #1659
|
|\
| |
| | |
Daily RSS - Remove relative description (today, yesterday)
|
| |
| |
| |
| | |
It is not useful for the RSS feed, as every new entry will be 'yesterday', and it requires an update the next day.
|
|/
|
|
|
|
| |
And display the error in server admin page
Fixes #1650
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
So it allows to have multiple words tags.
Breaking change: commas ',' are no longer a default separator.
Fixes #594
|
|/
|
|
|
|
|
| |
It makes more sense to display the error even if it's unexpected.
Only for logged in users.
Fixes #1606
|
|
|
|
|
|
|
|
|
| |
- Heavy refactoring of DailyController
- Add a banner like in tag cloud to display monthly and weekly links
- Translations: t() now supports variables with optional first letter
uppercase
Fixes #160
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|\
| |
| | |
Feature: add a Server administration page
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |/
| |
| |
| | |
Fixes #1122
|
|/
|
|
| |
Related to #1598
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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 #1554
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
Use 404 template instead of default Slim error page if the route is not found.
Fixes #827
|
|\
| |
| | |
Inject BookmarkServiceInterface in plugins data
|
| |
| |
| |
| | |
Related discussion: ilesinge/shaarli-related#7
|
|/
|
|
|
|
|
| |
LegacyRouter is no longer used for routing, only in existing plugins to match the _PAGE_ parameter.
So we change a few of its values there, to match the new ones defined in TemplatePage.
@see discussion in shaarli/Shaarli#1537
|
|
|
|
|
| |
If a PHP is raised while executing plugin hook, Shaarli will display an error instead of rendering the error page (or just ending in fatal error for default hooks).
Also added phpErrorHandler which is handled differently that regular errorHandler by Slim.:
|
| |
|
|
|
|
| |
Also handle authentication check in a new middleware for the admin group.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
- Reorganize visitor controllers
- Fix redirection with Slim's requests base path
- Fix daily links
|