Commit graph

5838 commits

Author SHA1 Message Date
stronk7
4215e41ecb Extending getCheckConstraintsFromDB() to support a new parameter
used to filter what field in the table we want to know
its check constraints
2007-09-09 16:28:16 +00:00
stronk7
4cc68ea184 Now mysql returns getCheckConstraintsFromDB() in a compatible
way (array of name & description objects) with the check
constraints found in the table
2007-09-09 16:09:00 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
jmg324
f359b6121c MDL-11159 adding a name to block config form for javascript support 2007-09-07 14:49:30 +00:00
jamiesensei
d0508099c6 oops. Stray 'as' used for table name alias in SQL. 2007-09-07 08:01:08 +00:00
stronk7
4a039315d7 Dropping one UNIQUE index over NULLable columns. It isn't
cross-db at all. So we make the composite index not unique
to get speed benefits but the unique constraint is
controlled programatically.
2007-09-06 18:31:13 +00:00
skodak
b2bc96d10b MDL-7380 added new groups API functions for use in course related pages (very similar to functions for activities) + fixed grade code to use these new functions 2007-09-06 10:19:24 +00:00
skodak
c2efb50142 MDL-11130 added aggregation inside all subcategories + added graded/all aggregation option 2007-09-05 19:15:21 +00:00
nfreear
f8b9ac7418 MDL-11134, Accessibility: move help link into <label>, so it won't be ignored in JAWS forms mode. 2007-09-05 14:34:33 +00:00
moodler
d61d8c09ce Removed hardcoded string 'course grades category' 2007-09-05 09:17:19 +00:00
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