From 23f94b1af38d2b577979fee66205977a846e8e42 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 25 Jan 2023 00:24:42 +0100 Subject: [PATCH 1/4] Add plugin inventree-apprise --- _repo/inventree-apprise.md | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 _repo/inventree-apprise.md diff --git a/_repo/inventree-apprise.md b/_repo/inventree-apprise.md new file mode 100644 index 00000000..10f84d9c --- /dev/null +++ b/_repo/inventree-apprise.md @@ -0,0 +1,43 @@ +--- +name: inventree-apprise +author: matmair +license: MIT +open_source: true +stable: true +maintained: true +pypi: true +package_name: inventree-apprise +github: https://github.com/matmair/inventree-apprise +issue_tracker: https://github.com/matmair/inventree-apprise/issues +website: https://mjmair.com +categories: + - Notifications +tags: + - Apprise + - 3rd party integration + - Discord + - IFTTT + - Matrix + - Microsoft Teams + - Slack + - Twilio + - +--- +# inventree-apprise + +Send notifications from InvenTree via Apprise + +## Setup + +1. Install +Install this plugin in the webinterface with the packagename `inventree-apprise` + +2. Enable +Enable the plugin in the plugin settings. You need to be signed in as a superuser for this. +**The server will restart if you enable the plugin** + +3. Configure +Add all endpoints you want to use in the plugin settings. You can use the [Apprise URL Syntax](https://github.com/caronc/apprise#supported-notifications). + +## License +This project is licensed as MIT. Copy and do what you want - maybe tag your new plugin so others can find it. The more the merrier. From d329870623df840c2cfc4a981084621f87c33072 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 25 Jan 2023 00:28:36 +0100 Subject: [PATCH 2/4] fix title section --- _repo/inventree-apprise.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/_repo/inventree-apprise.md b/_repo/inventree-apprise.md index 10f84d9c..2c920f75 100644 --- a/_repo/inventree-apprise.md +++ b/_repo/inventree-apprise.md @@ -23,8 +23,6 @@ tags: - Twilio - --- -# inventree-apprise - Send notifications from InvenTree via Apprise ## Setup From 59d480cee9aa7e13446fee402f978f0dd2ab4111 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 25 Jan 2023 00:33:33 +0100 Subject: [PATCH 3/4] fix readme --- _repo/inventree-apprise.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/_repo/inventree-apprise.md b/_repo/inventree-apprise.md index 2c920f75..8c4bd528 100644 --- a/_repo/inventree-apprise.md +++ b/_repo/inventree-apprise.md @@ -27,15 +27,12 @@ Send notifications from InvenTree via Apprise ## Setup -1. Install -Install this plugin in the webinterface with the packagename `inventree-apprise` +1. Install this plugin in the webinterface with the packagename `inventree-apprise` -2. Enable -Enable the plugin in the plugin settings. You need to be signed in as a superuser for this. +1. Enable the plugin in the plugin settings. You need to be signed in as a superuser for this. **The server will restart if you enable the plugin** -3. Configure -Add all endpoints you want to use in the plugin settings. You can use the [Apprise URL Syntax](https://github.com/caronc/apprise#supported-notifications). +1. Add all endpoints you want to use in the plugin settings. You can use the [Apprise URL Syntax](https://github.com/caronc/apprise#supported-notifications). ## License This project is licensed as MIT. Copy and do what you want - maybe tag your new plugin so others can find it. The more the merrier. From df9d37ad798743e193ce13273cca2b66e0fbd2ed Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Fri, 27 Jan 2023 16:33:31 +0100 Subject: [PATCH 4/4] merge in repo changes --- _config.yml | 3 +-- _plugins/author_permalink.rb | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 _plugins/author_permalink.rb diff --git a/_config.yml b/_config.yml index deebff75..78cee2d6 100644 --- a/_config.yml +++ b/_config.yml @@ -33,8 +33,7 @@ collections: permalink: "/:title" repo: output: true - custom_permalink_placeholders: ["publisher"] - #permalink: "/:publisher/:title" + permalink: ":author/:title" news: output: true permalink: /news/:year/:month/:day/:title diff --git a/_plugins/author_permalink.rb b/_plugins/author_permalink.rb new file mode 100644 index 00000000..50da7af1 --- /dev/null +++ b/_plugins/author_permalink.rb @@ -0,0 +1,9 @@ +module Jekyll + module Drops + class UrlDrop < Drop + def author + @obj.author + end + end + end + end \ No newline at end of file