810 Commits

Author SHA1 Message Date
Sam Hemelryk
a3c7198453 enrol MDL-23232 Added missing caps and plugins checks and copied both sets from the manager to implementing scripts 2010-07-13 03:43:41 +00:00
Sam Hemelryk
2c770b7af2 enrol MDL-23231 Added total enrolled users count to the overview page heading + title 2010-07-13 02:42:01 +00:00
Petr Skoda
91b99e8018 MDL-23232 added support for enrol_plugin->all_enrol() which indicates plugin allows users to add new enrolments manually 2010-07-12 17:46:48 +00:00
Sam Hemelryk
23cee7a4cf enrol MDL-22867 Fixed a couple of bugs and made some slight display changes.
* Set the default per page limit to 100 instead of 20
* Set the default enrolment role to enrol_manual:roleid config
* Added course name to page title
* Fixed centering bug of cohort dialogue
* Fixed double display bug
2010-07-12 09:01:59 +00:00
Sam Hemelryk
2ec702c999 enrol MDL-22867 Added functionality to add cohort sycn or preform a one off member enrolment on the enrolled users screen. 2010-07-12 08:28:13 +00:00
Sam Hemelryk
f5ce6b71da enrol MDL-22854 Fixed navigation for the cohort add instance page 2010-07-12 06:18:08 +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
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
Helen Foster
5a4c4d4d9b MDL-22997 adding help strings 2010-07-07 14:21:56 +00:00
Helen Foster
53ccc14fd2 MDL-22997 adding help strings 2010-07-07 14:15:29 +00:00
Sam Hemelryk
a70eb30fa9 enrol MDL-22854 New ajaxified enrolment interface 2010-07-07 02:46:34 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
eae1948cee MDL-22910 workaround for inability of Oracle and MS sql to find distinct text fields, improved perf in all dbs 2010-06-30 20:42:11 +00:00
Martin Dougiamas
3bd9a7fe59 NOBUG: Added a little notice about the new interface coming soon 2010-06-30 09:29:31 +00:00
jerome mouneyrac
c2d81ff458 enrolment MDL-21524 fix get_enrolled_users() web service parameter function 2010-06-24 13:18:34 +00:00
Petr Skoda
ff3af0a542 MDL-22897 fixed problem when no category sync roles defined 2010-06-22 16:10:23 +00:00
Petr Skoda
f6fdf620c2 MDL-22779 fixing add instance to show only cohorts from parent contexts once more 2010-06-21 17:01:25 +00:00
Petr Skoda
d675887bc0 MDL-22779 fixing add instance to show only cohorts from parent contexts 2010-06-21 16:57:56 +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
Dongsheng Cai
0cdeb42562 MDL-22574, enrol/authorize, use filepicker to upload csv file 2010-06-08 06:32: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
jerome mouneyrac
26b99f2e55 webservice MDL-22580 remove some bad NULL_NOT_ALLOWED into the ws description of enrol 2010-05-26 13:40:43 +00:00
jerome mouneyrac
f1c9ff3699 webservice MDL-22580 fixing all the wrong PARAM_ into /enrol/externallib.php 2010-05-26 02:53:13 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Helen Foster
543b60e411 MDL-21695 adding help and link strings 2010-05-20 15:28:11 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Penny Leach
d234faf3a4 mnet MDL-22267 updated mnet_server_faultand mnet_server_exception string handling
This is so that mnet_server_fault doesn't have to call get_string (in
case of coding exception)
2010-05-01 15:53:45 +00:00
Petr Skoda
0aa759b01c MDL-22015 more get_list_of_countries() refactoring 2010-04-14 14:27:10 +00:00
Petr Skoda
97b7d149b6 MDL-22015 deprecated get_list_of_currencies() method - improved string_manager encapsulation 2010-04-14 14:04:21 +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
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
34970b7fc6 MDL-21694 Moving enrolment methods strings into plugin space 2010-03-29 20:31:04 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Penny Leach
677b6321af mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled 2010-02-18 04:55:34 +00:00
Penny Leach
6f11599540 mnet MDL-20204 fixing parse error in previous commit: "converting yes_no selects" 2010-02-17 03:50:44 +00:00
jerome mouneyrac
e9b66095a3 webservice MDL-21524 add role_assign and role_unassign ws functions 2010-02-16 07:07:04 +00:00
Penny Leach
4a3c330854 mnet MDL-21327 remove auto add remote users setting as it makes no sense 2010-02-16 03:03:30 +00:00
Penny Leach
61506902f3 mnet MDL-20660 allow admins to configure fields to be sent over mnet 2010-02-16 02:05:30 +00:00
Petr Skoda
c80877aa0e MDL-20204 fixed recent regressions + improved action handling - sorrrry 2010-02-11 15:44:06 +00:00
Petr Skoda
7de131039a MDL-20204 migrated checkbox to html_writer 2010-02-11 10:22:22 +00:00
Petr Skoda
593a43b673 MDL-20204 select conversion 2010-02-11 09:46:03 +00:00
Petr Skoda
f83b9b63ae MDL-20204 legacy time selects converted, please note we should always use mforms if possible 2010-02-10 14:27:03 +00:00
Petr Skoda
78bdac6449 MDL-20204 converting yes_no selects 2010-02-10 14:05:07 +00:00