217 Commits

Author SHA1 Message Date
moodler
7adf67875d Some notices to remind people about things they need to do. 2003-05-15 17:26:59 +00:00
moodler
5867bfb50e New feature to manage installed code modules!
You can now hide/show individual activity modules and even delete them completely!

For example, if you hide the "choice" module, then all choice activities
will be hidden throughout the whole site, and "Choice" will not
appear on any "Add..." menu.

Deleting a module is a complete deletion of all data from the database.

If you want to try out the deletion on a real module, I suggest the
pgassignment module, since it will soon be deleted from CVS anyway
(because it's being replaced with workshop).

Look for "Manage modules" on the admin menu.
2003-05-09 17:24:17 +00:00
moodler
7e6b0b3b6e Added new 'visible' field for module management. 2003-05-09 13:32:27 +00:00
paca70
465fd00e04 Lang column was missing from postgresql-files (?) 2003-05-04 16:05:59 +00:00
moodler
7d99d6959e New feature: hide/show topics! 2003-05-04 07:59:46 +00:00
paca70
ea563f8f99 Postgres needs full longnames for indexes to prevent overlapping names. 2003-05-03 06:44:03 +00:00
moodler
a273084d7a Strange no-one has noticed this so far ... ! 2003-04-28 16:56:57 +00:00
moodler
b86fc0e2a6 New feature replacing the old zoom function.
Now these are saved in a new table called course_display,
each user and each course can have independent settings.

I'm intending to expand this table later for all the other
course display stuff (like hidden topics etc)
2003-04-28 13:29:26 +00:00
paca70
e209e0b09e indexes for postgres 2003-04-27 09:54:03 +00:00
moodler
f9ce68ee7f Using multiple indexes for slightly increased performance 2003-04-27 02:58:26 +00:00
moodler
1ba3960285 Working much better with indexes - update the schema 2003-04-26 15:26:51 +00:00
moodler
6459f225b8 Update to add new indexes to MySQL tables. Speeds up the log access. 2003-04-26 15:24:04 +00:00
moodler
047d30d1eb MySQL code (etc) to convert all usernames to lowercase ... does a lot more
checking than it really needs to, since MySQL is not case sensitive
2003-04-25 03:54:21 +00:00
paca70
e40488f80c routines to convert postgeruser to lowercase. 2003-04-24 18:48:09 +00:00
paca70
1dea7ebb04 global $CFG was missing...? 2003-04-24 17:38:20 +00:00
moodler
13df5aeef3 Rebuild course modinfo caches to include the visible variable 2003-04-23 17:02:24 +00:00
moodler
b369ff55fe Whoops, chmod not chown 2003-04-21 07:26:23 +00:00
moodler
718ad19f47 trying to fix up old file permissions 2003-04-21 07:21:33 +00:00
moodler
1acfbce5b6 Hide/show individual activities in any section
Code submitted by Eloy Lafuente (thanks!) for 1.0.8 ... I hand-merged it
into 1.0.9.
2003-04-14 15:11:09 +00:00
moodler
264d4e0b9a Added two new indexes on log table to help speed it up.
See Greg's note in bug 113
2003-03-26 02:17:46 +00:00
moodler
a4ef9df2d7 Initial version from Les Kopari - les_kopari@yahoo.com 2003-03-14 08:22:37 +00:00
moodler
f82c2d428a Modified Greg's work to:
- rename the main_frame variable to framename, because it
       - might have caused some confusion
       - none of the global variables have underscores
  - put the config in the config table, with a default of _top
2003-03-12 07:36:22 +00:00
moodler
2fdb54b819 Fixed bug in table creation - (it was creating a null table!) 2003-02-25 03:53:50 +00:00
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
811c88b32f Fix short column 2003-02-16 09:24:25 +00:00
moodler
8af3e37948 Slight increase in log field size 2003-01-06 13:40:05 +00:00
moodler
db70b54b62 Better log_display fixes 2003-01-01 08:15:55 +00:00
moodler
14e4a496b4 Updates for log_display stuff 2003-01-01 08:08:44 +00:00
moodler
9d378732e4 More little fixes 2002-12-29 04:17:32 +00:00
moodler
05a6c03ed2 Er, unfinished code while upgrading log_display 2002-12-26 17:02:45 +00:00
moodler
a3eea09cc9 More fixes for postgreSQL etc 2002-12-23 11:47:17 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +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
fd790dfb55 Database and upgrade files for PostgreSQL 7 support! 2002-12-15 02:41:07 +00:00
moodler
277d2d9f3e Make sure guestloginbutton is set to 1 as a default 2002-11-20 15:03:06 +00:00
moodler
f8ef7d66a2 Getting ready for 1.0.6.3 release today 2002-11-14 03:14:10 +00:00
moodler
13beeacbcd New course option to enable/disable display of "recent activity" 2002-11-12 04:26:16 +00:00
moodler
3635d82ff3 Updated version for final release of 1.0.6.2 2002-11-11 08:25:41 +00:00
moodler
d897cae419 Changes to enable jumping between activity modules, using a new menu in
the upper-right corner.   Caution: Not well tested at this stage.
2002-11-10 07:37:15 +00:00
moodler
7beb45d8a0 Upgrading all news and social forums (except those in social courses)
so that they are course modules in an (invisible) section, which means
they are now editable and parameters, names etc can be changed.
2002-10-25 08:47:53 +00:00
moodler
e7311a0a56 Changed name of upgrade_moodle function to main_upgrade (for consistency) 2002-10-23 04:10:10 +00:00
moodler
2a439ba7f6 ***NOTE NOTE NOTE **********************************************************
THIS IS A BIG CHANGE!

I've renamed the "reading" module to "resource".

This meant changing quite a few references throughout Moodle.

The automatic upgrade process should work OK (it worked OK on my
development server) and there shouldn't be any problems.

BUT PLEASE PROCEED WITH CAUTION AND KEEP BACKUPS OF EVERYTHING
UNTIL I HAVE A FEW MORE TESTS!   If you upgrade please let me know.

One thing that will break are any hard-coded links within forum messages.

What I will be doing to fix this on my apache server is to add this to
httpd.conf:

Redirect /mod/reading/ http://moodle.com/mod/resource/

Sorry about any inconvenience, but it's better this is done sooner than later.
2002-10-17 14:03:59 +00:00
moodler
0095d5cd3c Additions to cope with richtext editor being used in some forms. 2002-10-10 07:26:10 +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
7104dfc9ef Added new postgres7 schema, developed by Felipe Rodrigues da Silva <felipe@pontoexe.com>. Thanks Felipe!
I've personally not tested this yet so PostgrSQL user feedback is encouraged!
2002-09-25 15:16:21 +00:00
martin
01a086c3dd Support for new deleted field in user table 2002-09-22 03:11:05 +00:00
martin
c07daf5bbc Added lang for users 2002-09-21 05:43:21 +00:00
martin
a789fb73f4 More security for email confirmation process ... a 15-character random
"secret" key is stored the user record on account creation, sent via
email and checked again during confirmation.
2002-09-10 12:54:01 +00:00
martin
b4d7002e66 Changes to allow much better control over what "teachers" are called
in a course.  Firstly, the course settings page now allows the teachers
to specify the word they want to use in place of "teachers" and "students"
as well as "teacher" and "student".  Secondly, a new teacher admin tool
allows any teacher to modify the order and displayed role of teachers
in that course.  This affects the display on the course listings, the
participants page and so on.
2002-09-08 03:24:38 +00:00
martin
7b1c0ce35c Increased size of section summaries from 255 chars to 65000 chars. 2002-09-01 14:24:16 +00:00