539 Commits

Author SHA1 Message Date
poltawski
209819bd72 MDL-12856 - previous commit was breaking moodle installs after
redeclaring method. Remove the duplicate function.

merged from MOODLE_19_STABLE
2008-01-07 20:57:44 +00:00
ikawhero
6b34dd500c Adding method to allow printing of the enrolment key form code when using PayPal.
Merged from MOODLE_19_STABLE
2008-01-07 01:02:45 +00:00
martinlanghoff
0d8466509d enrol/manual: Fix calls to get_users_by_capability() to avoid ra
get_users_by_capability() can no longer refer to properties of role
assignments or roles, as the capability aggregate is indirect.

MDL-12452
2008-01-06 23:25:15 +00:00
skodak
df512196f5 MDL-9744 passwork field for ldap bind pw - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE 2008-01-02 22:53:47 +00:00
skodak
a117919527 MDL-10975 enrol_database_sync.php will run even if the plugin is disabled - patch by Braden MacDonald; merged from MOODLE_19_STABLE 2008-01-02 22:36:31 +00:00
poltawski
25c3f91a52 MDL-12789 - dont unnecessarily iterate over all groups 2008-01-01 23:03:48 +00:00
poltawski
89a643b0fa MDL-2414 - using quotes in enrolment keys failed due to slashes.
merged from MOODLE_19_STABLE
2007-12-28 12:36:33 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
thepurpleblob
220f149cfc MDL-12296:
Unenrol disable option now works in synchronisation script.

Merged from STABLE_19
2007-11-23 15:49:00 +00:00
thepurpleblob
3d49005f20 MDL-12296:
Added option to prevent database enrolment plugin unenrolling users.

Merged from STABLE_19
2007-11-21 11:06:46 +00:00
ethem
488bc5f51b Fix for Canadian Postal Code
http://moodle.org/mod/forum/discuss.php?d=81736
2007-11-20 13:22:39 +00:00
iarenaza
41079ed4bb MDL-11099 and MDL-11655 Don't show external db password in clear 2007-11-18 12:45:21 +00:00
mchurch
5e983a9a2f MDL-11991 Fixing error on undefined method while using the manual plug-in. 2007-11-13 18:07:23 +00:00
ethem
048be1b091 Fix for refactoring
Fatal error: Call to undefined method enrolment_plugin_authorize::print_enrolmentkeyfrom() in /usr/local/www/data/moodle/enrol/manual/enrol.html on line 7
2007-11-07 15:57:23 +00:00
ethem
d906abacca Access modifiers. 2007-11-07 10:54:28 +00:00
ethem
3ab547688a Access modifiers. 2007-11-07 10:24:35 +00:00
donal72
254f0c073a Initialize the $message variable properly this time. 2007-11-01 21:30:37 +00:00
donal72
970dc3660d Revert: Initialize the $message variable 2007-11-01 21:28:08 +00:00
donal72
d576d0402c Initialize the $message variable 2007-11-01 05:06:26 +00:00
mattc-catalyst
6f3dc679c6 Author: Matt Clarkson <mattc@catalyst.net.nz> 2007-10-30 20:46:18 +00:00
donal72
22f9befe82 MDL-11329: fixed text: "Local courses for external users:" 2007-10-16 09:15:02 +00:00
nicolasconnault
56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak
128f098418 MDL-11640
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00
stronk7
28271c7205 Second pass. Some more default comments are out. MDL-11385 2007-09-24 22:10:13 +00:00
nicolasconnault
0d43714b98 MDL-11328 Added the missing variable 2007-09-21 11:02:30 +00:00
martinlanghoff
57770b87d0 Interactive enrolment/unenrolments: make sure we unset mycourses 2007-09-19 07:17:23 +00:00
martinlanghoff
d32dd61154 enrol/paypal: mark the contextpath as dirty on unenrolment
so the unenrolment is effective immediately.
2007-09-19 07:12:22 +00:00
martinlanghoff
f055618837 enrol/mnet: mark context as dirty after unenrol
So the unenrolment is effective immediately.
2007-09-19 07:12:10 +00:00
martinlanghoff
690c946c15 get_role_users() callers rework to use the new $gethidden 2007-09-19 07:09:50 +00:00
iarenaza
59b567692d Remove additional check when dealing with hidden courses in LDAP enrolment.
The check is superfluous and uses an inexistant variable ($type) that
was removed when we switched to role based enrolment.

Fixes MDL-11098 MDL-10282 and MDL-8346.
2007-09-15 21:38:13 +00:00
skodak
53ed410ad3 MDL-11053 Course object not escaped before insert - patch by Aaron C Spike 2007-08-29 13:53:11 +00:00
nicolasconnault
2dcccb0fad MDL-10918 Applying Aaron's patch. 2007-08-27 14:01:41 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
778918fd71 MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI 2007-08-16 21:14:03 +00:00
skodak
5bf243d131 MDL-10383 - groups/groupings refactoring nearly finished ;-) 2007-08-16 11:06:48 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
stronk7
5ba3928959 Fixed two places where course->shortname was harcoded to 15. MDL-10026 2007-08-08 19:39:56 +00:00
thepurpleblob
4d3145f3d3 MDL-10585:
MDL-10584:
Present more factually correct message when a guest attempts to enrol.
Provide a mechanism for specifying which role in a course holds the
enrolment key.

Merged from STABLE_18
2007-08-01 11:52:05 +00:00
thepurpleblob
61fbd0fb52 MDL-10396:
Add an option and a check to (optionally) prevent users being enrolled
in hidden courses.

Merged from STABLE_18
2007-07-20 13:03:19 +00:00
thepurpleblob
830ba6ea46 MDL-10157:
Turn the diagnostic prints into error_logs. The more normal "course skipped"
message now requires DEBUG_ALL or greater before it is generated at all.

Merged from STABLE_18
2007-07-20 08:57:05 +00:00
toyomoyo
75c2ecc88e merged fix for MDL-9337, hidden teachers are visible when not enroled 2007-07-09 07:42:46 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
toyomoyo
cf05753492 cron unenrolment of manual should takes place in the main cron, MDL-10181 2007-07-04 02:24:05 +00:00
thepurpleblob
bf98228ade Missing cvs id tag 2007-06-18 10:35:02 +00:00
ethem
1d2a739b56 MDL-9836
Authorize.net / SSL Config Bug prevents display of options from enrol/authorize/enrol.php
2007-06-15 17:40:58 +00:00
skodak
13569fd43b MDL-9418 use proper addslashes before each insert; merged from MOODLE_18_STABLE 2007-05-16 20:08:26 +00:00
poltawski
a044c05ddb MDL-9742 - changed tabs to spaces in a few places where there are one
or two
2007-05-08 15:07:25 +00:00