Commit graph

22395 commits

Author SHA1 Message Date
vyshane
dcd8e5890e Abstracted query in a new function forum_discussions_user_has_posted_in() 2006-09-25 08:50:00 +00:00
moodler
14f358562d Fixed div around submit button 2006-09-25 08:44:22 +00:00
vyshane
cac40c2716 Added $forums[$i]->type == 'qanda' check to make things more explicit 2006-09-25 08:41:31 +00:00
moodler
3c6f7a7828 Remove size=X from admin settings (do it in CSS) 2006-09-25 08:33:10 +00:00
vyshane
d50704bf19 Fix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the user should not be able to see posts from discussions where the user has not yet posted, unless a post is the first post in the discussion (the question), or unless the user has the capabilitiy mod/forum:viewqandawithoutposting. 2006-09-25 08:25:58 +00:00
moodler
87a801e2ec Removed a typo 2006-09-25 08:22:05 +00:00
moodler
afee986420 Updates for better CSS hooks 2006-09-25 08:20:14 +00:00
moodler
0462b3589e Temporary fix 2006-09-25 08:01:05 +00:00
moodler
fa040029f0 Fix the editor and the surrounding table for settings 2006-09-25 07:55:10 +00:00
toyomoyo
c76e095f70 some fixes for the main load_user_capablitiies() function, need pair c1, c2 to impose uniqueness. should use c2.id instead for override. no restriction on c2 for assignments 2006-09-25 07:50:03 +00:00
moodler
edb6cba4b2 Fixed missing div properly this time :-) 2006-09-25 07:45:02 +00:00
moodler
23586acab5 Fixed miossing divs 2006-09-25 07:40:50 +00:00
moodler
6153cf5800 Moving all the admin settings to a tableless design MDL-6678
Thanks Urs for the CSS help!
2006-09-25 07:35:43 +00:00
moodler
f94ced1010 Fix sort on get_teacher to get the most senior teacher 2006-09-25 06:15:31 +00:00
moodler
0a3e970319 FIxed some problems when getting teacher lists for print_course 2006-09-25 06:09:06 +00:00
moodler
73b998684b FIxes related to strange default languages 2006-09-25 06:04:02 +00:00
vyshane
77dc6d0b26 Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch. 2006-09-25 05:12:01 +00:00
vyshane
66035aafd9 Merged fix for MDL-6521 2006-09-25 05:00:36 +00:00
mjollnir_
af5d9f6a06 bugsquish! stats aggregates and weird missing dates bug 2006-09-25 04:50:17 +00:00
vyshane
10b6398401 Fixed - wrong constant name 2006-09-25 04:11:41 +00:00
vyshane
87c7fce004 Merged fix for MDL-6363 2006-09-25 04:03:18 +00:00
moodler
1d546bb125 Fix for get_users_by_capability() so the caller can choose whether
they want users with doanything included or not
2006-09-25 03:00:50 +00:00
vyshane
1b54fb36ba Error printing for cron should be done with mtrace() 2006-09-25 02:44:54 +00:00
vyshane
2a692058d0 Fix in forum_make_mail_post() 2006-09-25 02:34:52 +00:00
vyshane
4be6bced7f Fixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_students anymore. 2006-09-25 02:04:11 +00:00
moodler
01c65218a2 Restoring table_column which was mistakenly deleted I think 2006-09-25 01:55:06 +00:00
moodler
218eb65122 Changed the flag to be on a given user basis (just in case it gets called
for a lot of users)
2006-09-25 01:42:41 +00:00
vyshane
0ee186d9ca Typo in capability name. 2006-09-25 01:35:49 +00:00
moodler
e4ec4e4149 Added a checking flag to check_enrolment_plugins() to make sure that it
never repeats more than once in an invocation.  Otherwise it's sometimes
possible for role_assign() during the enrolment process to cause loops.
2006-09-25 01:34:21 +00:00
stronk7
e920529bf8 Quick Fix. It should be 24! 2006-09-24 22:15:57 +00:00
stronk7
26b82be252 Drop all the unique keys inside PostgreSQL DB and convert them to
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)
2006-09-24 22:14:23 +00:00
mjollnir_
32da8f410f fixed the dropdown menus in the detailed (user) reports (WHICH WORK!) 2006-09-24 22:13:31 +00:00
skodak
a8a66c96ab it is now possible to hide parts of admin tree - not used yet, but it will be soon used for those hidden unsupported scripts in admin/ directory 2006-09-24 20:23:40 +00:00
stronk7
7253d30810 Added one new function find_key_name() to retrieve the
name og any key in the DB. This hasn't too much sense
for now (until we start to use referencial integrity) and
it is far from perfect, because it doesn't seach for the
key really in DB (due to the lack of support for this of ADOdb).
2006-09-24 19:39:53 +00:00
skodak
9fd9df205d fixed scheduled backup time setting 2006-09-24 19:37:34 +00:00
skodak
aade3a4b6a fix for MDL-6680 redirect function is broken when running php as CGI, me() now used instead of SCRIPT_NAME + minor coding style changes 2006-09-24 19:10:13 +00:00
skodak
1cc309df9d fixes for recent incorrect index updates 2006-09-24 19:04:32 +00:00
stronk7
11b75afe8b Now Oracle generator is able to change the precision and decimals of
one column by using one temp column. This prevents ORA-1440 errors.
2006-09-24 17:39:20 +00:00
jamiesensei
01963b9552 This is a demo of the experimental formslib. It is used here to print and process the course settings form. 2006-09-24 17:14:44 +00:00
jamiesensei
da6f876395 This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00
moodler
e836a7ddd8 When getting users by capability then exclude those with doanything at site level 2006-09-24 16:14:39 +00:00
stronk7
cc3779694a MSSQL alter field is exactly the standard one but with alter_column_skip_default enabled 2006-09-24 15:54:46 +00:00
stronk7
c1761c4292 XMLDB generators can return empty arrays if there is nothing to do. 2006-09-24 15:34:18 +00:00
stronk7
c02a561f97 Minor change to test to exclusively test the change of nullability 2006-09-24 15:28:32 +00:00
vyshane
b343df8690 Merged fix for MDL-6615. 2006-09-24 15:28:16 +00:00
stronk7
d3b93bd26a Add skip parameters to one getFieldSQL call requiring them 2006-09-24 15:26:49 +00:00
stronk7
ff936e2c2d Finally PostgreSQL seems to be working now.... I've tried to do
it as clever as possible detecting when column specs change in
order to reduce the number of temp-update-drop-rename operations
2006-09-24 15:25:49 +00:00
vyshane
3f8a38343b Removed isteacher from function print_recent_activity_note() 2006-09-24 14:35:48 +00:00
moodler
9e38e94047 More tidy-ups 2006-09-24 14:35:45 +00:00
moodler
8173517648 Giving the capabilities a bit more room on smaller screens 2006-09-24 14:26:50 +00:00