aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Move PubSubHubbub code as a default pluginArthurHoaro2016-12-201-0/+54
|
* Add a persistent 'shorturl' key to all linksArthurHoaro2016-12-121-5/+16
| | | | | | | 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.
* Unit Test for the new ID systemArthurHoaro2016-12-121-5/+9
|
* Markdown: fixes feed rendering with nomarkdown tagArthurHoaro2016-11-221-4/+25
| | | | | | | | | | | * 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
* Fix an issue with links not being reversed in code blocksArthurHoaro2016-10-223-0/+61
| | | | | | Fixes #672 + Markdown to HTML unit test
* Isso comments pluginArthurHoaro2016-10-171-0/+136
| | | | Use Isso client to let visitors comments on permalinks
* New init function for plugins, supports errors reportingArthurHoaro2016-10-142-4/+42
| | | | | | | | 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-4/+98
| | | | Fixes #637
* Parse plugin parameters description with the PluginManagerArthurHoaro2016-08-021-1/+3
| | | | | | Plugin parameter can contain a description in their meta file under the key: parameter.<param_name>="<description>"
* Merge pull request #570 from ArthurHoaro/config-managerArthur2016-07-092-8/+14
|\ | | | | Introduce a configuration manager
| * PluginManager no longer uses singleton patternArthurHoaro2016-06-112-7/+10
| |
| * Use the configuration manager for wallabag and readityourself pluginArthurHoaro2016-06-112-4/+7
| |
* | The tag is no longer privateArthurHoaro2016-05-301-2/+4
|/ | | | A private tag is never loaded for visitor, making this feature useless.
* Markdown: Add the 'meta-tag' `.nomarkdown` which prevent a shaare from being ↵ArthurHoaro2016-03-211-1/+36
| | | | | | parsed with markdown Also add the tag in tag list in edit_link, so it will appear on autocompletion.
* Markdown: don't escape content + sanitize sensible tagsArthurHoaro2016-02-191-7/+12
| | | | Instead of trying to fix broken content for Markdown parsing, parse it unescaped, then sanatize sensible tags such as scripts, etc.
* Merge pull request #388 from ArthurHoaro/pluginadminArthur2016-01-311-0/+2
|\ | | | | Fixes #378 - Plugin administration UI.
| * Fixes #378 - Plugin administration UI.ArthurHoaro2016-01-311-0/+2
| |
* | Merge pull request #379 from ArthurHoaro/plugin-markdownArthur2016-01-311-0/+112
|\ \ | |/ |/| PLUGIN Markdown
| * PLUGIN MarkdownArthurHoaro2016-01-031-0/+112
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #417 from ArthurHoaro/wallabag-improveVirtualTam2016-01-022-1/+63
|\ \ | | | | | | Wallabag plugin improvement
| * | Wallabag plugin improvementArthurHoaro2015-12-272-1/+63
| |/ | | | | | | | | | | | | | | * 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_urlArthurHoaro2015-12-221-2/+2
|/ | | | | | Fixes #414 and avoid usage of redirector in QRCode. Also fixed a bug with URL encoding.
* URL encode links when a redirector is set.ArthurHoaro2015-11-261-2/+2
| | | | | | | | | | | | | | | | | Fixes #328 - URL encode links when a redirector is set * WARNING - template edit - new variable available : "real_url" Contains the final real url (redirected or any other change on original URL) * Don't redirect shaares link in RSS/Atom. * Affects links shaared in description. * Move text2clickable and keepMultipleSpaces to Utils.php + unit test UPDATE: * keepMultipleSpaces renamed to space2nbsp * space2nbsp improved to handle single space at line beginning * links in text description aren't 'nofollow' anymore
* Merge pull request #281 from ArthurHoaro/plugin-wallabagArthur2015-11-081-0/+49
|\ | | | | PLUGIN wallabag
| * unit tests for the wallabag pluginArthurHoaro2015-11-081-0/+49
| | | | | | | | | | + removed exit error if the config is not found + coding style
* | Merge pull request #280 from ArthurHoaro/plugin-readityourselfArthur2015-11-081-0/+75
|\ \ | | | | | | PLUGIN readityourself
| * | unit tests for readityourself plugin + remove hard errorArthurHoaro2015-11-081-0/+75
| |/
* | Merge pull request #279 from ArthurHoaro/plugin-addlink_toolbarArthur2015-11-081-0/+100
|\ \ | | | | | | PLUGIN: addlink_toolbar
| * | unit test for addlink_toolbar + coding styleArthurHoaro2015-11-081-0/+100
| |/
* | Merge pull request #284 from ArthurHoaro/plugin-playvideosArthur2015-11-071-0/+61
|\ \ | | | | | | PLUGIN playvideos
| * | Add unit tests for Playvideos pluginArthurHoaro2015-11-071-0/+61
| |/ | | | | | | + coding style
* | Merge pull request #285 from ArthurHoaro/plugin-qrcodeArthur2015-11-071-0/+67
|\ \ | | | | | | PLUGIN QRCode
| * | Add unit tests for the QRCode pluginArthurHoaro2015-11-071-0/+67
| |/ | | | | | | + coding style
* / Add unit test for archiveorg pluginArthurHoaro2015-11-071-0/+48
|/ | | | + coding style
* Unit tests for Router and PluginManager.ArthurHoaro2015-11-071-0/+0
|
* Plugin system - COREArthurHoaro2015-11-071-0/+21
see shaarli/Shaarli#275