aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* New plugin hook: ability to add custom filters to Shaarli search engineArthurHoaro2021-02-041-0/+33
| | | | | | | A new plugin hook has been added: hook_test_filter_search_entry This hook allows to filter out bookmark with custom plugin code when a search is performed. Related to #143
* Fix default_colors plugin: update CSS file on color changeArthurHoaro2020-12-291-0/+14
| | | | | | Last update of this plugin remove the save_plugin_parameters hook. Fixes #1657
* Plugin system: allow plugins to provide custom routesArthurHoaro2020-11-152-1/+42
| | | | | | | | | | - each route will be prefixed by `/plugin/<plugin_name>` - add a new template for plugins rendering - add a live example in the demo_plugin Check out the "Plugin System" documentation for more detail. Related to #143
* Apply PHP Code Beautifier on source code for linter automatic fixesArthurHoaro2020-11-0911-61/+68
|
* Plugin wallabag: minor improvementsArthurHoaro2020-10-271-2/+3
| | | | | | | | - hide the wallabag icon for logged out users - set API V2 as default parameter - fix URL encoding issue with special chars Fixes #1147
* Inject ROOT_PATH in plugin instead of regenerating it everywhereArthurHoaro2020-10-164-6/+4
|
* Support using Shaarli without URL rewritingArthurHoaro2020-10-162-2/+4
| | | | | | | | | - 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
* Fix plugin base path in core pluginsArthurHoaro2020-09-223-5/+7
| | | | | | | Also fix note check in archiveorg plugin, and regression on vintage template. Documentation regarding relative path has been added. Fixes #1548
* **General rewording, proof-reading, deduplication, shortening, reordering, ↵nodiscc2020-09-121-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplification, cleanup/formatting/standardization** - standardize page names, rework documentation structure, update TOC - use same example paths everywhere - level 1 titles on all pages - fix broken links - .md suffix on all page links (works both from readthedocs and github repository views) **Server:** A full and concise installation guide with examples is a frequent request. The documentation should provide such a guide for basic installation needs, while explaining alternative/advanced configuration at the end. Links to reference guides and documentation should be used more frequently to avoid recommending an outdated or excessively complex configuration. - server: move most server-related info to server-configuration.md, cleanup/shorten - server: update list of php dependencies/libraries, link to composer.json - server: installation: support 3 install methods (from release zip, from sources, using docker) - server: installation: use rsync instead of mv as mv results will change depending of taget directory already existing or not - server: add example/basic usage of certbot - server, upgrade, installation: update file permissions setup, use sudo for upgrade operations in webserver document root - server: apache: add comments to configuration, fix and factorize file permissions setup, set cache-control header, deny access to dotfiles, add missing apache config steps, add http->https redirect example - server: nginx: refactor nginx configuration, add comments, DO log access to denied/protected files - server: add links to MDN for x-forwarded-* http headers explanation, cleanup/clarify robots.txt and crawlers section - server: bump file upload size limit to 100MB we have reports of bookmark exports weighing +40MB - i have a 13MB one here - server: simplify phpinfo documentation - server: move backup and restore information to dedicated page - docker: move all docker docs to Docker.md, simplify/ docker setup, add docker-compose.yml example, replace docker-101 with docker cheatsheet - troubleshooting: move all troubleshooting documentation to troubleshooting.md **Usage:** - index: add getting started section on index page - features/usage: move all usage-related documentation to usage.md, add links from the main feature list to corresponding usage docs, clarify/reword features list - shaarli configuration: add note about configuring from web interface **Removed:** - remove obsolete/orphan images - remove obsolete shaarchiver example - remove outdated "decode datastore content" snippet **Development:** - development: move development-related docs (static analysis, CI, unit tests, 3rd party libs, link structure/directory, guidelines, security....) to dev/ directory - development: Merge several pages to development.md - **Breaking change?:** remove mentions of 'stable' branch, switch to new branch/release model (master=latest commit, release=latest tag) - **Breaking change?:** refer to base sharing unit as "Shaare" everywhere (TODO: reflect changes in the code?) doc: update featues list/link to usage.md for details - development: directory structure: add note about required file permissions - .travis-ci.yml: add comments - .htaccess: add comment
* Fix broken css/js files on individual shaare pagesImmánuel!2020-09-061-2/+2
|
* Default colors plugin: generate CSS file during initializationArthurHoaro2020-08-291-25/+31
| | | | | Current behaviour only generate the custom CSS file when the plugin settings are saved, which can be annoying if the file is deleted but the settings are set. Most common use case is Docker deployment, because the plugin directory is not mounted as a volume.
* New basePath: fix officiel plugin paths and vintage templateArthurHoaro2020-07-268-19/+19
|
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-236-16/+16
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Process plugins administration page through Slim controllersArthurHoaro2020-07-231-1/+1
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-2/+2
| | | | Also prefix most admin routes with /admin/
* RSS/ATOM feeds: process through Slim controllerArthurHoaro2020-07-231-2/+2
|
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-185-649/+0
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Fix some typos and remove a few unnecessary comments in demo pluginPaul van den Burg2019-10-261-14/+9
|
* Markdown plugin: fix RSS feed direct link reverseArthurHoaro2019-08-151-1/+1
| | | | The plugin was only reversing permalinks and failed with setting rss_permalinks set to false
* Add the new hook save_plugin_parameters to the demo pluginArthurHoaro2019-07-202-0/+22
|
* Default colors plugin - Add unit testsArthurHoaro2019-07-202-12/+55
|
* WIP - Plugin to override default template colorsArthurHoaro2019-07-083-0/+76
| | | | | | | | | | * Adds a new core plugin to override default template colors * Adds a new hook when plugin settings are saved (`save_plugin_parameters`) * Use CSS native variables for main colors instead of SASS variables * Disable SASS sort order rules due to a bug in the plugin Fixes #1312
* Remove QRCode link to an external serviceArthurHoaro2019-05-252-2/+1
|
* namespacing: add plugin tests to \Shaarli\Plugin\[...]VirtualTam2019-01-122-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-129-0/+11
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\RouterVirtualTam2019-01-127-0/+10
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* namespacing: \Shaarli\Feed\{Cache,CachedPage,FeedBuilder}VirtualTam2019-01-121-0/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: fix line-length warningsVirtualTam2018-12-021-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: apply phpcbf to plugins/VirtualTam2018-12-026-15/+16
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #1205 from ArthurHoaro/feature/opengraphArthurHoaro2018-10-061-0/+1
|\ | | | | Add OpenGraph meta tags on permalink page
| * Add OpenGraph meta tags on permalink pageArthurHoaro2018-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes: - og:title - og:type -> article - og:image -> if there is a thumbnail - og:url -> permalink - og:description -> first 300 chars of raw description - article:published_time - article:modified_time - article:tag -> one OG meta tag for each shaare tag Fixes #258
* | Merge pull request #1212 from ArthurHoaro/hotfix/hashtag-md-escapeArthurHoaro2018-10-061-0/+9
|\ \ | | | | | | Fix hashtags with markdown escape enabled
| * | Fix hashtags with markdown escape enabledArthurHoaro2018-08-141-0/+9
| |/ | | | | | | | | | | They're now transformed to markdown syntax links before processing them through Parsedown. Fixes #1210
* / Isso plugin: add an icon in linklist if enabledArthurHoaro2018-08-143-2/+34
|/ | | | Fixes #1075
* Fix feed permalink rendering with markdown escape set to trueArthurHoaro2018-05-191-0/+8
| | | | Fixes #1134
* Fix removal of on=... attributes from html generated from markdownDennis Verspuij2018-03-191-1/+1
|
* Executes daily hooks before creating columns.kalvn2018-02-012-20/+15
|
* Translations : Working demo example of translation extensionArthurHoaro2017-10-223-1/+48
|
* Shaarli's translationArthurHoaro2017-10-2215-52/+140
| | | | | | | | | * 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.
* migrated Github wiki links to readthedocsWilli Eggeling2017-08-261-1/+1
|
* Add a whitelist of protocols for URLsArthurHoaro2017-05-251-4/+33
| | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* Remove readityourself pluginArthurHoaro2017-04-014-54/+0
| | | | Fixes #818
* Remove inline JS and add LibreJS headers in JS filesArthurHoaro2017-03-123-0/+84
| | | | | Fixes #33 (wow!) Relates to #395
* Fix #773: set Piwik URL protocolArthurHoaro2017-03-112-16/+22
|
* Add markdown_escape settingArthurHoaro2017-02-282-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
* Fix markdown plugin color overridingArthurHoaro2017-02-271-1/+1
|
* Remove CSS call for addlink toolbar pluginArthurHoaro2017-01-151-16/+0
| | | | Fixes #724
* Cleanup: explicit method visibilityVirtualTam2017-01-051-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Move PubSubHubbub code as a default pluginArthurHoaro2016-12-205-0/+125
|
* Fix typo in markdown plugin meta descriptionArthurHoaro2016-12-181-1/+1
|