Commit graph

636 commits

Author SHA1 Message Date
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
skodak
45b9781ed4 fixed missing shortname pg upgrade code, sorry 2006-09-19 07:35:48 +00:00
skodak
a6b02b652b RISK_ADMIN replaced with RISK_CONFIG 2006-09-19 07:33:22 +00:00
skodak
b79da3ac68 moodle/course:managemetacourse is now singular 2006-09-19 06:35:52 +00:00
skodak
21b6db6eff added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum 2006-09-18 21:32:49 +00:00
skodak
31f267963a MDL-6568 shortname added to roles 2006-09-18 17:40:22 +00:00
skodak
dca1937c02 removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility 2006-09-18 11:21:24 +00:00
vyshane
840c1c31fa Added moodle/site:viewparticipants 2006-09-18 09:02:12 +00:00
skodak
4b7aaf4025 added new capability 'moodle/course:managemetacourses' 2006-09-17 21:03:35 +00:00
moodler
b29ab53d31 Removed the setting of default values. The default is now just zero. 2006-09-17 09:08:47 +00:00
moodler
746a04c500 Adding defaultrole to course table 2006-09-17 06:37:59 +00:00
moodler
99f9cb51e0 Added new capability
moodle/role:viewhiddenassigns  - for people to see hidden assignments
2006-09-16 13:56:24 +00:00
moodler
e58eca7222 New capability: moodle/user:viewhiddendetails 2006-09-15 14:39:16 +00:00
moodler
4b10f08b88 Rename CONTEXT_USERID --> CONTEXT_USER for consistency 2006-09-15 14:09:16 +00:00
vyshane
73b73d2101 More capabilities tweaks 2006-09-13 04:09:31 +00:00
stronk7
8b9b510961 adding the user_lastaccess table 2006-09-12 15:19:10 +00:00
moodler
0ad8c7850d Reload default guest 2006-09-12 08:17:33 +00:00
moodler
b0f5523038 Missed one capability for guests 2006-09-12 08:15:07 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
toyomoyo
b277dd0a53 adding new table for keeping track of user's last access time for any course page 2006-09-12 06:08:57 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo
1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00
toyomoyo
51792df056 adding capabilities 2006-09-08 08:46:26 +00:00
toyomoyo
ec7a8b7999 adding capabilities 2006-09-07 08:57:56 +00:00
moodler
f43ce1ad1d Added moodle/role:unassignself which replaces $CFG->allowunenroll 2006-09-07 08:35:30 +00:00
stronk7
415280bfc3 Added the adodb_logsql table to the XMLDB schema. It's a bit
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.
2006-09-05 17:20:24 +00:00
stronk7
ea7f147ef5 Now the sessions2 table is UTF8 migrated ok. 2006-09-05 16:04:50 +00:00
toyomoyo
3924b9884b adding capabilities 2006-09-05 08:50:23 +00:00
stronk7
71c143f41e The custom function to convert the user table hasn't to drop/create indexes anymore.
It's handled automatically by the main utf8 script.
2006-09-03 19:20:01 +00:00
moodler
7191a1fa27 Added capability for showing documentation links 2006-09-03 16:26:55 +00:00
stronk7
de48394039 Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process. 2006-09-03 15:33:42 +00:00
stronk7
1331745826 course_sections->summary and course_sections->sequence can be NULLable (experimenting....) 2006-09-02 22:37:38 +00:00
stronk7
5f941d12ab user->description can be NULLable (experimenting....) 2006-08-31 23:31:36 +00:00
stronk7
9b99c05f10 user->description can be NULLable (experimenting....) 2006-08-31 23:20:47 +00:00
stronk7
6c76032bc1 course_categories->description can be NULLable (experimenting....) 2006-08-31 23:17:23 +00:00
stronk7
1d39207fae course_categories->description can be NULLable (experimenting....) 2006-08-31 23:04:15 +00:00
rtcn2
9fb0f61a03 missing comma inserted line 752, removed comma from line 753 2006-08-31 19:47:54 +00:00