stronk7
6cf2fe0336
Added some needed strings.
...
Merged from MOODLE_14_STABLE
2004-10-10 22:48:59 +00:00
stronk7
48eeac7963
Delete some debug info.
...
Merged from MOODLE_14_STABLE
2004-10-10 22:00:30 +00:00
stronk7
b3020784d6
Central unzip_file() function included:
...
- Supports both internal and external zip execution.
- Displays the results of the execution.
- All Petr's patched added.
- External zip execution in Win32 supported.
Please TEST, TEST, TEST.
Merged from MOODLE_14_STABLE
2004-10-10 21:46:13 +00:00
stronk7
ef1e97c7ec
Now the zip_files() function is working better:
...
- More checks are done
- Non existing files are out
- Both internal an external are supported and protected
- All Petr's patchs applied
- Included support to Win32 external zip.
TODO: Create a paralel unzip_file() function
Use this functions in all the FileManager scripts
THOUGHT: External zip seems to work always adding files to
zip file if it exists, where PclZip resets the file.
Perhaps a rm (or delete) should be included in the
command chain. Analyse it!!
Merged from MOODLE_14_STABLE
2004-10-10 01:07:47 +00:00
moodler
3af575075c
Merged new stuff from stable
2004-10-08 06:11:17 +00:00
moodler
6d8f47d64f
Checked in something that hadn't been
2004-10-08 06:06:03 +00:00
dhawes
761155628f
Additional phpdoc comments for get_string and print_string functions - example usage added and argument types documented
2004-10-04 16:44:54 +00:00
moodler
7228f7963f
Merged sesskey stuff from stable
2004-10-01 15:06:39 +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
dhawes
2f87145ba2
Further documented new *SECS contants where they are declared as well as in each function that uses them
2004-09-29 18:56:50 +00:00
dhawes
da72d76d30
added '@access private' docblock tags to functions that should not be called directly
2004-09-28 16:40:26 +00:00
moodler
7ecd7c616d
Merged parameter function from STABLE (and added phpdoc)
2004-09-28 15:41:36 +00:00
paca70
7a5672c90c
Replaced time related "magic numbers" with constants, what are hopefully
...
more easier to read.
2004-09-28 05:53:08 +00:00
moodler
366dfa6090
New config variable $CFG->tracksessionip will force Moodle to always
...
check that the user's IP number never changes
2004-09-27 14:35:37 +00:00
moodler
ce791f885e
Merged change from STABLE, to fix possible $auth variable problem
2004-09-27 12:52:25 +00:00
gustav_delius
7ecb19bba0
added explanation for format and visible fields in event table
2004-09-25 20:27:15 +00:00
moodler
e351205034
Merged SITEID check for require_login from stable
2004-09-25 15:23:10 +00:00
dhawes
89dcb99da2
More phpdoc work
2004-09-25 05:29:21 +00:00
dhawes
c6d15803f6
Additional phpdoc compatible comments added.
2004-09-25 01:29:37 +00:00
dhawes
8c3dba735b
Added more phpdoc comments
2004-09-23 05:10:21 +00:00
moodler
6eb3e776fc
Bugfixes for my recent checkin
2004-09-23 04:15:19 +00:00
moodler
a3f1f815a9
OK, finished the fixes I wanted to add to the recent LDAP changes
...
for user field locking and forcing of password changing
- Locked user fields always apply (for any authentication method).
Currently these can only be defined in the LDAP auth screen
but later these can be brought out as part of the generic
interface for defining user fields and their behaviour.
- Fields are now locked using Javascript and will work for any
user fields that exist (list is not hard coded anymore).
- Admins can always edit locked fields.
- Admins can always force a password change. The checkbox reflects
the current status of this, and the admin can UNSET the checkbox
if they want. It is no longer necessary for the admin to change
the old password for this to take effect, either.
2004-09-23 03:56:53 +00:00
dhawes
7cf1c7bd2b
Additional phpdoc comments and fixes for bugs 1981 and 1984
2004-09-23 02:48:41 +00:00
dhawes
b0ccd3fb32
Conversion of double quoted string to single quoted literals. Also added some extra spacing around concatenated strings for easier reading.
2004-09-22 14:39:15 +00:00
gustav_delius
8f0cd6ef0f
Resolved problems with previous replacement of
...
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
paca70
4586d60c69
To fix problems with auth_forcepasswordchange
2004-09-21 06:32:36 +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 />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
mchurch
b02193e605
Fixed 'remove_teacher' to remove the teacher from any groups.
2004-09-14 23:54:23 +00:00
gustav_delius
dcb1bd3c9a
towards XHTML compliance
2004-09-12 13:21:01 +00:00
moodler
631cf796d4
Merged enrolment fixes frm stable
2004-09-09 09:43:51 +00:00
moodler
857b798b90
Added better headers to forum posts to allow threading, better filtering etc.
...
Based on: http://opensource.mediagonal.ch/moodle/patches/mailheaders/
2004-09-07 14:04:33 +00:00
moodler
85a1d4c9bc
Made the check for allowable emails into a new function
2004-09-06 15:21:22 +00:00
moodler
ebd5239628
FIxed a SITEID bug (you can't put defines inside strings)
2004-09-06 04:28:07 +00:00
gustav_delius
5a2dea02dc
keeping time information when student becomes teacher
2004-09-04 13:23:08 +00:00
paca70
5961942732
Use getremoteaddr() to get client address.
...
CVS: ----------------------------------------------------------------------
2004-09-04 11:02:45 +00:00
paca70
f97ab1ec36
New function to get client address
2004-09-04 10:54:54 +00:00
moodler
71f9abf917
Merged changes from stable (fixed external auth)
2004-08-31 12:33:20 +00:00
moodler
3271b70ff3
Fixed an unquoted string (merged from stable)
2004-08-30 17:47:21 +00:00
gustav_delius
2700d113a2
Merged from HEAD
2004-08-30 17:27:00 +00:00
gustav_delius
7b5944cdb3
Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084
2004-08-29 19:17:27 +00:00
gustav_delius
709f0ec8d5
Can now force subscribe INITIALLY, implementing suggestion by Howard in bug 1084
2004-08-29 18:20:13 +00:00
gustav_delius
2a2f5f1181
now the lastaccess field is also updated upon every login, closing bug 1833
2004-08-29 15:00:08 +00:00
gustav_delius
0475502255
got rid of update_user_in_db, see bug 1833
2004-08-29 14:24:05 +00:00
gustav_delius
222ac91bc9
removed unnecessary calls to get_site()
2004-08-29 14:15:40 +00:00
moodler
27286aeb12
Merged authentication logic fixes from STABLE
2004-08-29 05:48:15 +00:00
moodler
90e736bd2d
Merged latest tweaks
2004-08-24 14:26:35 +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
gustav_delius
c117aa6c24
authenticate_user_login() function now works even if $user->auth is not yet set, fixing bug 1747
2004-08-20 18:48:05 +00:00
moodler
39a5a35d6d
Finalise the switchover to using the user->auth field when authenticating.
...
Thanks, Howard Miller!
2004-08-16 15:41:57 +00:00