107 Commits

Author SHA1 Message Date
Sam Hemelryk
e17dbeeb1a MDL-34398 groups: implemented caching of group information. 2013-01-17 09:24:58 +13:00
Dan Poltawski
a85d61e812 Merge branch 'MDL-28705_master' of git://github.com/dmonllao/moodle 2013-01-15 14:32:22 +08:00
David Monllao
7cd5340f05 MDL-28705 enrol_imsenterprise Quick unit tests fix 2013-01-15 14:24:57 +08:00
Dan Poltawski
9cbb0944c9 Merge branch 'MDL-28705_master' of git://github.com/dmonllao/moodle 2013-01-15 12:54:28 +08:00
Eloy Lafuente (stronk7)
6b9dfe731e MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
David Monllao
c25c3c07b4 MDL-28705 enrol_imsenterprise Unit tests for course attributes mapping 2012-11-15 09:50:00 +08:00
David Monllao
2b8f692f71 MDL-28705 enrol_imsenterprise Unit tests for users and courses creation 2012-11-15 09:50:00 +08:00
David Monllao
66dad71990 MDL-28705 enrol_imsenterprise Refining provided patch 2012-11-15 09:50:00 +08:00
Aaron C Spike
a65c11b0ca MDL-28705 enrol_imsenterprise Make name mapping configurable 2012-11-15 09:50:00 +08:00
Aaron C Spike
b1cabb40eb MDL-28705 enrol_imsenterprise Adjust mapping of names for ims groups 2012-11-15 09:50:00 +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
Dan Poltawski
f186ad1f90 Merge branch 'wip-MDL-35339-master' of git://github.com/marinaglancy/moodle 2012-10-15 17:19:44 +08:00
Marina Glancy
4ede27b253 MDL-35339 deprecate get_course_section() replace with course_create_sections_if_missing()
By passing course object instead of course id we ensure proper cache reset"
2012-10-15 14:08:14 +08:00
Marina Glancy
79c5c3fa96 MDL-35661 Loading of plugin settings for enrol plugins (plugininfo_enrol) 2012-10-09 09:57:57 +08:00
sam marshall
1d1917aeaa MDL-31973 Groups: groups_members table should have 'component', 'itemid' fields 2012-08-24 15:30:13 +01:00
David Monllao
a4b1ba242a MDL-25983 enrol_imsenterprise Importing the course summary when adding new courses 2012-08-02 15:32:28 +08:00
Frederic Massart
55bcef2954 MDL-34461 Librairies: Replaced deprecated get_context_instance() 2012-07-23 17:42:05 +08: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
Andrew Davis
1218879656 MDL-31429 enrol: added db/messages.php for enrolment plugins and added some smarts to messaging so it won't display message settings for disabled enrolment plugins 2012-04-20 11:48:46 +07:00
Petr Skoda
927010240f MDL-31006 some more PHP54 notices
PHP54 compatibility - PhpStorm IDE is the best tool for this kind of work!!
2012-01-18 01:17:25 +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
Aparup Banerjee
d2861a7b47 MDL-29325 fixed typo - camelcasing. 2011-12-14 13:12:57 +08:00
Aparup Banerjee
952a77d1a8 MDL-29325 Enrol : reduced isset calls and improved readability 2011-12-13 16:37:00 +08:00
Dan Marsden
b47316cded MDL-29325 imsenterprise enrolment - allow more flexible naming of courses - thanks to Adam Barbary for patch 2011-12-11 19:07:23 +13:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Dan Marsden
c72c635689 MDL-30211 imsenterprise enrolment - set up default enrolment methods in new courses 2011-12-02 22:41:51 +13:00
Petr Skoda
9dbf768ede MDL-30007 standardise enrol plugins version info 2011-11-29 21:09:42 +01:00
Dan Marsden
801fdcfd3f MDL-29290 - few more coding guideline fixes with function 2011-11-16 08:51:58 +13:00
Dan Marsden
20d694ac59 MDL-29290 fix spacing 2011-11-16 08:51:57 +13:00
Dan Marsden
cffd976ee3 MDL-29290 Enrol IMSEnterprise - use correct course defaults - thanks to Adam Barbary for the fix 2011-11-16 08:51:57 +13:00
Eloy Lafuente (stronk7)
fb57247ed2 MDL-28962 enrol imsenterprise - whitespace fix 2011-08-23 18:39:48 +02:00
Dan Marsden
5375c60ad4 MDL-28962 enrol imsenterprise - incorrect conversion of new dml syntax - thanks to Patrick Gagnon for report and fix. 2011-08-18 13:39:22 +12:00
Aparup Banerjee
c5a8abfedd MDL-28169 Installation Added 2.1 upgrade (idiot proof) lines to upgrade scripts. 2011-07-07 11:40:38 +08:00
Petr Skoda
6fde0dac70 MDL-26189 protect imsenterprise enrol file 2011-01-31 13:22:55 +01:00
Petr Skoda
365bf67699 MDL-25536 fixed incorrect reading of plugin options in imsenterprise enrol plugin 2010-12-06 05:52:55 +00:00
Petr Skoda
94b9c2e8da MDL-24321 switching to stdClass in /e*/ 2010-09-21 08:14:41 +00:00
Petr Skoda
f7c40d46bd initializing variables 2010-09-17 12:41:00 +00:00
Petr Skoda
9d97f08e99 MDL-14679 fixed multiple old style insert_record calls, we throw exceptions now from DML 2010-09-03 16:26:04 +00:00
David Mudrak
90aa178a17 MDL-21695 Migrated enrol_imsenterprise help files into description strings
Originally, the strings were prepared by Helen with _help suffix. But in
IMS Enterprise, there is no place for help icons. So the strings are
used as descriptions at the setting page and therefore they have _desc
suffix now.

AMOS BEGIN
 MOV [usecapitafix_help,enrol_imsenterprise],[usecapitafix_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/capita.html,[usecapitafix_desc,enrol_imsenterprise]
 MOV [createnewcategories_help,enrol_imsenterprise],[createnewcategories_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/categorisation.html,[createnewcategories_desc,enrol_imsenterprise]
 MOV [createnewcourses_help,enrol_imsenterprise],[createnewcourses_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/createnewcourses.html,[createnewcourses_desc,enrol_imsenterprise]
 MOV [createnewusers_help,enrol_imsenterprise],[createnewusers_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/createnewusers.html,[createnewusers_desc,enrol_imsenterprise]
 MOV [deleteusers_help,enrol_imsenterprise],[deleteusers_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/deleteusers.html,[deleteusers_desc,enrol_imsenterprise]
 MOV [sourceddidfallback_help,enrol_imsenterprise],[sourceddidfallback_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/sourceddidfallback.html,[sourceddidfallback_desc,enrol_imsenterprise]
 MOV [restricttarget_help,enrol_imsenterprise],[restricttarget_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/target.html,[restricttarget_desc,enrol_imsenterprise]
 MOV [truncatecoursecodes_help,enrol_imsenterprise],[truncatecoursecodes_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/truncatecoursecodes.html,[truncatecoursecodes_desc,enrol_imsenterprise]
 MOV [allowunenrol_help,enrol_imsenterprise],[allowunenrol_desc,enrol_imsenterprise]
 HLP enrol/imsenterprise/unenrol.html,[allowunenrol_desc,enrol_imsenterprise]
AMOS END
2010-08-16 14:33:33 +00:00
Petr Skoda
97c65be564 MDL-23502 fixed php docs in enrol/imsenterprise 2010-07-31 20:36:21 +00:00
Petr Skoda
9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
Petr Skoda
74f64f62bb MDL-22783 fixing default roles in ims settings 2010-07-25 17:33:14 +00:00
Aaron Barnes
fa36ca3db7 MDL-22783 upgrade enrol/flatfile plugin to use enrolments
Adding/removing files missed in last patch
2010-07-22 03:33:28 +00:00
Aaron Barnes
6fa788ab37 MDL-22781 upgrade enrol/flatfile plugin to use enrolments
Patch by Eugene Venter
2010-07-19 04:31:47 +00:00
Petr Skoda
edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +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