292 Commits

Author SHA1 Message Date
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
gustav_delius
ec81373f50 In order to ensure that when a teacher hides a resource or an activity that students really can't get at it, even if they know the direct links to its pages, I have given an optional third argument $cm to the functions require_login() and require_course_login(). Pages showing information about a particular course module now pass the course module object in this third argument. The login functions will then test if either the course module is visible or the user is a teacher. If neither is the case then the user is redirected to the course homepage after being shown a message "Sorry, this activity is currently hidden".
(While I was at it I also turned the autologinguests off for most module pages, except on the index.php pages and the view.php pages for those modules that allow guests)
2005-02-16 10:40:48 +00:00
martinlanghoff
e89ff6c6df Fixed course.idnumber not being varchar(100) in installations post 2004/06 2005-02-16 08:00:40 +00:00
moodler
915602ea79 Adding theme fields for courses, users and groups 2005-02-10 07:46:20 +00:00
defacer
783453129b Fix for bug 2488:
Extending mdl_log column module to varchar(20).
It was already 20 chars in Postgres, so no changes there.
2005-02-08 20:29:17 +00:00
mjollnir_
8a4e77ae1b Another fix for metacourses (lost auto_increment). This will preserve data. 2005-02-01 04:47:04 +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_
a22fd258aa Fixing a typo in metacourses in mysql (id should be int 10 not int 1). Hopefully this is the end of it :( 2005-01-27 20:41:54 +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
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
defacer
86f092d25e New "Calendar" section in Admin -> Configuration.
Includes preliminary support for DST!
Includes "admin sees all events or only own?" setting (bug 1972)

WARNING: Modified moodlelib.php to explicitly specify NOT-DST when
calling mktime() and gmmktime(). This is essential since we don't want
PHP to second-guess us for the DST matters, but... it may affect existing
code?
2004-12-15 07:14:41 +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
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
mjollnir_
f1f2c12527 Merged from MOODLE_14_STABLE: Update log_display to use postgres friendly concat functions for firstname lastname 2004-11-23 03:53:41 +00:00
martinlanghoff
5cd796869e Enrol/LDAP - DB Patches + version bump
These patches add an 'enrol' column to the user_students and user_teachers tables for the enrolment plugins to be able to keep track of source of the enrolments. Follows similar conventions to the user table with its 'auth' field.

This is a merge of the following patches:
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-187
 arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-192
2004-11-22 02:36:14 +00:00
mjollnir_
ed38d55a41 Version bump for new indexes 2004-11-17 07:49:04 +00:00
moodler
bb043e3843 Fixing up any references to obsolete language pack ma_nt 2004-11-15 09:34:04 +00:00
defacer
c8e0b57900 Pages/blocks code updates:
NEW: The code now supports dynamically plugging your own Pages and block position
identifiers into Moodle without messing with the main libraries at all.

UPDATE: Many functions in blocklib now use pass-by-reference for speed.

UPDATE: Class MoodlePage has been made more presentable and robust.
2004-11-12 18:39:25 +00:00
moodler
f37e86cc73 Bumping up the number. Main reason is that I'm testing CVS mail 2004-11-10 02:22:30 +00:00
moodler
5938401cff Updated Resource, Wiki and Scorm to use the new files/index.php to
choose files.   The old coursefiles.php is obsolete.
2004-11-02 12:53:32 +00:00
defacer
9b4b78fd6a Da monster-commit of blocks version 2!
Code based on the work of Daryl Hawes for the blog module. Thanks, Daryl!

Please test the hell out of it as it's sure to have issues that need to be
ironed out.
2004-10-19 21:04:28 +00:00
moodler
78a5d54391 Bump the version since installation actually works now. :-) 2004-10-08 16:20:11 +00:00
moodler
42b90599be SESSIONS-IN-DATABASE SUPPORT
Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database.  Based on code from Jason Cole's
team - thanks!
2004-09-30 06:02:39 +00:00
moodler
e7d3e86135 Tidied up a bit, and removed the CVS version which caused some people confusion 2004-09-27 13:50:55 +00:00
paca70
5a2432d47b Just to be sure that value columns type is text.
Postgres cannot change column types at time change was made.
2004-09-20 17:45:33 +00:00
moodler
d35757eb25 Merged/cleaned changes from MOODLE_15_LDAP to HEAD ...
please don't use the MOODLE_15_LDAP branch any more.
2004-09-20 09:08:57 +00:00
moodler
a3721d25d9 Upgraded to cover things like new upload files class 2004-09-17 01:42:59 +00:00
moodler
4d21507fab Bumping it just for kicks 2004-09-11 01:44:13 +00:00
moodler
ed4c878d65 Some changes to moodlelib functions 2004-09-06 15:34:35 +00:00
moodler
6981792762 All upgrades now print a warning, allowing people to avoid accidental upgrading 2004-09-04 15:47:30 +00:00
paca70
01e2ea5fa3 New field "guid" added to table user.
This can be userd to store "global unique identifier" from external databases
like Windows SID or eDirectorys guid . This will keep upcoming user syncronization
feature reliable in case of renamed users.
Mysql files are untested.
php -l mysql.php does not show any syntax errors, so files
should work.
2004-09-03 10:49:44 +00:00
moodler
b86bc4020b To help make it clearer 2004-08-30 18:38:46 +00:00
moodler
5ff4353744 Bump to cater for SITEID 2004-08-30 03:40:56 +00:00
moodler
9cd0c4da83 Bump! 2004-08-29 09:34:45 +00:00
paca70
c14964b025 Fixed bug 1801
Untested on mysql, but should work with out problems.
2004-08-26 13:45:26 +00:00
moodler
b80f6f11a4 Trunk is now Moodle 1.5 development 2004-08-24 04:38:51 +00:00
moodler
779f6a4306 OK, let's go beta 2004-08-23 18:32:26 +00:00
moodler
808018311c Bumping it up a bit ... still writing release notes ... 2004-08-23 15:56:47 +00:00
gustav_delius
f950af3c43 All modules are now suitable for the site page. They now all follow the same rules, namely that any students enrolled in at least one course is considered to be a student on the site.
All the page headers work correctly also on the site course.

On the site page the modules don't require login unless necessary or required by $CFG->forcelogin.
2004-08-22 14:38:47 +00:00
moodler
93a441b705 Bump! 2004-08-21 17:21:44 +00:00
moodler
2dd899c85a Bump 2004-08-19 17:15:24 +00:00