269 Commits

Author SHA1 Message Date
Daren Chandisingh
6110e008cb [MDL-25639] Fixed page output before redirection 2011-01-26 12:28:35 +00:00
Petr Skoda
01f6035ea1 Merge branch 'MDL-25822' of git://git.luns.net.uk/moodle 2011-01-03 17:53:51 +01:00
Dan Poltawski
5b903967de statistics MDL-25822 multiple values in get_field_sql
A variety of get_field_sql calls returning multiple values, switched
to using MIN/MAX selects.
2010-12-30 10:30:07 +00:00
Tim Lock
6c7b6efcf6 courseoverview report MDL-25727 Graphs Broken
Typo preventing graphs from displaying

Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-12-30 09:50:21 +00:00
Eloy Lafuente (stronk7)
6af80cae01 MDL-24600 profiling - add xhprof integration 2010-12-20 21:41:45 +01:00
David Mudrak
fda6946eb2 MDL-22676 language customization: enlarge the input textarea fields
This patch combines the solution submitted by Ray Guo (computed
min-height) and the one used in AMOS (set the height of the textarea so
that it takes all available space in the row).
2010-12-09 11:48:55 +00:00
David Mudrak
b876a003b4 MDL-25588 report_customlang: removed redundant safe path check
Only the $lang part of the the path comes from the browser and it is
checked in get_localpack_location() anyway.
2010-12-07 06:08:51 +00:00
Petr Skoda
cbad562eee MDL-25314 improved prevention of output buffering + detection of misconfigured servers
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Petr Skoda
e98a39260a NOBUG standardising prevention of output buffering
we should really add some new define before the config.php inclusion soon
2010-11-17 12:25:36 +00:00
Eloy Lafuente
b9e8c6a6f2 NOBUG: I hate the shut-up operator, really! 2010-11-17 11:02:32 +00:00
David Mudrak
c0b7391d0b report_customlang: regenerate foreign key after recent tables rename
Thanks to Tim Hunt for spotting this overlooked key definition.
2010-11-15 16:13:06 +00:00
David Mudrak
ece4c57879 MDL-25144 Fixed SQL causing error in MSSQL 2010-11-12 16:07:05 +00:00
David Mudrak
498bd1f3ba Language customization report uses proper plugin prefix for table names 2010-11-12 14:53:38 +00:00
David Mudrak
8f400405d6 MDL-25166 Oops sorry the previous commit introduced a new string that is not needed actually 2010-11-12 14:28:59 +00:00
David Mudrak
430954cccb MDL-25166 Language customization does not interfere with the current language selector 2010-11-12 14:27:02 +00:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Sam Marshall
cf617be64e Unit tests MDL-24909 Unit tests used 5 minute time limit per test class; this is insufficient for gradebook tests on slow server. Changed to use 60 second limit per test function instead. Added constant and comment defining this behaviour. 2010-11-01 15:14:37 +00:00
Petr Skoda
346c5887b1 MDL-24751 using new memory constants 2010-10-19 10:13:15 +00:00
Petr Skoda
29d488cffc MDL-23799 fixed distinct text 2010-10-06 18:14:04 +00:00
Sam Hemelryk
8d3950ea2e core MDL-19786 Cleaned up a couple of minor deprecated calls 2010-09-22 07:48:35 +00:00
Andrew Davis
7cfa8aeef2 unittests MDL-24322 made unit tests trim the path entered by the user to stop trailing spaces causing an error 2010-09-22 05:46:26 +00:00
Petr Skoda
a226a972f7 MDL-24321 switching to stdClass in /admin/ and / 2010-09-21 08:44:02 +00:00
David Mudrak
1828f3d5a7 MDL-24233 report_customlang: display a help for {$a} placeholders 2010-09-17 18:12:41 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Petr Skoda
820f107a10 fixed incorrect exception class names 2010-09-17 09:59:50 +00:00
Petr Skoda
adfc4d7c25 commenting out unused code so that it does not confuse IDEs 2010-09-17 09:39:00 +00:00
David Mudrak
60dfef5b82 NOMDL report_cutomlang: fixed ILIKE SQL escaping after recent improvements of sql_like() 2010-09-16 09:03:54 +00:00
Eloy Lafuente
2959db4a2b MDL-16106 report - fix old double-column trick causing problems in backup logs. Merged from 19_STABLE 2010-09-08 16:56:42 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
Petr Skoda
2225fb4809 MDL-24080 fixed debug warning and converted NOT LIKE 2010-09-04 14:43:11 +00:00
Petr Skoda
bbec5b9183 MDL-24079 spam cleaner now using new sql_like() 2010-09-04 11:53:04 +00:00
Petr Skoda
323f79a36c MDL-24079 spam cleaner now using new sql_like() 2010-09-04 11:52:36 +00:00
Petr Skoda
cdce125542 MDL-24079 custom lang report now using new sql_like() 2010-09-04 11:50:18 +00:00
Petr Skoda
4287c1c2a0 MDL-24058 fixed sql injection, addslashes must not be used any more 2010-09-02 12:16:24 +00:00
Petr Skoda
d8fa45505c MDL-23984 using standard checkdirexists for lang packs 2010-08-29 09:38:08 +00:00
David Mudrak
5e90252679 MDL-23934 customlang: MySQL does not like SELECT field, * 2010-08-25 11:52:49 +00:00
David Mudrak
03ff3b4f0c MDL-21696 Added new admin report for language customization 2010-08-24 23:19:11 +00:00
Sam Hemelryk
f36b47efa0 admin blog comment course MDL-22856 Minor cleanups and improvements to styles 2010-08-19 05:56:57 +00:00
Petr Skoda
5402c577eb MDL-23784 fixed docs icon from security report 2010-08-12 18:22:34 +00:00
Petr Skoda
0f17961d4a fixed incorrect report name string 2010-08-12 18:18:47 +00:00
Petr Skoda
320e7de869 MDL-22620 new report that lists roles with unsupported context level assignments 2010-07-18 13:32:24 +00:00
Petr Skoda
835d78ff9e MDL-22056 simplified component name handling + converting reports to proper pluginname
AMOS BEGIN
 MOV [capability,report_capability],[pluginname,report_capability]
 MOV [questioninstances,report_questioninstances],[pluginname,report_questioninstances]
 MOV [reportsecurity,report_security],[pluginname,report_security]
 MOV [spamcleaner,report_spamcleaner],[pluginname,report_spamcleaner]
AMOS END
2010-07-15 17:13:45 +00:00
Petr Skoda
dbf9e4bae3 MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins 2010-07-13 13:56:55 +00:00
Petr Skoda
50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Tim Hunt
c8a9f066f7 unit tests: MDL-22175 Still more improvements unit test failure display.
Thanks to Eloy for suggesting these improvements:
1. We display debuginfo if it is there.
2. If the exception refers to a missing lang string, we output as much
information as we have.
2010-04-26 15:25:56 +00:00
Tim Hunt
39321e0faf unit tests: MDL-22175 Further improvements unit test failure display.
Exceptions are now also shown with a pruned stack trace.
And 2.0 code for displaying PHP5 error types backported to 1.9.
2010-04-23 17:22:55 +00:00