254 Commits

Author SHA1 Message Date
Petr Skoda
389d17f9cc MDL-23985 removing all make_user_dir() and get_user_directories() usage 2010-08-29 09:50:36 +00:00
Aparup Banerjee
59e2121e16 theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed 2010-08-06 06:20:28 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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
Petr Skoda
4248b15cf8 MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [backupnameformat,core],[backupnameformat,core_langconfig]
AMOS END
2010-04-10 17:35:19 +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
Rossiani Wijaya
b6570b2fec MDL-21509 - include timecreate field (user table) to backup and restore. 2010-02-05 08:08:57 +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
Eloy Lafuente
886e63dda9 MDL-20932 user->secret out - merged from 19_STABLE 2009-11-22 13:36:19 +00:00
Martin Dougiamas
29ba20ac04 backup/nopasswords MDL-20383 Backups are now never saved with user passwords unless the admin has defined $CFG->includeuserbackupsinpasswords in config.php (Merged from 1.9) Credits to Eloy 2009-11-17 05:58:24 +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
nicolasconnault
5f4d4d801c MDL-19676 Removed blog assignment code 2009-09-11 01:45:16 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
skodak
92ebcabeb3 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:14:45 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
nicolasconnault
9549b98659 MDL-19789 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:29:16 +00:00
stronk7
47ff1b64ed MDL-19229 backup regexp - some servers seem to require the /u modifier if unicode classes are used (sadly Macs don't). Merged from 19_STABLE 2009-05-28 14:45:04 +00:00
stronk7
b78ed27edb MDL-15690, MDL-16518 backup - include roles with overrides (not only with assignments). Merged from 19_STABLE 2009-05-07 23:54:46 +00:00
tjhunt
f474a4e583 blocks: MDL-19010 Fix further blocks-related breakage, including removing all references to blocks_insance_old outside blocklib.php 2009-05-07 08:55:10 +00:00
tjhunt
bb46a4fa2a blocklib: MDL-19010 refactor blocklib to use block_manager to get the blocks for rendering 2009-05-06 09:15:05 +00:00
tjhunt
66b10689e2 blocklib: MDL-19010 upgrade database tables ready for now blocks system 2009-05-06 09:12:03 +00:00
stronk7
0287b9a649 MDL-18799 backup of file.php links - now using unicode modifiers if allowed in the server ; merged from 19_STABLE 2009-05-05 09:26:47 +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
7b8dcbc352 filters: MDL-7336 refactor in backup/restore ready for local filter settings. 2009-04-13 07:05:02 +00:00
danmarsden
5b99dc2e5f MDL-12037 Backup Log - improve reporting of errors during backup_execute - espeically for silent backups 2009-03-03 00:53:23 +00:00
dongsheng
57416b8016 "LANG/MDL-17620, add language string, merged from 1.9" 2009-02-26 02:33:04 +00:00
stronk7
d45b28ef3d MDL-17835 backup & restore - encode/decode content links from/to course formats info.
Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE
2009-01-24 00:40:32 +00:00
tjhunt
d61f7b7641 backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.
* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
2009-01-20 03:16:30 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
stronk7
a243ffeb07 MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE 2008-12-15 21:35:47 +00:00
stronk7
2dc880c999 MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). Merged from 19_STABLE 2008-11-16 23:24:32 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
01a80f51e5 role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.

Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
tjhunt
37323148d9 backup: MDL-17145 And actually copy the backup file there! 2008-11-06 07:17:34 +00:00
fmarier
be2718051b backuplib: MDL-16945 (merge from 1.9) 2008-10-22 03:14:45 +00:00
stronk7
392f5e2403 Added missing join condition. Credit goes to Colin Chambers. MDL-16385 ; merged from 19_STABLE 2008-09-08 14:27:32 +00:00
skodak
ed94cb66c6 MDL-15928 switched to zip PHP extensions 2008-08-04 16:45:08 +00:00
sam_marshall
4e781c7b50 MDL-15498: Completion system 2008-07-28 12:31:29 +00:00
skodak
290a47ae85 MDL-15160 backup gradebook categories even when user not included; merged from MOODLE_19_STABLE 2008-07-02 22:47:57 +00:00
skodak
42f1bfe02a fixed dml conversion typo 2008-06-30 13:24:42 +00:00
skodak
a4e315c6d5 MDL-15094 fixed regression 2008-06-04 23:58:23 +00:00
skodak
bae736241a MDL-15095 core backup/restore conversion finished 2008-06-04 20:51:02 +00:00
danmarsden
a0127802d3 MDL-12037 - backup does not report errors correctly in backup_module() 2008-05-13 00:41:34 +00:00
danmarsden
078d8bf448 MDL-14550 really inefficient db calls. 2008-05-13 00:29:04 +00:00
stronk7
77022d9e5d Role custom names (aliases) are now preserved during backup/restore. MDL-14783 ; merged from 19_STABLE 2008-05-12 23:07:42 +00:00
danmarsden
2ea2bfadfa MDL-14736 this doesn't need to be an error call, as the backup should still succeed - changing to use notify() instead. 2008-05-08 22:28:06 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
stronk7
d9063e928f Adding some missing course info when backuping blogs. MDL-9089 ; merged from 19_STABLE 2008-04-19 22:41:48 +00:00
stronk7
feb351cfae MDL-14072 - Merged from 19_STABLE. Prevent NULLs, empties and numbers to be processed by:
- backup_encode_absolute_links() at backup
- restore_decode_absolute_links() at restore
2008-04-18 16:58:06 +00:00