229 Commits

Author SHA1 Message Date
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
moodler
9dc9273aa9 Don't allow adding of users when external authentication is being used. 2003-06-19 03:00:58 +00:00
moodler
7c3188e286 Added robustness when no courses defined yet 2003-06-06 06:20:57 +00:00
moodler
cb5e3cb929 Small fix to not throw up error when current path discovered to be empty 2003-06-03 03:00:37 +00:00
moodler
12fa80ff34 Fixed heading on release notes display 2003-05-29 03:24:50 +00:00
moodler
3ee8f1715f Added a button on the language page that takes you to the moodle.org
page to download new language packs
2003-05-29 03:20:11 +00:00
moodler
2334e9083c Minor bug fixes 2003-05-29 03:09:37 +00:00
moodler
4a6a574f2a Robustness on finding country name 2003-05-29 03:06:10 +00:00
moodler
a205123f06 Fixed page title 2003-05-29 03:02:10 +00:00
moodler
e7f72d1658 Removed a typo 2003-05-29 02:27:04 +00:00
moodler
1dd2451954 Some minor cleanups and debugging of initial setup 2003-05-26 14:38:41 +00:00
moodler
b39cadbfe7 Formatting fixes from Windows editor 2003-05-23 14:41:22 +00:00
moodler
020181047d Some hacks to stop the addition of blank lines on Windows machines during editing in the web forms. 2003-05-23 14:25:55 +00:00
moodler
0e3e960a33 New file for debugging purposes, simply shows phpinfo() 2003-05-21 09:50:17 +00:00
moodler
d805c3462e Removed the remote debugging functions.
I used to find these quite useful for helping people debug
configuration problems. I don't think they present a security
problem, but I can see there is the possibility that it can
be PERCEIVED as an issue, and I don't want to be responsible
for that, nor blamed for any break-ins (warranty or not).

So I'll find another way to do remote debugging.
2003-05-21 09:39:51 +00:00
moodler
779a4a8da4 Fixed up some of the headers during installation (remove logout links). 2003-05-19 13:12:27 +00:00
moodler
17ec8eb684 Remove unnecessary check (from a lazy copy/paste) 2003-05-19 03:03:34 +00:00
moodler
2563c5ef7b Improvements to trustworthiness of the registry form (for suspicious admins!)
Hashed password is no longer sent as a key, "secret" field is used instead.

HTML code is now more readable for the View Source crowd.  :-)
2003-05-17 05:34:49 +00:00
moodler
07b586eaa3 Use global variable for phpinfo debugging info 2003-05-17 03:10:22 +00:00
moodler
c39c66a5e8 Using new ini_get_bool function to work around a bug with ini_get where
the result is different for items set in htaccess
2003-05-17 02:05:10 +00:00
moodler
60a60432a1 Explicit casting to (bool) may help 4.2.3 2003-05-16 04:47:40 +00:00
moodler
ae384ef160 New configuration variable: secureforms (defaults to 'true')
Replaces the old $CFG->buggy_referer (reverses it, in fact) and can
now be set in the configuration page (no need for it in config.php).
2003-05-15 15:59:52 +00:00
moodler
d8eece23c9 Revamped "Assign Creators" page with the same code as admins and teachers 2003-05-14 16:27:27 +00:00