stronk7
40c530f2d5
MDL-18066 import_backup_file_silently() - delete dangerous code ; merged from 19_STABLE
2009-02-06 01:56:14 +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
8f7bd455d5
MDL-18066 import_backup_file_silently - reverting last commit. Merged from 19_STABLE
2009-01-30 13:19:19 +00:00
stronk7
569c693719
MDL-18066 - import_backup_file_silently - better handling of missing $USER. Merged from 19_STABLE
2009-01-30 09:58:59 +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
stronk7
0130c489f2
MDL-17886 backup & restore - Add some defaults to import_backup_file_silently()
...
Credit goes to Mark Nielsen. Thanks! ; merged from 19_STABLE
2009-01-23 23:29:44 +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
skodak
eb6a973cdf
MDL-17847 moev backup_config to config_plugin table
2009-01-11 15:49:35 +00:00
skodak
f1953d38f3
MDL-17847 moved backup install.xml and upgrade.php to core
2009-01-10 20:03:08 +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
6bf25708b6
DML 2.0 regression
2009-01-05 23:42:51 +00:00
skodak
93f66983cc
MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks
2009-01-02 22:56:48 +00:00
skodak
1b813f5c2a
MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup
2009-01-02 21:05:16 +00:00
stronk7
6c928b4cfe
MDL-12922 restore roll dates - prevent wrong rolls to 0 happening to teachers. Merged from 19_STABLE
2009-01-02 17:59:01 +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
stronk7
9eaefcf1ee
MDL-17009 restore of mnet users - Automatic switching of remote users (unknown host) to local ones. Merged from 19_STABLE
2008-12-18 00:20:51 +00:00
stronk7
b1ee0c8690
MDL-17009 restore of mnet users - Prevent teachers to restore this type of backups to different sites. Merged from 19_STABLE
2008-12-17 23:36:10 +00:00
sam_marshall
82bd6a5ea9
MDL-15499: Conditional availability of activities
2008-12-17 16:37:35 +00:00
stronk7
a243ffeb07
MDL-17599 scheduled backup: add support for grade history setting + minor XML formatting. Merged from 19_STABLE
2008-12-15 21:35:47 +00:00
dongsheng
771dc7b298
"MDL-14129, fix error() in moodle2"
2008-12-12 05:45:43 +00:00
dongsheng
60e40dda6c
"MDL-14129, remove the rest error() in moodle2"
2008-12-12 04:53:32 +00:00
stronk7
b0126ac9da
MDL-17009 Restore of mnet users: Fix incorrectly named MNET_EXTERNALUSERS. Merged from 19_STABLE
2008-12-11 16:40:09 +00:00
dongsheng
0dfd9e97ea
"MDL-17469, fix assignment date when restore course, merged from 1.9"
2008-12-11 04:39:33 +00:00
skodak
fe197e66dc
MDL-17519 - restore: preventing group member duplicates; merged from MOODLE_19_STABLE
2008-12-07 22:24:43 +00:00
tjhunt
df73f8d4e1
restore: MDL-17480 Potentially expensive function user_can_create_courses called repeatedly from restore UI.
2008-12-01 06:55:11 +00:00
stronk7
b6233ed74d
Bump version.
2008-11-16 23:37:47 +00:00
stronk7
2dc880c999
MDL-16879 Backup & mnet: Avoid problems in sites missing mnet_host records being more flexible in backup (outer join). Merged from 19_STABLE
2008-11-16 23:24:32 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
sam_marshall
7f346ec20c
MDL-17150: Completion system shouldn't restore data for users who have no access to course
2008-11-06 12:27:15 +00:00
tjhunt
01a80f51e5
role assign: MDL-8312 Restrict which roles can be assigned at which contextlevels.
...
* New table role_context_levels
* Populate table with defaults on install
* Populate table on upgrade with the same defaults, plus any additional ones needed to ensure all the role assignments already in the database are allowed.
* Change get_assignable_roles to respect these settings.
* UI for these settings on the add/edit role form.
* Save these settings when a role definition is saved.
* If in a context, there are no roles you can assign, display a polite message.
* Back up these settings.
* Restore these settings. When resotring a <=1.9.x backup file, any newly imported roles are set to be assignable at all contextlevels.
Restore not tested because it is broken in HEAD.
2008-11-06 07:34:01 +00:00
tjhunt
37323148d9
backup: MDL-17145 And actually copy the backup file there!
2008-11-06 07:17:34 +00:00
tjhunt
23098cd956
backup: MDL-17145 When a backup completes, send users to the backup file area
2008-11-06 06:49:33 +00:00
tjhunt
96f1a7a265
roles admin: Improve the usability of the assign roles interface - this is the first half of the work. Part of MDL-16993.
...
To do this, I found a way to clean up the method signatures of a couple of accesslib methods, so I did, hence the fact that this seems to touch some unrelated files.
Also, there is a nice new method in accesslib get_context_url, which gives you the natural URL for a context, so the course view page, or the user profile, etc.
2008-10-30 06:26:18 +00:00
fmarier
be2718051b
backuplib: MDL-16945 (merge from 1.9)
2008-10-22 03:14:45 +00:00
nicolasconnault
7b2f3680a3
MDL-16892 Fixed bug in accesslib role_fix_names method. Merging from MOODLE_19_STABLE
2008-10-20 13:47:08 +00:00
stronk7
392f5e2403
Added missing join condition. Credit goes to Colin Chambers. MDL-16385 ; merged from 19_STABLE
2008-09-08 14:27:32 +00:00
skodak
bc32c04d26
MDL-14326 fixed DML conversion regression
2008-09-02 22:22:46 +00:00
mudrd8mz
1c6f36a9a8
MDL-14326 Remove all course_modules that remained empty (i.e. with instance==0) after the particular restore process. Merged from MOODLE_19_STABLE
2008-08-21 12:05:34 +00:00
skodak
775f811a66
MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes
2008-08-16 12:16:01 +00:00
stronk7
0e084e2684
Fixing typo causing restore not to work within 19_STABLE branch (BC). MDL-15282 ; merged from 19_STABLE
2008-08-06 16:43:40 +00:00
skodak
ed94cb66c6
MDL-15928 switched to zip PHP extensions
2008-08-04 16:45:08 +00:00
lfrodrigues
2044a2b26f
MDL-10107 - Removed old email_to_user with we still arround and added default message processor for user,
...
adminuser and on messagelib
2008-08-02 00:04:29 +00:00
sam_marshall
114bb7a60a
MDL-15875: Missing break; in switch
2008-07-29 13:33:14 +00:00
sam_marshall
4e781c7b50
MDL-15498: Completion system
2008-07-28 12:31:29 +00:00
stronk7
429e770f95
Merging unmerged 19_STABLE file.
2008-07-27 16:27:10 +00:00
moodler
3b120e464f
MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
...
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)
This code is not finished yet, a lot of work still has to be done on the
interface. However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00