plugin:dokucrypt2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dokucrypt2 [2018-10-01 20:53] – sherri | plugin:dokucrypt2 [2024-03-12 02:43] (current) – Fumigator2 | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
type : admin | type : admin | ||
- | lastupdate : 2017-11-08 | + | lastupdate : 2022-08-08 |
- | compatible : 2017-02-19b+ | + | compatible : 2018-04-22b+, |
depends | depends | ||
- | conflicts | + | conflicts |
similar | similar | ||
tags : encryption, password | tags : encryption, password | ||
- | downloadurl: | + | downloadurl: |
- | bugtracker : # eg. http:// | + | bugtracker : https:// |
sourcerepo : https:// | sourcerepo : https:// | ||
donationurl: | donationurl: | ||
- | securitywarning: | ||
---- | ---- | ||
- | :!: 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:// | ||
===== Installation ===== | ===== Installation ===== | ||
- | This is a newly maintained version of the DokuCrypt plugin. It is fully patched for the latest version of Dokuwiki (last tested on Release 2017-02-19b " | ||
- | Search and install | + | This is a newly maintained version of the DokuCrypt |
- | 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-) | + | * Fully tested on: 2018-04-22b+ " |
+ | * Fully tested on:: 2020-07-29 " | ||
- | :!: **Requires patches after install, see below.** | + | Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install |
+ | Note: Plugin is now maintained by Sherri Wheeler. | ||
--- [[user> | --- [[user> | ||
- | |||
- | ==== PATCH 1: Resolving problems with toolbar header buttons ==== | ||
- | |||
- | 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('#' | ||
- | s = false, | ||
- | opts = [field.value.substr(0, | ||
- | - 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) { | ||
- | |||
- | </ | ||
- | Posted by: --- [[user> | ||
- | |||
- | === Manual Patch Instructions === | ||
- | |||
- | - In the file ''/ | ||
- | - 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. | ||
Line 84: | 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:// |
+ | * 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 for most recent DokuWiki version. Cheers! | ||
===== Usage ===== | ===== Usage ===== | ||
Line 97: | 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 108: | 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 113: | 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 ==== | ||
+ | This plugin includes configuration settings. | ||
- | ===== Known Issues / Feature Requests ===== | + | * '' |
+ | * '' | ||
- | :!: **Moved** to the GitHub Issues page. :!: | + | ===== Known Issues ===== |
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | ===== Feature Requests ===== | ||
+ | |||
+ | Please use the [[https:// | ||
===== Bugs - Please Submit Bugs On GitHub ===== | ===== Bugs - Please Submit Bugs On GitHub ===== | ||
- | :!: **NEW:** Opened | + | Please use the [[https:// |
+ | |||
+ | |||
+ | ==== Patches For Older Versions of DokuWiki ==== | ||
- | Previous bugs have been MOVED to GitHub. | + | [[https:// |
- | + | ||
- | + |
plugin/dokucrypt2.1538420005.txt.gz · Last modified: 2018-10-01 20:53 by sherri