gregb_cc
aa0959690c
fixed isadmin so that it checks once on each page view if the user is an admin
...
fixed check_gd_version to properly identify bundled gd versions (old
check_gd_version was returning 0 instead of 2 for bundled gd).
2003-05-01 23:12:05 +00:00
moodler
b3afe8244a
Useful function for XML ... currently used only in Blackboard quiz importing
2003-05-01 13:57:35 +00:00
moodler
3e9ca9fbc5
Added new Wiki code to allow Resource web pages to be created/edited using Wiki format
...
This code contributed by Howard Miller. Thanks!
2003-05-01 03:43:16 +00:00
moodler
ca16eaeb31
Make sure all these links break out of subframes and go to mainframe
2003-04-29 13:54:53 +00:00
moodler
9d6f5d42eb
Only retrieve records that are needed (eg description never is used)
2003-04-29 03:16:32 +00:00
moodler
a273084d7a
Strange no-one has noticed this so far ... !
2003-04-28 16:56:57 +00:00
paca70
28ba0d55cc
...And now it works
2003-04-28 15:24:13 +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
9655b654a5
Now postgres works as it should, returned primarykeys are correct.
2003-04-28 12:51:19 +00:00
paca70
6492992616
I did't test previous change well, have take changes back.
2003-04-28 12:02:29 +00:00
moodler
dc0dc7d5dd
Tidying up the way pix images are used.
...
It's now also possible to override the standard pix with a set of new ones
in a theme.
2003-04-28 04:32:55 +00:00
paca70
e9ececbb1e
$db->Insert_ID seems to work with postgresql too
2003-04-27 16:03:01 +00:00
moodler
6901fa7955
New plain text format.
...
Translates smileys and carriage returns, but prints all other tags and code
as plain text
2003-04-27 10:46:16 +00:00
paca70
e209e0b09e
indexes for postgres
2003-04-27 09:54:03 +00:00
moodler
f5e82bc7f4
Moved microtime_diff() to moodlelib
2003-04-27 08:13:45 +00:00
moodler
f8bccb148a
iNew configuration variable delete old logs - loglifetime
2003-04-27 06:41:53 +00:00
moodler
30f89d6833
New delete_records_select() function
2003-04-27 06:18: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
ec2a28a607
Extended number of select fields allowed for get_field() and set_field() from 1 to 3
2003-04-26 12:38:04 +00:00
stronk7
86e6076b3b
Modified the instance_is_visible function. It has a bug, having
...
the "forum" table harcoded. Simplify a bit. Now seems to work
fine with every mod.
2003-04-26 09:34:11 +00:00
moodler
a282d0ffda
Adding user's name at the top of the course page.
...
Just experimenting with it there for a while ... feedback welcome
2003-04-25 06:40:30 +00:00
moodler
580f2fbc07
New function to detect visibility of a single module, and
...
use of this function when displaying list of forums
2003-04-25 05:24:29 +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
1e22bc9c04
Conver usernames to lowercase for internal use. This prevent duplicate users
...
when using external authentication and posgresql.
2003-04-24 20:06:40 +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
paca70
dbe0be0059
Added missing $
2003-04-24 17:21:54 +00:00
stronk7
7cfb83477c
Modified to obtain the visible property too. To use it when showing the list
...
of instances of every mod (bug #364 )
2003-04-24 15:17:43 +00:00
moodler
2a40936834
Mark the hidden ones for teachers
2003-04-23 17:25:20 +00:00
moodler
13df5aeef3
Rebuild course modinfo caches to include the visible variable
2003-04-23 17:02:24 +00:00
moodler
7acaa63d09
Tidy up a bit
2003-04-23 16:57:35 +00:00
moodler
feffa4e695
chmod after mkdir (just in case)
2003-04-23 16:51:26 +00:00
stronk7
cf055081ef
Changed the navmenu function to show only visible-mods on the
...
jumpmenu. Everything is showed when the user is a teacher.
2003-04-23 16:32:11 +00:00
stronk7
00d26a208b
Changed the get_course_mods function to obtain the visible property too.
2003-04-23 16:09:56 +00:00
paca70
7d6cac54f3
New string conversion function to help with multibyte-locales
2003-04-21 16:39:43 +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
paca70
cefc7e817e
Fix for postgresql column adding( $oldfield is always '"$oldfield"')
2003-04-18 20:50:42 +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
dae73c05e9
New $CFG->admin directory can override the location of the admin
...
directory.
Useful because some web hosts use /admin for other things.
2003-04-10 13:46:52 +00:00
moodler
bc700e6559
New function swapshuffle_assoc
2003-04-10 13:45:07 +00:00
moodler
aa6fbca550
Use the cached admin bit if it's there!
...
(saves one database access per editable activity on the course page!) :-/
2003-04-07 15:30:34 +00:00
moodler
e64984a0bb
Modifications to allow Moodle files management page to use PclZip
...
instead of external zip programs.
To use the internal PclZip, the config variables "zip" and "unzip"
must be left blank.
Code for PclZip integration originally from Robert Hetzel, though
I've expanded it and modified it a lot.
The zip files seem compatible with itself and Windows XP, but I had a
compatibility problem trying to unzip a PclZip file using Zip 2.3 on Linux
(directories are unpacked as empty files)
2003-04-06 05:53:47 +00:00
moodler
8ef3483b60
Added Version 1.3 of PclZip to the distribution
2003-04-06 05:48:56 +00:00
moodler
ef49e5c301
addslashes to string used for javascript link
2003-04-02 07:24:42 +00:00
moodler
8a205861e0
Added a robustness check for USER->id
2003-04-01 02:38:31 +00:00
moodler
ffb410df03
Sorry, Petri, but we need to undo these changes, because:
...
- they could break accounts in existing installations
- strtolower can corrupt strings in multibyte languages
Is it really a problem that usernames are case sensitive on PostgreSQL?
2003-04-01 02:14:16 +00:00
paca70
b398d5ee2a
Use always only lowercase version of username.
...
When using authentication module (ldap, smb, pop etc...) and postgres-database multiple moodle
users were created for usernames like 'Username' 'username' 'userName'
2003-03-31 17:05:52 +00:00