97 Commits

Author SHA1 Message Date
Petr Skoda
8f0eb9fd7a MDL-26221 add missing course/lib.php include when using make_categories_list() 2011-02-06 17:58:47 +01:00
Petr Skoda
87e88690b2 MDL-26066 fix invalid type comparison when course id used and typo fix 2011-01-23 14:56:28 +01:00
Petr Skoda
3093ce8021 MDL-25988 fixed overriding of roles variable
credit goes to Michael Landis
2011-01-14 19:04:55 +01:00
Petr Skoda
07cd46d84d MDL-25674 detection of invalid $user parameter when synchronising user enrolments 2010-12-20 14:41:18 +01:00
Petr Skoda
883deb3eb5 MDL-25659 fixed borked creation of enrol instances enrol/database, fixed detection of misconfigured sync 2010-12-13 20:48:29 +00:00
Petr Skoda
12c3ba99e7 MDL-25659 fixed overriding of fields variable and improved coding style in similar places
credit goes to Bill Johnson
2010-12-13 18:07:40 +00:00
Petr Skoda
6c796bb6bd MDL-25338 optional param: newcourseidnumber is treated like required param resulting in logic error, credit goes to Nick Thompson 2010-11-20 02:27:34 +00:00
Petr Skoda
3338a72fa0 MDL-25337 fixed invalid config test in enrol course sync, credit goes to Nick Thompson 2010-11-20 02:24:05 +00:00
Petr Skoda
346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +00:00
Petr Skoda
94b9c2e8da MDL-24321 switching to stdClass in /e*/ 2010-09-21 08:14:41 +00:00
Petr Skoda
28bd3d9ad3 MDL-23824 CLI script improvements - just define('CLI_SCRIPT', true) before require config.php; all incorrect uses of cli and web scripts are detected; refactored cron script - now in two separate sctipts; fix cli inline docs and help - we have to sudo to apache account; standardised cli script locations in auth plugins 2010-08-17 12:33:30 +00:00
Petr Skoda
9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
Petr Skoda
9232bceb53 MDL-23502 fixed php docs in enrol/database + removed unnecessary caps 2010-07-31 20:15:36 +00:00
Petr Skoda
e384d2dc7b MDL-22780 sync ext db enrol when user logs in - except admins in case something goes really wrong in plugins 2010-07-10 18:53:52 +00:00
Petr Skoda
341217658e MDL-23151 new ext sync option and minor refactoring 2010-07-08 10:57:23 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
David Mudrak
09eb215121 MDL-22729 Course sections can be re-edited again
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
2010-06-10 18:25:06 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
34970b7fc6 MDL-21694 Moving enrolment methods strings into plugin space 2010-03-29 20:31:04 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Inaki
7a9f7d6c8a enrolment plugins: MDL-21337 Missing global $OUTPUT variable in some enrolment plugins configuration page 2010-01-13 22:16:01 +00:00
Dan Poltawski
62d887ecc8 enrol/database MDL-19445 Fixed infinite loops and removed superfluous objects and casts.
thanks to Daren Chandisingh for the patch
2009-11-16 10:53:23 +00:00
Dan Poltawski
50aca34443 enrol/database: MDL-19394 Added required file for ADODB connection
Thanks to Michael Ahenerne/Daren Chandisingh for the patch
2009-11-16 10:47:40 +00:00
Petr Skoda
d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
nicolasconnault
4644e09c4a MDL-19795 Upgraded calls to link_to_popup_window() 2009-08-20 13:15:04 +00:00
nicolasconnault
c60e66aee3 MDL-19795 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:59:01 +00:00
nicolasconnault
f147f547cb MDL-19795 Upgraded calls to choose_from_menu 2009-08-17 15:18:35 +00:00
tjhunt
6cbcbf0fb3 blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page 2009-05-08 08:22:59 +00:00
tjhunt
93d4a373f9 blocklib: MDL-19010 always include blocklib in setup.php, stip includes elsewhere 2009-05-06 09:13:16 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
jerome
535f6e60e1 MDL-16043: manage case when administrator set enrol_remotecoursefield or enrol_remoteuserfield in UPPERCASE, merged from 19 2008-08-27 07:27:13 +00:00
jerome
599e379d16 MDL-16043: ensures cross-db: add lowercase conversion for every database fieldname, merged from 19 2008-08-14 12:01:34 +00:00
skodak
0cbe81112a MDL-14580 rewritten course sorting algorithms 2008-06-16 14:25:53 +00:00
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
96d1387809 MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
skodak
5183f0cc5b MDL-15094 fixed stats regression and prefix cleanup 2008-06-05 20:35:28 +00:00
skodak
50c5bef452 MDL-14679 towards enrol conversion 2008-06-02 21:02:52 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
stronk7
5777b048a6 Prevent excess of unenolments by enrol_database_sync.php. MDL-8550 ; merged from 19_STABLE 2008-05-11 23:55:50 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +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
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
iarenaza
41079ed4bb MDL-11099 and MDL-11655 Don't show external db password in clear 2007-11-18 12:45:21 +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
nicolasconnault
0d43714b98 MDL-11328 Added the missing variable 2007-09-21 11:02:30 +00:00
stronk7
5ba3928959 Fixed two places where course->shortname was harcoded to 15. MDL-10026 2007-08-08 19:39:56 +00:00