52 Commits

Author SHA1 Message Date
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +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
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
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
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
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
3f77c1584c MDL-20697 removing duplicate error string, fixing get_site() which is now using exceptions 2009-11-01 09:10:09 +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
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
ad4375ac7f MDL-14679 towards /backup conversion 2008-06-01 14:46:48 +00:00
dongsheng
d3b7ea93de "MDL-14129, fix print_error" 2008-05-08 08:43:17 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
stronk7
fe75799dcf Blogs backup added. MDL-9089 ; merged from 19_STABLE 2008-04-13 01:28:59 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
81243b7be4 Now the backup->users = none setting is properly populated to all
modules / instances, saving a lot of info to be always written. MDL-13115

Merged from 19_STABLE
2008-01-24 00:51:09 +00:00
tjhunt
f8f95b454a MDL-10898 - Option to back up only selected role assignements when backing up a course with users. 2007-09-25 14:44:53 +00:00
jamiesensei
3bee1ead40 merging MOODLE_19_QUESTIONS with HEAD 2007-08-09 21:50:59 +00:00
toyomoyo
fbe31d22d1 xhtml validation fixes for MDL-8425 2007-02-06 08:24:37 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
toyomoyo
ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
skodak
394832e100 fixed warning; merged from MOODLE_16_STABLE 2006-05-23 13:33:44 +00:00
mjollnir_
a94baeaf20 Abstracted all the stuff that gets backup prefs from request, and put
it into session. This makes it easier to add a new stages
	and not have to write hidden fields and such like
2006-01-16 00:39:01 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
stronk7
1517803dd6 Now the restore form page is a bit more easy to use. Bug 1430.
(http://moodle.org/bugs/bug.php?op=show&bugid=1430)

Merged from MOODLE_15_STABLE
2005-06-29 18:25:50 +00:00
stronk7
d0b95287c5 Some $ME are now out!
Merged from MOODLE_14_STABLE
2005-02-27 02:13:18 +00:00
stronk7
70641539f3 Now MIM are included in backup (not restore yet). Configurable
for scheduled backups and only done in SITE backups. Structure is:
<MESSAGES>
  <MESSAGE>
    Content of the message with one flag to difference read & unread
  </MESSAGE>
  <CONTACTS>
    <CONTACT>
      Content of the contact
    </CONTACT>
  </CONTACTS>
</MESSAGES>
message_get_participants() should include contact users too!!
2005-02-13 02:59:04 +00:00
stronk7
f2d5737825 Now manual backups are XHTML 1.0 Transitional.
And version bump!
2005-02-05 01:00:33 +00:00
stronk7
572248937e Now metacourse in supported in manual and scheduled backups. It can be configured
in both backups. Please check if the used structure and exported data has sense!
2005-02-04 14:33:51 +00:00
stronk7
ad4f774cd4 THEME is out of this directory.
I hope to have done it correctly!
2005-01-28 00:01:20 +00:00
mjollnir_
873bf8758f Initial checkin for import course content functionality (uses backup/restore). Probably needs wording changes and new icon! Please test me *thoroughly*! 2005-01-27 02:35:10 +00:00
stronk7
99f363bf66 Now backup names are cleaned completely, avoiding some problems
with translations and manually typed names with diacritics.
Thanks to Marian Zvalo!

Merged from MOODLE_14_STABLE
2004-12-19 16:18:10 +00:00
gustav_delius
7ef0797dea some fixes for XHTML compliance 2004-09-12 01:34:24 +00:00
stronk7
fa96ad2f97 New feature implemented allowing none-user course backups.
See bug 1420.
(http://moodle.org/bugs/bug.php?op=show&bugid=1420)
2004-05-20 18:36:59 +00:00
stronk7
1ae0dbd1a7 Changed to use clean_filename() function when calculating
backup file name. Thanks Martin !! :-)
2003-12-29 20:15:56 +00:00
stronk7
142a6a46ca Take out more notices in restore process. Undefined variables, mainly. 2003-10-14 17:26:37 +00:00
stronk7
0e232d1841 Take out some notices !! :-) 2003-10-13 22:45:36 +00:00
stronk7
11db6f92a2 Now more characters are replaced in the backup filename.
And it's editable in the backup proccess, too.
Bug #763 closed.
2003-09-18 17:43:52 +00:00
stronk7
0611af101d Now, "needed" users are included in backup/restore when
"course users" are selected.  This uses the xxxx_get_participants()
function in every module.
This solves an issue about info in modules belonging to
unenrolled users (Bug #692 closed).
Mantain compatibility with old backups (1.1 and 1.1.1).
Updated version to "1.2 development".
Included support to "label" module (by Martin)
2003-09-14 21:43:34 +00:00
moodler
145cb8f9ab More short tags 2003-09-11 13:21:56 +00:00
moodler
76eac7a58d FIxed some short PHP tags 2003-09-09 08:38:24 +00:00
moodler
63bcc9b55b Use isteacheredit instead of isteacher 2003-08-16 06:37:06 +00:00
moodler
bd38123e98 Completed mods to allow teachers to make backups 2003-08-01 14:42:14 +00:00
moodler
9c1ae5ae32 Removed $moodle_home and $mods_home references.
Also removed direct references to $backup_version and $backup_release

backup.php now accepts teachers of their own course
2003-08-01 14:34:11 +00:00
stronk7
042c19f5a5 Changed backup logs default to NO. 2003-07-15 18:12:41 +00:00
stronk7
6e0470a646 Changed to avoid backup_name contains whitespaces !! 2003-06-23 17:50:38 +00:00
stronk7
a9367f2644 Due to problems in the FileManager with filenames containing spaces
force a replace from spaces to underscores
2003-06-01 19:58:08 +00:00
stronk7
c563a9a0d1 added check login, check admin and check site to every page.
If not, it was possible to execute them...!!
2003-05-18 17:15:05 +00:00