Comments (24)
Perhaps same here: adding the secret tags is not doing anything... no encryption happening, no dialogue popping up.
from dokucrypt2.
I will look into this. Thanks for the bug report.
from dokucrypt2.
Temporary fix in place. Please update or un-install / re-install. This fix is under review/testing.
from dokucrypt2.
Thanx a lot for the superfast reply. re-installing has no effect yet.
from dokucrypt2.
@impactfactory the new version 2020-10-14 fixes the problem on my instance of Dokuwiki HogFather. Please confirm you have that version, then shift+refresh & try again.
If it doesn't work, I need more info - like any errors appearing in your browser's js console.
from dokucrypt2.
It doesnt work, perhaps Im doing something wrong with the syntax? is it right to do this syntax: <SECRET> xxxxx</SECRET>
f.e. to protect the passwort inbetween? No popup for encryption is showing up. On ftp / direct txt-file everything still visible. Release 2020-07-29 "Hogfather" and docscript 2020-10-14.
from dokucrypt2.
That syntax is correct. I wonder about something... give me a minute.
from dokucrypt2.
from dokucrypt2.
@impactfactory .... I have attempted a fix for you. It's in another branch. If you can download the zip for this plugin and replace the files you are using in /lib/plugins/dokucrypt2/ with this:
https://github.com/syntaxseed/dokucrypt2/archive/hogfather-fix-1.zip
Shift+refresh your dokuwiki webpage then try again to create a secret block.
PS - thank you for your time helping to debug this. :)
from dokucrypt2.
@impactfactory yes the comment out the defer line didn't work, I had deleted that comment. Try the new version of the plugin in the zip file above. Thank you so much for your help.
from dokucrypt2.
from dokucrypt2.
from dokucrypt2.
from dokucrypt2.
from dokucrypt2.
PERHAPS A HINT: IT DOESNT PARSE THE TAGS IN THE NON-EDIT VIEW
Correct, Dokuwiki syntax within an encrypted block are not parsed. This is already a reported enhancement request.
from dokucrypt2.
Well... this is beyond my time and ability to fix. Both versions of the plugin work for me. I'll have to leave the bug open and see if anyone else wants to chime in or attempt a fix. I am in the process of getting advice on the DokuWiki forum. Sorry @impactfactory.
from dokucrypt2.
from dokucrypt2.
It would be better if you can disable all your plugins besides this one and see if the problem still occurs. As a free plugin that very few people use, I unfortunately don't have time to install and test against a bunch of plugins. :)
from dokucrypt2.
I've been looking for advice related to this plugin here:
https://forum.dokuwiki.org/d/18356-plugin-dev-run-js-on-page-load
from dokucrypt2.
I deactivated all plugins and found out that the Plugin "Fastwiki" is causing docucrypt2 not to work. "Fastwiki" seems to have many bugs.
Also as I see it now: I wonder if it is intentional that this descryption message blocks appear?
I don't understand what benefit it provides.
I disabled the toggle button in the javascript and did also the translations there. Now its really useful - thanx!!
from dokucrypt2.
@impactfactory thanks for the research! I have added fastwiki to the list of conflicting plugins.
I will look into the spacing issue.
Yes you can toggle the visibility of the encrypted block. This was a feature of the original plugin which I took over.
from dokucrypt2.
from dokucrypt2.
I agree with several of your suggestions. PR #9 addresses these with a new version of DokuCrypt2: version 2020-10-19.
- Added spacing between the decrypt and toggle visible links.
- Added CSS classes to links and PRE blocks to allow user styling.
- Encrypted blocks are now collapsed by default.
from dokucrypt2.
Additional suggestions please create a new issue.
from dokucrypt2.
Related Issues (11)
- FIXED- Update Required message is displayed despite latest version. HOT 1
- Certain characters break decryption HOT 4
- Can't insert internal wiki links while this extension is enabled HOT 6
- Customize default display text HOT 5
- Plugin broke my docuwiki HOT 5
- DecryptSecret Button missing HOT 12
- FIXED - GetInfo not implemented. HOT 1
- Heading tool bar buttons not working. HOT 3
- Mask/hide the password prompt box. HOT 1
- Parse Wiki Markup in Secret sections. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokucrypt2.