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
stronk7
b089856647
Now Choice is using the new Excel generation API
...
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:33:29 +00:00
moodler
39ee02a3b1
Various old fixes that had not been checked in
2006-01-05 07:09:35 +00:00
thepurpleblob
ac04332685
Removed check for student/teacher on submit and replaced with check for (not)
...
guest, as (a) it didn't stop guests and (b) it broke the studentview mode
2005-09-20 09:22:06 +00:00
mjollnir_
f3221af9e5
Initial checkin of stats (from processing the log table).
...
I will write up some information about it for the developers wiki.
2005-09-01 04:14:31 +00:00
patrickslee
4e980e5a92
Mass cleanup of bad postgres upgrade scripts(merged from 15_stable)
2005-08-15 23:17:58 +00:00
danmarsden
3ddb684e57
Fixes for Bug #3876 , Bug #3816
2005-08-14 21:59:09 +00:00
thepurpleblob
440dcd3123
require_variable() changed to required_param().
2005-08-09 12:07:09 +00:00
moodler
f5e1319ec3
Merged SC139 from stable
2005-07-12 08:00:51 +00:00