193 Commits

Author SHA1 Message Date
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
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
paca70
05ba8bd0d9 Postgresql uses smallint instead of tinyint. 2004-05-17 06:52:06 +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
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
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
moodler
8199e3f09a New user field called "emailstop" ... to stop emails.
I had to do it ... this is driving me nuts with some people
on moodle.org
2004-02-20 09:02:27 +00:00
moodler
9e353ce7e2 Upgrade filter references 2004-02-17 05:28:52 +00:00
moodler
3c0561cfe7 New field in the groups table to "hidepicture" from being displayed
in locations like forums etc.

Backups done too, Eloy.  :-)
2004-02-15 07:29:55 +00:00
moodler
f1d604cbda Added new table cache_filters for all filters to use if they need to 2004-02-12 07:06:07 +00:00
moodler
d523d2ead1 Some configuration options now added to the Configuration page.
opentogoogle

  textfilters

  cachetext

They should upgrade cleanly from anything you may have in config.php
2004-02-10 05:05:28 +00:00
moodler
45121ffbf3 text_cache --> cache_text much better 2004-02-09 13:10:19 +00:00
moodler
d363047eb0 TEXT CACHING
------------

I have a site which really needs this, so I went ahead with it already.

This add-on will cache formatted texts in the database and use them
for a specified timeperiod.

By default it is disabled.   Enable it with:

  $CFG->cachetext = 600;   // in seconds
2004-02-09 12:27:34 +00:00
moodler
b3153e4b7d Small hack to force a particular language within a course.
No interface on course/edit.php ... I want to try this on
moodle.org for a while to try and stop the encoding problems
2004-02-09 07:31:04 +00:00
moodler
4da1a0a1db Improvements to the way the log upgrading works.
Centralised with an interface now.
2004-02-05 09:55:50 +00:00
moodler
95d4575736 If there aren't many logs to process, then do it now during the main
upgrade, but otherwise, tell the upgrader to run the separate script
at admin/upgrade_logs.php later on.
2004-02-03 04:56:22 +00:00
moodler
b56fad0b50 Upgrade process can be long, so flush regularly 2004-01-31 15:33:12 +00:00
moodler
69d79bc31f OK, some big improvements to the logs.
Logs now include a field called modid which contains the coursemodule id.

This makes it now possible to

   - see complete logs per-activity

   - do backup/restore of logs

The upgrade process will currently try to scan all the old logs and
rebuild this field based on available data (especially forums).

STILL TO DO:  alter all the non-forum modules to send the coursemodule id
2004-01-31 14:47:57 +00:00
gustav_delius
c7cdd6ec82 moved the database update code to where it belongs 2004-01-30 21:40:31 +00:00
gustav_delius
3d94772d47 better logging of forum mail errors, see http://moodle.org/mod/forum/discuss.php?d=4865. Required the addition of an extra optional argument $user="" to add_to_log() 2004-01-30 18:21:56 +00:00
moodler
ba39fa10cc Change type of config->value to text (to allow longer info) 2004-01-29 04:13:55 +00:00
moodler
70812e39a0 Added new table called "user preferences" which can be used for
storing arbitrary preferences for each user.

Thanks to Jon Papaioannou for the first draft of this code
which I modified.
2004-01-28 14:14:19 +00:00
moodler
5fba04fba0 EARLY SUPPORT FOR CALENDARS AND EVENTS
--------------------------------------

New functions and tables, based on work from Gustav Delius
(see http://moodle.org/mod/forum/discuss.php?d=4466)

This forms the core of a new system to store, track and utilise
event information in all modules, as well as allowing external
calendars to be synchronised with new information.
2004-01-17 09:47:45 +00:00
paca70
f63823b3cc FIXED:
script was calling fix_course_sortorder() before courseorder have been renamed to coursecount.
2004-01-14 18:13:26 +00:00
moodler
ddc7afad9a Added groupmode setting to course_modules 2004-01-11 17:44:09 +00:00
moodler
0da33e07b9 Need to change table name! It was tougher than I thought to work around
the reserved word "group"
2003-12-30 18:07:09 +00:00
moodler
f374fb1006 This is the first check-in of support for groups.
It's very early (it doesn't actually do anything yet!) but you can
define groups and get an idea of how the interface is shaping up.
I also wanted to show that I have actually done something on this! :-)

From here my plan is to add group support to the modules, one by one
(forums first), then go back and clean up some of the central interfaces,
graphics etc.

Finally, test, test, test and get 1.2 out well before the end of February.
2003-12-30 17:18:06 +00:00