418 Commits

Author SHA1 Message Date
moodler
0c8ee4402c New confirmation step when self-enrolling 2003-08-17 04:53:44 +00:00
moodler
d4f253848c Rearranged help button 2003-08-17 02:34:42 +00:00
moodler
a3ba14700e Help buttons fixed 2003-08-17 02:32:24 +00:00
moodler
6c38b7e012 Use the new get_recent_enrolments() function in datalib to find users
in recent_activity
2003-08-17 01:46:00 +00:00
stronk7
f3c6d21942 Show more admin links to isteacheredit() users 2003-08-16 11:44:47 +00:00
moodler
aa57804096 Only editing teachers can edit activities 2003-08-16 06:40:35 +00:00
moodler
d99eab3c9f Allow teacher editors to modify scales 2003-08-16 05:44:40 +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
416d6bc892 Must be an editing teacher to be able to assign teachers 2003-08-16 05:35:08 +00:00
moodler
f07c9d23fc FIxed the search 2003-08-16 05:29:29 +00:00
moodler
73047f2f76 OK, this is a new scheme to allow some teachers to edit and others to not
that is much better than the proposal to change the role of course creators.

There is a new field in user_teachers called "editall", which is
ON BY DEFAULT, and allows teachers to edit courses.  It can be modified
on the teacher editing screen (formerly assign teachers).

The value is cached in the session.

To test for it, there is a new function isteacheredit($course->id)
which works much like isteacher did.

I'm going through now and applying this new function wherever
it is needed.
2003-08-16 05:19:24 +00:00
moodler
48d72fa7c9 *** empty log message *** 2003-08-16 02:45:44 +00:00
moodler
a57319b1f3 New scales editing page 2003-08-15 14:03:25 +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
stronk7
47a5aeef23 Added some spacer.gif to align up and down buttons... 2003-08-15 10:11:22 +00:00
stronk7
41b9b44faf Added the 'Restore' option near the 'Backup' one to course list.
See bug 616. Closed. It needs Martin confirmation.
2003-08-15 08:50:35 +00:00
moodler
5195536408 Force rebuild of course cache - just in case! 2003-08-14 10:32:51 +00:00
moodler
5dc3d80e29 FIxed some links to all courses 2003-08-13 06:55:57 +00:00
moodler
8210692dc3 Added a box to display subcategories 2003-08-11 13:02:45 +00:00
moodler
c571f3fc8a Little fixes for the course_sideblock 2003-08-11 11:51:08 +00:00
moodler
38a10939db Search engine for courses 2003-08-11 09:45:50 +00:00
moodler
52a554db2c Added new info popup page when courses are in listing format 2003-08-11 07:48:03 +00:00
moodler
3d95bdb76f Show course access (guest, password etc) on non-editing screens 2003-08-11 05:38:28 +00:00
moodler
49d3bab8aa new resort function for courses in a category 2003-08-11 05:24:48 +00:00
moodler
241ae0d52b Bugfix when renaming 2003-08-11 02:07:17 +00:00
moodler
440eb0d79d More clean ups 2003-08-10 08:39:29 +00:00
moodler
55e4b5f97d Some cleanups of the admin page to make it
- more explanatory
  - more expandable

Apologies for the lost muscle memories, but I think this
will work better in the long run.
2003-08-10 08:01:14 +00:00
moodler
6c4441e796 Use direct menu 2003-08-10 02:53:49 +00:00
moodler
2c71ddbaa8 To avoid moving to same category 2003-08-09 17:31:33 +00:00
moodler
f31200247f My Courses is now shown in the course side block if the user is not
an admin.

Also, this block now appears on course main pages (under admin).
2003-08-09 17:17:21 +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
33428ff9ae Improved interface for course creators 2003-08-09 02:24:27 +00:00
moodler
25ac0bd195 Better links 2003-08-09 02:10:05 +00:00
moodler
f5e8e2f6e1 Better way of specifying backupdata name 2003-08-09 01:54:52 +00:00
moodler
072426e0c1 Fixed up cancel button on module editing page to avoid error
when returning to course page.

Fix by Scott Elliott.
2003-08-08 16:46:16 +00:00
moodler
b99897718e Little display tweaks 2003-08-07 17:00:06 +00:00
moodler
65d5517a28 Tweaks 2003-08-07 16:49:41 +00:00
moodler
26330001bc Fixed up My Moodle 2003-08-07 16:41:33 +00:00
moodler
6f065ce390 No margins on bottom or top 2003-08-07 16:20:31 +00:00
moodler
346b820821 Remove margins on UL tag 2003-08-07 16:17:34 +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
674416eabd Add two hours to avoid possible daylight savings time problems 2003-08-06 15:32:31 +00:00
stronk7
03162427df The restore option in course page is only showed if th
"backupdata" dir exists
2003-08-02 18:23:58 +00:00
stronk7
0c6e10b33e Now "backupdir" string is hardcoded in backup process. 2003-08-02 16:13:44 +00:00
moodler
07aeb7b0bf Move the code for clearing out a course into a new function:
remove_course_contents()
2003-08-02 11:32:59 +00:00
moodler
434d01398a Backup and restore buttons on home page 2003-08-01 15:19:23 +00:00
moodler
f354106d46 Some tidying up 2003-08-01 15:14:49 +00:00
moodler
e92fe848ab Removed needless pass-by-reference to avoid warnings BUG 573 Thanks Eloy! 2003-07-31 12:23:49 +00:00
moodler
7e1a999c10 Moved fix_category_courses to datalib.php so it's more accessible 2003-07-31 12:09:17 +00:00
moodler
a6870f0c2c Slightly prettier display 2003-07-30 13:57:39 +00:00