Commit Graph

80 Commits

Author SHA1 Message Date
9394d86367 Merge branch 'MDL-26037' of git://github.com/stronk7/moodle 2012-03-05 14:03:34 +13:00
cb7fc350cb MDL-26037 restore: fixes for mssql, php 5.4 and small improvs 2012-03-01 13:18:45 +01:00
a4df8560cc MDL-26037: import: display search box even when no courses are currently displayed 2012-03-01 13:18:45 +01:00
d0c94a1e84 MDL-26037: restore/import: check through all courses instead of only first 250 2012-03-01 13:18:45 +01:00
ac6dc09c26 MDL-29248 backup: take rid of the setting and code handling the 'private' user filearea 2012-03-01 13:09:47 +01:00
fb95ef9ecd MDL-31017 whitespace clean - take1 2012-01-04 16:27:32 +01:00
0620787a17 Merge branch 'w47_MDL-27233_m22_restoreenrol' of git://github.com/skodak/moodle 2011-11-24 23:44:24 +01:00
d53e3298c0 MDL-27233 add new options to keep enrols and groups purging existing course in restore 2011-11-23 18:38:27 +01:00
d6e23c1466 MDL-30394 Backup: Removed popup, inserted by 27790 during restore in new course 2011-11-22 12:03:26 +08:00
687f512d88 MDL-27790 Backup: Added warning message to let user know that temporary course will be created for restoration process 2011-11-08 11:37:48 +08:00
416128379f MDL-27790 Backup: temperory course will be deleted in case of exception and cancellation of restore process 2011-11-08 11:37:43 +08:00
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
7eae2c5ae2 Merge branch MDL-29187-master of git://github.com/samhemelryk/moodle
- resolved conflict.
2011-09-13 13:52:31 +08:00
5433da6064 Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
- resolved conflicts.
2011-09-13 11:39:06 +08:00
7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
63390481c4 MDL-29187 multilang Reviewed the uses of category name and ensured things are being formatted correctly 2011-09-08 09:37:07 +12:00
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
01d6182fa8 MDL-29072 Import course - whitespace fixes 2011-09-05 10:41:57 +02:00
96576a2ac1 MDL-29072 Import course: Use correct capability for course selection 2011-08-23 19:07:54 +01:00
858d100fa3 MDL-27833 Backup - Fix can't search courses with non-latin characters during importing
PARAM_ALPHANUMEXT filter out all non-latin characters, including
Chinese, Japanese and etc. Use PARAM_NOTAGS instead.
2011-07-07 10:39:47 +02:00
71d1751c53 Improved the information display about a non-standard backup file 2011-05-18 12:19:57 +02:00
f666f14930 The first attempt to include backup conversion in the restore process
With this initial implementation, we do not display any information
about the backup contents yet. The non-standard backup file is just
silently converted at the beginning of the settings stage, as soon as
the restore controller is available.

In the future we will probably want to display the information about the
contents of the converted file as if we were restoring from standard
MBZ format. However this includes more work in the restore UI machinery
and I leave it open for now.
2011-05-18 01:55:27 +02:00
3a0767218a The core_backup_renderer does not need the full backup information any more
In the previous implementation, the renderer needed full backup
information just to see if its type is TYPE_1COURSE or not. For
non-standard backups, we do not have the full backup information
available but we can easily decide if we are restoring the whole course
or just its part.
2011-05-18 01:14:24 +02:00
4eb2a097c5 The display() method in backup/restore UI returns the HTML rather then echoing it
This implementation uses a hacky trick with the output buffer unless
someone finds a time to add support for returning the HTML from
quickforms.
2011-05-18 00:50:26 +02:00
ca3617c513 MDL-26319 moved cancel_backup() from backup_ui to cancel_process() in base_ui and renamed callers. fix for method inheritance in restore_ui. 2011-04-07 10:39:34 +08:00
165b7bd987 MDL-25388 restore - confusing options restoring 1-activity 2011-03-04 19:45:43 +01:00
29cbe43189 MDL-13481 Strings fullname and shortname are now deprecated
This is a final cleanup commit of fullname and shortname issue. All
places where these strings were detected yet have been replaced with
proper fullnamecourse or fullnameuser or some other context specific
string.

AMOS BEGIN
 CPY [fullname,core],[outcomefullname,core_grades]
 CPY [shortname,core],[outcomeshortname,core_grades]
 CPY [name,core],[rolefullname,core_role]
 CPY [shortname,core],[roleshortname,core_role]
AMOS END
2011-02-28 09:42:50 +01:00
edf577d2cd backup-cancel MDL-25244 Added missing YUI module requirement 2010-11-19 02:51:07 +00:00
92f3345773 backup MDL-25283 Fixed regression in restore by adding destroy method to independent restore stages. 2010-11-18 07:09:09 +00:00
44bb101dfe backup MDL-24962 Backup, Restore, and Import all now explicitly destroy the UI, controller, and stage objects upon completion. 2010-11-18 02:09:23 +00:00
287e804058 MDL-24962 backup - circular refs destroyer for backup settings 2010-11-15 07:16:24 +00:00
dc2abd4020 MDL-24718 import - always import adding 2010-11-11 22:17:09 +00:00
33d34b4b77 restore MDL-24757 Fixed up course and category selectors 2010-11-11 01:21:16 +00:00
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
d0da42d1b7 MDL-24917, display activity backup area in restore-pre ui 2010-11-02 02:29:21 +00:00
1b42bc07e8 NOMDL restore: do not display course details for activity backups
Activity backups do not contain these details so I just put all the
block into one if-statement.
2010-09-22 15:31:27 +00:00
7c109ea3f0 MDL-24276 "static abstract" combination is deprecated since PHP 5.2, replacing with our coding_style exception 2010-09-19 18:43:52 +00:00
940a91a638 fixed missing $ typos 2010-09-17 10:53:15 +00:00
10618448c8 backup MDL-24219 Tidied up restore destination forms 2010-09-17 03:16:39 +00:00
74535bb575 course-import MDL-24176 Fixed regression caused by custom backup extension+mimetype 2010-09-16 03:51:30 +00:00
f9bbe3c9d2 backup MDL-24103 Altered strings as requested and added a help string for 1.9 backup restoration 2010-09-08 07:46:45 +00:00
d94bb34312 backup MDL-24103 Better error messages when a user attempts to restore invalid backup file formats such as moodle 1.9 backups 2010-09-08 07:23:27 +00:00
6fa76842b3 backup MDL-22254 Fixed up use of deprecated functions in backup UI 2010-09-08 05:47:28 +00:00
12c80f79b4 MDL-23993 backup - enforce in UI and save all backup files with .mbz 2010-09-06 09:33:20 +00:00
88bb11eb55 MDL-24079 backup now using new sql_like() 2010-09-04 11:56:34 +00:00
741b96fd01 backup MDL-23904 Fixed regression in backup UI 2010-09-03 07:50:33 +00:00
1a22a422de "MDL-23910, fixed breadcrumb for backup files editing ui" 2010-08-30 03:44:44 +00:00
6aef525df4 "MDL-23910, improved restore pre-ui, removed treeview, list backup files in tables and sorted by created time" 2010-08-26 06:19:46 +00:00