553 Commits

Author SHA1 Message Date
ethem
36814b9910 Accesbility Improvements: -New search option, cc last four; -Paging options 2008-02-11 10:05:06 +00:00
ethem
3fc5a426bf Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Merged from MOODLE_19_STABLE
2008-02-07 16:33:58 +00:00
ethem
04b8b68848 MDL-10181 User Management Improvements: Cron unenrolment of manual should takes place in the main cron.
It is time to use own enrolment method when calling funcs enrol_into_course, role_assign, role_unassign.

Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Assignments in a conditional statement are sometimes the result of a typo.
In many cases, instead of the assignment operator =, the equality operator ==
should be used. When comparing a variable and a non-variable expression,
it is common practice to put the variable on the right-hand side of the equality
operator, so that if the equality operator is erroneously replaced with the
assignment operator, PHP will report a parse error immediately.
This helps you avoid a big subset of this class of bugs.

Merged from MOODLE_19_STABLE
2008-02-06 08:13:20 +00:00
ethem
ca177540ba *** empty log message *** 2008-02-05 17:34:36 +00:00
ethem
5b184c3f44 *** empty log message *** 2008-02-05 17:27:35 +00:00
ethem
e08dc18dbe *** empty log message *** 2008-02-05 17:05:29 +00:00
danmarsden
7993f4bdaa Fix for MDL-12998 and MDL-13079 Ldap not unenrolling users correctly 2008-01-21 23:22:12 +00:00
ethem
da86084f82 download_file_content() for proxy support. 2008-01-18 17:31:14 +00:00
ethem
1dbc38bbec download_file_content() for proxy support. 2008-01-18 17:13:26 +00:00
ethem
3309cb829f + fsockopen to file_get_contents
+ no more student
2008-01-18 10:43:21 +00:00
ethem
8bdd962733 Authorize.net account verification 2008-01-16 17:19:30 +00:00
ethem
4e25202e0b Tidy up 2008-01-15 10:16:27 +00:00
ethem
d2e042ee5e Tidy up 2008-01-15 10:03:57 +00:00
ethem
039afd9b87 MDL-12958 In the Authorize enrol plug-in when a credit card expiry date (year) is entered, a validate error is generated blocking credit card usage 2008-01-14 18:01:18 +00:00
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