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
stronk7
ce503f3923
Course page blocks are lost when restoring 1.3 and 1.4 backups. MDL-15803 ; merged from 19_STABLE
2008-07-23 22:47:47 +00:00
scyrma
5a254a2938
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)
2008-07-10 09:55:11 +00:00
skodak
123d1acd34
MDL-13383 fixed restore form; merged from MOODLE_19_STABLE
2008-07-07 22:35:23 +00:00
skodak
fe29d45751
MDL-13942 do not interrupt restore if groupmembers missing; merged from MOODLE_19_STABLE
2008-07-05 00:45:44 +00:00
stronk7
86b4dadabd
Only create role_name aliases if the original course (backup file) contains them. MDL-15284 ; merged from 19_STABLE
2008-07-03 13:00:54 +00:00
skodak
290a47ae85
MDL-15160 backup gradebook categories even when user not included; merged from MOODLE_19_STABLE
2008-07-02 22:47:57 +00:00
skodak
42f1bfe02a
fixed dml conversion typo
2008-06-30 13:24:42 +00:00
Francois Marier
6800d78e06
Drift between CVS and git
...
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
moodler
3e7adb62fe
Merged from 1.9, added a little check to avoid notices
2008-06-25 08:45:53 +00:00
skodak
511c9eb23b
MDL-15372 fixed incorrect merging to HEAD causing fatal errors, because new dml api was not used
2008-06-25 07:30:41 +00:00