downloading folders from google drive.

I wanted to download some course material on RL shared by the author via Google drive using the command line.  I got a bunch of stuff using wget a folder in google drive was a challenge. I looked it up in SO which gave me a hint but no solution. I installed gdown using pip and then used: gdown --folder --continue https://drive.google.com/drive/folders/1V9jAShWpccLvByv5S1DuOzo6GVvzd4LV if there are more than 50 files you need to use --remaining-ok and only get the first 50. In such a case its best to download using the folder using the UI and decompress locally. Decompressing from the command line created errors related to unicode but using the mac UI I decompressed without a glitch.

Moodle <=< Mediawiki SUL integration - first thoughts

Deutsch: Logo der freien Software Moodle moddl...
SUL is Wikipedia's Single User Login system

The goal is to use it to authenticate moodle users

there is one caveat - what happen if  the moodle user has no account.

Moodle and MediaWiki account creation require different information.

Since we'd like to use MediaWiki's standard which is highly permissive. It is necessary to change  moodle's requirements.

Challenges


  • Moodle does not explicitly define an object for setting registration requirements. 
  • This needs to be accomplished by admins via edit a number of files manually. 
    • errors will place the users in a limbo/blocked state...
  • This is implemented differently on different version of moodle.
  • This will break if the changes are overwritten by a system is upgrade.

Directions

Ideally Moodle should have a registration policy object which allows the admin to define which fields are required and if they need to be unique. For example Moodle complains if different users share an email adress. Since gmail supports option '.' in the user name this is a possible hack. However unless e-mail is a primary key in the DB then it is not necessary to keep it unique.

Adding registration policy will also require either a configuration file for storing the bussiness rules (settings) or even a UI to control these, as well as handling of users who do not have full details.

Resources

Comments

Popular posts from this blog

downloading folders from google drive.

Insight into progressive web apps