799 Commits

Author SHA1 Message Date
moodler
c6a0f9d5bf Minor touch-ups to the front page HTML 2003-05-15 14:02:13 +00:00
moodler
ce729f49c8 New override for Apache's LimitRequestBody parameter which may limit files. 2003-05-15 11:15:55 +00:00
moodler
a53cef7e80 Removed obsolete get_users_search function 2003-05-14 16:29:26 +00:00
moodler
5a74165523 FIxed up function get_user() which now takes lots of parameters and
can be used all over the place.

Also, related fixes to "add admin" (MUCH better performance) and the user listings

More to come for "add teacher" and "add creator"
2003-05-14 15:19:04 +00:00
moodler
76c1650d02 Changed home page link to moodle.org (from moodle.com)
I did some heavy thinking about this, and I think this is
best for the community.  I had wanted to drive some traffic
past moodle.com (the moodle.com will feature very prominent
links to moodle.org).  What I'll do now, I think, is put a
advertisements on http://moodle.org pointing to moodle.com.

Also some lowercasing of HTML.
2003-05-14 05:01:01 +00:00
moodler
b086c2b527 Fixed variable name 2003-05-14 03:37:47 +00:00
moodler
a0deb5db60 Add a backdoor for match_referer ... if the referer is "nomatch" then
it always returns true.
2003-05-12 09:22:00 +00:00
moodler
393c9b4ff4 Fixes for detect_munged_arguments() and default values for p() s() etc 2003-05-12 06:35:32 +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
moodler
9f71c9e713 Use the new $CFG->dbpersist variable in config.php to determine whether
to use persistent connections or not.  The default is to use them (for
speed/efficiency) but now they can be switched off with:

$CFG->dbpersist = false;
2003-05-09 02:20:03 +00:00
moodler
6c8e8b5ed4 IMPORTANT SECURITY FIX: this prevents bad characters being passed to help.php 2003-05-09 02:05:16 +00:00
moodler
3d9f0f81d6 IMPORTANT SECURITY FIX - this makes sure $CFG can not be overridden 2003-05-09 02:02:27 +00:00
moodler
5f94c13b6b New version of Wiki stuff from Howard Miller.
Some cool new features, including linking to Moodle activities!
2003-05-08 16:20:38 +00:00
moodler
e825f27967 New pop-up help page about smileys - clicking on the smiley inserts it
into the form using Javascript!

Also rationalised and patched some of the other help about text formats.

LANGUAGE EDITORS MAY WANT TO RE-CHECK:

   lang/en/help/textformat.html
2003-05-08 16:09:30 +00:00
moodler
0cb29cc411 Turn off PHP error reporting while connecting to database 2003-05-07 08:07:48 +00:00
moodler
4f5dbd132c Try persistent connection first, but if that fails for some reason then
automatically fall back to a non-persistent connection.
2003-05-07 08:03:43 +00:00
moodler
49543158f7 Upgraded to latest code, and add lots of new languages 2003-05-06 11:14:31 +00:00
moodler
5f350e8f6d Improvements for PLAIN FORMAT (links) plus some efficiency I think 2003-05-05 16:40:46 +00:00
moodler
01d799665d Better detection of URLs in brackets etc ... plus some tweaks 2003-05-05 16:28:40 +00:00
paca70
a918234e91 Postgres limit fix 2003-05-05 16:13:45 +00:00
moodler
11a876e1b6 Minor touches to notice() padding 2003-05-05 12:25:08 +00:00
moodler
581d7b4959 Fixes for isadmin() 2003-05-05 11:38:54 +00:00
moodler
2bc269fd7b Typo in javascript .... selectedindex should selectedIndex ! 2003-05-05 07:44:53 +00:00
paca70
465fd00e04 Lang column was missing from postgresql-files (?) 2003-05-04 16:05:59 +00:00
paca70
8a230a7d96 Better postgresql support for column creation 2003-05-04 16:03:45 +00:00
moodler
a6d71a2199 Upgraded ADOdb to version 3.40
Works OK for me in tests under MySQL on my server
2003-05-04 11:59:49 +00:00
moodler
dfec7b013f Some clean ups - various things to do with Topics view 2003-05-04 09:43:03 +00:00
moodler
7d99d6959e New feature: hide/show topics! 2003-05-04 07:59:46 +00:00
moodler
d342c76370 Added Wiki format as a system-wide format (forums, journals, etc)
Also, added better formatting to plain-text emails via a new function
in weblib.php  -  format_text_email
2003-05-04 04:07:36 +00:00
moodler
eb347b6b68 Fixes to improve the password recovery process. There is now a
confirmation step required before the password is changed and sent.

Also, many of the email texts have been cleaned up.

TRANSLATORS:  check your texts in moodle.php starting with "email.."
2003-05-04 03:00:52 +00:00
moodler
984a8bf349 Two new language variables implemented.
langmenu  - turns the language menu on and off
langlist  - allows the admin to restrict and/or re-order the available language choices
2003-05-03 06:50:29 +00:00
moodler
107b010b43 Some random lowercasing 2003-05-03 06:49:37 +00:00
paca70
ea563f8f99 Postgres needs full longnames for indexes to prevent overlapping names. 2003-05-03 06:44:03 +00:00
stronk7
61ae5d36ca Modified the userdate() function. No changes needed when invoking it.
Added a new parameter (fixday->default true->old behavior) to avoid
formatting days when invoked with false value.
2003-05-02 09:37:41 +00:00
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