thepurpleblob
8daaaafcf0
Merged from STABLE
2006-08-15 14:39:47 +00:00
tjhunt
ab757152ec
New function get_field_select().
2006-08-15 13:44:22 +00:00
stronk7
edc8779b92
Latest changes, nothing important.
2006-08-15 11:30:32 +00:00
tomflannaghan
72184a52b8
A few fixes for the dropdown menus.
2006-08-15 11:14:07 +00:00
stronk7
82b7ceb568
Just adding support for reserved words....
2006-08-15 10:15:52 +00:00
vyshane
6c384dd1bb
Replaced isteacher and isadmin calls by has_capability
2006-08-15 09:56:41 +00:00
vyshane
f8a6c19d23
Replaced creator() calls with has_capability()
2006-08-15 09:45:11 +00:00
vyshane
9f5c1e1057
Added has_capability calls
2006-08-15 09:28:12 +00:00
stronk7
8165877a17
Initial commit on HEAD of all the XMLDB stuff.
2006-08-15 09:14:31 +00:00
stronk7
f11bf81701
Initial commit of the ddllib (to perform DDL operations)
2006-08-15 09:08:17 +00:00
moodler
901dd2fb4c
Merged new "Database preset" support from Tom Flannaghan.
...
Still needs some tidy-up work but it's working.
2006-08-15 08:42:06 +00:00
toyomoyo
0a8a95c91e
some more UI stuff
2006-08-15 08:29:29 +00:00
vyshane
6006c31d28
Added has_capability call
2006-08-15 06:37:55 +00:00
vyshane
67e4cf27e2
Added has_capability checks
2006-08-15 06:21:35 +00:00
vyshane
bede8db79f
Updated with new capabilities
2006-08-15 05:01:00 +00:00
vyshane
a028c29187
Added new capabilities
2006-08-15 04:13:22 +00:00
toyomoyo
dd91f41525
revert ugly changes back to original
2006-08-15 02:28:04 +00:00
skodak
284ac70210
$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged from MOODLE_16_STABLE
2006-08-14 20:57:18 +00:00
skodak
508d4a0d14
adding proper checks that the requested help file exists SC#292; merged from MOODLE_16_STABLE
2006-08-14 20:08:52 +00:00
moodler
cfef9e55d0
Endless loop fix from stable
2006-08-14 15:20:49 +00:00
ethem
839958faf6
* $CFG->teachermanagepayments will have to go since we are moving away from the rigid hardcoded teacher role concept.
...
* If a teacher has_capability('enrol/authorize:managepayments'), send email about pending orders expiring.
* All isteacher converted to has_capability.
2006-08-14 15:06:11 +00:00
ethem
4503e31d9a
Roles support added: enrol/authorize:managepayments
...
TO DO:
* $CFG->an_teachermanagepay will be removed.
XXX??? What will be do while sending email to teachers about pending orders expiring???
If this feature enabled and a teacher no role in managepayments, this will send an email and the teacher cannot manage payments.
Extra work: get_course_teachers and a teacher has_capability(at course level), send this email.
* convert isteacher to has_capability.
2006-08-14 14:23:01 +00:00
moodler
10f5c89035
FIxed another ossible notice during upgrade
2006-08-14 13:44:10 +00:00
ethem
abaeae30f7
Guests can NEVER manage payments. CAP_PREVENT to CAP_PROHIBIT.
2006-08-14 13:42:35 +00:00
moodler
9db12da755
Fixed some notices during install
2006-08-14 13:42:34 +00:00
tjhunt
c097419986
Reorder the table definitions in the file, to group them more logically.
2006-08-14 13:32:39 +00:00
ethem
79469c6600
Roles support added: enrol/authorize:managepayments
2006-08-14 13:29:24 +00:00
moodler
c4a333b328
Fixes from forum http://moodle.org/mod/forum/discuss.php?d=46048
2006-08-14 08:59:38 +00:00
vyshane
e6316185ab
Fixed bug in upgrade_plugins(). Capabilities were not being loaded correctly.
2006-08-14 08:59:01 +00:00
skodak
795821c497
fixed warning in participants block
2006-08-14 08:54:45 +00:00
skodak
4c460d9821
fixed admin page layout
2006-08-14 08:52:15 +00:00
toyomoyo
7e2d7c92ad
some UI changes
2006-08-14 08:46:44 +00:00
skodak
b367b152ad
fixed warning during installation when creating admin account
2006-08-14 08:44:30 +00:00
moodler
339a9129ec
Only need to pass contextid to this script
2006-08-14 08:41:54 +00:00
moodler
e957cc2644
Cleaned up a bunch of notices and some logic
2006-08-14 08:38:49 +00:00
skodak
8549af11d1
fixed upgrade success notification, backup and blocks success messages are not red anymore...
2006-08-14 08:37:19 +00:00
moodler
5c524305e3
FIxed 'assign roles' link from course admin
2006-08-14 08:34:11 +00:00
moodler
218564acfc
Fixed bug #6238 , bad debug statements
2006-08-14 08:26:58 +00:00
moodler
e4dd322255
Function to get roles used in a context
2006-08-14 08:14:02 +00:00
skodak
9fecfdfb83
Bug #6245 - rewritten multilang filter
2006-08-14 07:46:03 +00:00
vyshane
951e1073da
Added has_capability calls. Reverted forum_search to pre-roles until the
...
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
vyshane
d7bf6d17d9
Fixes for capability checks.
2006-08-14 07:25:18 +00:00
vyshane
cee0901c06
Formatting cleanups and comments
2006-08-14 07:15:03 +00:00
skodak
33851b5c16
prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE
2006-08-14 06:24:34 +00:00
moodler
65f4d137a7
Fixed a typo
2006-08-14 06:22:29 +00:00
moodler
f2e21e6c03
Fix error string
2006-08-14 06:03:30 +00:00
moodler
0468976c9a
SWEEPING CLEANUP
...
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)
The $kill thing was removed. If you want to assert a capability
then use:
require_capability('capname', $context);
with optional variables to modify the error message
Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
mchampan
6e7805628e
Advanced search page added.
2006-08-14 02:29:43 +00:00
tjhunt
a7c3953d1c
SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE.
2006-08-13 20:39:21 +00:00
moodler
acee2e2491
Temporayr debug a bit more sensible
2006-08-13 15:50:58 +00:00