241 Commits

Author SHA1 Message Date
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
moodler
fdb1cf2cc1 FIxed to use the new debugging function 2006-09-18 09:13:04 +00:00
thompson697
163ff97e84 Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
0f9602085b Small bump for guest role fix 2006-09-12 08:22:14 +00:00
moodler
8d158ed44f Reload the guest role using new defaults 2006-09-12 07:10:49 +00:00
moodler
00adf177ad Changed some default permissions for the guest role 2006-09-12 05:58:42 +00:00
toyomoyo
39b3e7dedf adding capaility, fixing indenting and logic (could have broken things) 2006-09-11 07:17:10 +00:00
skodak
86a1ba04fd replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack 2006-09-02 11:44:04 +00:00
toyomoyo
f9a59efa64 adding some capabilities 2006-08-29 08:43:59 +00:00
moodler
0468976c9a SWEEPING CLEANUP
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)

The $kill thing was removed.   If you want to assert a capability
then use:

    require_capability('capname', $context);

with optional variables to modify the error message

Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
moodler
dabfd0ed85 Removed tabs 2006-08-09 13:45:49 +00:00
skodak
f9d5371b28 new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283 2006-08-08 22:09:55 +00:00
stronk7
305ebf6849 Initial XMLDB schema for choice tables. Using FKs where they are obvious. 2006-08-08 17:00:03 +00:00
moodler
bbbf2d4015 ROLES AND PERMISSIONS - FIRST CHECK-IN
=======================================

WARNING:  DEV IS CURRENTLY VERY UNSTABLE.

This is a mega-checkin of the new Roles system.   A lot of changes have
been made in core and modules.

Currently there are a lot of rough edges and known problems.  We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).

Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
danmarsden
1e0c4d67fd Fix for Bug 6119 - gives error when choice full, and user submits a choice they have already selected 2006-07-23 22:14:31 +00:00
skodak
f262874bbe Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE 2006-07-03 21:11:17 +00:00
danmarsden
8f3c8cdd84 BUG 5662 - bad check for 1.6 version. 2006-05-31 20:28:18 +00:00
martinlanghoff
2a0f40e98c mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification
for cleanup that may fail if one is starting fresh from moodle 1.5.3+,
previous cleanup before 1.5.3 is not needed
2006-05-17 06:42:57 +00:00
danmarsden
019c47d6c1 Fixes bug 5464 also makes response clearer to students -see:
http://moodle.org/mod/forum/discuss.php?d=45504

also finishes off Bug 662
2006-05-15 23:24:42 +00:00
vyshane
93642edd6a Fixed inserts for log_display. 2006-04-24 08:38:03 +00:00
toyomoyo
4dca83214b new format for log_display 2006-04-24 08:00:51 +00:00
skodak
69e3c41688 page parameter cleanup 2006-04-23 21:07:44 +00:00
skodak
1182171459 moved php end tag from comment revisited 2006-04-23 11:40:25 +00:00
skodak
6550339d39 moved php end tag from comment 2006-04-23 11:37:57 +00:00
danmarsden
22d56e8015 need to check vars aren't empty b4 using them! - another one! 2006-04-12 21:15:10 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
danmarsden
6c5a77bbb7 couple of bugs when no data returned. 2006-04-06 20:42:35 +00:00
gustav_delius
87b18f4ab7 Fixed call to required_param() 2006-04-05 07:46:52 +00:00
danmarsden
3e11b9f44a missed one. 2006-04-04 23:36:13 +00:00
danmarsden
acaf7b86e3 Bug Fixes for:
Bug 5042
Bug 4600
Bug 4021
Bad code - need to check vars aren't empty b4 using them!
2006-04-04 23:03:15 +00:00
stronk7
2070370cfa Typo. 2006-03-28 23:31:12 +00:00
patrickslee
cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
skodak
0c0849cf5f lots of incorrect required_param()'s - there MUST be only two parameters not three!! 2006-03-08 00:08:51 +00:00
skodak
38b7336ed1 short php tags 2006-03-07 21:35:13 +00:00
toyomoyo
f841494c62 see changes for admin/utfdbmigrate.php 2006-02-24 08:20:13 +00:00
danmarsden
90ca2ce87d fixed bug with limits not limiting for only enrolled students - limit was counting non-enrolled students as well. - also removed checkboxes to delete response from not-answered column. 2006-02-23 21:20:44 +00:00
danmarsden
348630d87e moving duplicated code into Lib.php as functions & clean up the code a bit. - also now include users group info in text/excel downloads. - preparation for new choice block! 2006-02-23 01:20:24 +00:00
danmarsden
d921818dc1 tidy up download of files when groups are turned on. + fix for Bug 4601 Bug 4476 2006-02-09 22:45:31 +00:00
danmarsden
df5fb55cbc Bug #4452 link names to profiles 2006-02-09 21:50:21 +00:00
danmarsden
313441331e add ability to delete responses, add pragma to text download and removed hardcoded localised string. 2006-02-09 21:09:10 +00:00
danmarsden
a56ca75fda backticks around release to allow upgrade to work correctly when using mysql 5 2006-02-09 18:12:51 +00:00
danmarsden
c100a341a6 Bug 3768 - Release is now a reserved word in MySql 5 2006-02-08 23:46:21 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
moodler
2762ca176d fixing typos 2006-01-19 03:55:02 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
mjollnir_
f90666aa5c Abstracted a bit of the restore procedure to allow for silent restoring.
Added new function, import_backup_file_silently
Changed everything that prints stuff to check for a constant first.
Backup_flush checks a different constant, this is so that output can still
get flushed to the browser when necessary but not print <li>s everywhere.
Please test this!
2006-01-15 21:09:13 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00