Commit graph

1501 commits

Author SHA1 Message Date
moodler
7a7ac154a4 Some small fixes when deleting a category 2003-08-22 12:49:37 +00:00
moodler
9b16d1eada More tweaks to fix on/off button for admins o ncourse listings 2003-08-22 12:26:36 +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
fcd0e8edc7 Upgraded the live log to use the new print_log 2003-08-22 08:42:17 +00:00
moodler
519d369f60 Added full paging to all displays of logs! :-) 2003-08-22 06:07:18 +00:00
moodler
22288704de Hidden courses are displayed hidden 2003-08-21 17:30:39 +00:00
moodler
1069e8dc3b Allow the admin to login as teachers from within courses 2003-08-21 17:28:05 +00:00
moodler
98e9a035d7 Course category listings now have a search box in the navbar for students
and non-users
2003-08-21 16:24:29 +00:00
moodler
ee44a11f06 FIxed a missing quote 2003-08-21 16:15:58 +00:00
moodler
56e34ee405 Fixed bug when moving sections with apostrophes in the summary (bug 641) 2003-08-21 15:06:32 +00:00
moodler
0e69cd0e96 Fixed a typo 2003-08-21 14:16:44 +00:00
moodler
8130b77b40 Split get-courses_page from get-courses so they can specialise 2003-08-21 14:04:04 +00:00
moodler
8058858329 Tweaks to account for teacher editors 2003-08-21 12:24:16 +00:00
moodler
8ef9cb5618 Some fixes to handle very very big categories.
- paging
  - more efficient SQL
2003-08-21 09:33:07 +00:00
moodler
5128daeeda Strip tags from Excel and Text dumps 2003-08-21 03:05:50 +00:00
moodler
f6c05036be Put links on the course icons 2003-08-21 02:58:55 +00:00
moodler
d1d74247e4 Invisible courses are now properly dimmed 2003-08-20 13:44:44 +00:00
moodler
5b8540e0d5 OUCH! usegrades should be showgrades 2003-08-20 13:41:56 +00:00
moodler
fff79722e5 A new course field called "showgrades" which allows the teacher to
turn the display of the grade book on and off.
2003-08-20 07:32:24 +00:00
moodler
9936fe81ea The number of courses in the categories is now cached in the
the category, and only updated when courses are moved/added/deleted etc
or the admin looks at the category listing
2003-08-19 09:26:36 +00:00
moodler
a8b5671697 Improvements to course searching
- can search for full words or non words with +word -word
 - no longer groups by category, sorts by full name
 - prints paging as well as total number
 - search help
2003-08-19 05:32:20 +00:00
moodler
2f4d324bd7 Trying something different with the admin links ... even I was starting
to get a bit lost occasionally.
2003-08-18 16:40:27 +00:00
moodler
4c71204dd2 Added help button to headings when adding/editing activities. Doh! :-) 2003-08-18 07:10:53 +00:00
moodler
a33c4ae8c2 Cutting and pasting too quick 2003-08-17 13:14:41 +00:00
moodler
3b1bb96902 Slight regression in policy (to bring it back to exactly how it all is in 1.0.9).
Only course creators can assign teacher to courses UNLESS the config variable
teacherassignteachers is true (by default it will be off).
2003-08-17 13:06:10 +00:00
moodler
3041b0f88a More robust teacher adding/removing 2003-08-17 08:51:55 +00:00
moodler
6b42ea66a7 Ordinary teachers can assign students 2003-08-17 07:30:31 +00:00
moodler
4d9d90c006 Tweaking student page, and also making it available to ordinary teachers 2003-08-17 07:29:36 +00:00
moodler
2333cb05b9 More tweaks ... sorts etc 2003-08-17 07:20:40 +00:00
moodler
c34509b070 Some tidy-ups for the students page 2003-08-17 07:14:02 +00:00
moodler
905be758d3 Don't need a red notification if it isn't bad 2003-08-17 06:47:39 +00:00
moodler
92cdab5afd Put user images on teacher and student links 2003-08-17 06:06:36 +00:00
moodler
7d569d2861 Simple interface to manually add students to a course. 2003-08-17 05:46:07 +00:00
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