Code Monkey home page Code Monkey logo

moodle-plugin's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

moodle-plugin's Issues

incorrect language strings?

$string['modulename'] = 'Virtual Class';
$string['modulenameplural'] = 'Virtual Classes';

Should those say "Clickmeeting" ?

When someone goes to add your plugin to a course - if they have a number of different tools installed they wouldn't neccessarily know which one was a Clickmeeting activity.

missing privacy api

Moodle uses a privacy API for GDPR compliance to allow plugins to specify how they deal with user data.
Sites that use continuous integration processes will not be able to use your plugin because Moodle runs unit tests which check to see if all extra plugins include the privacy class.

More information on the privacy class is here:
https://docs.moodle.org/dev/Privacy_API

please note this is not a blocker for approval in the plugins db at this stage.

invalid install.xml file.

your install.xml file looks incorrect and may cause issues for some sites.

You need to use the built-in xmldb editor UI in Moodle to fix this - easiest way to do this is to open it in the xmldb editor and make a change to a comment on a field or table to trigger a change - then use the xmldb editor built-in functions to save the file (you may need to change file-level permissions to allow xmldb editor to save the file.)

this is a blocker for approval in the plugins db.

old flash file?

extra/copy.swf
This appears to be an adobe flash file - is it needed? - can you please remove it as Flash is no longer supported.

consider adding travis ci support

Some of the tests run by the Moodle.org plugins db can be run via travis-ci on each commit in your github repo. Enabling Travis integration helps you to make sure future changes to your plugin will continue to follow the guidelines.

More information on this is here:
https://moodle.org/mod/forum/discuss.php?d=323384

but the short version:
grab this file:
https://github.com/moodlerooms/moodle-plugin-ci/blob/master/.travis.dist.yml
rename it as .travis.yml and put in the root of your github directory.
Go to:
https://travis-ci.org/profile/YOUR_GITHUB_USERNAME
Flick the switch for this repo.

then on every commit you make to github it will fire off a request to travis to run the tests in .travis.yml and will give you traffic lights beside each commit and generate a report.

something else you might want to change:
in .travis.yml the default file has this line:

env:
global:

MOODLE_BRANCH=MOODLE_35_STABLE
you might want to add other branches to that list - so you might want to change it something like:

env:
global:
MOODLE_BRANCH=MOODLE_35_STABLE
MOODLE_BRANCH=MOODLE_36_STABLE
MOODLE_BRANCH=MOODLE_37_STABLE

incomplete backup api

It looks like some of the fields defined in your "clickmeeting" table are not included in the backup/restore api - you should review these to make sure that backup/restore works as expected.

deprecated function calls

functions like add_to_log and get_context_instance have been deprecated - you need to install your plugin on a new Moodle 3.8 site and enable developer debugging with display errors on and make sure your plugin doesn't report any debugging notices.

This is a blocker for approval in the plugins db.

invalid use of curl

Moodle has it's own Curl class which should be used instead of directly calling curl_init

This is mainly because many moodle sites sit behind a web proxy and require all traffic to be sent through a proxy.

This is a blocker for approval in the plugins db.

repository name doesn't follow normal moodle conventions

Typically repository names will use the "frankenstyle" prefix of a plugin - the more correct repository name would be "moodle-mod_clickmeeting" - using this convention makes it much easier for developers/git users to indentify the type of plugin when looking at the repo name too.

This doesn't block approval in the plugins db, but it's really nice to have.

incorrect copyright headers

please review the copyright headers in all files - I spotted at least one that stated:
"copyright 2011 your name"

check if you need to include jquery at all.

Moodle core already includes jquery - you should check to see if you can re-use the existing core lib rather than including it again - that way you can rely on core updating with security issues etc.

note this is not currently a blocker for approval in the plugins db.

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.