plugin:dokucrypt2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dokucrypt2 [2020-10-14 19:34] – [Installation] sherri | plugin:dokucrypt2 [2024-03-12 02:43] (current) – Fumigator2 | ||
---|---|---|---|
Line 3: | Line 3: | ||
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
- | author | + | author |
type : admin | type : admin | ||
- | lastupdate : 2020-10-14 | + | lastupdate : 2022-08-08 |
compatible : 2018-04-22b+, | compatible : 2018-04-22b+, | ||
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
tags : encryption, password | tags : encryption, password | ||
Line 19: | Line 19: | ||
---- | ---- | ||
- | :!: This replaces the: [[plugin: | + | This replaces the: [[plugin: |
+ | |||
+ | :!: I am looking for a new maintainer for this plugin. If interested, please contact me via my business contact form (https:// | ||
Line 27: | Line 29: | ||
* Fully tested on: 2018-04-22b+ " | * Fully tested on: 2018-04-22b+ " | ||
- | * Currently testing/ | + | * Fully tested |
Search and install the plugin using the [[plugin: | Search and install the plugin using the [[plugin: | ||
- | Note: I have copied and updated this plugin due to it being very important for my day-to-day use. The original author hasn't touched it in years, and I hope he won't mind. 8-) | + | Note: Plugin is now maintained by Sherri Wheeler. |
- | + | ||
- | :!: **Old Versions of DokuWiki require patches after install, see below.** | + | |
--- [[user> | --- [[user> | ||
Line 43: | Line 42: | ||
The Javascrypt (http:// | The Javascrypt (http:// | ||
+ | |||
+ | :!: **Warning: | ||
+ | |||
+ | :!: **This plugin is provided without warranty or guarantee of any kind. Use at your own discretion.** --- [[user> | ||
===== Releases ===== | ===== Releases ===== | ||
- | * 2017-06-25 - Fork the original plugin. Patch it up. Release | + | * 2022-08-08: Added ability and setting for copying the contents to the clipboard on decrypt. |
- | * 2017-11-08 | + | * Contributed by Thomas Schäfer (https:// |
- | * 2020-02-07 - Updated | + | * 2022-02-02: Preparatory fixes/ |
+ | * 2021-05-18: Fix for internal link edit toolbar button. Issue #12. | ||
+ | * 2021-03-03: Add wrapping for the pre tag. Contributed by dustin-something. | ||
+ | * 2020-10-19: Cosmetic changes, add CSS classes, collapse blocks by default. | ||
+ | * 2020-10-14: Temp fix for Dokuwiki 2020-07-29 " | ||
+ | * 2020-02-07: Updated for PHP v 7+. | ||
+ | * 2017-11-08: Fixed an issue with the heading buttons 'PATCH 1' required (above). Added plugin info text file. | ||
+ | * 2017-06-25: Fork the original plugin. Patch it up. Release | ||
===== Usage ===== | ===== Usage ===== | ||
Line 57: | Line 67: | ||
Hi world. | Hi world. | ||
- | < SECRET>I like ice cream< /SECRET> | + | < |
- | + | ||
- | * **Note:** the space before ' | + | |
When the user hits ' | When the user hits ' | ||
+ | |||
+ | === Special Characters === | ||
+ | |||
+ | The less-than (<) and greater-than(> | ||
+ | |||
+ | * < = Use: ''& | ||
+ | * > = Use: ''& | ||
==== Viewing Encrypted Data ==== | ==== Viewing Encrypted Data ==== | ||
Line 68: | Line 83: | ||
The encrypted text is compatible with javascrypt decryption (http:// | The encrypted text is compatible with javascrypt decryption (http:// | ||
+ | |||
==== Editing Encrypted Data ==== | ==== Editing Encrypted Data ==== | ||
Line 73: | Line 89: | ||
To edit the encrypted data, the user needs to Edit the wiki page. When first loaded, encrypted text will appear encrypted, surrounded by %%< | To edit the encrypted data, the user needs to Edit the wiki page. When first loaded, encrypted text will appear encrypted, surrounded by %%< | ||
+ | ==== Settings ==== | ||
- | ===== Known Issues / Feature Requests ===== | + | This plugin includes configuration settings. |
- | :!: **Moved** to the [[https:// | + | |
+ | * '' | ||
+ | ===== Known Issues ===== | ||
- | ===== Bugs - Please Submit Bugs On GitHub ===== | + | * May not work if the website including plugin control text is being translated into another language. |
+ | * Conflicts with Encrypted Passwords plugin (both plugins attempt to parse the < | ||
- | :!: **NEW:** Opened the [[https:// | + | ===== Feature Requests ===== |
- | Previous bugs have been MOVED to GitHub. | + | Please use the [[https:// |
- | ==== PATCH 1: Resolving problems with toolbar header buttons | + | ===== Bugs - Please Submit Bugs On GitHub |
- | + | ||
- | **NOTE:** This fix was merged into Dokuwiki core as of Oct, 10 2019. So new versions of Dokuwiki released after that date will not need this patch. | + | |
- | + | ||
- | The header buttons in the editor toolbar are not working. | + | |
- | + | ||
- | **Here is the patch for version 2017-02-19b+: | + | |
- | + | ||
- | < | + | |
- | --- \lib\scripts\edit-original.js | + | |
- | +++ \lib\scripts\edit.js | + | |
- | @@ -143,16 +143,17 @@ | + | |
- | * @author Andreas Gohr < | + | |
- | */ | + | |
- | | + | |
- | var field = jQuery('#' | + | |
- | | + | |
- | | + | |
- | - if (field.form.prefix) { | + | |
- | - // we need to look in prefix context | + | |
- | - opts.push(field.form.prefix.value); | + | |
- | - } | + | |
- | + //if (field.form.prefix) { // Dokucrypt Plugin Mod | + | |
- | + if (field.form && field.form.prefix) { // Dokucrypt Plugin Mod | + | |
- | + // we need to look in prefix context | + | |
- | + opts.push(field.form.prefix.value); | + | |
- | + } | + | |
- | + | ||
- | | + | |
- | // Check whether there is a headline in the given string | + | |
- | var str = " | + | |
- | | + | |
- | if (lasthl !== -1) { | + | |
- | </ | + | Please use the [[https://github.com/syntaxseed/dokucrypt2/issues|Issues page on GitHub]]. |
- | Posted by: --- [[user> | + | |
- | === Manual Patch Instructions === | ||
- | - In the file ''/ | + | ==== Patches For Older Versions of DokuWiki ==== |
- | - Find the section: '' | + | |
- | - Inside that section (function), find: '' | + | |
- | - Change it to: '' | + | |
- | - That's it. | + | |
- | - You may need to shift+refresh the page after changing this file. | + | |
+ | [[https:// |
plugin/dokucrypt2.1602696862.txt.gz · Last modified: 2020-10-14 19:34 by sherri