Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Marina Glancy
850acb3560
MDL-35768 MDL-36017 Avoid calling format_base::get_course() when not necessary
...
- If we want to check fields 'numsections' or 'hiddensections' call course_get_format()->get_format_options()
- We still use extended course object in course/edit.php, update_course(), create_course(), and inside course formats
2012-11-05 11:22:06 +08:00
Marina Glancy
b5cf83f080
MDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specific options
...
- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
case instead of $course = $DB->get_record('course'); we use:
$course = course_get_format($courseorid)->get_course(); This way all format-specific options
are added to the $course object
2012-11-02 10:56:19 +08:00
Petr Škoda
d156ec9cea
MDL-35701 bump up version and requirements of enrol_database
...
This should hopefully prevent attempts to blindly backport this to older stable branches.
2012-09-30 14:37:04 +02:00
Petr Škoda
7fa34d1066
MDL-35701 add enrol_database restore support
2012-09-30 14:36:57 +02:00
Petr Škoda
d2f26cec9d
MDL-35701 add parameter for sync of one course only
2012-09-30 14:36:50 +02:00
Petr Škoda
f34518d956
MDL-35701 fix inline docs
2012-09-30 14:36:39 +02:00
Petr Škoda
9bb3a168cf
MDL-35701 respect case of external column names in enrol_database
...
This fixes a regression which prevents referencing of uppercase columns in databases with case sensitive column names. Unfortunately users that relied on this incorrect behaviour may need to lowercase the column names in plugin settings.
2012-09-30 14:36:31 +02:00
Petr Škoda
13a2366cad
MD-35701 implement enrol_database unit tests and fix minor issues
...
Includes fixes for minor problems discovered during testing:
* Removed invalid role->fullname sync option, there was never such fields in roles table and the name column is now usually empty.
* Empty category column now means use default category.
2012-09-30 14:36:23 +02:00
Petr Škoda
d34770032c
Merge branch 'master_MDL-35562' of git://github.com/danmarsden/moodle into w40_MDL-35701_m24_enroldb
2012-09-30 14:35:57 +02:00
Dan Marsden
c70590245d
MDL-35562 enrol_database: enrolment_sync - don't halt sync on failed search for course.
2012-09-28 09:06:44 +12:00
Dan Marsden
d7e8f95b74
MDL-35557 enrol/database: use distinct call when getting list of courses that should be added.
2012-09-28 09:05:28 +12:00
Petr Škoda
085bf0c9fb
MDL-35331 add description of invalid enrolment records in enrol_database sync
2012-09-15 14:24:01 +02:00
Frederic Massart
55bcef2954
MDL-34461 Librairies: Replaced deprecated get_context_instance()
2012-07-23 17:42:05 +08:00
Ashley Holman
081ebacfe9
MDL-34309: Fix broken postgres unix sockets in core_adodb_testcase::test_read_table
2012-07-16 09:31:10 +12:00
Eloy Lafuente (stronk7)
a079d364f3
Merge branch 'w27_MDL-33876_m24_delenrol' of git://github.com/skodak/moodle
2012-07-04 04:15:47 +02:00
Petr Škoda
0004317f79
MDL-33876 skip deleted users in enrol_database sync
2012-06-30 08:42:16 +02:00
Aparup Banerjee
99c3c503e0
MDL-34096 Installation : Added 2.3 upgrade line to db upgrade scripts.
2012-06-29 11:41:09 +08:00
Eloy Lafuente (stronk7)
c5e783e512
MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700
2012-06-18 02:37:00 +02:00
Sam Hemelryk
70ebfcee6f
Merge branch 'w19_MDL-32178_m23_dbenrolignore' of git://github.com/skodak/moodle
2012-05-09 11:17:39 +12:00
Petr Skoda
bc8926e34b
MDL-32178 ignore duplicates in enroL_database external course table
2012-05-06 15:51:25 +02:00
Petr Skoda
cc8cc1df80
MDL-32645 fix enrol_database tests
2012-05-06 14:46:14 +02:00
Petr Skoda
3932d474e3
MDL-32574 fi sqlsrv adodb test
2012-04-24 09:22:26 +02:00
Petr Skoda
bcecc9ba68
MDL-32574 basic addodb connection tests + improved connection handling in enrol_database
...
This should allow us to allow connection via dsn which will allow a lot more options in the future.
2012-04-22 11:03:32 +02:00
Petr Skoda
a12f9825dd
MDL-32046 show warning that unenrolment of all users is not allowed in non-verbose mode
2012-03-16 11:03:31 +01:00
Eloy Lafuente (stronk7)
b39877ef10
Merge branch 'w11_MDL-31790_m23_resetunenrol' of git://github.com/skodak/moodle
2012-03-13 18:13:52 +01:00
Petr Skoda
35c89e5e87
MDL-31790 fix incorrect capability
2012-03-13 09:09:04 +01:00
Petr Skoda
b6f7dbe3a2
MDL-31845 fix not-null constraint on idnumber
2012-03-10 14:25:28 +01:00
Petr Skoda
e042c58df1
MDL-31845 add "Local category field" option in database enrol plugin
...
This patch uses code from the original patch by Michael Aherne, most of the credit goes to him.
2012-03-10 14:19:49 +01:00
Eloy Lafuente (stronk7)
2ed7cc2730
Merge branch 'w10_MDL-31301_m23_textlibcleanup' of git://github.com/skodak/moodle
2012-03-06 16:06:53 +01:00
Petr Skoda
f8311defeb
MDL-31301 use static textlib methods
2012-03-03 11:46:13 +01:00
Petr Skoda
4a63589000
MDL-31361 allow unenrolling of suspended users in enrol/database
2012-03-03 11:37:51 +01:00
Petr Skoda
8ef9da055a
MDL-30610 standardise empty upgrade script content
2011-12-23 10:38:11 +01:00
Petr Skoda
3751e28f1c
MDL-30610 remove outdated enrol upgrade code
2011-12-23 10:38:11 +01:00
Petr Skoda
9f38ba6860
MDL-29117 use default course settings when template not set in db enrol
2011-12-11 10:57:44 +01:00
Aparup Banerjee
46f2a9366a
MDL-30604 Added upgrade lines to upgrade.php(s)
2011-12-09 01:28:59 +01:00
Petr Skoda
629303c1c8
MDL-30528 stop recreating role_assignments on every login attempt for each user
...
Credit goes to Luis Gustavo Mueller de Alcantara.
2011-12-06 08:48:38 +01:00
Petr Skoda
9dbf768ede
MDL-30007 standardise enrol plugins version info
2011-11-29 21:09:42 +01:00
Petr Skoda
804796138a
MDL-29688 properly reactivate ext db enrolment
2011-10-23 20:51:39 +02:00
Petr Skoda
358fb4dc06
MDL-29688 fix user enrolment modification event
...
Fixed invalid event name and usage.
2011-10-23 20:30:33 +02:00
Eloy Lafuente (stronk7)
3afd493065
Merge branch 'w36_MDL-29326_m22_sqlsrv' of git://github.com/skodak/moodle
2011-09-13 17:33:42 +02:00
Petr Skoda
5cc6b84731
MDL-29326 add support for auth and enrol using mssqlnative adodb driver
2011-09-12 09:23:47 +02:00
Petr Skoda
05e60bd206
MDL-29306 support multiple roles in ext enrol db
2011-09-10 23:30:58 +02:00
Petr Skoda
6650f3dedf
MDL-29020 add CLI verbose mode and stop requiring course idnumber when external column specified
2011-08-20 12:59:23 +02:00
Petr Skoda
43c5c08cf7
MDL-28313 fix incorrect enrol database settings upgrade
2011-07-14 22:31:40 +02:00
Petr Skoda
6c6b8ad2f0
MDL-27375 add missing lowercasing of external column names
...
Credit goes to Gail Preuninger.
2011-07-02 15:16:02 +02:00
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