47 Commits

Author SHA1 Message Date
moodler
3ed0a1c316 Restricted users can't update course formats 2004-02-04 12:45:35 +00:00
moodler
f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00
moodler
6049fb78f2 Modification of the course format plugin structures so that it
fits in with other plugin formats in Moodle.
2003-12-21 04:52:25 +00:00
moodler
bd3ac89469 Initialized showgrades 2003-09-08 13:01:47 +00:00
moodler
82ad5e1a9f If the language is the same as the site, then default to using the
same terminology as the site does
2003-08-23 07:26:50 +00:00
moodler
c432fd3213 Put in buttons so that course creators can create courses! :-I
Also, category fix_sorting is done better now when a course is added.
2003-08-22 12:15:35 +00:00
moodler
1c54562cdb Teacher editors can edit courses, and course creators get
added as teacher-editors when they create a course
2003-08-16 05:40:27 +00:00
moodler
02ebf404c8 WARNING: BIG CHANGES!
OK, this is a big check-in with some big changes, and needs work still.

It seems relatively stable, but I need help identifying the rough patches.

1) First grading scales support.  There is a now a new table called "scale"
   that contains grading scales.  There can be site scales (course=0) and
   custom course scales.  These can be used in modules - I've only done
   forums for now but that was the hard one.  Scales can be edited via
   the new item in the course admin menu.

   There is one default scale - the connected/separate knowing one that used
   to be in forum.  To build this I pull data from the language packs
   to create one during the upgrade, or anytime a scales menu is called
   and no scales are found.

2) New roles for course creator and teachers.  I've fixed up the course
   menus and some other things but there's a lot left to do on this to
   make it all smooth.  The idea is that teachers no longer can edit courses
   unless they are also course creators.  The interface for this needs to
   be smoothed out a fair bit and I need help with this.

   The upgrade will upgrade all teachers to be creators, but will default
   the new site config "creatornewcourses" to "no", so that effectively
   these new teachers have the same privileges.

3) Simplified teacher management.  There is no longer an "assign teachers"
   and a "teacher roles" page - it's all on one page in course/teacher.html.


Phew ... time for a shower and then back into it.
2003-08-15 13:59:24 +00:00
moodler
f2bb0045d3 More moodling on the course categories, improving performance for
large categories and making it easier to move large numbers of
courses around.

Also cleaned up some of the navigation bars
2003-08-09 16:53:30 +00:00
moodler
b99897718e Little display tweaks 2003-08-07 17:00:06 +00:00
moodler
d2b6ba704e Another big checkin.
This includes some significant cleanups to the new course categories
system.  The basic idea is that the categories/course browser is now
unified under one system, and admin features related to that have
all been moved into the browser (as little icons).

I'm much happier with this as a foundation that can scale and be
built upon.

Still to go:

  - searching
  - paging
  - polishing

Also in here are a lot of little cleanups around the place, such as
the initial setup process.
2003-08-07 16:01:31 +00:00
moodler
c2cb45451f COURSE DISPLAY REVAMP
OK, some big changes here to the front end, particularly in
course categories and course display.

Course categories can now be nested (to any level).

Courses and course categories can now be manually sorted
any way required.

There is a groovy front end for managing these, and a better
range of options for formatting the front page.

It all still needs some polishing, which I'll be doing over
the next couple of days, including better auto-sorting.

I would not use this on production systems just yet.
2003-07-30 13:02:45 +00:00
moodler
a6d82c3f49 New course parameter "visible" which makes the course available to
students.  Defaults to 1 (on).  Teacher can control this from settings page.
2003-07-21 07:31:01 +00:00
moodler
783da26290 A bit of an audit and a clean up of require_login to add consistency.
No major problems found, just some code tidy-up
2003-05-24 07:29:17 +00:00
moodler
e808d25f56 Fixed up "Assign teacher" page, and moved it to admin directory. 2003-05-14 15:58:48 +00:00
moodler
7226ce02b1 Robustness for $course variable 2003-04-17 13:20:26 +00:00
moodler
dae73c05e9 New $CFG->admin directory can override the location of the admin
directory.

Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
068e57cebc Courses are forced to have unique shortnames (see bug 299) 2003-03-01 12:52:04 +00:00
moodler
7a361c8b55 Removed save_session() - no longer needed. 2003-02-27 02:46:37 +00:00
moodler
c0f271aa5c Cleanups for course creator. 2003-02-26 04:18:46 +00:00
paca70
d7466bdecb Redirect teachers to course after coursecreation. 2003-02-25 10:45:37 +00:00
paca70
1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
moodler
de5aabd2d2 Password had no default 2003-01-20 09:30:24 +00:00
moodler
13770d0c36 More fixes for robustness 2003-01-13 12:16:46 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
36b4f9852e buggy_referer is dead! Long live buggy_referer!
Should be fixed now.  As a bonus, I've removed all the uses of
HTTP_POST_VARS from all scripts.

All forms should use the new data_submitted() function to collect
form data (it does the match_referer thing internally now).

Much nicer.
2003-01-02 14:49:23 +00:00
moodler
149f85f035 Robustness fixes 2002-12-30 06:07:03 +00:00
moodler
9fa49e22ab Many many changes lumped in here ... not finished yet either.
Basically all the Database functions are in lib/datalib.php
and the web functions are all in lib/weblib.php, so
moodlelib.php is much thinner than it was.

Data functions have been extended ... most old calls will
still work, but now many more SQL commands can be performed
using the datalib functions rather than using SQL.  I'm
currently moving through the whole tree replacing SQL
calls or at least concentrating them in one section of
mod/xxx/lib.php

Still working on forums, quizzes, surveys, resources.

The tree is currently not full working ... some things are
half-completed ... will resume tomorrow.
2002-12-20 14:44:14 +00:00
moodler
7a4c13797a Default with showrecent ON 2002-12-09 06:35:14 +00:00
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
4d0dde9159 Some consistency in headers on editing forms 2002-09-19 13:55:40 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin
97c270e9a8 Changes related to language support ... get_string()
Minor little interface cleanups along the way
2002-08-11 15:41:54 +00:00
martin
2b25f2a09b Further excellent tidy-ups to the admin pages. They are actually starting
to look/work as slick as the rest of the site.  :-)
2002-08-08 15:51:23 +00:00
martin
e20217b3f3 MOre language updates 2002-08-04 02:10:00 +00:00
martin
94361e021e Lots of work on site display, over many files. Improved front page
and display of site modules.
2002-08-03 08:16:31 +00:00
martin
9690be38ff Much simpler date-setting using new moodlelib functions 2002-07-29 15:10:21 +00:00
martin
af978a6dc4 More language changes 2002-07-19 12:01:35 +00:00
martin
a83fded1a9 Consistent use of get_site() instead of checking course->category directly 2002-07-11 05:30:10 +00:00
martin
b5fe4c935d Major changes throughout to change "week" notation to "section" notation.
Sections covers "weeks", "topics" and anything else that may come along.
Note, again, some databases have changed esp course_weeks -> course_sections
and several fields called "week" are now "section.  Also course no longer
has an enddate, but instead has a numsections field.
2002-06-25 11:49:06 +00:00
martin
e452ca303f Make sure new courses set the timecreated field 2002-06-10 11:30:02 +00:00
martin
5e69314dca Added per-course config and use of a word for "student" 2002-06-02 08:10:50 +00:00
martin
d44714bc35 Removed check for course format changing 2002-06-01 13:47:42 +00:00
martin
b50b67e50b Changes to support new logging format 2002-05-31 09:27:30 +00:00
martin
0d97d1e35f Fixed up use of isteacher (removed isadmin check because it's done in isteacher now) 2002-04-03 06:36:04 +00:00
martin
a69023cf46 Allow admin to do anything the teacher can do 2002-03-16 06:19:02 +00:00
martin
f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00