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
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