stronk7
dc0426bd83
Take out some double-slashes (//) in paths to langfiles and
...
included one more file_exists() check to avoid tons of
warnings when looking for files under dataroot mainly.
2005-01-11 12:24:37 +00:00
moodler
b3a2b9dd49
SMall cleanups on print_footer, and you can now call it with "none"
2005-01-11 08:26:35 +00:00
skodak
6175411bcb
typo - missing semicolon
2005-01-10 21:08:29 +00:00
moodler
2765411a34
New and upgraded sites will be given a default .htaccess file in their
...
dataroot directory SC#64
2005-01-10 15:26:43 +00:00
moodler
d0dc2b989c
Moodle now supports language packs found under dataroot/lang (they
...
take priority over all other locations).
Later we can add support to download language packs from within Moodle,
and edit/manage new packs more easily.
2005-01-10 14:11:13 +00:00
martinlanghoff
27a0c5f608
Ported from MOODLE_14_STABLE. SC#62 - Prevent database values from overriding $CFG values defined in config.php -- Credits go to Petr Skoda.
2005-01-09 21:54:48 +00:00
moodler
63d288118a
Split up the Javascript stuff into static and non-static.
...
This will reduce the size of each page somewhat.
2005-01-09 15:10:12 +00:00
moodler
13af52a6d3
When using set_user_preference on other people, don't change the preference in $USER
2005-01-06 12:50:03 +00:00
martinlanghoff
b3adf3de4e
Merged from MOODLE_14_STABLE - Fixed warning in ipatlas, thanks to Jens Gammelgaard <jens.gammelgaard@optimon.dk>
2005-01-06 02:07:35 +00:00
moodler
9de39eaefb
Removing the whitespace from the popup links
2005-01-05 17:40:38 +00:00
defacer
0f256abc0c
Fix for bug 2336:
...
I accidentally removed the editing button from courses when fixing bug 2328.
Fortunately, Gustav was on the lookout.
2005-01-04 19:43:09 +00:00
defacer
edb42f0924
Fix for bug 2328:
...
* When configuring a block instance, "Turn editing off" button is not
shown anymore.
* When configuring a block instance, the breadcrumbs are now better,
providing a link to the course page. This could be done in a much
better way if we had a comprehensive template system but it will
suffice for now.
2005-01-02 15:20:15 +00:00
moodler
36f01e7b1b
New log display stuff for message contacts
2005-01-01 08:41:13 +00:00
moodler
f66e1977bb
Added parameter to print_user_picture to allow links with target windows
2005-01-01 04:22:19 +00:00
fiedorow
51b0e824d2
Fixed missing / separator
2004-12-31 15:41:23 +00:00
fiedorow
9ccdcd97ee
Fix for bug #2323 - forum search problem
2004-12-31 15:23:50 +00:00
dhawes
2502395fae
fixing an instance of hardcoded /admin/ as per Zbigniew Fiedorowicz's fix (in 1.4.3+?)
2004-12-30 19:10:44 +00:00
moodler
e608dddda5
Message windows now popup from any page
2004-12-30 12:54:22 +00:00
moodler
114176a25e
add_to_log now always updates user->lastaccess
2004-12-28 14:59:29 +00:00
moodler
e53c030b7a
Added format field for messages
2004-12-28 08:56:20 +00:00
moodler
0eacb23ccc
Updated message databases with better time storage, and also some logging
...
for message reading and writing
2004-12-28 07:40:26 +00:00
gustav_delius
b403c32aa0
Reinstated the line in stripslashes_safe() that removes the slash that escapes a backslash. Martin removed this line in March. Why?
2004-12-27 23:40:42 +00:00
moodler
d99bab2d1d
Some changes that may help on safe mode ... see bug 2093
...
The new directory permissions maintain group mode better,
and the manual chown is now removed to prevent safe mode
from getting upset.
2004-12-26 14:45:39 +00:00
gustav_delius
b63c0ee521
Fixes a bug with user events created by an activity module.
...
The old code assumed that the courseid would always be set but that is only the case for course events, not for user or group events. (See http://moodle.org/mod/forum/discuss.php?d=4466#20827 for a discussion about the meaning of the courseid field in the event table)
I also made the $courseid argument to get_coursemodule_from_instance() optional. It is not needed and in some cases it will not be know, as for example for non-course events created by activity modules.
2004-12-26 13:58:07 +00:00
moodler
9e6e750294
SLightly more robust loading of defaults
2004-12-23 09:07:43 +00:00
moodler
4c6c0e01a2
Extended print_user_picture to support a pixel size in the old
...
$large = true/false
field ... you can now specify an arbitrary size in there.
2004-12-23 08:58:15 +00:00
gustav_delius
a5c0990e5d
New quiz config page to allow admin to set defaults and hide options on the quiz setup page.
2004-12-23 07:09:33 +00:00
mjollnir_
0044147e10
Merged from MOODLE_14_STABLE: Added empty rather than just testing variable, added trim to search string in get_users and get_users_listing
2004-12-22 23:11:27 +00:00
martinlanghoff
301045e472
Merged from MOODLE_14_STABLE
...
Fixed upgrade bug that could show up in cases where:
- installations with large numbers of courses in a category AND 'hidden' courses in those categories
- where the database upgrade was performed while NOT in a logged-in-admin session
fix_course_sortorder() would fail to guarantee the uniqueness of course,sortorder and the new unique index on that column would fail to be created.
Sigh.
2004-12-22 22:47:28 +00:00
moodler
b60f0ee556
Validator ignores sesskeys
2004-12-22 02:56:16 +00:00
moodler
089e9eae78
Added trick to allow sesskey to be ignored in certain cases
...
(helps with XHTML testing)
2004-12-22 02:54:47 +00:00
mjollnir_
2e1898b21c
Merged from MOODLE_14_STABLE: Fixing postgres bug on unique constraint
2004-12-21 18:30:19 +00:00
mjollnir_
91b4c5eee9
Postgres compliance for dst_preset table
2004-12-17 02:20:04 +00:00
mjollnir_
24cc8ec9ba
Merged from MOODLE_14_STABLE: Committing skodak's fixes for sc#40 and #42
2004-12-17 01:43:06 +00:00
moodler
ffce79c050
New tables for messaging system, plus completion of the dst_preset
...
tables in Postgres and new installs
2004-12-16 12:39:17 +00:00
moodler
2d2da684c6
Merged changes from stable (notice fix)
2004-12-15 13:24:19 +00:00
defacer
86f092d25e
New "Calendar" section in Admin -> Configuration.
...
Includes preliminary support for DST!
Includes "admin sees all events or only own?" setting (bug 1972)
WARNING: Modified moodlelib.php to explicitly specify NOT-DST when
calling mktime() and gmmktime(). This is essential since we don't want
PHP to second-guess us for the DST matters, but... it may affect existing
code?
2004-12-15 07:14:41 +00:00
moodler
4ed533dfaf
Added a function to add a user to a group
2004-12-14 08:05:49 +00:00
moodler
1a5bc0467f
Field added to groups table to allow group specific enrolment keys
2004-12-14 06:41:18 +00:00
moodler
f9f4d999fe
Merged recent fixes to FULLME in stable
2004-12-12 06:49:26 +00:00
moodler
6b94a807d2
Merged new MOODLE_INTERNAL constant from stable, used to prevent
...
direct access to some scripts
2004-12-12 04:33:13 +00:00
moodler
1372b482df
Fixed the include to use PluginDir
2004-12-10 12:22:39 +00:00
moodler
5debee2de4
Added latest knowledge on caching techniques to HEAD
2004-12-10 06:20:54 +00:00
defacer
070e261647
Fixed set_user_preference to make changes immediately available ($user was lowercased)
...
Updated all user preferences functions to behave well even if $USER or $USER->id is not defined
2004-12-01 21:47:02 +00:00
skodak
690f358b62
merged from MOODLE_14_STABLE;
...
Preparation for new file.php, new function get_file_argument() SC#5
2004-11-30 19:44:08 +00:00
stronk7
87290b788d
Updated to 2.4RC1. This should terminate
...
some know incompatibilities.
Bug 2234
(http://moodle.org/bugs/bug.php?op=show&bugid=2234 )
Merged from MOODLE_14_STABLE
2004-11-30 17:57:42 +00:00
moodler
3af01b513d
Sesskey fixes
2004-11-29 06:35:49 +00:00
moodler
957b51989c
After agreeing to site policy, you get redirected back to where you
...
were going.
Also, guests get asked to agree for EVERY SESSION.
2004-11-29 06:22:12 +00:00
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
dhawes
5809683fba
fixed a comment whose details had been left behind in the recent api change
2004-11-29 04:38:07 +00:00