1347 Commits

Author SHA1 Message Date
Eloy Lafuente
a89fcd7a2c MDL-9251 backup/restore *all* users - is now forbidden for users
lacking backup/restore permission at system level. Merged from 19_STABLE
2009-11-21 11:56:27 +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
Petr Skoda
7e7089e359 MDL-20901 fixed input validation 2009-11-19 18:11:14 +00:00
Eloy Lafuente
f2a0da6c41 MDL-20834 new cap moodle/backup:userinfo - controls who can backupuser
related info. Disabled by default to teachers, oh my! :-( Merged from 19_STABLE
2009-11-18 19:38:51 +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
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
Eloy Lafuente
07fce85b97 MDL-20728 ims-cc import - fix importing of quiz with only 1 question ; merged from 19_STABLE 2009-11-12 23:55:06 +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
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
795b694516 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 15:39:15 +00:00
Petr Skoda
2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
Petr Skoda
3f77c1584c MDL-20697 removing duplicate error string, fixing get_site() which is now using exceptions 2009-11-01 09:10:09 +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
d463dc4a4f MDL-20620 ims-cc import - load resources in object, so navigation doesn't get lost ; merged from 19_STABLE 2009-10-22 20:33:00 +00:00
stronk7
1a193a8916 MDL-20591 check for min libxml 2.6.30 version on ims-cc import ; merged from 19_STABLE 2009-10-19 17:22:27 +00:00
stronk7
6dd60ce445 MDL-20591 ims cc import: fix two calls by reference ; merged from 19_STABLE 2009-10-19 13:42:58 +00:00
stronk7
df73d19d19 MDL-20591 IMS CC Import: All the code (but its integration in restore) goes here. Great job, UVCMS! Merged from 19_STABLE 2009-10-18 21:36:22 +00:00
samhemelryk
33ab48a4d0 backup MDL-19789 Added missing set_url call 2009-10-16 03:09:31 +00:00
samhemelryk
e6a40d2231 backup MDL-19789 Added set_url calls 2009-10-15 03:05:35 +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
0a6baa4e47 NOBUG. Restoring of backups performed in different TZ/DST was causing incorrect roll to happen.
Prevent any roll of dates if differences are < 24h. Merged from 19_STABLE
2009-10-05 16:56:52 +00:00
stronk7
53fd7cae8d MDL-17469 - Revert incorrect handling of restore parameters in restore.php file. It was
causing restore dates to be rolled based in the course where the backupfile is stored
and not in the target course. Merged from 19_STABLE
2009-10-05 16:32:15 +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
danmarsden
3a5c7d825c blackboard import MDL-20302 imported blackboard backups set all resources/files to open in a frame - which isn't moodle default behaviour and causes confusion 2009-09-16 11:40:05 +00:00
danmarsden
00f952afda blackboard import MDL-15725 filenames from blackboard come through in hex instead of correct names. 2009-09-16 11:15:18 +00:00
nicolasconnault
5f4d4d801c MDL-19676 Removed blog assignment code 2009-09-11 01:45:16 +00:00
samhemelryk
67c351d2d8 backup MDL-19789 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 06:18:27 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +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
8cc826b220 MDL-19789 Upgraded calls to link_to_popup_window() 2009-08-20 13:14:16 +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
dad2baefae MDL-19789 Upgraded calls to choose_from_menu 2009-08-17 15:15:55 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
3474860fa0 MDL-19789 Converted all print_footer() calls 2009-08-06 14:23:15 +00:00
nicolasconnault
e11adf4884 MDL-19789 Migrated calls to print_heading 2009-08-06 08:19:03 +00:00
nicolasconnault
bb587f9b10 MDL-19789 Upgraded calls to print_time_selector and print_date_selector 2009-08-06 01:08:50 +00:00
nicolasconnault
679a4f5a18 MDL-19789 Removed choose_from_radio and choose_from_menu calls 2009-08-06 00:08:11 +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
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
0990f7aa99 towards db layer 2.0 2009-05-23 22:40:55 +00:00