128 Commits

Author SHA1 Message Date
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
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_
275c630a4a Replaced prefix_ with CFG->prefix for DROP of indexes before creation because of being inside execute_sql rather than modify_database - main tables 2004-11-18 02:55:33 +00:00
mjollnir_
ffa5f71b4b Merged from MOODLE_14_STABLE:
Add a unique key to guarantee that course,sortorder is unique. Allows fix_course_sortorder and ordering operations to be much faster. (martinlanghoff)

Plus more indexes for user table (mjollnir_)

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-231
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-236
2004-11-17 07:47:03 +00:00
mjollnir_
17f3e7d05b Merge from MOODLE_14_STABLE: Indexes on faux foreign keys and often used fields, one more set and version bump to come. 2004-11-17 07:09:08 +00:00
moodler
bb043e3843 Fixing up any references to obsolete language pack ma_nt 2004-11-15 09:34:04 +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
052fe105eb Fixing bad call to table_column ("after" field not needed) 2004-09-27 08:05:56 +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
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +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
e02c35b2ae Merged block upgrade fix from stable 2004-08-30 16:26:00 +00:00
moodler
3cac987a62 Make sure guest is always manual 2004-08-29 08:04:37 +00:00
paca70
c14964b025 Fixed bug 1801
Untested on mysql, but should work with out problems.
2004-08-26 13:45:26 +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
4e11ad4faa Added a new "auth" field to the user table. This field contains the
authentication mechanism used to create that user record.

Also added code to upgrade existing systems to have entries in that
field, and for new users to also have that field defined.

This will allow us to later improve the login procedure to be able to
handle various types of authentication.
2004-08-15 07:27:52 +00:00
moodler
9fb216e8b6 Fixed some version numbers on three blocks 2004-08-12 04:44:14 +00:00
moodler
f28db22d06 Fixed duplicate in log_display, and improved installation
for non-English users
2004-07-29 18:44:57 +00:00
moodler
18763fd41f Added a new course field called enrolperiod that allows a teacher to specify
an enrolment period for new students.
2004-07-29 14:47:05 +00:00
moodler
a7e0783741 Numsections on site should be zero for people upgrading from 1.3.x -> 1.4 2004-07-25 05:37:03 +00:00
moodler
8c5c6133a8 Adding a field "cost" to courses. :-) 2004-06-26 09:09:00 +00:00
moodler
838ee71b4b New course field called idnumber ... acts as storage for an external
id number for each course.  Used in external processing of course and
user_students and user_teachers tables.
2004-06-24 11:46:53 +00:00
moodler
faef9f7b8c Added timestart and timeend field to user_teachers table
(in preparation for enrollment architecture)
2004-06-24 08:23:16 +00:00
defacer
5bb8c192b1 Moving some stuff to forum/db where they belong... (sorry!) 2004-06-01 07:39:27 +00:00
defacer
cc21211e58 Email digest feature step 1: Database schema and upgrade 2004-06-01 07:20:02 +00:00
gustav_delius
62b8075632 Changed participants list for site couse, see http://moodle.org/mod/forum/discuss.php?d=8455 2004-05-30 18:46:42 +00:00
gustav_delius
6bc502cca7 List of courses is now always ordered according to sortorder, see http://moodle.org/mod/forum/discuss.php?d=7034 2004-05-30 00:33:45 +00:00
gustav_delius
dcd338ffdc Events associated to hidden activities are now invisible in calendar, using new field 'visible' in table 'event' which is updated each time a course module is hidden or unhidden. 2004-05-05 07:07:56 +00:00
moodler
464fd803fa Sorry, Eloy, my directions were wrong.
I've changed hiddentopics to hiddensections ...
2004-04-30 12:10:46 +00:00
defacer
10ee08cc65 Fix for bug #1280: the "showrecent" course setting has to go.
The pgsql .php update script needs to be updated, but I 'm not sure about
the pgsql alter table syntax... mysql works, oracle is still under dev, so
no problem there.
2004-04-29 10:28:19 +00:00
stronk7
19a4030924 As changes to version are comming very often, I save this
now. To be used in rss feeds...
2004-04-27 17:21:02 +00:00
moodler
cda21d485c Added a format field to the event table 2004-04-27 16:41:16 +00:00
stronk7
009cc72698 Now, in topics format, every course can decide about how to
display hidden topics (collapsed or invisible)
2004-04-27 16:27:11 +00:00
moodler
37aaf07463 Change all the lang fields to 10 characters ... to make room for utf
versions.
2004-04-27 13:39:33 +00:00
moodler
822ede9244 Update all the modinfo fields to make the resource icons work 2004-04-26 15:45:02 +00:00
stronk7
0f3fe4b6ad First Official realease of the "Blocks System".
Integrated with Moodle:
    - Install automatically.
    - Update course->blockinfo for each course at installation time.
    - Modified course creation to insert into blockinfo field.
    - Modified restore to insert into blockinfo field.
    - Admin options (hide, show, delete, config) from admin page.
    - Lang strings inserted (en only).
    - Database support to mysql and postgresql (not tested!!).
Moodle, backup and block versions updated to 2004041800.
Tested with mysql: Install fresh and upgrade from previous.
section_activities block renamed to social_activities and created
its own lang file to support name "Social Activities". This can
be changed at any time.

TODO:
=====
Support it really in backup/restore.
????

Enjoy!! Ciao :-)
2004-04-18 23:20:53 +00:00
moodler
b4443d8f34 Whoops 2004-03-07 14:15:53 +00:00
moodler
4bf586673f Err, this is better 2004-03-07 14:14:27 +00:00
moodler
7277e30684 Update Czech users and courses to use new language pack 2004-03-07 14:10:11 +00:00
moodler
a4dda51f43 Another fix for recent testers only I think 2004-02-22 12:27:52 +00:00
moodler
828aeff2d6 A proper GUI for filters :-)
Still needs work, but it works fine now.

Later I want to add config pages for each filter, like modules have.
2004-02-22 12:17:27 +00:00