1170 Commits

Author SHA1 Message Date
Eloy Lafuente
157aa3a22d MDL-21666 backup & restore caps - renaming the import one 2010-02-19 19:11:06 +00:00
Eloy Lafuente
d294000348 MDL-21666 backup & restore caps - moving to new naming schema. More to come. 2010-02-19 17:50:14 +00:00
Petr Skoda
c5dbaba9cf MDL-20204 converted selects 2010-02-11 09:18:13 +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
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
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
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
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
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
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +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
69d4a56e62 Test. Ignore this. 2009-12-14 18:31:22 +00:00
Eloy Lafuente
b72db8b348 MDL-20961 customize notices showed when user information is not included in backup ; merged from 19_STABLE 2009-12-07 11:42:18 +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
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