| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This setting allows to escape HTML in markdown rendering or not.
The goal behind it is to avoid XSS issue in shared instances.
More info:
* the setting is set to true by default
* it is set to false for anyone who already have the plugin enabled
(avoid breaking existing entries)
* improve the HTML sanitization when the setting is set to false - but don't consider it XSS proof
* mention the setting in the plugin README
|
|\
| |
| | |
Link ID refactoring
|
| |
| |
| |
| |
| |
| |
| | |
All existing link will keep their permalinks.
New links will have smallhash generated with date+id.
The purpose of this is to avoid collision between links due to their creation date.
|
| | |
|
|\ \
| |/
|/| |
Improve theme dependent plugin placeholders:
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- buttons_toolbar: now expect links represented by an array instead of HTML content
- fields_toolbar: now expect a form represented by an array instead of HTML content
- action_plugin: now expect links represented by an array instead of HTML content
Default templates updated accordingly
mprove theme dependent plugin placeholders:
|
|\ \
| | |
| | | |
Describe markdown HTML rendering and display a warning
|
| | |
| | |
| | |
| | | |
Fixes #688
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* make sure we match exactly `nomarkdown` tag
* pass the whole link data to stripNoMarkdownTag() to:
* strip the noMD tag in taglist (array)
* strip the tag in tags (string)
Fixes #689
tmp
|
|/
|
|
| |
Add an alt attribute to images
|
|
|
|
|
|
| |
[PullRequest #677] Change after Review
Fix logic, my bad!
|
|
|
|
|
|
| |
Fixes #672
+ Markdown to HTML unit test
|
|
|
|
| |
Reference #613
|
|
|
|
| |
Use Isso client to let visitors comments on permalinks
|
|
|
|
|
|
|
|
| |
All plugins can optionally add an init function named `pluginname_init()` which is called when the plugin is loaded.
This function is aware of the config, and can return initialization errors, which are displayed in the header template.
Note that the previous error system hack no longer work.
|
|
|
|
| |
Fixes #637
|
|\
| |
| | |
Add a description to plugin parameters
|
| | |
|
|/
|
|
| |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Hashtag system
|
| |
| |
| |
| |
| |
| | |
* Hashtag are auto-linked with a filter search
* Supports unicode
* Compatible with markdown (excluded in code blocks)
|
|\ \
| |/
|/| |
Introduce a configuration manager
|
| | |
|
| | |
|
|/
|
|
| |
A private tag is never loaded for visitor, making this feature useless.
|
| |
|
| |
|
|\
| |
| | |
Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
|
| |
| |
| |
| |
| | |
* Add the `.nomarkdown` section.
* Update misleading statements.
|
| |
| |
| |
| |
| |
| | |
parsed with markdown
Also add the tag in tag list in edit_link, so it will appear on autocompletion.
|
|/
|
|
| |
Create an example of the new hook in the demo plugin.
|
| |
|
| |
|
|\
| |
| | |
Markdown: don't escape content + sanitize sensible tags
|
| |
| |
| |
| | |
Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
|
|/ |
|
| |
|
|
|
|
| |
Probably related to the introduction of .gitattribute with forced line ending.
|
|\
| |
| | |
Fixes #378 - Plugin administration UI.
|
| | |
|
|\ \
| |/
|/| |
PLUGIN Markdown
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Parse link description in Markdown (HTML) before rendering.
* hard remove of Shaarli's HTML before parsing.
* Using Parsedown <https://github.com/erusev/parsedown> PHP lib.
* Includes basic markdown CSS.
* Style: removed 400px height max limit for shaares.
* Unit tests.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Additions:
- [makefile] check versioned files are not executable
- [travis] call the new make target
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
| |
| |
| | |
Probably a line ending issue...
|
|\ \
| | |
| | | |
Wallabag plugin improvement
|
| |/
| |
| |
| |
| |
| |
| |
| | |
* Fixes a bug where URL weren't properly encoded.
* Adds Wallabag V2 support.
* Adds a URL function to handle trailing slash.
* UT.
* README updated.
|
|\ \
| | |
| | | |
QRCode plugin: use url instead of real_url
|
| |/
| |
| |
| |
| |
| | |
Fixes #414 and avoid usage of redirector in QRCode.
Also fixed a bug with URL encoding.
|
|/
|
|
|
| |
* fixes a regression misplacing QRCode popup.
* adds a 'show' class in JS to handle CSS transition.
|
|\
| |
| | |
Fixes #403 : Remove QRCode in core CSS and fix plugin layout
|