4931 Commits

Author SHA1 Message Date
stronk7
b66458257d Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
join there, if every discussion has one usermodified but.....not time now.
2006-09-05 22:31:13 +00:00
stronk7
88ab6ab46b Deleted duplicate table label2 from XMLDB schema 2006-09-05 16:09:15 +00:00
stronk7
ccda38e521 Don't use db_lowercase() anymore. 2006-09-04 22:45:12 +00:00
stronk7
6b4b356f82 Using the standard sql_as() function, although it could be not used. 2006-09-04 22:42:56 +00:00
stronk7
0703d22ede One less reserved word. glossary->comment is out! 2006-09-04 20:37:27 +00:00
stronk7
d0d5525d93 Included course/lib.php to be able to rebuild_course_cache()
It was working until some time ago, but now it's required.
2006-09-04 19:33:27 +00:00
stronk7
dcb8916f2d notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify().

Thanks to one "orphan" forum in moodle.org (234) we detected this.
2006-09-03 22:32:14 +00:00
stronk7
446a78cd4a notice() should be allowed at install/upgrade. It stops the whole
process without need to do it. Changed to notify()
2006-09-03 22:30:13 +00:00
moodler
e084b2f98b Replaced forum_get_user() with forum_add_user_default_subscriptions() 2006-09-03 08:01:48 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
gbateson
c2e04a5df1 improve detection of PostgreSQL version number 2006-09-01 22:44:07 +00:00
stronk7
e9f02dafca New md5key fields and associated indexes.
Now hotpot should be 100% cross-db. Thanks Gordon!
2006-09-01 15:36:49 +00:00
bobopinna
773534f4a2 Added multi-attemps support 2006-09-01 10:17:01 +00:00
gbateson
e1af293f5f fix bug MDL_6419 2006-09-01 08:55:43 +00:00
moodler
9aeeb39286 forum subscriptions use capabilities 2006-09-01 06:56:24 +00:00
gbateson
a70b3fbb4c correct the detection of HotPot 2.0 backups (from Moodle 1.5) 2006-09-01 04:24:34 +00:00
gbateson
3044600bf3 add md5key field to end of hotpot_questions and hotpot_strings 2006-09-01 04:20:19 +00:00
gbateson
5048c8d658 fixed typo on line 2 2006-09-01 02:18:41 +00:00
gbateson
1897e3ef95 replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101 2006-09-01 02:08:39 +00:00
bobopinna
77bf0c292d Fixed a typo 2006-08-31 10:37:33 +00:00
bobopinna
0d699c2449 Fixed context selection 2006-08-31 10:29:16 +00:00
thepurpleblob
2bb63d99c2 Fixed syntax error. 2006-08-31 09:17:57 +00:00
toyomoyo
4f83ae95ca adding capabilities 2006-08-31 08:51:09 +00:00
bobopinna
2b3447c38a Added capability support 2006-08-31 08:34:13 +00:00
skodak
d78f25b8c0 fixed missing semicolon typo 2006-08-30 09:17:40 +00:00
toyomoyo
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
toyomoyo
247cdeb68f utf8 migrate support for additional fields MDL-6339 2006-08-30 06:12:12 +00:00
toyomoyo
f9a59efa64 adding some capabilities 2006-08-29 08:43:59 +00:00
toyomoyo
8493ff6fd5 added acapability 2006-08-29 06:02:29 +00:00
toyomoyo
be07f21b61 replaced isguest with capability calls 2006-08-29 03:36:31 +00:00
toyomoyo
0bde63002a adding in capabilities 2006-08-29 03:22:05 +00:00
toyomoyo
38ac07d284 adding capability, indenting, putting in brackets etc 2006-08-29 03:20:51 +00:00
vyshane
7b12414814 Fix for bug MDL-6385 2006-08-29 02:09:31 +00:00
mark-nielsen
ab8e5428b5 Merged bug fix for MDL-6325 2006-08-28 20:02:49 +00:00
tjhunt
f0a7247d0e Fix typo. 2006-08-28 18:50:42 +00:00
stronk7
683ff5d4f3 Dropping forum.open and forum.assesspublic
(mimic from .sql files)
2006-08-28 16:20:52 +00:00
toyomoyo
1648afb278 changes to how to pull out a list of users (course/module participants) 2006-08-28 08:42:30 +00:00
vyshane
5ce6f628ba Dropping forum.open and forum.assesspublic from .sql files. Added forum
upgrade to roles code to postgres7.php.
2006-08-28 03:51:38 +00:00
skodak
f2b5d7e3b7 trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes 2006-08-27 20:45:04 +00:00
skodak
7af25328c2 fixed cosmetic typo - missing semicolon before closing tag 2006-08-27 18:38:16 +00:00
skodak
cf8eaebb06 fixed warning in glossary recent activity from deteted entries 2006-08-26 19:38:32 +00:00
skodak
b3e570450f removing some isteacher()s from glossary 2006-08-26 19:19:36 +00:00
skodak
907cf31821 trusttext cleaning in glossary upgrade - definitions and comments 2006-08-26 18:08:18 +00:00
skodak
7d8a3cb06a trusttext:
* proposed by Martin Dougiamas
 * implemented by skodak

Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...

done:
 * core
 * glossary (without proper upgrade)

to do:
 * data cleaning in upgrades
 * forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
mark-nielsen
c87a341cb9 Merged bug fix for bug MDL-6323 2006-08-25 22:53:17 +00:00
mark-nielsen
2fc13bc767 Merged differences from MOODLE_16_STABLE into HEAD 2006-08-25 18:33:50 +00:00
stronk7
c049e98881 Indexes on text fields are not allowed 2006-08-25 17:02:49 +00:00
stronk7
a5ea2dc334 Solved one wrong field declaration in lesson_grades 2006-08-25 17:02:04 +00:00
tjhunt
cd06115fa7 Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.

I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
tjhunt
64d8092342 Correct typo. 2006-08-25 11:23:00 +00:00