Commit graph

21441 commits

Author SHA1 Message Date
toyomoyo
b3e900cee6 some more UI change 2006-08-16 09:11:43 +00:00
vyshane
01199ea958 Updated to use new Roles System. Plus some fixes. 2006-08-16 08:54:07 +00:00
tjhunt
920b93d1e3 Remove horrific code duplication in mod/quiz/lib.php. 2006-08-16 08:46:10 +00:00
toyomoyo
77d4953ee2 bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php 2006-08-16 07:57:51 +00:00
vyshane
e40a7a3c8b Fixing notices 2006-08-16 03:24:43 +00:00
moodler
f6f5f52a19 Automatic installer.php lang files by installer_builder (20060816) 2006-08-16 02:50:27 +00:00
vyshane
87ca0adf00 Fixed forum_print_post. Thanks Yu :) 2006-08-16 02:33:43 +00:00
tjhunt
a21567892f Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work. See http://moodle.org/mod/forum/discuss.php?d=51796 for more details. 2006-08-15 21:25:38 +00:00
tjhunt
eeaeff8e04 Corrected include. 2006-08-15 20:44:21 +00:00
tjhunt
3c957efd2e Correct comment. 2006-08-15 20:43:09 +00:00
tjhunt
d3eeba599b Delete stray space. 2006-08-15 16:53:24 +00:00
tjhunt
4e3487c59c Remove horrific code duplication in mod/quiz/mod.html. 2006-08-15 15:29:38 +00:00
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