mjollnir_
d4564cf018
merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc. Fixes MDL-12621
2007-12-18 20:51:07 +00:00
toyomoyo
a249879a86
MDL-12550, wrong user count in role assignment
2007-12-12 03:31:26 +00:00
stronk7
8884b320b4
Reintroducing the possibility to declare a second row of tabs
...
via extratabs. MDL-12551
Merged from MOODLE_19_STABLE
2007-12-12 00:58:09 +00:00
toyomoyo
47769861ae
MDL-12419, do not present course start date if start date is invalid
2007-12-04 01:08:48 +00:00
toyomoyo
8f5a640165
MDL-12419, do not present course start date if start date is invalid
2007-12-04 01:04:03 +00:00
scyrma
d417533252
Fix for par of the missing strings, as reported in MDL-12294
2007-11-26 04:10:08 +00:00
moodler
21090e447a
Merged from 1.9
...
Improvements to the tabs for assigning and overriding roles. MDL-12120
Tabs are now all on the top row
Tabs have clearer titles
Other help texts improved
2007-11-19 07:13:02 +00:00
toyomoyo
f2bcb0815d
MDL-12218, display course specific role names on override page
2007-11-19 04:36:21 +00:00
scyrma
b087818c35
Fix for MDL-10996 : prevent course name from being displayed twice.
2007-11-15 04:04:21 +00:00
tjhunt
9a41d8a1f1
MDL-11784 - On the role assign page, list who is assigned the role for roles with only a few assignments. Improved version. Now, it only shows the extra column if some roles have between 1 and 10 assignees, as per Martin D's request. Merged from MOODLE_19_STABLE.
2007-10-29 15:38:46 +00:00
tjhunt
3a48e3da50
MDL-11917 - Improve the title on the assign/override roles page. Merged from MOODLE_19_STABLE.
2007-10-26 17:00:05 +00:00
tjhunt
dcd55b7e80
MDL-11784 - On the role assign page, list who is assigned the role for roles with only a few assignments. Merged from MOODLE_19_STABLE.
2007-10-23 16:27:25 +00:00
toyomoyo
cb8cb8bf88
MDL-11241, adding logs for roles management
2007-10-18 05:53:14 +00:00
toyomoyo
74204b6188
MDL-11687, the string 'capability' should not be translated in the links to capabilties docs page
2007-10-17 05:37:12 +00:00
toyomoyo
08eb5c4605
MDL-11687, the string 'capability' should not be translated in the links to capabilities docs page
2007-10-17 05:30:57 +00:00
skodak
128f098418
MDL-11640
...
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00
nicolasconnault
2f6c662f41
MDL-11379 and MDL-11380 fixed
2007-09-21 07:52:52 +00:00
martinlanghoff
e6560e39d7
admin/roles: context-specific role changes mark the context as dirty
...
And will force a reload of $USER->access for logged-in users that need
to read _this_ context. Much lower impact - still not a great idea to
edit assignments/caps on very busy courses, but impact should be low.
2007-09-19 07:10:52 +00:00
martinlanghoff
b3dc845cab
admin/roles: sitewide role changes mark site context as dirty
...
And will force a reload of $USER->access for all logged-in users
on their next request.
We will have to tell admins of large sites to avoid making role changes
at busy times, as it does generate extra load.
2007-09-19 07:10:37 +00:00
martinlanghoff
690c946c15
get_role_users() callers rework to use the new $gethidden
2007-09-19 07:09:50 +00:00
toyomoyo
40e0bea5cc
minor fix for count of users
2007-09-19 03:48:44 +00:00
toyomoyo
60410add64
MDL-11324, only display users with moodle:course/view capability when assinging in module context or lower
2007-09-19 03:31:22 +00:00
moodler
d13d30ef78
The "alias" role names were not being used in the role assign screens. Now they are. MDL-11323
2007-09-18 08:35:12 +00:00
toyomoyo
694d100512
merged fix for MDL-11111 number of search results is not always correct in the role assignment view
2007-09-07 03:16:25 +00:00
nicolasconnault
f1af7aaaf5
MDL-10870 All files updated to new build_navigation() method.
2007-08-17 07:25:47 +00:00
nicolasconnault
b0a16fbe6d
Fixed small glitch in admin->users->permissions->define roles page, where the manage tab didn't show as selected when that page was shown.
2007-08-17 04:43:45 +00:00
skodak
2d4376fd66
fixing syntax error
2007-08-16 20:29:42 +00:00
nicolasconnault
73c24ef80b
MDL-10870 All files updated to new build_navigation() method.
2007-08-16 15:01:25 +00:00
toyomoyo
baea72ec48
some changes for better capabilities list display
2007-08-16 08:48:53 +00:00
toyomoyo
c345bb584a
MDL-10679, improvement to context_rel table and load_user_capability
2007-08-02 08:28:29 +00:00
toyomoyo
5480af3724
MDL-10181 manual enrolment changes
2007-07-04 02:35:52 +00:00
toyomoyo
9fffb69162
MDL-8877, specify time of manual enrolments and related improvements for changing enrolment period from user/index.php. Thanks Andrei!
2007-05-22 02:08:22 +00:00
stronk7
3b98c475cd
Add support for more tabs in module pages. Point 1. MDL-9736
...
Merged from MOODLE_18_STABLE
2007-05-14 16:57:33 +00:00
skodak
40935142f7
MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
...
fixed continue button in error() on admin page when link present
2007-04-30 17:28:29 +00:00
skodak
1ae083e424
MDL-9647 simplify dealing with headers/footers in admin sections
2007-04-30 17:08:34 +00:00
nicolasconnault
77a297d274
Fixed many xhtml errors
2007-04-20 07:54:42 +00:00
skodak
e28b762c35
MDL-9225 short php tag; merged from MOODLE_18_STABLE
2007-04-15 17:23:36 +00:00
skodak
42b5bb6498
MDL-9219 Replace Inherit with Not set on role definition page; merged from MOODLE_18_STABLE
2007-04-05 09:17:50 +00:00
toyomoyo
74fddb6da9
merged fix for MDL-8983, adding help file for hidden assignments
2007-03-29 06:38:35 +00:00
tjhunt
71248ce89e
MDL-9061 - Only show global assign roles warning if you are assigning roles in the global context! Also, change name of admin menu entry to reduce confusion. Merged from MOODLE_18_STABLE.
2007-03-28 16:57:22 +00:00
nicolasconnault
0c0ffc08e7
MDL-9061
2007-03-27 06:58:27 +00:00
toyomoyo
6332592527
merged fixing empty <option/>
2007-03-16 02:33:28 +00:00
skodak
9d200a16d7
MDL-8522 better label for role reset button and confirmation text; merged from MOODLE_18_STABLE
2007-03-14 22:07:59 +00:00
skodak
d67de0ca05
MDL-7633 legacy capabilities now have special menu
2007-03-06 22:01:22 +00:00
skodak
b357ed13f3
MDL-8522 fixed role reset warnings + only one legacy cap type allowed now in each role
2007-03-06 19:19:19 +00:00
skodak
efe12f6c22
MDL-8524 general roles cleanup; MDL-8373 authenticated user role now created during upgrade from 1.7.x, xhtml and CSS cleanup in roles GUI; accesslib inline docs cleanup; risk bitmask fixes
2007-03-05 11:27:01 +00:00
skodak
a83addc5e5
MDL-8522 Add role reset button into role definition form; fixed single button css
2007-03-03 22:30:35 +00:00
skodak
3562486b7d
MDL-8523 Show default capabilities in role definition; added CSS popup_form spacing
2007-03-03 21:07:07 +00:00
tjhunt
341e99513b
Make error messages non-ambiguous. Merged from MOODLE_18_STABLE.
2007-03-01 16:42:39 +00:00
moodler
6ba65fa08d
Merged Nicolas' changes from MDL-8582 into HEAD.
2007-02-28 06:25:22 +00:00