moodler
a1d526438c
FIxed some XHTML notices
2006-09-25 09:32:25 +00:00
moodler
0a7e84c341
Added form-group
2006-09-25 09:06:51 +00:00
moodler
3c6f7a7828
Remove size=X from admin settings (do it in CSS)
2006-09-25 08:33:10 +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
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
mjollnir_
af5d9f6a06
bugsquish! stats aggregates and weird missing dates bug
2006-09-25 04:50:17 +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
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
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
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
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
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
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
df206ef87f
Corrected accidental language-changing because of lang in POST
2006-09-24 12:07:44 +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
stronk7
f46e2c8cbc
Changed one LIMIT to a cross-db WHERE clause
2006-09-24 09:59:25 +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
stronk7
70a8ac6666
Given one xmldb_field, finds its name in DB
2006-09-24 08:26:24 +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
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
mjollnir_
11887b6d5e
more fixing on reports
2006-09-24 03:15:52 +00:00