22179 Commits

Author SHA1 Message Date
skodak
38d2d43b01 roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages 2006-09-24 11:55:11 +00:00
moodler
f365252121 Handle site-level block names in capability settings too 2006-09-24 11:32:11 +00:00
moodler
2c8766dff2 Function stub, as suggestion towards MDL-6678 2006-09-24 11:11:40 +00:00
moodler
9ac93e31f1 Added some strings describing risks 2006-09-24 10:47:27 +00:00
stronk7
f46e2c8cbc Changed one LIMIT to a cross-db WHERE clause 2006-09-24 09:59:25 +00:00
moodler
ff439b30af Added styles to the role editing/viewing list, as well as some links and tooltips 2006-09-24 09:44:51 +00:00
stronk7
b0ec41af8a Prevent Unique Keys generation. Instead use unique indexes at DB level.
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
2006-09-24 09:38:56 +00:00
moodler
d13c1aed4a When not editing, then let's disable the radio buttons 2006-09-24 09:02:30 +00:00
stronk7
70a8ac6666 Given one xmldb_field, finds its name in DB 2006-09-24 08:26:24 +00:00
skodak
189bb4a628 fixed warning in hotpot lib when running cron from commandline 2006-09-24 07:38:15 +00:00
skodak
25d8040ec5 added trustbitmask column to user table 2006-09-24 07:32:49 +00:00
mjollnir_
931ab7be83 fixes to activity stats processing for dailies 2006-09-24 07:15:22 +00:00
mjollnir_
96edb010da more work on stats reports ... 2006-09-24 07:13:33 +00:00
moodler
be91f51dab Make sure buttons don't wrap 2006-09-24 06:54:52 +00:00
moodler
975211bb0a Removed the "then" string, no need for it 2006-09-24 06:47:53 +00:00
moodler
c7731ab5e2 Fixed notice() so that you can pass a course if you want 2006-09-24 06:21:15 +00:00
moodler
978abb4291 Removed some possible notices 2006-09-24 06:06:24 +00:00
moodler
13e21433a4 Better errors 2006-09-24 05:53:45 +00:00
moodler
b6e7b09c7b Tidied up error reporting in course overview 2006-09-24 04:29:12 +00:00
mjollnir_
11887b6d5e more fixing on reports 2006-09-24 03:15:52 +00:00
stronk7
dcf9c14c2b Typo 2006-09-24 00:13:22 +00:00
stronk7
3fb145e061 Change slighty the tests... 2006-09-24 00:11:53 +00:00
stronk7
19c8321e07 Now Oracle supports the first part of alter table alter column statements 2006-09-24 00:02:34 +00:00
stronk7
27bb1be29d Inserted two more test 2006-09-24 00:01:02 +00:00
mjollnir_
32baf47939 accidently left in debugging stuff in stats reports 2006-09-23 21:43:11 +00:00
stronk7
05002031d5 adding some more tests 2006-09-23 21:30:36 +00:00
stronk7
1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
stronk7
8e895ae5c7 mark rename table as not implemented 2006-09-23 21:28:16 +00:00
stronk7
0e9e0b3bb3 adding support for alter columns
(not finished yet)
2006-09-23 21:24:51 +00:00
stronk7
f8c485b071 mysql alter table alter column is "modify column" 2006-09-23 21:23:05 +00:00
stronk7
c282203d84 mssql doesn't support default clause in alter table alter column 2006-09-23 21:22:02 +00:00
mark-nielsen
31b50f6442 Fix for MDL-6628: the lesson object was not being cloned correctly. 2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9 Moved endofbranch redirect up to avoid double printing of messages. 2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964 Fixed alignment issue in IE 2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8 Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
moodler
3e1e2b6968 Putting the files back to plain JS files 2006-09-23 15:11:37 +00:00
moodler
3febabd888 Use AJAX for weekly formats too. HOWEVER, there are some remaining
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
moodler
354e11303e Just tidying up the code 2006-09-23 14:34:59 +00:00
moodler
9bb7417805 Further centralising of course AJAX and cleanup of code formatting, names etc 2006-09-23 14:03:48 +00:00
moodler
75dc25855c Now using the generic course/rest.php instead of the local commands.php 2006-09-23 13:24:10 +00:00
moodler
b205403813 Moved the REST interface for course modification from
course/format/topics/commands.php to a more generic place
2006-09-23 13:23:18 +00:00
moodler
748390cd30 be a bit more forgiving of lang parameter 2006-09-23 13:14:25 +00:00
moodler
350b5fb6c8 Strip all tags from role names before use 2006-09-23 12:57:48 +00:00
skodak
ece4945bd2 role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort 2006-09-23 12:51:00 +00:00
moodler
65b0c132ed When getting lists of roles, put role names through format_string
(ie for multilang filter)
2006-09-23 12:46:53 +00:00
mjollnir_
67f3be726e fixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja) 2006-09-23 12:42:35 +00:00
mjollnir_
afc97d5349 fixing reports 2006-09-23 12:10:42 +00:00
mjollnir_
0dd5bf422b more work on stats - reports this time 2006-09-23 12:08:46 +00:00
skodak
8420bee94e towards unique role sortorder - fixes for create_role() and new delete_role() 2006-09-23 10:43:24 +00:00
mjollnir_
09cf1c9b55 follow correct naming convention when fetching legacy teacher role 2006-09-23 09:47:11 +00:00