519 Commits

Author SHA1 Message Date
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
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
nicolasconnault
933e257ab2 MDL-9322 Fixed non-compliant xhtml code for mnet pages, logs and enrol pages 2007-04-13 07:03:04 +00:00
martinlanghoff
76ab1c33d9 Bug fix: 'off by one'month bug in mupltiple locations.
When the system/user time zone was set to GMT-13 months would lag behind by
one month.


Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-04-13 05:04:57 +00:00
nicolasconnault
a2ff2e0992 MDL-9207 Changed $extcourse to $coursefield in lines 92 to 111 2007-04-05 01:54:44 +00:00
skodak
b0efa7ec07 MDL-9169 Error in function call in ldap/enrol.php; typo found by Svante Agnestig; merged from MOODLE_18_STABLE 2007-04-02 13:16:55 +00:00
skodak
8f80eba57d MDL-4313 LDAP doesn't properly escape extra quotes in course details + minor role unassign change; merged from MOODLE_18_STABLE 2007-03-29 21:40:48 +00:00
danmarsden
4f896599f8 MDL-9102 incorrect use of unset_config() 2007-03-28 23:36:23 +00:00
toyomoyo
96c50eddd7 applying inaki's patch for MDL-9012, course autocreation doesn't work in enrol/database 2007-03-26 06:51:17 +00:00
nicolasconnault
4876a566a4 MDL-8963 : The code was using $group->password instead of $group->enrolmentkey. 2007-03-21 06:20:02 +00:00
ethem
20fe12b4a2 Code cleanup 2007-03-14 13:07:36 +00:00
skodak
efe12f6c22 MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes 2007-03-05 11:27:01 +00:00
skodak
18b07efaf4 sesskey added to logout.php MDL-8727 2007-03-02 16:47:38 +00:00
nicolasconnault
20576b84af MDL-8693 Fixed the double-equal typos (2) 2007-03-01 07:34:51 +00:00
toyomoyo
d5b04008fd replacing fieldsets with divs in small forms 2007-03-01 06:57:11 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
moodler
b40b3eb4cf Merged string fixes from stable 2007-02-23 06:58:43 +00:00
moodler
19a9bf1b8f Merged some fixes for MDL-8285 from stable 2007-02-23 06:47:19 +00:00
skodak
1679334034 MDL-8590 auth cleanup - part 3 2007-02-20 17:15:13 +00:00
ethem
55a8360776 Removed unnecesary code; Merged from MOODLE_18_STABLE. 2007-02-19 12:11:15 +00:00