92 Commits

Author SHA1 Message Date
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
Petr Skoda
6b8ad965dc MDL-16919 we have to really use the username cleaning only when manually adding new accounts, any sync with external system needs the exact match without any cleaning! 2010-06-06 14:06:30 +00:00
Helen Foster
543b60e411 MDL-21695 adding help and link strings 2010-05-20 15:28:11 +00:00
Petr Skoda
596509e431 MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help 2010-04-13 20:34:27 +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
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +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
Rossiani Wijaya
07ed083e4e MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@) 2010-01-13 06:23:54 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
7c7d3afab5 MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems" 2009-11-07 10:27:57 +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