1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-27 19:12:39 +01:00

1879 Commits

Author SHA1 Message Date
martinlanghoff
ad72d0d702 admin/cron: move accesslib stuff to occasional cleanups, add build_context_path()
The accesslib cleanups aren't needed every 5. Also, add
build_context_path() and instructions on how to run it
as build_context_path(true) to force a path rebuild.
2007-09-19 07:29:20 +00:00
martinlanghoff
df75ca2289 cron: call cleanup_dirty_contexts() 2007-09-19 07:11:31 +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
martinlanghoff
17b0efae11 accesslib: Introducing cleanup_contexts() and use it in cron
The newly minted cleanup_contexts() walks the context table
matching contexts with the tables they are referencing and
clearing any leftover contexts.
2007-09-19 06:50:53 +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
skodak
ce4ff1c9cc MDL-11292 fixed Cannot create child auth plugins - patch by Mark Nielsen; used inlude_once() when searching for functions/methods in files 2007-09-15 09:29:58 +00:00
nicolasconnault
e171963b3e MDL-11278 Implementation is complete, but grade_categories records in DB are not affected by global settings. This way, when global settings are switched back to "Do not Force", the original category settings will be in place. 2007-09-14 17:21:30 +00:00
nicolasconnault
53461661ae MDL-11278 Admin settings page completed, implementation of settings in the gradebook coming up next. 2007-09-14 08:54:46 +00:00
nfreear
c5898fad45 MDL-11160, Cron exhausts memory on "Removing expired enrolments ..." - changing nested foreach to JOINs with while(..rs_fetch_next_record). 2007-09-13 09:13:00 +00:00
martinlanghoff
ff991c055a admin/cron: if $PERF->dbqueries is set, profile modules...
The cron() function of some modules can be a huge drag on the
server. Capture profiling data...
2007-09-12 02:57:58 +00:00
martinlanghoff
6b6eea5575 admin/modules: Avoid calling rebuild_course_cache()
rebuild_course_cache() over all courses is extremely expensive,
not suitable for interactive calling. Better to clear modinfo
and let course/view.php repopulate it as needed.

With this patch we clear out modinfo _only_ for courses affected
by the module we show/hide/delete.
2007-09-12 02:56:50 +00:00
stronk7
3e38ceb837 Added some new test to check double creation
and deletion of enums (check constrainsts). MDL-9356
2007-09-11 18:35:23 +00:00
moodler
1c0ccfd6bd Fixed notice when using textlib 2007-09-10 07:02:52 +00:00
stronk7
834479c28c Adding new report to display scheduled backup logs. MDL-7850
Merged from MOODLE_18_STABLE
2007-09-08 22:36:29 +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
stronk7
367b80f5ee Added one new test to change precission of a numeric field
to a smaller one. It breaks Oracle in its current status.

Merged from MOODLE_18_STABLE
2007-09-04 22:13:30 +00:00
stronk7
dfd535fac9 Now, under MySQL, a check of wrongly signed ints is also performed. MDL-11038 2007-08-31 23:44:37 +00:00
urs_hunkler
66e294019e merged from 1.8 - corrected right column - had id "left-column" 2007-08-31 19:05:26 +00:00
skodak
caffc55a84 MDL-11082 big refactoring in grade export - export tracking and grade formatting still not finished 2007-08-31 18:42:50 +00:00
nicolasconnault
e9fe953ff4 MDL-11034 Added the new CFG setting: enablepublishing 2007-08-31 04:35:06 +00:00
toyomoyo
1c63e17429 putting a link on admin menu to manage tags page. Fixing some upper/lower cases 2007-08-30 02:11:55 +00:00
stronk7
6b0caaee81 Now module confguration (records from config) is deleted
when a module is deleted. MDL-11056
2007-08-29 15:14:18 +00:00
stronk7
498a550d01 Adding one utility to detect and propose DB changes in
order to have all the int(10) fields properly defined. MDL-11038

Test, test, test!!!
2007-08-28 23:03:40 +00:00
stronk7
8baf4a77d0 Now Moodle >= 1.9 requires PostgreSQL >= 8.0. MDL-11033
Merged from MOODLE_18_STABLE
2007-08-28 15:35:48 +00:00
toyomoyo
dc155ceb57 MDL-10181, adding subtracting mechanism for bulk user opertaions, and add some help 2007-08-28 02:23:10 +00:00
stronk7
ec2e146dc5 New tables must have the id unsigned.
Merged from MOODLE_18_STABLE
2007-08-27 14:43:30 +00:00
toyomoyo
d526725b8d MDL-10181, help files should not be modified, a new file has been created 2007-08-27 07:24:35 +00:00
toyomoyo
a7db355af1 MDL-10181, user management improvement fixes and new features 2007-08-22 06:17:11 +00:00
mudrd8mz
a98fe27240 Fixes notices produced by PHP when saving new strings into _local without corresponding master translation. 2007-08-21 23:10:18 +00:00
skodak
90afcf3280 MDL-10260 added new user_delete() hook into auth plugins; refactored user delete code = new function delete_user() in moodlelib.php + improved cleanup in core tables when deleting user 2007-08-21 20:52:36 +00:00
mudrd8mz
d9f4ba6f23 MDL-9361 lang.php is now able to edit language in third party modules and plugins. 2007-08-21 15:17:37 +00:00
jamiesensei
6d1083c52f fix for some xhtml syntax errors. 2007-08-21 06:55:48 +00:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
toyomoyo
066bfbfe77 MDL-10181, user management improvements, adding improvements to bulk user upload (with minor bugs) and other changes 2007-08-20 08:51:35 +00:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
nicolasconnault
f1af7aaaf5 MDL-10870 All files updated to new build_navigation() method. 2007-08-17 07:25:47 +00:00
nicolasconnault
66b079ae94 MDL-10870 Missed an instance of old nav in admin/lang.php 2007-08-17 05:19:20 +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
778918fd71 MDL-10383 - some more refactoring/cleanup, enablegroupings experimental admin setting, tabs in groups UI 2007-08-16 21:14:03 +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
skodak
5bf243d131 MDL-10383 - groups/groupings refactoring nearly finished ;-) 2007-08-16 11:06:48 +00:00
toyomoyo
baea72ec48 some changes for better capabilities list display 2007-08-16 08:48:53 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
toyomoyo
1bef49587d moving user bulk operations to admin/user/ 2007-08-15 05:30:49 +00:00
toyomoyo
68853d0dd3 MDL-10181, bulk user action and language pack fixes 2007-08-15 02:36:47 +00:00