Commit graph

420 commits

Author SHA1 Message Date
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
Eloy Lafuente
c86fa1a2ce MDL-22588 restore scales - fix scales not being assigned to target course. Merged from 19_STABLE 2010-05-28 09:25:21 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +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
Eloy Lafuente
ac94303a42 MDL-19233 restore of roles - prevent role creation, role assignment and
permission overrides by observing corresponding caps. Improve role mapping a bit.
Credit goes to Daniel Neis. Merged from 19_STABLE
2010-03-22 22:33:30 +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
Rossiani Wijaya
b6570b2fec MDL-21509 - include timecreate field (user table) to backup and restore. 2010-02-05 08:08:57 +00:00
Eloy Lafuente
0c8952c309 MDL-21370 restore - avoid adding slashes twice to user info. Merged from 19_STABLE
Credit goes to jean-christophe zulian
2010-01-18 19:39:38 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Eloy Lafuente
5e934890c9 MDL-16658 restore - new restore:createuser cap + pre-check users before restoring; merged from 19_STABLE 2009-12-30 17:35:36 +00:00
Eloy Lafuente
ead791ddd5 MDL-21045, MDL-21046 restore - gradebook categories, letters and outcomes are now
restored no matter if user info is enabled or no (as far as they are user-independent)
Merged from 19_STABLE
2009-12-18 18:48:44 +00:00
Eloy Lafuente
8ef5f17dc3 NOBUG minor typo in phpdocs ; merged from 19_STABLE 2009-12-17 14:41:15 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Eloy Lafuente
5d9ab024ac MDL-16658 restore users pre-check. Reviewed logic with latest discussions. Continues disabled. Merged from 19_STABLE 2009-11-29 21:24:05 +00:00
Eloy Lafuente
55f5b2e8b8 MDL-16658 users pre-check. Committing current *disabled* code to have it
already under CVS control and better handling ; merged from 19_STABLE
2009-11-24 10:06:13 +00:00
Eloy Lafuente
321ee52976 MDL-20939 backup & restore - avoid admins to be always included. Two things
were causing this: wrong get_users_by_capability() call and standard scales.
Improved scales restore to observe the 'moodle/course:managescales' cap.
Merged from 19_STABLE
2009-11-24 00:45:11 +00:00
Petr Skoda
edb5da8331 MDL-20934 'not cached' flag used in all auth plugins that do not need the password 2009-11-23 21:50:40 +00:00
Eloy Lafuente
886e63dda9 MDL-20932 user->secret out - merged from 19_STABLE 2009-11-22 13:36:19 +00:00
Eloy Lafuente
f6459d125e MDL-20849 moodle/restore:userinfo - new cababilty to allow/deny
permissions to restore any (users, messages, modulesactivity...)
user-level information. Merged from 19_STABLE
2009-11-20 00:32:16 +00:00
Petr Skoda
f54c4273da MDL-20901 fixed input validationand removed annoying redirect which must not be clicked during course import 2009-11-19 18:48:34 +00:00
Eloy Lafuente
089f1f065e MDL-20846 creating users on restore - part1 - mark password as 'restored'
so login will detect that for resetting password. Also some minor improvements
into user/auth detection. Merged from 19_STABLE
2009-11-17 15:51:27 +00:00
Penelope Leach
70fbfb2c25 MDL-20596 - fixes to backup_course_silently and import_backup_file_silently
Merged from MOODLE_19_STABLE - even though backup/restore is broken in HEAD, for a reference for Eloy's backup 2.0
2009-11-09 13:05:39 +00:00
Petr Skoda
795b694516 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:39:15 +00:00
Eloy Lafuente
79a7bcfd0b MDL-20591 IMS-CC import: Integration committed. Next weeklies will include it. Merged from 19_STABLE 2009-10-26 09:21:50 +00:00
stronk7
81b06e9b17 MDL-12922 'moodle/restore:rolldates' capability - Implement logic on restore. Merged from 19_STABLE 2009-10-06 01:27:37 +00:00
stronk7
cf59fbc036 MDL-18469 checksum restore in-session objects - both in manual restore and
import, create checksums of the critical in-session objects (info, course_header
and restore) to be able to check in restore_execute.html that all the information
has arrived properly without any trim/error. Merged from 19_STABLE
2009-10-05 17:23:31 +00:00
stronk7
5758d88262 MDL-18469 restore missing session info - add a quick re-test of xml file
before any further processing by restore_execute(). More coming. Merged
from 19_STABLE
2009-10-05 10:31:46 +00:00
stronk7
eb25bbcbc8 MDL-18469 Minor changes to restore silenty/import before implementing checksum. Merged from 19_STABLE 2009-10-02 12:50:19 +00:00
nicolasconnault
c4c7d936ac MDL-19789 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:27 +00:00
nicolasconnault
9549b98659 MDL-19789 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:16 +00:00
nicolasconnault
e11adf4884 MDL-19789 Migrated calls to print_heading 2009-08-06 08:19:03 +00:00
tjhunt
086d27e4e1 Clarify commenst in backup, to make it clear what is acutally a TODO, and what is a reference to the $todo variable.
I would like to suggest that $todo is not a great variable name!
2009-07-17 07:40:38 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
skodak
a8f3a651c0 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:16:08 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
stronk7
64acc5a55d MDL-19246 restore - cleanup of "restoreto" options. Prev. site restrictions out. Merged from 19_STABLE 2009-05-22 15:02:44 +00:00
stronk7
3560ff18b9 MDL-12618 restore events - apply cross-db sql_compare_text(). MSSQL & Oracle were broken here. Merged from 19_STABLE 2009-05-10 14:45:59 +00:00
stronk7
4c63bd26a1 MDL-11144 - restore of mnet users. Another improvement... merged from 19_STABLE 2009-05-10 11:56:28 +00:00
stronk7
adf8cf19bc MDL-17009 restore of mnet users - prevent any user using local host to end with mnet auth ; merged from 19_STABLE 2009-05-10 01:16:10 +00:00
tjhunt
6cbcbf0fb3 blocklib: MDL-19010 eliminate remaining calls to blocks_repopulate_page 2009-05-08 08:22:59 +00:00
stronk7
cbea2e04cb MDL-18799 backup & restore - improve file.php handling by using neutral syntax to support any slasharguments combination. Merged from 19_STABLE 2009-04-17 23:47:16 +00:00
tjhunt
34f07866ba filters: MDL-7336 backup and restore of local filter settings. 2009-04-13 07:06:02 +00:00
tjhunt
c9a2ecfa1b filters: MDL-7336 more preliminary refactoring of duplicated code in restore 2009-04-13 07:05:33 +00:00
tjhunt
7b8dcbc352 filters: MDL-7336 refactor in backup/restore ready for local filter settings. 2009-04-13 07:05:02 +00:00
stronk7
53dd63837d MDL-18594 restore check - skip maintenance.html file on restore of sie files. Credit goes to Juan Segarra. Merged from 19_STABLE 2009-03-19 14:45:01 +00:00
stronk7
e78d66436e MDL-18482 restore skipping non selected activities. Merged from 19_STABLE 2009-03-12 23:16:21 +00:00
stronk7
382d4d9fbe MDL-18543 restore of role assignments / overrides - skip non-restored contexts. Merged from 19_STABLE 2009-03-12 22:21:57 +00:00
stronk7
b8f0d7d185 MDL-18468 restore preprocessing (split) - Added $CFG->experimentalsplitrestore option
to enable split of moodle.xml files into upto 19 smaller files for quicker restore.
Merged from 19_STABLE
2009-03-09 23:36:00 +00:00
danmarsden
283fc15670 MDL-15276 add check for RESTORE_SILENTLY 2009-03-04 02:44:05 +00:00