59 Commits

Author SHA1 Message Date
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
d686bf500b Added some checks for PHP server variables - warnings are printed that
prevent installation until these are fixed.
2003-01-28 02:52:13 +00:00
moodler
2e43b5d987 Better notification and continue button is more useful 2003-01-18 14:24:40 +00:00
moodler
8f94fbcd4a Add slashes when printing correct Windows path to problems with backslashes 2003-01-18 14:05:52 +00:00
moodler
d98228e497 More checks to solve support requests before they happen. 2003-01-13 14:05:29 +00:00
moodler
f978ad0acb Put in a check for the sessions directory 2003-01-10 07:33:26 +00:00
moodler
1079c8a872 More robust when dealing with a plugin module that isn't readable 2003-01-08 09:07:07 +00:00
moodler
bfe89310ce Link from admin page to docs 2003-01-06 08:23:13 +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
8b3235f57f Fixes to use new mysql module with frame 2003-01-05 12:00:57 +00:00
moodler
17e6df458d Fixed display of headers while updating modules 2003-01-03 16:35:51 +00:00
moodler
9c9f7d7790 Various little fixes to remove warnings (usually about empty variables)
when error_reporting is turned up to 15 or so ... more of these to come ...
2002-12-29 17:32:32 +00:00
moodler
7e5e076adf No need for forcetables hack any more. Moodle can now detect whether
it has already been installed in the current database (by looking
for all the main tables) and do the right thing.  It doesn't matter now
if there are other tables in the database or not.
2002-12-24 05:39:45 +00:00
moodler
99988d1a87 This version installs smoothly for me on PostgreSQL 2002-12-23 14:19:45 +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
ca3cf39ee1 Turn off time limits with big SQL commands ... some databases are really slow. 2002-12-14 18:33:37 +00:00
moodler
c21f835ac3 Don't even attempt to install the template module 2002-12-12 13:35:10 +00:00
moodler
d7facad81e Modifications from Greg Barnett at Crown College to add more admins.
See http://bugs.moodle.org/bug.php?op=show&bugid=202
2002-12-11 14:59:37 +00:00
moodler
35a48c9ae4 A significant new system for authentication configuration that
exposes the wide array of authentication possibilities.

Authentication now has it's own page separate from other variables.

Most of this work was done by Petri Asikainen <paca@sci.fi>, who started
these changes off.

I've done some cleanups and additions which is why I'm checking it in.

It's all working pretty well at the moment but could use some testing.

Thanks, Petri!  :-)
2002-11-19 08:51:33 +00:00
moodler
06a609e91e One more thing - I' moved the RELEASE.html into the other documentation
to make it easier to find later on.
2002-10-26 05:37:31 +00:00
moodler
2be8b28f3d Changes to improve usability when the admin folder has been renamed,
and also a change in checking for the admin user, just in case an
old session is hanging around
2002-10-25 02:02:02 +00:00
moodler
e7311a0a56 Changed name of upgrade_moodle function to main_upgrade (for consistency) 2002-10-23 04:10:10 +00:00
moodler
0095d5cd3c Additions to cope with richtext editor being used in some forms. 2002-10-10 07:26:10 +00:00
moodler
f01826ee39 Moved module upgrading functions out into database-specific files 2002-10-05 17:21:39 +00:00
moodler
31f0900c61 Moved upgrade_moodle functions out to database-specific files, because
the SQL is not compatible (nor is it possible to make it so).
2002-10-05 17:09:31 +00:00
martin
dfb6e4ac3e Tweaks to page titles to make them more consistent 2002-09-27 14:26:02 +00:00
martin
555bdfc813 Fixed a little link to login page 2002-09-27 13:44:52 +00:00
martin
34a0cda676 Put version info on admin page 2002-09-27 06:19:18 +00:00
martin
b35f948b97 Nicer way to find out the major changes since the last version.
RELEASES.html shows the changes, and these are displayed during
an upgrade.
2002-09-27 06:13:59 +00:00
martin
f1f901c3ea After upgrading version, stay on admin page rather than going to home
page, just in case there is more to do.
2002-09-26 13:05:18 +00:00
martin
74944b734d Most of the configuration variables have been moved out of the config.php
file and into a database, where they can be edited using a new admin form
called "Configure variables".
2002-09-19 12:01:55 +00:00
martin
ba2e5d7347 Categories upgrade. Admin can now create/edit/delete categories, and
these are diesplayed wherever courses are listed
2002-09-09 11:48:11 +00:00
martin
7fb8331432 Add a link if a "manage database" directory exists 2002-09-07 14:56:19 +00:00
martin
c646b70d66 Added a new $release variable that shows the user-friendly version number 2002-09-06 14:06:48 +00:00
martin
31410e9a16 Added a new administration page that can check the current language
pack against the English language pack.  It prints any missing strings
or files.  This should help language pack developers.
2002-09-03 14:29:39 +00:00
martin
793f20b885 Tweaks to creation of user account while searching for the login
problem some people are having ...
2002-08-22 06:41:30 +00:00
martin
1e3e716f1d Changes related to new way of setting and recalling themes.
The CFG->theme variable is now obsolete in config.php - use the
admin page to set themes interactively.
2002-08-17 13:01:06 +00:00
martin
b1887065b5 Added a GPL license agreement as the very first step. 2002-08-17 08:38:43 +00:00
martin
169d3404a3 Fixes to languages for admin (setting up and upgrading databases) 2002-08-15 05:44:37 +00:00
martin
53bfe78cd4 New functions get_list_of_modules() and moodle_needs_upgrading().
Used on the home page when admin is logged in, to check for any
upgrading of the databases that might need to be done.
2002-08-09 02:45:15 +00:00
martin
a3447e1053 Cleanup of the admin interface - especially the user management
Bugs fixed, duplicate code removed, plus you can now add new users.

Aaah much better.  :-)
2002-08-08 14:17:55 +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
3f63fdfbfb More admin cleanups - improved user listing 2002-08-03 04:57:45 +00:00
martin
a15278543a Cleaned up the admin pages (and moved some files) and added ability to completely delete courses 2002-08-03 04:44:35 +00:00
martin
d4dec01c69 No change (just a comment) 2002-08-02 17:41:54 +00:00
martin
ef58b82265 Misc changes to improve performance on a brand-new installation 2002-08-01 15:48:27 +00:00
martin
501cdbd8bb OK, some massive changes with many files removed or changed.
Basically the changes are:

 - I've merged the 'discuss' module into the forum module
   which makes the interface MUCH clearer for everyone
 - I've added a new 'single' forum type that replicates
   what the old discuss course modules used to look like.
 - I've got rid of the "discussion" forum type - it will
   still exist in upgraded courses but as a normal forum.
 - the 'discuss' module is completely deleted - gone.
 - the 'chat' module is completely deleted - gone.
 - The upgrading system has been improved, and all code
   is stored in version.php.
 - I've put in upgrading commands to do the best I can
   (right now) to upgrade courses that used the discuss
   module.  It should mostly work, just leaving some
   "orphan" coursemodules on you course front page.  You
   can easily delete these using the little 'x'.
   I may have forgotten something  - I've only tested on
   my testing server and I'm about to test on my production
   server to see how it goes.
 - Forums have a lot of little new features and fixes.  The
   main one is the subscription process.  Teachers can 'force'
   subscriptions on any forum.  This disallows everyone from
   choosing their own mail subscription - it's just on.
 - The assignment module is half-finished and not working yet

I've still some massive changes to do, mostly involving making
all the lib.php function names more standardised, so consider
this is an interim checkin to do some tests.
2002-07-31 14:19:35 +00:00
martin
a8876884dc Now adds the config table automatically if there isn't one yet. 2002-07-29 15:09:16 +00:00
martin
cbd1170e91 Moodle can now upgrade itself, just like the modules do 2002-07-27 13:09:08 +00:00
martin
2c4483e5fb New upgrading procedure, uses module functions to handle all version changes 2002-07-27 06:08:29 +00:00