Commit graph

3114 commits

Author SHA1 Message Date
stronk7
ada5648103 Fixing some potential problems with prefixes and object names. 2006-08-16 23:01:46 +00:00
stronk7
d7444bfce3 Initial commit of oci8po generator 2006-08-16 22:58:51 +00:00
stronk7
866c0747e8 Line feed added + small bug 2006-08-16 22:23:39 +00:00
stronk7
d7bf5f9917 Initial version of the mssql generator 2006-08-16 21:46:08 +00:00
stronk7
2ad7da9bec Initial version of the postgres7 generator 2006-08-16 18:41:47 +00:00
stronk7
0c82f279c6 Added one more configuration parameter to disable inline SQL to be added in enum column lines 2006-08-16 18:37:33 +00:00
stronk7
aacf02c55b Proper parent init and comment close 2006-08-16 17:53:24 +00:00
stronk7
6caad5177d Minor change to do proper create table close 2006-08-16 17:51:49 +00:00
stronk7
e54ae5264b Partial rework of the mysql generator. Working now. 2006-08-16 17:43:55 +00:00
stronk7
1f0872e8ba Changed one default 2006-08-16 17:34:46 +00:00
stronk7
91496d15bc Initial commit of the base generator class. 2006-08-16 17:28:41 +00:00
tjhunt
1d723a169a Bug #6267 - questionlib.php delete_question infinite loop with rantom questions. Thanks to mbockol at carleton dot edu. Merged from MOODLE_16_STABLE. 2006-08-16 16:17:18 +00:00
stronk7
54121a7921 permission has to be signed integer in mysql. Mimic from sql files 2006-08-16 16:06:37 +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
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
d3eeba599b Delete stray space. 2006-08-15 16:53:24 +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
stronk7
82b7ceb568 Just adding support for reserved words.... 2006-08-15 10:15:52 +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
toyomoyo
0a8a95c91e some more UI stuff 2006-08-15 08:29:29 +00:00
vyshane
a028c29187 Added new capabilities 2006-08-15 04:13:22 +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
moodler
cfef9e55d0 Endless loop fix from stable 2006-08-14 15:20:49 +00:00
moodler
10f5c89035 FIxed another ossible notice during upgrade 2006-08-14 13:44:10 +00:00
moodler
9db12da755 Fixed some notices during install 2006-08-14 13:42:34 +00:00
vyshane
e6316185ab Fixed bug in upgrade_plugins(). Capabilities were not being loaded correctly. 2006-08-14 08:59:01 +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
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
vyshane
cee0901c06 Formatting cleanups and comments 2006-08-14 07:15:03 +00:00
moodler
65f4d137a7 Fixed a typo 2006-08-14 06:22:29 +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
moodler
340ea4e89e Some wider caching 2006-08-13 15:48:57 +00:00
moodler
e5605780cf Cache context lookup per page for performance 2006-08-13 13:28:01 +00:00
moodler
8737be587d More language-related tidyups and a new get_local_override() function 2006-08-13 09:25:45 +00:00
moodler
ceb83c70ba Changes to string format for capabilities 2006-08-13 09:11:45 +00:00
moodler
bade10e350 Removed all of the "Restricted users" hack because Roles can do it all better. 2006-08-13 07:01:57 +00:00
skodak
b8a607d691 fixed format_text caching - now respects text format, current language and course id (lang fix is needed for my multilang filter rewrite ;-); merged from MOODLE_16_STABLE 2006-08-12 12:44:19 +00:00
stronk7
b08eda731b Added one FK (recursive) to course_categories 2006-08-11 18:41:39 +00:00
tjhunt
1b8a7434e2 Bug 6239 - Allow questions to have some teacher-supplied commentary.
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590, and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
tjhunt
712c25b10b Tidy up code flow in helpbutton. 2006-08-11 10:33:29 +00:00
stronk7
f1b2046912 Changing //TRANSLIT to //IGNORE because some weird bug
in the OS iconv libraries was breaking some texts.

Merged from MOODLE_16_STABLE
2006-08-11 09:48:35 +00:00
vyshane
1afecc03f4 Modified to fix installation. 2006-08-11 02:44:02 +00:00
tjhunt
93eb0ea339 Fix comment. 2006-08-10 21:33:53 +00:00
tjhunt
7003072a7f Fix minor HTML validation issue. 2006-08-10 18:58:26 +00:00
tjhunt
78b26f761c Typo in comment. 2006-08-10 15:44:52 +00:00
stronk7
a1bdf659ad Adding latest changes, FKs and indexes. 2006-08-10 09:25:52 +00:00
toyomoyo
2a1ab5ecf2 name should be unique key, and should be length 255 2006-08-10 09:07:15 +00:00