Commit graph

5120 commits

Author SHA1 Message Date
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
skodak
4da8ff666b wiki now using new groups parameter in get_users_by_capability() 2006-09-11 20:01:17 +00:00
skodak
5f02cb4b44 lams conversion to new roles framework 2006-09-11 19:54:11 +00:00
stronk7
a05452e942 teachergraded belongs to workshop_assessments, not to workshop. ;-) 2006-09-11 15:38:51 +00:00
stronk7
c8e4134bc9 teachergraded belongs to workshop_assessments,
not to workshop_submissions ;-)
2006-09-11 15:33:51 +00:00
nfreear
8ea144bf77 Fixes MDL-6516, "Error on logs page because of mess in mdl_log_display table" 2006-09-11 11:40:43 +00:00
toyomoyo
1c45e42e3c adding capabilities 2006-09-11 08:56:23 +00:00
toyomoyo
39b3e7dedf adding capaility, fixing indenting and logic (could have broken things) 2006-09-11 07:17:10 +00:00
vyshane
6e89ca5527 Fix for MDL-6405 2006-09-11 03:13:52 +00:00
mark-nielsen
831f6613a8 Very minor changes 2006-09-10 22:50:43 +00:00
mark-nielsen
68a1e8fbba Started to rework the overall page editing interface for teachers. 2006-09-10 22:47:57 +00:00
skodak
ee3cc9951c basic conversion of old wiki to new roles framework 2006-09-10 19:44:28 +00:00
mark-nielsen
07642aef3e Minor changes 2006-09-10 19:09:25 +00:00
mark-nielsen
8f2f1d4761 Fixed display bug for branch tables and moved message setting to the bottom of continue.php to prevent double message setting when a redirect is called. 2006-09-10 18:50:59 +00:00
mark-nielsen
c94d37997d Removed action set to navigation because view.php no longer uses action 2006-09-10 18:41:38 +00:00
mark-nielsen
5631925a26 Started to separate out logic and presentation in view.php. Decided to wrap the question printing with HTML templates (viewstart.html and viewend.html)
Still needs a lot of work
2006-09-10 18:19:29 +00:00
mark-nielsen
fb992d716a Started to reorganize view.php 2006-09-10 02:38:09 +00:00
mark-nielsen
15f3d44ae7 Moved teacherview (lesson editing) out of view.php into edit.php
No code improvements in edit.php as of now.  Just works ;)
2006-09-10 02:09:14 +00:00
mark-nielsen
9695a91e2f Fixed sesskey problem 2006-09-10 01:43:24 +00:00
mark-nielsen
8d1b4ee7b5 Added proper page comments and inform user when attempts have been deleted 2006-09-10 01:40:38 +00:00
mark-nielsen
35b179fa73 Updated to use new handy library functions 2006-09-10 01:30:57 +00:00
mark-nielsen
d1b025d013 Moved high scores logic out of view.php into highscores.php
Changed: now need to enter password on password protected lessons before being able to view high scores
Added logs to high scores and reworked logic
2006-09-10 01:20:00 +00:00
mark-nielsen
09e3b9d7eb Fixed some formatting when clock is not displayed
Messages are now printed out on continue.php
2006-09-09 22:33:34 +00:00
mark-nielsen
2163c22634 Forgot the lesson_ prefix 2006-09-09 22:23:50 +00:00
mark-nielsen
2cb24b647c Improved clock output and works when javascript is disabled 2006-09-09 22:20:51 +00:00
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