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
moodler
bc28fcd8fc
Remaining capability strings
2006-09-24 14:20:44 +00:00
moodler
7fe6ddbab5
Add header classes to headers
2006-09-24 14:15:57 +00:00
vyshane
1172e5db68
Updated comment
2006-09-24 14:03:34 +00:00
vyshane
583b57b42d
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
2006-09-24 14:01:50 +00:00
vyshane
57244db359
Removed the following module configurations (converted to use roles):
...
participants, assesspublic and ratings. Changed assessed field to only use 1 (ratings on) or 0 (off).
2006-09-24 13:58:54 +00:00
moodler
847a041fb7
Better use of mod/quiz:view to hide quiz information (they already have the
...
name from the course page etc)
2006-09-24 13:54:22 +00:00
moodler
3e28f9bc07
Various new strings, mostly capability names
2006-09-24 13:51:06 +00:00
skodak
d4121c5605
one more sanity check for role overrides
2006-09-24 13:34:52 +00:00
moodler
b144aaa4dc
Add some more checking of input and permissions
2006-09-24 13:30:43 +00:00
moodler
11ac79ff0e
Extend the require_login in require_capability a bit
2006-09-24 13:15:13 +00:00
skodak
6df3c7df7a
user upload cap renamed to moodle/site:uploadusers
2006-09-24 12:54:53 +00:00
skodak
cc891abe88
uploading of users has new capability 'moodle/user:upload' now also with admin block integrated
2006-09-24 12:31:49 +00:00
moodler
0c19750c72
Fixed a notice
2006-09-24 12:13:58 +00:00
moodler
df206ef87f
Corrected accidental language-changing because of lang in POST
2006-09-24 12:07:44 +00:00
moodler
bf7288a2c0
Simplified a bit and removed a notice
2006-09-24 12:02:00 +00:00
skodak
856f7cb7e6
do not display guest when browsing users
2006-09-24 11:58:28 +00:00
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