Commit graph

22605 commits

Author SHA1 Message Date
stronk7
abf980a587 Now table renaming is working properly on PostgreSQL
(only renaming of check constraints are pending)
2006-10-01 08:44:55 +00:00
moodler
5b1d599514 Tidied up groups interface to make it a bit more intuitive 2006-10-01 08:37:15 +00:00
moodler
b16de84980 get_role_users() can now get all the people who have any role in that context,
which is useful
2006-10-01 08:34:36 +00:00
moodler
a971a5985a FIxes for the assign screen, to make it a lot faster and able to cope
better with very large numbers of users   MDL-6766
2006-10-01 08:08:26 +00:00
moodler
7ea02fe987 FIxed some typos in get_role_users and count_role_users to do with parent contexts 2006-10-01 07:02:53 +00:00
gbateson
42cd7a105b do not join "hotpot_attempts" and "hotpot_details" tables when displaying "hotpot/index.php". This should speed display when courses have many HotPot activities, especially for students 2006-10-01 06:39:51 +00:00
moodler
0351730630 FIxed a debugging message 2006-10-01 06:39:20 +00:00
gbateson
172ab53650 add/delete calendar events when adding/updating/deleting hotpots 2006-10-01 06:36:50 +00:00
gbateson
6e69ab8afb added "hotpotopens" and "hotpotcloses" for calendar events 2006-10-01 06:35:54 +00:00
moodler
04186cd965 Improvements to the user listing, security and appearance 2006-10-01 06:18:18 +00:00
moodler
ecaf56e5c9 Trivial spelling fix up 2006-10-01 05:49:41 +00:00
moodler
6c95827fdf New implementation of loginas see MDL-6626 2006-10-01 05:46:55 +00:00
moodler
9343a7333a Fixed a bug where load_user_capability() was not checking in the
specified context when it was provided (only in the parents)
2006-10-01 05:27:36 +00:00
moodler
bad59bc0ee Some tidying and also a check to make sure that the user was a
participant in this particular course
2006-10-01 05:26:38 +00:00
moodler
afe6d00384 FIxed a typo mod->id --> mod->cm 2006-10-01 04:56:43 +00:00
stronk7
20c559dd8d Now Oracle supports table renaming (both sequence and triggers
are kept on sync with the new table name)
2006-09-30 23:48:34 +00:00
stronk7
f086dd7da1 Drop one more table if present 2006-09-30 23:09:41 +00:00
stronk7
4702d62e32 Change slighty the style of RenameKey and RenameIndex functions. 2006-09-30 22:59:10 +00:00
stronk7
a59f3a34f3 Initial commit of rename_table(). Not ended! 2006-09-30 22:40:15 +00:00
skodak
8ad2207965 fixed Fatal error: Call to undefined function: print_recent_activity() when adding Recent Activity as a sticky block MDL-6437 and blocks block database MDL-5931 2006-09-30 21:02:09 +00:00
skodak
7208c579fd fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697 course/mod.php does not show the right navigation 2006-09-30 20:46:31 +00:00
skodak
ba8d802720 MDL-6673 duplicate capabilities in list 2006-09-30 20:11:44 +00:00
mark-nielsen
5491947aa1 NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files. 2006-09-30 19:49:40 +00:00
skodak
a1069b070a MDL-6696 Default country doesn't display on dropdown menu 2006-09-30 19:46:10 +00:00
stronk7
142d7fb842 Added one more test to check the EXPERIMENTAL rename_key() function 2006-09-30 19:45:51 +00:00
stronk7
9c4ee55b6c Added rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:49 +00:00
stronk7
57770f7a50 Adding support to rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:16 +00:00
stronk7
e77fd021e6 Implemented rename_key()
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:43:16 +00:00
mark-nielsen
eefa69ce5c Bug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use API to gather Lessons correctly. 2006-09-30 19:24:22 +00:00
mark-nielsen
b3b4bc44ce BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options. 2006-09-30 19:00:07 +00:00
stronk7
6c89dc5514 Added rename_index()
Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:24:14 +00:00
stronk7
1c86ef5b1c Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
danstowell
15add7bd29 Fixed PHP 4 compatibility re MDL-6753 2006-09-30 17:46:15 +00:00
stronk7
aa8503fdd0 Added 3 more tests to check change_field_enum() 2006-09-30 17:06:59 +00:00
stronk7
61af97e76b Added new function change_field_enum() 2006-09-30 17:06:20 +00:00
stronk7
b899d9bf1d Added support to change_field_enum() across all RDBMS 2006-09-30 17:03:17 +00:00
julmis
9337f3e48d Merging fixes from MOODLE_16_STABLE 2006-09-30 16:07:43 +00:00
stronk7
3650ba6f58 Using the new table_exists() to initialize tests properly. 2006-09-30 15:51:41 +00:00
stronk7
3e1861cc87 Applying the field_exists() check to add and drop fields. 2006-09-30 15:48:23 +00:00
skodak
55b4d09637 new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible 2006-09-30 15:41:20 +00:00
stronk7
342da808c5 New function field_exists() to detect if one field exists 2006-09-30 15:35:32 +00:00
stronk7
73d111a820 Add some checks to detect if one table exists before creating or
dropping it. Part of MDL-6614
2006-09-30 15:19:56 +00:00
stronk7
7471f3f0dd Adding some debugging() for some controlled actions. 2006-09-30 15:15:34 +00:00
stronk7
ed37b15464 Moving some uses of find_index_name() to index_exists() 2006-09-30 15:00:46 +00:00
stronk7
cf9a1a40f1 Fixed typo 2006-09-30 14:59:03 +00:00
stronk7
4103c3545c Prevent tables without prefix to be duplicated at install time. MDL-6614 2006-09-30 14:36:52 +00:00
moodler
2c13082db0 Fixed up Preset name 2006-09-30 14:13:22 +00:00
moodler
26ea488855 Don't show progress bar when there's nothing worth showing 2006-09-30 13:52:15 +00:00
stronk7
2719f3e2c9 Inside ddllib, for consistency we call parameters table, field...
(without the xmldb_ prefix)
2006-09-30 13:04:17 +00:00
stronk7
a504ba0213 Added index_exists(). One wrapper over find_index_name() 2006-09-30 12:56:39 +00:00