154 Commits

Author SHA1 Message Date
mjollnir_
f3221af9e5 Initial checkin of stats (from processing the log table).
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
mjollnir_
f41ef63ee6 materialized path & depth for course categories. 2005-08-16 23:15:58 +00:00
mjollnir_
0705ff843b Course request feature. Allows normal users to 'request' courses they would like created,
and admins can approve or reject pending courses.

Also, contains the ability to restrict activity modules on a per course basic. Strict config options:
  enable restricting modules at ALL (for all courses, no courses, requested courses), what to do by default for newly created courses
  as well as what modules to enable for above category by default.

This feature was created for the aim of building a community side to moodle - for institutes that have strict courses and enrolments, allowing normal users to request interest courses is a good feature,
but some modules may be redundant (assignment, lesson, quiz etc)

  Please test!
2005-08-16 06:15:49 +00:00
patrickslee
4e980e5a92 Mass cleanup of bad postgres upgrade scripts(merged from 15_stable) 2005-08-15 23:17:58 +00:00
patrickslee
c87139dba8 Fixed postgres structure problem as in http://moodle.org/mod/forum/discuss.php?d=28077 2005-08-02 04:14:28 +00:00
moodler
f2e34253c3 Removing and re-adding currency support in courses 2005-07-22 17:19:52 +00:00
moodler
3b4ff6edb6 Run the online assignment cleanup code automatically on an upgrade. (SE) 2005-07-21 10:46:37 +00:00
defacer
98f8f9c218 Adding some fields to mdl_event to facilitate iCalendar import/export.
This is a work in (sloooow) progress.
2005-07-20 17:58:33 +00:00
moodler
27d8712a07 Disable the Dialogue module if the directory doesn't exist anymore 2005-07-17 03:26:59 +00:00
moodler
ee708245c1 Merged field width fixes from stable 2005-07-15 14:11:40 +00:00
martinlanghoff
967f5f4b12 Merged from MOODLE_15_STABLE - Fixes db upgrade for config_plugins failure on unquoted data - discussed at http://moodle.org/mod/forum/discuss.php?d=25122 2005-06-07 03:41:52 +00:00
moodler
6283105094 Complete the removal of Attendance from the main CVS tree (on HEAD) 2005-06-02 14:51:50 +00:00
martinlanghoff
a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
martinlanghoff
a13e99bd67 Merged from MOODLE_15_STABLE - Created config_plugins table to manage configuration entries on a per-module/plugin. This breaks the rules a little bit, but it has been discussed with MD. 2005-05-30 05:22:07 +00:00
paca70
5a8c647613 Use type numeric(5,2) to store value 100.00 2005-05-15 19:47:07 +00:00
moodler
9e33ce2c2c User ->trackforums now defaults to OFF, to save CPU on default installs 2005-05-01 15:07:52 +00:00
moodler
b71772e25e MOved updating of user forum into the right place 2005-04-25 18:07:14 +00:00
moodler
2a0cf3cabb Add slashes to text - lesson learned from moodle.org! 2005-04-22 13:17:56 +00:00
defacer
8180c859f1 Adding repeatid in mdl_event. 2005-04-21 13:36:37 +00:00
moodler
323d2abeac Copy all the Dialogue entries to Messaging, and then disable Dialogue module
http://moodle.org/mod/forum/discuss.php?d=19017#104635
2005-04-19 12:34:36 +00:00
mjollnir_
ab5aeca11c Fixing timezone postgres upgrade. Please do not use backticks for postgres, they are invalid 2005-04-19 00:42:24 +00:00
moodler
35b04d5e0f During upgrade from pre- 1.5, set the theme to standardwhite so it works 2005-04-15 14:57:38 +00:00
moodler
6927f0e726 Insert all the distributed timezones upon upgrade 2005-04-11 08:11:17 +00:00
defacer
68c0264e1b Changes to mdl_user:
* Change timezone to varchar(100) (to support non-trivial timezones)
* Drop timezonename (will not be used after all)
2005-04-08 19:50:01 +00:00
mjollnir_
bb2889b41d Fix postgres upgrade for deletion of course_modules.deleted flag 2005-04-06 00:22:36 +00:00
moodler
594ceedda1 Remove "deleted" field from course_modules table
http://moodle.org/mod/forum/discuss.php?d=20715
2005-03-31 08:46:38 +00:00
mjollnir_
8a72bfa258 Tables for grades for postgres (and a fix to timezone update for postgres) 2005-03-29 03:51:14 +00:00
moodler
4eb25d43aa Adding the new grade tables
POSTGRES IS NOT DONE YET!!!!   DOES SOMEONE WANT TO TACKLE IT NOW?
2005-03-28 18:16:39 +00:00
defacer
66336c5f34 Bringing in the mdl_timezone table.
DST is now kind of working, the next most important things to do are:

    1. Get the import procedure working correctly and well, so we can populate it.

    2. Provide a transparent migration procedure for all users to "Unknown location" timezones.

    3. Banish $USER->timezone for good.
2005-03-26 19:10:05 +00:00
defacer
1789c54824 mdl_user.dstpreset becomes mdl_user.timezonename 2005-03-23 01:19:27 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
defacer
13222d99b5 Adding new fields to the dst_preset table. 2005-02-25 01:24:52 +00:00
moodler
ceff930730 Added a new table for logging ADODB requests and a config variable to
turn it on.  Very useful for debugging performance issues.
2005-02-18 14:12:38 +00:00
defacer
41b7678df3 Adding extra field to mdl_user table: dstpreset 2005-02-17 21:00:54 +00:00
moodler
915602ea79 Adding theme fields for courses, users and groups 2005-02-10 07:46:20 +00:00
martinlanghoff
4c3911f934 Merged from MOODLE_14_HEAD - Better behaviour of fix_course_sortorder() -- related to bug #2334 -- includes version bump to clear out recalcitrant sortorders 2005-02-01 01:47:45 +00:00
mjollnir_
483b71581d Taking out addition of wrongly named metacourse tables for first upgrade. Those who are tracking head will have already gotten it, but those upgrading from 1.4 to 1.5 don't need to see it. 2005-01-27 20:02:30 +00:00
mjollnir_
5f37b628ae Update for meta courses. New table renamed from meta_course to course_meta (and upgrade script provided in mysql.php and postgres7.php) and new field in course table renamed from meta_course to metacourse. Associated changes in code. Please test me! 2005-01-25 04:33:02 +00:00
mjollnir_
b61efafba5 Initial checkin for new meta courses feature. Please test!
See http://moodle.org/mod/forum/discuss.php?d=17269 for description.
2005-01-24 22:21:28 +00:00
moodler
2765411a34 New and upgraded sites will be given a default .htaccess file in their
dataroot directory SC#64
2005-01-10 15:26:43 +00:00
moodler
36f01e7b1b New log display stuff for message contacts 2005-01-01 08:41:13 +00:00
moodler
e53c030b7a Added format field for messages 2004-12-28 08:56:20 +00:00
moodler
0eacb23ccc Updated message databases with better time storage, and also some logging
for message reading and writing
2004-12-28 07:40:26 +00:00
mjollnir_
91b4c5eee9 Postgres compliance for dst_preset table 2004-12-17 02:20:04 +00:00
moodler
ffce79c050 New tables for messaging system, plus completion of the dst_preset
tables in Postgres and new installs
2004-12-16 12:39:17 +00:00
moodler
1a5bc0467f Field added to groups table to allow group specific enrolment keys 2004-12-14 06:41:18 +00:00
moodler
027a160469 New feature: Site Policy Agreements.
If the admin specifies a Policy Agreement (via URL in the config variables)
then each user is required to see and agree to that document once before
continuing.

To get everyone to see it again (on an update, say) one just needs to issue:

   UPDATE user SET policyagreed = 0
2004-11-29 05:30:36 +00:00
martinlanghoff
71dcd6c014 Merged form MOODLE_14_STABLE
Fixed an issue with postgres database upgrade code -- drop either index or constraint if they exist


Merge of patchset arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-430
2004-11-25 00:02:58 +00:00
martinlanghoff
b692d2be05 Merge from MOODLE_14_STABLE
Additional fixes for indexes in postgres. A few unique indexes may have been created non-unique. Still deferring the version bump -- please review the patch!

Merge of patchsets
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-423
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-425
2004-11-24 22:48:58 +00:00
martinlanghoff
b110348b71 Merge from MOODLE_14_STABLE.
Student and teacher enrolments now unique + version bump

Made student and teacher enrolments unique, enforced at the database level. This patch also removes a cleanup job in moodle's cron that removed duplicate enrolments.

Merge of patchset  arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-422
2004-11-24 02:25:36 +00:00