Commit Graph

472 Commits

Author SHA1 Message Date
toyomoyo 25a37d70ff fix for MDL-7939, teachers, non-editting teachers and course creators should see hidden courses 2007-03-15 04:24:28 +00:00
toyomoyo 8af16cbfdb MDL-8885 editting teachers should be able to see all messages in a course 2007-03-14 01:39:43 +00:00
martinlanghoff e05e5d132e (Fixing upgrade script) Only try to disable lams if it is installed
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz>
2007-02-28 00:25:46 +00:00
vyshane 014161956c Fix for MDL-7796 "Default permissions for Course Creators are too permissive". Changed some permissions from allow to inherit. Changed course deletion checks to allow course creators to delete courses. 2007-02-16 08:15:02 +00:00
stronk7 6defede491 Fixing one little-little bug about user->ajax being nullable. MDL-8421 2007-02-04 20:05:09 +00:00
stronk7 4ca9e54f7f Oracle doesn't like ; at the end of execute_sql() 2007-01-26 19:25:53 +00:00
toyomoyo 380199a948 implementing moodle/user:viewdetails 2006-12-07 06:08:02 +00:00
moodler 71c7eb7260 Non-editing teachers should NOT have course import rights by default 2006-12-06 02:23:37 +00:00
skodak 15f93e462f MDL-7767 Guests should not be able to hide course sections - section hiding is not stored in db for guests, only session is used now 2006-12-04 08:53:21 +00:00
toyomoyo fd10b9422d fixing MDL-6855 4b) changing not null to true for defaultrole 2006-11-07 08:58:53 +00:00
skodak 7e70535f09 adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245 2006-10-31 09:08:27 +00:00
skodak 077b7e99c1 fixed risks associated with main capabilitites MDL-7174 2006-10-24 08:00:32 +00:00
stronk7 a270bb477a Killing all sql_paging_limit() uses 2006-10-22 22:57:27 +00:00
moodler 0ec5eaa5ca LAMS is now disabled by default so it doesn't confuse the heck out of
everyone.
2006-10-21 16:10:07 +00:00
moodler 471a2de79c Non-editing teachers can't manage activities! MDL-6910 2006-10-11 06:24:10 +00:00
moodler a0ba79ded7 All the PREVENTS from the legacy roles have been removed
(and thus are treated as INHERIT by default).

See MDL-6907 for details.
2006-10-11 06:16:16 +00:00
toyomoyo 4473252d7c changing default capabilities for coursecreators so that they could create courses 2006-10-10 03:03:17 +00:00
toyomoyo 7246585a70 setting default value for backup/restore capabilities for teacheredit and coursecreators 2006-10-10 02:52:08 +00:00
moodler e27a943788 Disable the exercise module as it's not maintained or upgraded for roles 2006-10-06 06:15:57 +00:00
toyomoyo 1b19e8107e fix for MDL-6859, MDL-6860 2006-10-06 06:04:32 +00:00
stronk7 10f36d68e8 Avoid some notices. Part of MDL-6854 2006-10-05 19:29:39 +00:00
moodler 04338f9ea1 Removed user_students, user_teachers, user_coursecreators and user_admins
as they are now irrelevant   MDL-6830
2006-10-05 07:05:06 +00:00
toyomoyo cfa7cdb958 droppinf utf8 support for user_* tables 2006-10-05 06:05:02 +00:00
moodler acc26e71bd Reverted my changes to ddlib 2006-10-04 15:35:27 +00:00
moodler 4e423cbf5d Bye-bye to old database upgrade files and hellow to upgrade.php!
First order of business:  drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler 6c95827fdf New implementation of loginas see MDL-6626 2006-10-01 05:46:55 +00:00
moodler 76389cec17 Fixed the upgrade from 1.6.x. The role->shortname field was not being created. 2006-09-29 06:43:42 +00:00
toyomoyo ed59cd6ea4 fix for MDL-5670 2006-09-29 02:19:27 +00:00
moodler 2d14e8a8fe Removed duplicate capability moodle/course:managequestions MDL-6610 2006-09-28 07:17:39 +00:00
moodler 77c645df28 Started out fixing MDL-6624 and it turned into a fairly major cleanup
of the participant listing.  I think it's a lot better now.

Bulk messaging fixed too, and is controlled by a new capability

      moodle/course:bulkmessaging
2006-09-28 06:41:07 +00:00
skodak 5d0df39db4 fixed array_shift($roles) warning during upgrade from 1.6 2006-09-27 22:16:23 +00:00
stronk7 2efd67bf5f Increasing log_display->field because sql_concat() (one
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
moodler 01c65218a2 Restoring table_column which was mistakenly deleted I think 2006-09-25 01:55:06 +00:00
stronk7 e920529bf8 Quick Fix. It should be 24! 2006-09-24 22:15:57 +00:00
stronk7 26b82be252 Drop all the unique keys inside PostgreSQL DB and convert them to
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)
2006-09-24 22:14:23 +00:00
skodak 1cc309df9d fixes for recent incorrect index updates 2006-09-24 19:04:32 +00:00
skodak 6df3c7df7a user upload cap renamed to moodle/site:uploadusers 2006-09-24 12:54:53 +00:00
skodak cc891abe88 uploading of users has new capability 'moodle/user:upload' now also with admin block integrated 2006-09-24 12:31:49 +00:00
skodak 25d8040ec5 added trustbitmask column to user table 2006-09-24 07:32:49 +00:00
skodak ece4945bd2 role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort 2006-09-23 12:51:00 +00:00
stronk7 0e1412cea5 Now cache_text->formattedtext is a longtext again.
(both PG and the UTF8 migration script were
working with it as text, so impact should be minimal)
2006-09-22 15:43:42 +00:00
mjollnir_ 1282edc826 fixing up the stats table enums 2006-09-22 10:18:33 +00:00
mjollnir_ 504e6fd41f proper install.xml schema for new stats tables 2006-09-22 08:58:40 +00:00
moodler aad2ba95d1 Upgrading table to rename the context->aggregatelevel field which was
really bugging me.   Code should be a little bit more readable now.

Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
mjollnir_ 20c59467a5 schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz> 2006-09-22 06:05:07 +00:00
moodler 861fdcaa28 Changing defaults for role assigning (teachers, coursecreators allowed) 2006-09-21 16:02:39 +00:00
moodler 20dd4cf5a1 Added new capability to switch roles (replaces old student view) 2006-09-21 07:44:53 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
ikawhero adecf1c475 Adding tables for customisable user profile fields. See MDL-474 2006-09-20 14:17:21 +00:00
toyomoyo dc5586907d replacing deprecated calls and references to capability calls 2006-09-20 09:00:04 +00:00