Commit Graph

3929 Commits

Author SHA1 Message Date
stronk7 dcf9c14c2b Typo 2006-09-24 00:13:22 +00:00
stronk7 3fb145e061 Change slighty the tests... 2006-09-24 00:11:53 +00:00
stronk7 27bb1be29d Inserted two more test 2006-09-24 00:01:02 +00:00
stronk7 05002031d5 adding some more tests 2006-09-23 21:30:36 +00:00
stronk7 1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
stronk7 8e895ae5c7 mark rename table as not implemented 2006-09-23 21:28:16 +00:00
moodler 350b5fb6c8 Strip all tags from role names before use 2006-09-23 12:57:48 +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
skodak 8420bee94e towards unique role sortorder - fixes for create_role() and new delete_role() 2006-09-23 10:43:24 +00:00
skodak 7eb0b60a1f debugging and error reporting level fixes and improvements MDL-6671 2006-09-23 09:38:39 +00:00
skodak adbffcb9fe role ui minor cleanup 2006-09-22 21:17:43 +00:00
skodak 305ef971fc role assign and override code fixes + other minor changes 2006-09-22 20:09:47 +00:00
mjollnir_ b4713311d4 set config statsupgraded during install so we don't try upgrade later 2006-09-22 11:09:15 +00:00
mjollnir_ bd2b8ddecd moved call to upgrade stats until after all the roles stuff has been set up 2006-09-22 10:00:34 +00:00
moodler 6e208cd2fe FIxed up longtimenosee processing in cron 2006-09-22 09:54:43 +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
moodler b988fe5f94 DOn't terminate upgrade if stats didn't work 2006-09-22 06:10:42 +00:00
mjollnir_ e5d83d6fc1 stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema. 2006-09-22 02:54:21 +00:00
toyomoyo ef61c5f964 fixed a bug, override in user should not record userid as a capability 2006-09-22 02:17:59 +00:00
skodak 0c88b9acf7 improved coding style 2006-09-21 23:15:45 +00:00
skodak f3245d0952 improved coding style 2006-09-21 23:08:58 +00:00
skodak fa1fbbdc40 minor allignment change in role list 2006-09-21 23:00:48 +00:00
skodak b5959f3071 partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-) 2006-09-21 22:34:45 +00:00
moodler f8b0d22a5e Fixes to make registering work ;-) 2006-09-21 16:48:46 +00:00
moodler 67171ec800 Fixed typo in capability name 2006-09-21 16:46:10 +00:00
skodak f59208a745 fixed typos in capabiltiy names 2006-09-21 16:27:37 +00:00
skodak fd98800ea2 another admin ui cleanup 2006-09-21 08:28:25 +00:00
skodak db51ddc52e old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447 2006-09-21 08:05:50 +00:00
stronk7 db8bd7a66f Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
continue being used as previously until we finish all the required
DDL functions.

Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.
2006-09-20 22:36:21 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak 6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak 8521d83aff role_context_capabilities should handle current context too and role override simply use parent context 2006-09-20 06:24:55 +00:00
koenr f2137ac2a5 fixed MDL-6551 2006-09-19 22:14:57 +00:00
tjhunt f866df1c4f allowassign.php was submitting to allowoverride.php 2006-09-19 21:53:37 +00:00
skodak a14049f107 metacourse role assignment fixes 2006-09-19 20:39:55 +00:00
skodak 681729b16e various minor Role UI fixes 2006-09-19 17:34:29 +00:00
skodak b22c03ce99 RISK_ADMIN replaced with RISK_CONFIG, part 2. 2006-09-19 10:26:35 +00:00
toyomoyo 9c37662f22 replacing deprecated funciton calls with capability calls 2006-09-19 09:16:24 +00:00
skodak a6b02b652b RISK_ADMIN replaced with RISK_CONFIG 2006-09-19 07:33:22 +00:00
moodler 3f5edbdfa3 If the search and replace affected course->modinfo then courses may not work,
so clear the cache
2006-09-19 07:08:19 +00:00
toyomoyo d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +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
moodler a229726a11 Fixing debugging 2006-09-18 13:36:17 +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 7aeedc0cfb Removed configshowparticipantslist 2006-09-18 10:26:11 +00:00
tjhunt 89d878671d Remove duplicate call to print_header 2006-09-18 09:02:30 +00:00
skodak 6e283151b0 fixed some more warnings in uploaduser.php script 2006-09-17 21:02:31 +00:00
moodler 88af238ccb $CFG->defaultcourseroleid defines a site default for the role given to
people who enrol in the course.

$course->defaultrole defines the value for each course for what role
should be used in the same case.   Naturally it defaults to the site config
(when it is zero).

This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).

Note that enrol plugins are free to ignore these values and use whatever
roles they like.  Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler 5fe3980628 Fixed hard-codes string 2006-09-16 14:26:13 +00:00