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
moodler
38a5e3d34a
Just some cleanups and removed notices
2006-09-16 14:22:59 +00:00
moodler
f4af29c5a4
Fixed up some bugs and notices when assigning roles in a user context
2006-09-16 12:41:47 +00:00
skodak
80f435af43
fixed error message
2006-09-16 12:02:02 +00:00
skodak
14e7869268
fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file
2006-09-16 12:01:08 +00:00
moodler
68a4b5d673
We don't need these any more (obsolete because of role assignment)
2006-09-15 15:56:05 +00:00
moodler
57e73347b3
Fixed up a typo
2006-09-15 15:07:43 +00:00
tjhunt
36075e092d
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
...
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
moodler
4b10f08b88
Rename CONTEXT_USERID --> CONTEXT_USER for consistency
2006-09-15 14:09:16 +00:00
moodler
2febd88e67
Just tidying
2006-09-15 12:53:23 +00:00
moodler
c26a8f2ffa
FIxed navigation
2006-09-15 09:23:58 +00:00
moodler
b5839add55
Passing cleanup
2006-09-15 09:04:23 +00:00
moodler
6a12bc4836
Bringing phpinfo into the fold
2006-09-15 08:59:02 +00:00
moodler
4934c49719
Cleaning up assign and override interfaces
2006-09-15 06:04:10 +00:00
moodler
7513cd6936
Tidying
2006-09-14 15:20:44 +00:00
moodler
9584965f9c
Tidied up the role assignment pages
2006-09-14 14:49:45 +00:00