Coder Social home page Coder Social logo

Comments (24)

impactfactory avatar impactfactory commented on July 19, 2024

Perhaps same here: adding the secret tags is not doing anything... no encryption happening, no dialogue popping up.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

I will look into this. Thanks for the bug report.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Temporary fix in place. Please update or un-install / re-install. This fix is under review/testing.

from dokucrypt2.

impactfactory avatar impactfactory commented on July 19, 2024

Thanx a lot for the superfast reply. re-installing has no effect yet.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

@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.

impactfactory avatar impactfactory commented on July 19, 2024

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.

image

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

That syntax is correct. I wonder about something... give me a minute.

from dokucrypt2.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

@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.

syntaxseed avatar syntaxseed commented on July 19, 2024

@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.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

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.

syntaxseed avatar syntaxseed commented on July 19, 2024

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.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

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.

syntaxseed avatar syntaxseed commented on July 19, 2024

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.

impactfactory avatar impactfactory commented on July 19, 2024

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?

dokucrypt

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.

syntaxseed avatar syntaxseed commented on July 19, 2024

@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.

impactfactory avatar impactfactory commented on July 19, 2024

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

@impactfactory

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.

syntaxseed avatar syntaxseed commented on July 19, 2024

Additional suggestions please create a new issue.

from dokucrypt2.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.