Commit graph

5894 commits

Author SHA1 Message Date
mark-nielsen
259990d2c6 Lesson buttons should now work with javascript disabled
Also improved the layout of action/continue.html
2006-09-09 21:39:11 +00:00
mark-nielsen
3466ae4f14 Cleaned up output to user. Still needs a lot of work. 2006-09-09 02:10:40 +00:00
mark-nielsen
f15eb92c2c Removed essay grading code from view.php into essay.php. 2006-09-09 01:58:48 +00:00
mark-nielsen
6e1ff5c8fb MDL-6477: Added roles support.
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
stronk7
3a27bb0575 Modify a bunch of INSERTs to avoid using empty fields
to allow Oracle to avoid the NULLs = empty problem.
2006-09-07 23:50:47 +00:00
stronk7
428aa337b8 Disable regexp searches for MSSQL and Oracle 2006-09-06 15:30:11 +00:00
stronk7
8289a52ff0 Now forum searches are working both under MSSQL and Oracle
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches)
2006-09-06 15:29:26 +00:00
toyomoyo
d02eededf7 adding capabilities 2006-09-06 08:55:23 +00:00
skodak
6b9a1fec8f initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?) 2006-09-06 08:41:47 +00:00
mark-nielsen
c5a2e12f08 Added $Id$ to files
Header is not printed for all actions.  Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
2006-09-06 04:04:42 +00:00
mark-nielsen
9fcf51d9bf Added function for printing a standard header for lesson
Added function for fetching course module, course and lesson based on course module id or lesson id
2006-09-06 04:02:02 +00:00
toyomoyo
26663a2386 replacing isteacher with viewfullname capability 2006-09-06 02:14:20 +00:00
stronk7
9eabd190c1 Now forum_get_discussions() is using $limitfrom and $limitnum 2006-09-05 22:37:56 +00:00
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