1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-27 11:02:38 +01:00

5243 Commits

Author SHA1 Message Date
skodak
8496a9c911 MDL-10995 improved capability_search():
* eliminated fetching of course - $COURSE used if id matches
* parent category structure is cached in static array
2007-08-25 12:22:15 +00:00
skodak
e6260a456b MDL-10635 improved performance of update_course_icon() and friends; fixed parameter of iseditting() - removed $userid which was not used and did not make much sense there anyway 2007-08-25 11:28:37 +00:00
nicolasconnault
54c0f82b1d MDL-10970 Reverted changes 2007-08-24 12:45:16 +00:00
nicolasconnault
3565ff92e4 MDL-10970 Someone was using
$locations = array('location1');
$locations += array('location2', 'location3', 'location4');

to save the hassle of doing one $locations[] = 'location1'; for each location.

But += doesn't add any entry if the key of the new array already exists in the original array. So, using my example, the resulting array would be:

$locations: array('location1', 'location3', 'location4');
2007-08-24 06:01:15 +00:00
toyomoyo
3e6e529fa4 MDL-10911, setting tag:create and tag:edit to allow for user role and admin role 2007-08-24 05:39:37 +00:00
nicolasconnault
364fffda3b MDL-10723 Removed all uses of print_navigation() throughout moodle, the function call is now entirely deprecated. 2007-08-24 04:22:30 +00:00
moodler
1acd661d07 Committing Luiz's code for MDL-10968 to add ordering for the tags 2007-08-24 03:20:12 +00:00
mattc-catalyst
e0bc99e4db MDL-10888: groupings - added some caching of repetative queries 2007-08-23 22:18:53 +00:00
moodler
68da9722db Merged new mime-types and icons for Microsoft files MDL-9940 2007-08-23 06:50:37 +00:00
skodak
c331cf23c5 MDL-10945 fixed block capability checks in switch role mode 2007-08-22 19:20:20 +00:00
poltawski
25a7d98066 MDL-10573 - moodle/block:view wasn't working with switch roles or block_list class 2007-08-22 10:35:28 +00:00
jamiesensei
afb36bca44 MDL-10938. 'only strings from lang files can be used as feedback in environment check. Some way is needed to include data from custom check function - a $a param to pass to get_string'. Custom check for questions uses new functionality to print more complex strings as feedback. 2007-08-22 04:28:26 +00:00
mattc-catalyst
8a67b03fce MDL-10888: groupings - make get_all_instances_in_course respect groupmembersonly 2007-08-22 04:20:42 +00:00
toyomoyo
0f07c40e01 MDL-10911, setting moodle/tag:create to allow as default for the authenticated user role 2007-08-22 03:27:57 +00:00
skodak
5adad31057 MDL-10937 upgraded html purifier to 2.1.1 2007-08-21 22:06:47 +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
thepurpleblob
39dc779aa9 MDL-10929:
User search will now additionally return users based on an exact match
to their username.
2007-08-21 10:36:46 +00:00
thepurpleblob
12e80b7bad MDL-10928:
Markdown library updated to latest version (Markdown Extra 1.1.4)
2007-08-21 09:54:49 +00:00
mattc-catalyst
43b49d039d MDL-10888: groupings - make 'jump to...' menu respect groupmembersonly flag 2007-08-21 03:18:19 +00:00
mattc-catalyst
dcd8db6864 MDL-10888: Groupings - add support for groupmembersonly flag.
Make the following respect the groupmembersonly flag:

- Course front page
- Activities block
- Recent Activity, including full report
- Calendar
2007-08-20 21:30:40 +00:00
skodak
7e4fdf2515 MDL-10383 - some more disabling of groupingid's when $CFG->enablegroupings empty - adding some explanation comments 2007-08-20 14:20:36 +00:00
skodak
c0d4238d01 MDL-10383 - some more disabling of groupingid's when $CFG->enablegroupings empty; this should allow using of $cm->groupingid in modules without extra checks for $CFG->enablegroupings 2007-08-20 14:18:55 +00:00
skodak
9d66deb3ce MDL-10383 - some more refactoring and new grouping related functions for modules 2007-08-20 13:56:39 +00:00
Martin Langhoff
359abcacab cvsimport fixups binary files 2007-08-29 13:10:20 +12:00
Martin Langhoff
13534ef716 cvsimport fixups 2007-08-29 13:10:11 +12:00
nicolasconnault
33a34cd4d0 MDL-10875 Corrected bug in averaging plus a couple of typos 2007-08-20 07:29:05 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
f8e3d5f0c2 MDL-10888 groupmembers only checks in require_login() 2007-08-17 12:15:32 +00:00
tjhunt
af999b9095 Temporary fix for MDL-9356 becuase it was blocking a bug I needed to fix. Eloy, please review carefully when you get back from holiday. 2007-08-17 09:59:54 +00:00
nicolasconnault
f1af7aaaf5 MDL-10870 All files updated to new build_navigation() method. 2007-08-17 07:25:47 +00:00
toyomoyo
3ace5ee456 merged fix for MDL-10856, mp3 filter does not work for uploaded html files 2007-08-17 04:57:52 +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
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
skodak
62d6383803 MDL-10383 - groups/groupings refactoring and improvements - basic UI for groupings implemented 2007-08-16 09:28:18 +00:00
toyomoyo
baea72ec48 some changes for better capabilities list display 2007-08-16 08:48:53 +00:00
jamiesensei
9f1017a0be correct logic error that broke caching. 2007-08-16 05:19:33 +00:00
skodak
ddff2fa806 MDL-10383 - yet more groups and groupigns refactoring, cleanup and bugfixing - grouping edit form now works 2007-08-15 23:51:07 +00:00
skodak
c4e953e69e MDL-10383 - group edit form refactoring and minor bugfixing 2007-08-15 20:33:17 +00:00
skodak
2c386f82e5 MDL-10383 - deprecated get_groups(), user_group() and ismember() 2007-08-15 20:21:01 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
skodak
dd24722b47 MDL-10862 add delete_profile_image() function + whitespace + removed redundant function calls + docs 2007-08-15 14:00:35 +00:00
tjhunt
583e93ca27 Clarify comment. 2007-08-15 13:43:27 +00:00
tjhunt
1e05bf54b2 Space beteen category name and count. 2007-08-15 12:06:21 +00:00
jamiesensei
f6ea3132c1 small commenting change 2007-08-15 11:08:37 +00:00
moodler
6b726eb486 Just fixed some notices and formatting while debugging other stufff 2007-08-15 09:25:27 +00:00
nicolasconnault
b31a9f3dbb MDL-10829 Added get_grade_item() to the grade_item class, for cases when we don't whether an object is a category or a grade_item. The new interface for viewing and adding idnumbers (no editing) is 99% finished. Help strings still to do. 2007-08-14 06:05:07 +00:00
moodler
b58db965b4 Removed some pass-by-references to remove notices 2007-08-14 02:11:33 +00:00
skodak
2524b0f24c MDL-10383 - major groups patch - see bug i ntracker for more details - authors: Nick, Matt, Enrique and me 2007-08-14 00:50:00 +00:00
nicolasconnault
be7c069360 MDL-10829 Added get_idnumber() for both category and item classes 2007-08-13 18:34:57 +00:00