Commit graph

408 commits

Author SHA1 Message Date
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
danmarsden
9d043b8c6b MDL-14736 Backup/Restore don't halt backup if can't delete temp files - just display notification and save error to log table 2009-03-03 01:18:16 +00:00
sam_marshall
0e633d845a MDL-18333: Conditional activities restore bug 2009-02-20 10:48:34 +00:00
stronk7
31f9d77191 MDL-18222 restore - fixed restoring of course->summary links. Was being handled too early. Moved to final decoding links process. Merged from 19_STABLE 2009-02-16 10:33:08 +00:00
stronk7
204b15d50b MDL-8848 restore section summaries - now restored if target course have them empty ; merged from 19_STABLE 2009-02-04 17:22:56 +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
tjhunt
13267548cf restorelib: fix incorrect indenting. 2009-01-09 06:35:21 +00:00
tjhunt
19f5b2dbee accesslib: MDL-17626 delete the context whenever a block is deleted. This includes a new helper function blocks_delete_all_on_page. 2009-01-09 06:16:36 +00:00
tjhunt
a3c9960b86 restorelib: MDL-17519 fix merge error. 2009-01-09 06:14:39 +00:00
stronk7
6a4b1e3d0e MDL-17826 restore - proper TEXT comparison. Was breaking MSSQL and Oracle. Merged from 19_STABLE 2009-01-08 18:43:08 +00:00
skodak
1033221c21 MDL-15172 lowered timeoout and adding warning that users must not click continue in middle of course import - this is a silly workaround, unfortunately I did not find better solution 2009-01-01 16:05:37 +00:00
sam_marshall
81691beceb MDL-15499 Fixes to conditional availability restore (still not tested in HEAD as restore is broken in general, but based on a version that now works in 1.9) 2008-12-19 11:55:41 +00:00