Coder Social home page Coder Social logo

denyactions's People

Contributors

oiv avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

denyactions's Issues

denyrev doesn't seem to work

@oiv Hi... the denyrev doesn't seem to work. I have:

$conf['plugin']['denyactions']['denyactions'] = 'revisions';
$conf['plugin']['denyactions']['denyrev'] = 1;

But old revisions are still accessible to READ users.

In fact, I don't see how the action/*php are included?

Disabling old revisions is not complete

In the export_*-actions, $REV is used, too. There it is without the TPL_ACT_RENDER-event. Further, diffs can be shown in the feed. Maybe also old revisions of files might be an issue? This is probably yet another event. Probably it makes sense to hook into ACTION_ACT_PREPROCESS to catch as many events from the main script as possible. Further, FETCH_MEDIA_STATUS is needed for media files (they also have $REV) and FEED_OPTS_POSTPROCESS for the feed (disable diff content if the diff action has been disabled).

I wonder also if some other actions should be disabled automatically when old revisions are disabled (like diff, recent, revisions) as otherwise disabling old revisions doesn't make much sense.

Compatibility Issues (Fatal error) with DokuWiki 2020-07-29 “Hogfather”

  • Does not work for me with DokuWiki 2020-07-29 “Hogfather” :-(
  • Results in a Blank Page “Fatal error: Declaration of action_plugin_denyactions::register(Doku_Event_Handler &$controller) must be compatible with dokuwiki\Extension\ActionPlugin::register(Doku_Event_Handler $controller) […]”
  • DokuWiki recovery script reported a "C Locale seems not to be a UTF-8 locale, that may cause trouble"
  • Work around: Disable denyactions plugin by adding “$plugins['denyactions'] = 0;” to your /conf/plugins.local.php

Thanks and best regards from Berlin

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.