Coder Social home page Coder Social logo

moodle-atto_oembed's People

Contributors

ansonargyris avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

moodle-atto_oembed's Issues

Is there a need for db/access.php

I am wondering about your reasoning and use cases for the db/access.php. As a consequence of having it like now, your plugin is only available to users who are enrolled in a course (so it is not displayed when the user is editing own profile or composes a blog post).

Do you really need to check for permissions? Is there a valid use case that the plugin should be available for certain roles only? Would not it be better to simply remove the file and the relevant permission checks?

Requires enabletrusttext

This has been originally open in my comment at https://moodle.org/plugins/view/atto_oembed however I think this will be better place to discuss it.

Thanks Erich for sharing the plugin with the community. I must admit I
am not quite sure about the actual benefits of it though. Thing is, to
use the oEmbed protocol this way, you end up with the provider's HTML
code fragment injected into the text body. Many of the supported
providers use <iframe> to display their contents. As far as I know, to
be able to save and use HTML text with <iframe>, the trusted content
feature $CFG->enabletrusttext must be enabled and properly set up at the
server. Admins should be well aware of all the consequences of such
setup before attempting to allow it. That is also why implementing
oEmbed as a filter is imho better (and safer) solution.

Maybe you could re-think the overall design and purpose of this Atto
plugin and turn it into a user-friendly frontend for the oEmbed filter
functionality?

I would like to discuss these concerns more prior approving this plugin
here. Thanks for your understanding and the patience with the approval
process.

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.