12 Commits

Author SHA1 Message Date
David Mudrak
baa44e3d3d MDL-27448 Simplified migration of the files embedded in the resources HTML texts 2011-06-04 21:13:56 +02:00
David Mudrak
aa97e0dd52 MDL-22414 File manager allows to set explicit sortorder and accepts filepaths not ending with a slash
We want to set migrated content file in the File module as a main file.
Main files are files with sortorder set to 1. Therefore the file manager
must provide a way to set the sortorder property of the new file record.

The second change allowing filepaths not ending with slash is a helper
as we can easily use dirname() as a value (see the usage in the next
commits). Not providing the dirname() was a bug as the reference to a
file in the HTML text did not respect the migrated file path.
2011-06-04 20:02:03 +02:00
David Mudrak
93dd33b405 MDL-27448 Folder module conversion improved 2011-06-04 18:28:58 +02:00
David Mudrak
9e3e8c8004 MDL-27448 Changed the interface of resource module successors to make it clear they are a special case 2011-06-04 16:11:59 +02:00
Andrew Davis
5da3af58a0 MDL-27448 resource conversion support to restore 1.9 backup to 2.1 2011-06-04 13:24:03 +02:00
Eloy Lafuente
0f66acede0 MDL-22135 - logs restore, course and activities + cleanup 2010-11-11 19:46:04 +00:00
Petr Skoda
034ef76129 improved spelling 2010-09-18 12:31:20 +00:00
Dan Marsden
5da035144a MDL-23479 folder restore code - correct time shifting 2010-08-02 00:34:47 +00:00
danmarsden
dd454f4661 MDL-23479 folder Restore code 2010-07-28 08:31:35 +00:00
Petr Skoda
9fe1fbcccb MDL-21249 improved php docs and adding copyright blocks in mod/folder 2010-07-25 11:12:16 +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
Eloy Lafuente
78692f2381 MDL-22151 backup - folder implemented 2010-05-03 17:42:18 +00:00