aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Add markdown_escape settingArthurHoaro2017-03-042-18/+38
| | | | | | | | | | | | | 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
* Merge pull request #697 from ArthurHoaro/feature/ids-bisArthur2016-12-121-2/+2
|\ | | | | Link ID refactoring
| * Add a persistent 'shorturl' key to all linksArthurHoaro2016-12-121-3/+1
| | | | | | | | | | | | | | 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.
| * Apply the new ID system accros the whole codebaseArthurHoaro2016-12-121-2/+4
| |
* | Merge pull request #679 from ArthurHoaro/plugins/headerArthur2016-12-127-24/+105
|\ \ | |/ |/| Improve theme dependent plugin placeholders:
| * Improve theme dependent plugin placeholders:ArthurHoaro2016-12-017-24/+105
| | | | | | | | | | | | | | | | | | - 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:
* | Merge pull request #701 from ArthurHoaro/plugins/md-html-docArthur2016-12-032-1/+21
|\ \ | | | | | | Describe markdown HTML rendering and display a warning
| * | Describe markdown HTML rendering and display a warningArthurHoaro2016-12-012-1/+21
| | | | | | | | | | | | Fixes #688
* | | Markdown: fixes feed rendering with nomarkdown tagArthurHoaro2016-11-222-14/+34
|/ / | | | | | | | | | | | | | | | | | | | | * 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
* / Plugins W3C complianceArthurHoaro2016-11-054-4/+4
|/ | | | Add an alt attribute to images
* Add Piwik PluginAdrien Oliva2016-11-022-0/+75
| | | | | | [PullRequest #677] Change after Review Fix logic, my bad!
* Fix an issue with links not being reversed in code blocksArthurHoaro2016-10-221-5/+6
| | | | | | Fixes #672 + Markdown to HTML unit test
* Use Composer to import Parsedown libraryArthurHoaro2016-10-222-1530/+0
| | | | Reference #613
* Isso comments pluginArthurHoaro2016-10-174-0/+74
| | | | Use Isso client to let visitors comments on permalinks
* New init function for plugins, supports errors reportingArthurHoaro2016-10-143-8/+47
| | | | | | | | 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.
* Archive.org plugin: do not propose archival of private notesTeromene2016-10-131-0/+3
| | | | Fixes #637
* Merge pull request #619 from ArthurHoaro/plugins/param-descVirtualTam2016-08-131-1/+3
|\ | | | | Add a description to plugin parameters
| * Add a description to wallabag plugin parametersArthurHoaro2016-08-021-1/+3
| |
* | Fix: add missing final newlines, untabify textVirtualTam2016-08-133-14/+14
|/ | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #558 from ArthurHoaro/hashtag4Arthur2016-07-091-2/+39
|\ | | | | Hashtag system
| * Hashtag systemArthurHoaro2016-06-061-2/+39
| | | | | | | | | | | | * Hashtag are auto-linked with a filter search * Supports unicode * Compatible with markdown (excluded in code blocks)
* | Merge pull request #570 from ArthurHoaro/config-managerArthur2016-07-095-51/+31
|\ \ | |/ |/| Introduce a configuration manager
| * PluginManager no longer uses singleton patternArthurHoaro2016-06-115-36/+20
| |
| * Use the configuration manager for wallabag and readityourself pluginArthurHoaro2016-06-112-19/+15
| |
* | The tag is no longer privateArthurHoaro2016-05-301-3/+16
|/ | | | A private tag is never loaded for visitor, making this feature useless.
* Markdown: inline code background colorArthurHoaro2016-05-131-0/+7
|
* Process feeds content with MarkdownArthurHoaro2016-03-261-0/+19
|
* Merge pull request #520 from ArthurHoaro/plugins/nomarkdownArthur2016-03-262-11/+53
|\ | | | | Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare fro…
| * Update markdown plugin README documentationArthurHoaro2016-03-261-11/+23
| | | | | | | | | | * Add the `.nomarkdown` section. * Update misleading statements.
| * Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being ↵ArthurHoaro2016-03-211-0/+30
| | | | | | | | | | | | parsed with markdown Also add the tag in tag list in edit_link, so it will appear on autocompletion.
* | Plugin: add render_feed hook and call it while generating ATOM and RSS feed.ArthurHoaro2016-03-181-1/+26
|/ | | | Create an example of the new hook in the demo plugin.
* Avoids populating a markdown empty container if there's no description.kalvn2016-02-281-1/+4
|
* Fixes #411: remove hardcoded plugin icon sizeArthurHoaro2016-02-284-4/+4
|
* Merge pull request #491 from ArthurHoaro/markdown-escape2Arthur2016-02-251-8/+29
|\ | | | | Markdown: don't escape content + sanitize sensible tags
| * Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-191-8/+29
| | | | | | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
* | adding styles for code & pre tagsNicolas Danelon2016-02-191-0/+29
|/
* Wallabag plugin: add version parameter in the meta fileArthurHoaro2016-02-101-1/+1
|
* Fixes forced git changesArthurHoaro2016-01-313-57/+57
| | | | Probably related to the introduction of .gitattribute with forced line ending.
* Merge pull request #388 from ArthurHoaro/pluginadminArthur2016-01-319-2/+11
|\ | | | | Fixes #378 - Plugin administration UI.
| * Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-319-2/+11
| |
* | Merge pull request #379 from ArthurHoaro/plugin-markdownArthur2016-01-316-0/+1880
|\ \ | |/ |/| PLUGIN Markdown
| * PLUGIN MarkdownArthurHoaro2016-01-036-0/+1880
| | | | | | | | | | | | | | | | | | | | 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.
* | tests: add a make target to check file permissionsVirtualTam2016-01-171-0/+0
| | | | | | | | | | | | | | | | Additions: - [makefile] check versioned files are not executable - [travis] call the new make target Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Git *wants* to rewrite this file in the exact same way...ArthurHoaro2016-01-061-71/+71
| | | | | | | | Probably a line ending issue...
* | Merge pull request #417 from ArthurHoaro/wallabag-improveVirtualTam2016-01-025-10/+108
|\ \ | | | | | | Wallabag plugin improvement
| * | Wallabag plugin improvementArthurHoaro2015-12-275-10/+108
| |/ | | | | | | | | | | | | | | * Fixes a bug where URL weren't properly encoded. * Adds Wallabag V2 support. * Adds a URL function to handle trailing slash. * UT. * README updated.
* | Merge pull request #418 from ArthurHoaro/qrcode-bugVirtualTam2015-12-231-1/+5
|\ \ | | | | | | QRCode plugin: use url instead of real_url
| * | QRCode plugin: use url instead of real_urlArthurHoaro2015-12-221-1/+5
| |/ | | | | | | | | | | Fixes #414 and avoid usage of redirector in QRCode. Also fixed a bug with URL encoding.
* / Fixes QRCode styleArthurHoaro2015-12-214-5/+52
|/ | | | | * fixes a regression misplacing QRCode popup. * adds a 'show' class in JS to handle CSS transition.
* Merge pull request #406 from ArthurHoaro/qrcode-styleVirtualTam2015-12-091-5/+3
|\ | | | | Fixes #403 : Remove QRCode in core CSS and fix plugin layout