464 Commits

Author SHA1 Message Date
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
defacer
9b12850043 Fix for bug 2241:
I hope this time I got everything changed to the new Page interface! I 'm
really sorry for messing up and breaking new installations... :(

Also moved the only two functions of the API outside the page_base class.
2004-11-29 04:19:05 +00:00
dhawes
a9e91540df replaced old MoodlePage class call with new page_base call 2004-11-29 00:48:28 +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_
df7ebd69ab Merged from MOODlE_14_STABLE: Fix for invalid sql (for postgres) in cron cleanup of duplicate enrolments. Possibly soon to be overridden by a unique index 2004-11-23 01:05:11 +00:00
mjollnir_
e6d1d120b1 Merged from MOODLE_14_STABLE: Changes to calls to get_courses to not get all fields 2004-11-22 05:41:14 +00:00
dhawes
7e8dc20869 spacing and quotes cleanup 2004-11-20 19:06:29 +00:00
defacer
a177631062 Updated the configuration-handling logic to the same level as the new instance-
configuration handlers. Much more easy to use and precise.
2004-11-19 03:01:31 +00:00
martinlanghoff
bce7197321 Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-335 Now memory_limit can be overriden by higher config settings from php.ini, commandline, httpd.conf, .htaccess 2004-11-18 02:55:06 +00:00
martinlanghoff
0c3e818cb1 Merged from MOODLE_14_STABLE moodle--eduforge--1.3.3--patch-321 Fixed bug in user search: now we trim() the search string 2004-11-18 02:47:02 +00:00
defacer
f032aa7a5f MAJOR CHANGES:
--------------

Brand-new pagelib.php at your disposal! It slices, it dices, it makes your coffee.
It still doesn't understand women... Read the comments in pagelib.php for a first
impression. Feedback highly encouraged!

Blocks code has undergone significant changes to work with Pages. Flexibility is its
middle name, since I think (without having tried it) that adding e.g. a third
placeholder for "center" blocks in courses, with full support for moving around etc,
will now take about 15 lines of new or edited code. If you are not impressed yet, I
suggest watching a documentary on solar physics. :P

MINOR CHANGES:
--------------

Added instance_allow_config() in the blocks class hierarchy to supplement per-instance
configuration options. You can override it to return true and thus get configuration
amenities without allowing multiple instances.

Minor polishing to comments and documentation (whatever caught my eye was game).

Tightened up some code here and there by utilizing all the new features.

BUGFIXES:
---------

A bug in restore_execute.html caused hidden blocks to not be restored at all.
2004-11-08 19:36:07 +00:00
moodler
56c178a754 Merged search trim from stable 2004-11-04 07:15:50 +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
julmis
9597bf1d88 Cleaning xhtml code. 2004-10-16 09:19:34 +00:00
julmis
955dbfaeef Adding hide buttons feature. 2004-10-16 09:11:00 +00:00
moodler
86d7efc345 Changes for XHTML and accessibility compliance 2004-10-15 08:30:30 +00:00
stronk7
d99ceac20f course/index.php is using sesskey.
Merged form MOODLE_14_STABLE
2004-10-09 13:22:59 +00:00
moodler
195d7cf291 Site can now have proper blocks on an install 2004-10-08 13:46:06 +00:00
moodler
5526e0fa64 Make sure the new admin user has the sessionIP set properly the first time 2004-10-08 13:16:34 +00:00
moodler
c7029edf84 Merged latest from stable 2004-10-08 05:41:52 +00:00
stronk7
13e1a37198 Now sesskey is working fine at installation time.
Bug 2049
(http://moodle.org/bugs/bug.php?op=show&bugid=2049)

Merged from MOODLE_14_STABLE
2004-10-06 00:08:08 +00:00
moodler
03c40645c1 Merged sesskey fixes from STABLE 2004-10-04 13:50:37 +00:00
stronk7
4cfc640037 admin/user.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 17:19:36 +00:00
stronk7
8a68d4c0f3 admin/uploaduser.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 16:08:27 +00:00
stronk7
4fa24bb889 admin/register.php is now using sesskey.
Solved a minor bug with the use of one incorrect string.

Merged from MOODLE_14_STABLE
2004-10-03 15:28:35 +00:00
stronk7
5ba7f1b70b admin/modules.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 15:09:31 +00:00
stronk7
ebfff4e014 admin/module.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:48:08 +00:00
stronk7
48ba274660 admin/lang.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 09:18:19 +00:00
moodler
9ff24fb76a Merged siteidentifier from stable 2004-10-03 03:47:31 +00:00
stronk7
58a1c3ea32 admin/filters.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 00:32:13 +00:00
stronk7
d2df6e0933 admin/enrol.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 00:21:26 +00:00
stronk7
e2b459ad22 admin/editor.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-03 00:07:27 +00:00
stronk7
1c2614a1f1 admin/creators.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 23:52:42 +00:00
stronk7
16567e7ef9 admin/blocks.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 23:34:09 +00:00
stronk7
c1b70c8edc admin/block.php is now using sesskey.
And bug where one object was used like an array.

Merged from MOODLE_14_STABLE
2004-10-02 23:15:51 +00:00
stronk7
17ecd09f71 admin/backup.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 22:44:03 +00:00
stronk7
df0d5501d9 admin/auth.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 19:50:16 +00:00
stronk7
ad97e350fc admin/admin.php is now using sesskey.
Merged from MOODLE_14_STABLE
2004-10-02 19:22:52 +00:00
moodler
170ed2a1cf Set the sesskey for new admins 2004-10-02 15:22:11 +00:00
moodler
e0d346ff91 Added optional_param and required_param just to get it on the plate 2004-10-01 12:09:52 +00:00
moodler
9de24b62ee Config for dbsessions variable 2004-09-30 08:04:56 +00:00
mjollnir_
92e754ebd2 Fixed firstname lastname to call to fullname function 2004-09-29 21:32:53 +00:00
moodler
1ca84b296f Merged filename checks from stable 2004-09-29 05:35:04 +00:00
dhawes
70e728fbbc Converted double quote strings to single quote literals - inspired by error in double quotes found by ottenhoff and noted in comment to bug 1981 2004-09-24 22:28:50 +00:00
mjollnir_
69a9b3d1bb Fixed handlevirus.php so that files resolve better to users.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-93
    2004-09-22 22:46:10 GMT
    Penny Leach <penny@catalyst.net.nz>
    fix for resolving filenames in handlevirus

Full logs:

Revision: moodle--eduforge--1.3.3--patch-93
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Thu Sep 23 10:46:10 NZST 2004
Standard-date: 2004-09-22 22:46:10 GMT
Modified-files: admin/handlevirus.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-93
Summary: fix for resolving filenames in handlevirus
Keywords:
2004-09-22 23:20:41 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to &amp; and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
moodler
39588a7eaa FIxed a path (I'd just moved this) 2004-09-21 08:41:54 +00:00
moodler
0f5706a3f3 Working but unpolished script to convert all MySQL tables to InnoDB format
Not linked, just call it directly
2004-09-21 08:40:18 +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
mjollnir_
4bf5e3e2f6 Better attempts for handlevirus to find files to deal with them, added an instruction.
These patches are maintained in an publicly accessible Arch repository, see: http://lists.eduforge.org/cgi-bin/archzoom.cgi/arch-eduforge@catalyst.net.nz--2004-MIRROR/moodle--eduforge--1.3.3

Index of arch patches in this commit:

arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-82
    2004-09-20 00:52:11 GMT
    Penny Leach <penny@catalyst.net.nz>
    better attempt to find files in handlevirus.php based on output from clam
arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-83
    2004-09-20 01:16:22 GMT
    Penny Leach <penny@catalyst.net.nz>
    better instructions for handlevirus.php running


Full logs:

Revision: moodle--eduforge--1.3.3--patch-82
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Sep 20 12:52:11 NZST 2004
Standard-date: 2004-09-20 00:52:11 GMT
Modified-files: admin/handlevirus.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-82
Summary: better attempt to find files in handlevirus.php based on output from clam
Keywords:

Revision: moodle--eduforge--1.3.3--patch-83
Archive: arch-eduforge@catalyst.net.nz--2004
Creator: Penny Leach <penny@catalyst.net.nz>
Date: Mon Sep 20 13:16:22 NZST 2004
Standard-date: 2004-09-20 01:16:22 GMT
Modified-files: admin/handlevirus.php
New-patches: arch-eduforge@catalyst.net.nz--2004/moodle--eduforge--1.3.3--patch-83
Summary: better instructions for handlevirus.php running
Keywords:
2004-09-20 01:36:16 +00:00