vinkmar
3b904bc94f
calendar admin page cleaned up
2006-09-28 04:46:09 +00:00
moodler
bac2f88ae8
Added count_role_users() as a more efficient thing to do than get_role_users()
2006-09-28 04:42:49 +00:00
jamiesensei
15fdf6199e
wrapping group element in a fieldset tag
2006-09-28 04:19:56 +00:00
jamiesensei
ec929cd596
now wrapping a group element in a fieldset tag, brought id tag on checkboxes and radio boxes in line with moodle universal form structure
2006-09-28 04:18:35 +00:00
martinlanghoff
897e0712e8
Comments.
2006-09-28 00:13:07 +00:00
martinlanghoff
c0adb54de4
Allow Chinese/Japanese UTF-8 strings to be truncated at character
...
boundaries instead of word boundaries. (fix MDL-5378)
2006-09-28 00:10:23 +00:00
skodak
250934b8e0
fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later.
2006-09-27 22:59:37 +00:00
skodak
6727c1753f
added default settings for admin_setting_special_backupdays()
2006-09-27 22:25:15 +00:00
skodak
5d0df39db4
fixed array_shift($roles) warning during upgrade from 1.6
2006-09-27 22:16:23 +00:00
skodak
1cd3eba948
fixed validation of course category for site course MDL-6715
2006-09-27 20:43:04 +00:00
jamiesensei
49c5368707
changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816
2006-09-27 19:12:52 +00:00
skodak
7bfa3101df
add checks for stale contextid in role_assignments and overrides into load_user_capability() MDL-6708
2006-09-27 18:11:36 +00:00
skodak
a36a3a3f98
added strict context level checks to get_context_instance() MDL-6709 , the reason is to find typos and buggy code that would be otherwise unnoticed
2006-09-27 17:58:17 +00:00
skodak
3ca2dea51d
sanitise request in create_context() and show debug info when appropriate MDL-6715
2006-09-27 17:50:53 +00:00
stronk7
13e9de1c67
Fixed Bug MDL-6647 - PG version not being fetched properly.
...
(http://tracker.moodle.org/browse/MDL-6647 )
2006-09-27 17:48:45 +00:00
jamiesensei
f0e2d0ac80
upgraded tableless pear quickform packages
2006-09-27 16:31:11 +00:00
jamiesensei
04ad8eee82
added empty setHelpButton method to moodleform_hidden
2006-09-27 16:09:15 +00:00
jamiesensei
e249661fbb
fixed small typo
2006-09-27 16:07:37 +00:00
jamiesensei
ef625b6bac
added comments to show how to add nested fieldset container for groups of items
2006-09-27 16:06:56 +00:00
jamiesensei
42f248e659
new security features added acceptGet, optional_param, required_param, clean_param, methods added to form class
2006-09-27 16:00:19 +00:00
moodler
bd10f85d94
Add eu to allowed domains
2006-09-27 12:57:33 +00:00
moodler
bccdf22764
Fixed a possible notice
2006-09-27 08:01:22 +00:00
moodler
15a169222b
Some extra changes from the duplicate work I did on upgradesettings.php
...
main change is that adminsettings is now an ID on the form
2006-09-27 07:49:34 +00:00
stronk7
d335bebc06
Added support for add_index() and drop_index()
2006-09-26 23:17:24 +00:00
stronk7
42d1fc2f3f
XMLDBTable wrappers to create and drop indexes
2006-09-26 23:16:09 +00:00
stronk7
618a982eed
Now all the generators support creating and dropping indexes
2006-09-26 23:15:20 +00:00
stronk7
b0d8444349
Fix one place where index->type was being used instead of index->unique
2006-09-26 22:46:05 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
stronk7
48eac31328
Replaced XMLDB own implementation of the concat function to use
...
the new, ultra-cool, ADOdb based, concat_sql(). Thanks, Martin Langhoff!
2006-09-26 18:34:48 +00:00
stronk7
66841aed29
One wrong use of onespace2empty() - an strange function - :-/
...
in the DIRTY HACK was causing not info to be returned under Oracle
by the get_field_sql() function, so sequence numbers were broken.
2006-09-26 18:27:44 +00:00
stronk7
1d5071a57e
Don't CREATE OR REPLACE TRIGGER but just CREATE it
...
(so we'll be able to detect duplicate name with an
error instead of getting false success)
2006-09-26 18:10:27 +00:00
stronk7
2efd67bf5f
Increasing log_display->field because sql_concat() (one
...
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
jamiesensei
5ae7038594
modified api to create an htmleditor element
2006-09-26 16:40:35 +00:00
jamiesensei
f8857b4925
adding static element class to registry of Moodleform elements
2006-09-26 13:55:51 +00:00
jamiesensei
eb476e4adb
file describing a static form element for moodle with setHelpButton method
2006-09-26 13:32:15 +00:00
moodler
f1dcf0000a
Checked in Nick's patch from MDL-6699 to aid installation when there
...
are a LOT of students (it was running out of memory)
2006-09-26 13:31:57 +00:00
moodler
d22130f36d
Added a PEAR extension that was missing, and permission from
...
Mark Wiesemann for his renderers. Yay!
2006-09-26 12:07:48 +00:00
jamiesensei
80f962df90
* added error message for setHelpButton method not existing
...
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
moodler
a3d23679e6
We have permission for HTML_Quickform and HTML_Common
...
...
Bertrand Mansion
http://www.mamasam.com - creative internet solutions
http://golgote.freeflux.net - blog
2006-09-26 09:12:21 +00:00
skodak
6de2a7b6c8
fixed another missing global $CFG
2006-09-26 08:49:47 +00:00
skodak
9e24fbd14d
basic validation fix for text admin settings
2006-09-26 08:16:17 +00:00
moodler
f67f8e8cb5
Updated README for MDL-6693
2006-09-26 07:17:54 +00:00
skodak
9a76d7b9ea
fixed autologinguests warning
2006-09-26 06:34:29 +00:00
skodak
05f8f7e76b
fixed missing global $CFG
2006-09-26 06:31:18 +00:00
martinlanghoff
1e7368e782
dmlib: set_field() now has the Oracle DIRTY HACK too!
2006-09-26 05:10:39 +00:00
martinlanghoff
5a55af6097
dmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_fieldset_sql()
...
This covers most (all?) the gaps in data retrieval except get_recordset_sql().
To tackle get_recordset_sql, where the actual data retrieval is done within
AdoDB, we would have to to wrap around AdoDB with a subclass, but that would
be dirty, dirty, dirtier.
2006-09-26 05:10:18 +00:00
martinlanghoff
44f9885044
sql_concat(): fixed param order thinko -- and now it works too!
2006-09-26 05:09:48 +00:00
martinlanghoff
7e034f29a0
searchlib can use sql_ilike too!
2006-09-26 05:08:39 +00:00
martinlanghoff
95008f81c6
sql_ilike() -- added notes on Oracle support or lack thereof
2006-09-26 05:07:28 +00:00
martinlanghoff
38e02f4c32
Introducing sql_concat_join($sep, $array) helper
...
returns the SQL to do the equivalente of a join() or implode()
on the DB server. Watch the RDBMS work! ;-)
2006-09-26 05:05:54 +00:00