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
tjhunt
87b144ae93
MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug.
2008-06-23 17:02:21 +00:00
skodak
eee5d9bb85
MDL-14956 DDL exceptions
2008-06-22 16:51:55 +00:00
skodak
0cbe81112a
MDL-14580 rewritten course sorting algorithms
2008-06-16 14:25:53 +00:00
thepurpleblob
6f96466d37
MDL-15257
...
Fix notice caused by (possibly) uninitialised variable.
Merged from STABLE_19
2008-06-16 10:08:30 +00:00
skodak
b1f93b1512
MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl
2008-06-15 10:32:50 +00:00
jmg324
eb7687ea96
MDL-15223 need to default backup_blogs for backup_course_silently not to have PHP notice errors
2008-06-12 11:07:03 +00:00
skodak
294ce9870f
MDL-15189 magic quotes finally removed
2008-06-09 16:53:30 +00:00
skodak
f67cab32ec
MDL-15094 some forgotten conversions
2008-06-05 18:01:22 +00:00
skodak
99cd2d2868
MDL-15094 some forgotten conversions
2008-06-05 14:11:54 +00:00
skodak
3b0f746be9
MDL-14679 converted some deletes
2008-06-05 13:11:27 +00:00
skodak
4be1663d39
MDL-15095 fixed role names restore warning
2008-06-05 00:07:29 +00:00
skodak
a4e315c6d5
MDL-15094 fixed regression
2008-06-04 23:58:23 +00:00
skodak
8f15f8ec2d
MDL-15094 fixed regressions
2008-06-04 23:56:34 +00:00
skodak
655b09ca8a
MDL-15117 wiki converted and other regressions fixed
2008-06-04 21:34:14 +00:00
skodak
bae736241a
MDL-15095 core backup/restore conversion finished
2008-06-04 20:51:02 +00:00
skodak
cd655b33f9
MDL-15095 towards restore lib dml conversion
2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca
MDL-15095 towards restore lib dml conversion
2008-06-03 22:36:54 +00:00
skodak
ad4375ac7f
MDL-14679 towards /backup conversion
2008-06-01 14:46:48 +00:00
skodak
fd0e6640cc
MDL-14679 fixed some more $db's
2008-05-31 22:18:41 +00:00
skodak
219f652b91
MDL-14679 upgrade $DB conversion
2008-05-31 18:05:42 +00:00
skodak
f33e1ed4ae
MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs
2008-05-15 21:40:00 +00:00