Obsolete:Mnet 1.0 progress: Difference between revisions
From MoodleDocs
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Internals - Naming & conventions | =Status= | ||
= Internals - Naming & conventions = | |||
* Tables and functions following moodle conventions | * Tables and functions following moodle conventions | ||
Line 10: | Line 12: | ||
* $MNET_CLIENT instead of $MNET | * $MNET_CLIENT instead of $MNET | ||
= Internals - correctness = | |||
* walk our delta to check for required_param() and optional_param() without PARAM_TYPE | * walk our delta to check for required_param() and optional_param() without PARAM_TYPE | ||
Line 55: | Line 57: | ||
** goal for MartinD: a "Moodle Hub" host may just offer sso and enrol to any remote host? | ** goal for MartinD: a "Moodle Hub" host may just offer sso and enrol to any remote host? | ||
= UI = | |||
* simplify mnet host configuration | * simplify mnet host configuration | ||
Line 99: | Line 101: | ||
= Further Functionality = | |||
* Exchange more enrolment info during jump | * Exchange more enrolment info during jump | ||
Line 118: | Line 120: | ||
*** Other mailouts with links? | *** Other mailouts with links? | ||
= User feedback = | |||
* RWyles | * RWyles |
Revision as of 21:05, 30 November 2006
Status
Internals - Naming & conventions
- Tables and functions following moodle conventions
- mnet_host.description - rename to mnet_host.name
- mnet.service.service_name rename to 'name'
- rename mdl_mnet_enrol_assignments.studentid to userid
- should some of our mnet/enrol stuff be in auth/sso?
- $MNET_CLIENT instead of $MNET
Internals - correctness
- walk our delta to check for required_param() and optional_param() without PARAM_TYPE
git-diff MOODLE_17_STABLE...master | pcregrep '\+.*(required_param|optional_param)'
- multi auth
- initial install should enable email-based self-reg and manual accts
- if they are disabled, it should _break_ and not allow users in
- mnet rpc -
- don't dispatch if module/plugin is disabled
- figure out handling of xml-rpc reported errors
- why does the xmlrpc client have to call it 'enrol/mnet/enrol/foo'? the 2nd instance of enrol is superfluous
- enrol/mnet
- available_courses() needs review
- enrol_user()/unenrol_user()
- get rid of ob_ hack
- only unenrol if enrol ='mnet'
- error handling
- maybe implement a 'default role override' (low pri)
- block/courses_list needs to be reworked a bit for correctness
- the "my courses" in the main page should follow
- abstrace "get_my_remote_courses()" functionality
- auth/mnet
- prevent jump if username === 'guest' or if mnethost!= localhost
- Review capabilities and privileges - and relationship with whitelist / blacklist
- MAJOR - user.username uniqueness - check with MartinD
- Backup & REstore - check with Eloy
- Error handling if remote host does not have networking ok?
Arch / Design
- discuss mnet host services configuration and service data caching
- goal: simplify host to service mapping
- bug: Once we've seen a remote service, we think we have it to offer too?
- goal for MartinD: a "Moodle Hub" host may just offer sso and enrol to any remote host?
UI
- simplify mnet host configuration
- partially done - how do we bring the ability to run promiscuous?
- use submit-redirect scheme re-enable the back-button
- admin sidebar link should be Networking->Hosts
- admin/mnet - do NOT show IDs anywhere in the page
- almost there!
- enrol/mnet -
- pull/cache enrolments from remote hosts
- maybe as logs?
- display in my courses
- more advanced dance to enrol to remote hosts...
- pull/cache enrolments from remote hosts
- Make enrol/mnet interfaces nicer
- remote_hosts.php
- tidy up tables
- add cached counts of courses available and enrolments
- add links to logs view
- remote_hosts.php
- remote_courses.php
- should look & behave similar to courses/index.php -- steal CSS
- remote_courses.php
- remote_enrolment.php
- tidy up
- remote_enrolment.php
- These 3 scripts above need a bit of a scrubbing and a whole lot of lang strings
- To consider - these 3 scripts may need to be split off outside of enrol/mnet.
- UI - wise, I think it will make sense to make them show up in the main admin block, so it shows up under Network -> Remote enrolments
- To consider - these 3 scripts may need to be split off outside of enrol/mnet.
MartinD is likely to want it to be Network -> Hub enrolments or something like that. We may leave this until we talk with him -- it's not a big problem if we have to move the files around.
- Replace course / category selection in enrol/mnet/config.html with a separate page with 2 panes, similar to remote_enrolment.php
- Storage of that info needs to be reworked
- Replace course / category selection in enrol/mnet/config.html with a separate page with 2 panes, similar to remote_enrolment.php
- consider splitting out log handling to a separate page for scalability (low pri)
Further Functionality
- Exchange more enrolment info during jump
- IdP needs to current roles in SP to display in My Courses and reports
- SP needs to know about enrolments in IdP (and perhaps even other SPs) to make My Courses more useful
- Related My Courses improvements
- Might need to tweak mnet_enrol_role_assignments table
- Mnet Dispatcher (low pri)
- Expose core moodle calls via lib/publiclib.php or similar?
- Allow mnet-specific drop-ins via mnet/plugins/ ?
- Content sharing
- Come up with a simple + useful plan or punt
- Forum post mailings
- Tweak read / reply URLs - possible?
- Other mailouts with links?
- Tweak read / reply URLs - possible?
User feedback
- RWyles
- Allow request remote host logo for theme displkay
- LOGINAS is broken on SP
- Think about gradebook service to export final grades