251 Commits

Author SHA1 Message Date
moodler
5b16ca8718 Fixed some short PHP tags 2003-09-09 04:15:12 +00:00
moodler
9eabdc8d2b Missing brackets on isadmin() 2003-09-08 12:57:39 +00:00
moodler
ac61544835 Any admin can assign creators 2003-09-05 14:03:22 +00:00
moodler
cbdb4ca067 For some reason there was a target on the delete link which pops up the list
in a new window.  Gone.
2003-08-31 06:54:39 +00:00
moodler
fb2ecb37b7 Tweaks when searching 2003-08-27 13:42:01 +00:00
moodler
7cdcb42239 Added controls for the invisible variable teacherassignteachers which
decides whether teachers can edit teachers in their own courses.
2003-08-26 15:52:22 +00:00
moodler
2ae0cc7759 Don't bother checking for magic quotes any more 2003-08-26 03:22:40 +00:00
moodler
0ff42b0fc9 Fixed locale problem (being overwritten by current locale) 2003-08-25 17:30:08 +00:00
moodler
5315b6f2f0 Added a link to the PHP info page from the admin page, and cleaned
up the PHP info page a bit by using a frame.
2003-08-25 14:56:46 +00:00
moodler
742fee1111 Fixed missing "search results" string 2003-08-23 04:39:49 +00:00
moodler
526c0f708f More asjustments to the display of the admin screen 2003-08-22 14:03:40 +00:00
moodler
1074e1ad05 more tweaks to admin menu displays 2003-08-22 13:46:21 +00:00
moodler
a912de3eb7 Add link on admin page about students, for completeness. In the next
version this link will link to the new enrolment subsystem.

Also reduced font size to make the admin page a bit nicer on small screens.
2003-08-22 13:42:27 +00:00
moodler
b37b6ced88 Typo when including config.html ... not sure how it was working before! 2003-08-21 02:29:16 +00:00
moodler
63d48aad57 The warning should be printed on this page 2003-08-20 12:04:18 +00:00
moodler
f173a591a7 Forgot this file earlier 2003-08-18 17:22:22 +00:00
moodler
bda11d2acd Code to enable config.html files in the modules. 2003-08-18 17:21:53 +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
a7d52d7449 Some tidy-ups 2003-08-18 03:47:49 +00:00
moodler
4fe8e0d27d More robust adding/removing of admins 2003-08-17 10:17:57 +00:00
moodler
aa34b7869e More robust creator adding/removing, using new functions in moodlelib.php 2003-08-17 08:58:18 +00:00
moodler
6843d309a8 Removing the students script from here 2003-08-17 05:09:26 +00:00
moodler
21f93862bd Backed out the new configuration variable "creatornewcourses" as it
is no longer wanted or needed
2003-08-16 05:43:26 +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
6e6b61635e Don't interfere if news is selected 2003-08-12 17:01:54 +00:00
moodler
7ea3bbec32 No point in offering the option for really big sites to have all the courses
on the front page.
2003-08-12 16:52:55 +00:00
moodler
41a2968c28 Emoticons don't make sense. 2003-08-10 09:28:55 +00:00
moodler
d47fd1ee7c Added richtext editor to site front page 2003-08-10 09:26:11 +00:00
moodler
c15421f26b Tidy up the copyright notice and added a warning. 2003-08-10 09:12:17 +00:00
moodler
440eb0d79d More clean ups 2003-08-10 08:39:29 +00:00
moodler
05c195931c A little timing issue 2003-08-10 08:17:59 +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
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
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
7c4ee4c29f Allow site course to have custom words for student and teachers 2003-08-04 05:02:28 +00:00
moodler
65c59e30b8 New restore link for admins so they can restore courses ... 2003-08-01 15:09:35 +00:00
moodler
10dcde409b Further integration of backup into main Moodle.
The database checks/upgrades are now done on the main
admin page like the other modules.

The database files are now standard format .sql and .php files

PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
2003-08-01 13:59:17 +00:00
moodler
4efea825a1 Put here just temporarily for those who might need it. Will be
replaced by the new enrolment code soon anyway.
2003-07-30 15:11:04 +00:00
moodler
c9704833fa More files related to recent course display changes 2003-07-30 13:05:51 +00:00
moodler
f406e6785e Avoid problems with quotes and so on in user records when updating users 2003-07-28 12:08:31 +00:00
moodler
e561d3c2fc Add a message to help debugging 2003-07-27 12:22:05 +00:00
moodler
b2ce450a6b Improved cron jobs for central clean up tasks.
- there is now a randomiser so that these jobs are only run 20% of the time

 - duplicate enrolments are now cleaned up.
2003-07-27 12:20:29 +00:00
moodler
351039ae34 Further fixes to the last fix ... the same thing was happening further down. 2003-07-24 14:52:41 +00:00
moodler
4e29914577 If modules have a config.php file in them then a link to this is
printed in the modules screen.

These config.php screens presumably allow the setting of site-wide
parameters for modules.

Thanks to Mad Alex. :-)
2003-07-24 12:09:32 +00:00
moodler
3712e0b5b5 YES!!! FINALLY fixed that damn bug that was causing the admin user
to be skipped during installation!

Bug 565 has the details, but basically it was caused by not initialising
the variable $user before using it.  Some people probably had a cookie
called "user" that was polluting the variable.

YAY!
2003-07-24 08:36:43 +00:00
moodler
35d01c7f31 When using the "manual" method, I've disabled the external method of
changing passwords, and enabled the internal "change password" button
just like "email" and "none".

Thanks to Danilo Massa for pointing out the inconsistency.
2003-07-21 15:20:58 +00:00
moodler
2981721b76 Updated backup link (in future perhaps it should link to a generic
page from which backup file management and restores can be done too)
2003-07-09 04:55:10 +00:00
stronk7
7f7d8c9508 Little modification to show the "Backup Course" option if
backup utility is installed (not shwown else)
2003-07-04 17:47:10 +00:00
moodler
0110e35cc0 Allow default countyr to be unset again 2003-07-02 08:37:15 +00:00
moodler
b4a348291b Primary admin should never be allowed to be deleted by sub-admins 2003-06-21 04:09:20 +00:00