Coder Social home page Coder Social logo

moodle-enrol-ucsfsis's Introduction

moodle-enrol-ucsfsis

A Moodle Enrollment plugin for UCSF's Student Information Systems (SIS).

Installation

Install with git

  • use a command line interface of your choice on the destination system (server with moodle installation)
  • switch to the moodle enrol folder: cd /path/to/moodle/enrol/
  • git clone https://github.com/ucsf-ckm/moodle-enrol-ucsfsis.git ucsfsis
  • navigate on your moodle page to admin --> notifications and follow the instructions

Install from zip

Copyright (c) 2018 The Regents of the University of California.

moodle-enrol-ucsfsis's People

Contributors

ctam avatar stopfstedt avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stopfstedt ctam

moodle-enrol-ucsfsis's Issues

Disabling (or re-enabling) an SIS enrollment instance causes Moodle to freeze

Attempting to disable an SIS enrollment instance from a course's enrollment methods page (click on the eyeball icon) causes Moodle to freeze. You can't get back into Moodle (clicking on any course link does nothing) .... it's frozen. Quitting the browser is the only recourse.

When you log back in, you can see the disable attempt did go through -- the SIS enrollment instance is disabled. If you try to re-enable it (clicking on the now-closed eyeball icon), Moodle freezes again. Quit the browser and log back in, and you see that the enrollment is now enabled.

Disabling/enabling other forms of enrollment in this way (manual, self, Ilios) works fine. The enrollment is disabled (or re-enabled) very quickly. This only seems to be a problem with SIS enrollment.

Replace "hierarchical select" form control

it's a non-standard component that's not officially "supported" in the Moodle Form API.
it also does not comply with the look and feel of form components in the Boost theme.

selection_110

replace this.

add delete option

add ability to delete a scheduled sync job

solution: override can_delete_instance() method.

Changing assigned role on existing SIS enrollment instance does not work

Step to reproduce:

  1. Set up an SIS enrollment sync on a course with 'Assign role' set to 'Student'.
  2. Save it.
  3. Now, go back and edit this enrollment setting and change the 'Assign role' field to something other than 'Student'.
  4. Check the 'Enrolled users' page, you will still see 'Student' role is being assigned to users.

This plugin needs to be updated to comply with Moodle privacy requirements.

In Moodle 4.3, this plugin causes a core unit test error as follows:

core_privacy\privacy\provider_test::test_all_providers_compliant with data set "enrol_ucsfsis" ('enrol_ucsfsis', 'enrol_ucsfsis\privacy\provider')
Failed asserting that false is true.

/home/runner/work/moodle/moodle/privacy/tests/privacy/provider_test.php:179
/home/runner/work/moodle/moodle/lib/phpunit/classes/advanced_testcase.php:81

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.