197 Commits

Author SHA1 Message Date
scyrma
2a68c5d9b9 MDL-16318: remove a few calls use_html_editor() (more to come) 2008-09-03 03:09:56 +00:00
skodak
bed7993115 MDL-15897 deprecated PARAM_CLEANFILE - we now support unicode everywhere 2008-07-31 23:03:50 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
skodak
3a0c6cca33 MDL-8521 new feature - safe overrides, see tracker for details; merged from MOODLE_19_STABLE 2008-07-23 16:10:06 +00:00
dongsheng
d3789c64dd MDL-14932, improve accessibility in group assigning and role assigning pages. 2008-07-11 03:48:49 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
dc5af91a86 MDL-15094 fixed regression 2008-06-04 23:45:31 +00:00
skodak
0b18169eab MDL-15133 fixed regressions - thanks Howard 2008-06-03 15:06:53 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
b9a6636029 MDL-14679 towards /admin conversion 2008-05-31 10:43:51 +00:00
skodak
9bec527490 MDL-14679 towards /admin/roles conversion 2008-05-31 10:30:30 +00:00
dongsheng
5e1062a6b2 "MDL-14932, accessibility imporvement, see tracker, merged from MOODLE_19_STABLE" 2008-05-28 01:48:25 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
moodler
1969b60e61 MDL-11323 Merged from Moodle 1.9 (fixes for display of aliases) 2008-04-18 06:21:00 +00:00
dongsheng
6848005374 MDL-14129, creating error string 2008-04-10 06:19:07 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
714d08d1d7 Merged MDL-13475 from 1.9: treat shortname fields as 100 chars 2008-03-02 15:03:33 +00:00
moodler
87486420a5 Merged MDL-13676: last-minute field change to fix an Oracle problem 2008-02-29 08:44:23 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
moodler
0ef7e7e542 Fixed the navigation on the course assign roles tab MDL-12828 2008-01-04 05:20:00 +00:00
skodak
47af2e43f3 MDL-12720 removing confusing/not implemented CONTEXT_PERSONAL; merged from MOODLE_19_STABLE 2007-12-23 19:48:32 +00:00
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