Commit graph

5278 commits

Author SHA1 Message Date
stronk7
16a208f9e6 Now the Oracle XMLDB generator detects changes of precision
in NUMBERs without decimals (virtually INTs) and is able to perform the
change of precision properly

Merged from MOODLE_18_STABLE
2007-09-04 23:18:41 +00:00
stronk7
6db368e117 PostgreSQL doesn't like aliases in update statements.
Changing to the whole name as prefix.
2007-09-04 17:51:51 +00:00
jamiesensei
9fc3100f27 fix for MDL-11106 Images not showing up in shared categories 2007-09-04 11:55:10 +00:00
moodler
edea42f96a Don't show message popups for guests 2007-09-04 06:47:02 +00:00
stronk7
e62148d600 Adding one new optional parameter to custom_corner functions, used to
apply ids to all the divs used to render corners. Defaults to null, so
those ids won't be added if unespecified.
2007-09-03 18:57:12 +00:00
skodak
9c8d38fa97 MDL-11092 events are not used for changed raw grades anymore + minor cleanup in handling of raw grades (now used only for modules or other external plugins that produce grades) 2007-08-31 22:42:05 +00:00
stronk7
abd3025272 Fix a bunch of SIGNED fileds that should be UNSIGNED. Credit goes to Petr.
Part of MDL-11038
2007-08-31 19:27:04 +00:00
nicolasconnault
76ca1ff134 MDL-11075 Now saving to temp file, then outputting using filelib's readfile_chunked() method. Also cleaned up whitespace in filelib.php (blame vim!). 2007-08-31 13:54:13 +00:00
skodak
f4d30b222b MDL-11082 Improved groups upgrade performance 1.8x -> 1.9; thanks Eloy for telling me how to do it correctly with SQL ;-) 2007-08-31 12:43:15 +00:00
moodler
3a1ac34002 Fixed some notices on some custom pages 2007-08-31 03:45:59 +00:00
moodler
7b0d5cd551 Merged fixes for MDL-7425 from 1.8 stable 2007-08-30 06:01:57 +00:00
skodak
2d675a2331 MDL-11023 silence warnings in PHP 4.x - the last param was added in PHP 5.0.2; merged from MODOLE_18_STABLE 2007-08-29 20:20:10 +00:00
skodak
e436033fb8 MDL-11026 private user key - implement ip restrictions 2007-08-29 18:06:18 +00:00
nicolasconnault
0f78c4de3d MDL-11028 GUI complete, language strings complete, user key creation done. Validation is not yet coded. 2007-08-29 11:43:48 +00:00
stronk7
d6125c4ad5 By default, when creating new fields... they are unsigned. 2007-08-29 10:24:36 +00:00
stronk7
4149e289b6 Fix mnet_hosts->applicationid (from 1 to 10). MDL-11042 2007-08-28 18:27:00 +00:00
toyomoyo
474373aa96 MDL-11017, changed blog edit page to use modified get_item_tags() 2007-08-28 08:32:38 +00:00
skodak
61c6071f40 MDL-10984 support for user private keys when accession scripts without normal sessions 2007-08-28 08:29:40 +00:00
toyomoyo
c4956945c1 MDL-11016, MDL-11015 improvements to the tag, tag_instance and tag_correlation tables 2007-08-28 04:11:58 +00:00
mattc-catalyst
d8c9d8a150 MDL-10888: - groupings - mod/scorm - updated to support groupings 2007-08-28 02:54:37 +00:00
nicolasconnault
9837bd1d2c MDL-7574 Applying Matthew Davidson's patch. 2007-08-27 16:59:04 +00:00
moodler
432038e084 The home page is the only exception to the rule of navigation 2007-08-27 09:40:14 +00:00
toyomoyo
0e80ffb293 dropping tables in xml 2007-08-27 09:14:19 +00:00
toyomoyo
bd1f4559f7 MDL-10956, convert blogs to use the same tags (and convert old tags) 2007-08-27 08:46:00 +00:00
moodler
0ae31f38fb Removed unnecessary BR 2007-08-27 05:17:11 +00:00
moodler
c77f9f07db Don't include AJAX libraries is AJAX is off across the site 2007-08-27 04:36:09 +00:00
toyomoyo
a4232e9500 adding timemodified to tag_instance table (to get blog blocks working) 2007-08-27 04:21:59 +00:00
mattc-catalyst
38553f9754 MDL-10888: groupings - fix SQL error 2007-08-27 03:54:59 +00:00
mattc-catalyst
e683967738 MDL-10888: groupings - added function to get all grouping members, cleaned up some notices 2007-08-26 23:47:24 +00:00
skodak
dda6370707 MDL-10635 fixed incorrect capability value check in has_capability_including_child_contetxt() 2007-08-26 16:55:46 +00:00
skodak
b571c6b37b MDL-10995 eliminated some get course record calls - reused $COURSE instead 2007-08-26 08:24:50 +00:00
skodak
47ba005d0d MDL-10995 course parents cache size now limited 2007-08-26 07:58:20 +00:00
moodler
5464c36277 Fixes for grade plugincapability names MDL-10989 2007-08-26 05:49:59 +00:00
skodak
3bf618ce0d MDL-10995 implemented caching of course and category parents - eliminates substantial number of db queries - mostly during login and on course page 2007-08-25 19:25:17 +00:00
skodak
5785266f9e MDL-10995 removing previous patch; testing a better one just now 2007-08-25 14:35:54 +00:00
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