190 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
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
stronk7
3a27bb0575 Modify a bunch of INSERTs to avoid using empty fields
to allow Oracle to avoid the NULLs = empty problem.
2006-09-07 23:50:47 +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
81e956b964 added some capabilities 2006-08-30 08:43:17 +00:00
skodak
031c8ae5a0 Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE 2006-08-17 21:34:39 +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
stronk7
9bd4d98bc2 Initial version of the XMLDB file for this plugin 2006-08-12 22:19:10 +00:00
moodler
bee7ee3815 Removed tabs 2006-08-09 13:39:44 +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
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
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
skodak
d154ed0cf4 fixed bug #4189 - visible not changed 2006-04-27 21:35:02 +00:00
skodak
8f414ab8aa fixed some long standing and some new problems and SC#249, please consider backporting into STABLE 2006-04-27 21:30:18 +00:00
toyomoyo
cb24115c8e trying to change all the default NULL fields to NOT NULL default '0'/'', hope i didn't mess up. Please report any bugs asap! 2006-04-26 05:48:04 +00:00
vyshane
5f672a4dd8 Fixed inserts for log_display. 2006-04-24 09:05:08 +00:00
toyomoyo
f21cc86bca changed formats for log_display table 2006-04-24 08:10:55 +00:00
stronk7
1b1858d260 htmlentities() to s() 2006-04-11 16:09:52 +00:00
moodler
9ee20a32f6 FIxed blank trailing lines (bug 5095) 2006-04-05 06:14:28 +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
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
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +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
toyomoyo
e8f7b20f9a more bug fixes =( 2006-01-13 07:24:43 +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
c8ee027b0e added 2 fields in xml, addindex and dropindex, and bug fixes 2006-01-11 01:46:22 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
stronk7
9661a2d321 Now Survey is using the new Excel generation API.
Merged from MOODLE_16_UTF8. Abandoning the branch.
2006-01-05 16:47:45 +00:00
stronk7
140b7eb5db Log actions must be strored to DB without &amp;
print_log() takes care of it! Bug 3853.
(http://moodle.org/bugs/bug.php?op=show&bugid=3853)

Merged from MOODLE_15_STABLE
2005-11-23 09:46:25 +00:00
moodler
6db0b948cc fix for bug 4284 2005-11-07 05:49:23 +00:00
skodak
2d5b322c0f fixed script parameters + some warnings SC#150; merged from MOODLE_15_STABLE 2005-10-29 16:45:58 +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
moodler
f5e1319ec3 Merged SC139 from stable 2005-07-12 08:00:51 +00:00
thepurpleblob
00592b8032 changed deprecated _variable() type functions to _param() type functions. 2005-07-05 11:02:46 +00:00
stronk7
25ef0370d5 Improved automatic relinking in backup and restore. Credits go to skodak.
Complete refactoring of the system that was really awful (my fault!).
Now everything is in its place and working like a charm, making things really
easier to be implemented and amplied. Bug 3678
(http://moodle.org/bugs/bug.php?op=show&bugid=3678)
(http://moodle.org/mod/forum/discuss.php?d=26530)

Note: Everything is merged from stable but the quiz module because it has
other changes not merged for now. I've skyped a message to Gustav about it.

Merged from MOODLE_15_STABLE
2005-07-04 18:56:03 +00:00
stronk7
8a12a13250 Tabs are out 2005-05-16 23:42:48 +00:00
skodak
bfae4bf90d fixed typo 2005-04-16 14:13:17 +00:00
moodler
7f3f41ecfb Added some reportlink classed to the report links 2005-04-13 07:45:47 +00:00
stronk7
da423e13df Added support to survey-download action in restore. 2005-04-10 16:54:05 +00:00
stronk7
cd5d2d4b74 Now survey->name supports filterall. 2005-04-06 18:20:05 +00:00
mjollnir_
9680ba9801 Merged from MOODLE_14_STABLE: Fix for bug 2742 - sequences out of sequences in postgres 2005-03-15 23:12:50 +00:00
moodler
b846ac39ff Standardise the intro box using an ID 2005-03-13 16:17:55 +00:00
moodler
222fd71089 FIxed some notices and now the X-axis text is rotated and readable! Yay! 2005-03-11 14:57:07 +00:00
moodler
8f7dc7f1c7 Variety of small fixes, but mostly related to how the recent activity
block is constructed.  A new function exists to pump these notes out
in a standard way :  print_recent_activity_note.

Module dependencies also updated because of this.
2005-03-10 13:30:57 +00:00