Commit Graph

280 Commits

Author SHA1 Message Date
Dan Poltawski c261b351cf MDL-23580 course overview - remove debugging junk 2011-07-11 16:47:28 +02:00
Sam Hemelryk f5936345cd Merge branch 'admin_whitespace_cleanup_master' of git://github.com/stronk7/moodle 2011-06-07 16:09:55 +08:00
Eloy Lafuente (stronk7) 6e9cd6698e MDL-27723 whitespace cleanup of admin directory 2011-06-05 19:35:42 +02:00
Tim Hunt a2ac234956 MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
Conflicts:
	lib/filestorage/file_storage.php
	mod/quiz/attemptlib.php
	mod/quiz/lib.php
	mod/quiz/mod_form.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	mod/quiz/report/responses/responses_table.php
	mod/quiz/report/statistics/db/install.xml
	mod/quiz/report/statistics/qstats.php
	mod/quiz/report/statistics/report.php
	mod/quiz/report/statistics/statistics_question_table.php
	mod/quiz/report/statistics/statistics_table.php
	mod/quiz/report/statistics/version.php
	mod/quiz/review.php
	mod/quiz/reviewquestion.php
	mod/quiz/startattempt.php
	mod/quiz/styles.css
	mod/quiz/view.php
	question/type/essay/questiontype.php
	question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
	question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
	question/type/numerical/display.html
	question/type/numerical/questiontype.php
	question/type/questiontype.php
	question/type/random/questiontype.php
	question/type/shortanswer/questiontype.php
	theme/base/style/question.css
2011-05-11 20:29:49 +01:00
David Mudrak 8ae076ae26 MDL-27293 report customlang has extra execution time and displays a progress bar during the checkout
Initial checkout of strings into the translator table may take a long time. The
maximum execution time is increased to one hour and a progress bar is
displayed so the user is informed on what is going on.
2011-04-27 14:08:48 +02:00
David Mudrak c2c9bc3b7a MDL-27246 customlang report stores the versions in a char field rather than integer 2011-04-27 14:08:22 +02:00
Eloy Lafuente (stronk7) c646dd26ea MDL-26891 profiling - earlier runs
This allows profiling to be started earlier in the
setup.php execution, by configuring everything in
the config.php file. That way some interesting code
is also profiled, like DB connections, load of config records...

100% compatible with normal profiling and enabled via
special setting $CFG->earlyprofilingenabled

Example (to be put on config.php):

$CFG->earlyprofilingenabled = true;
$CFG->profilingautofrec = 3;
$CFG->profilingincluded = '/*';
$CFG->profilingallowme = true;

(to enable early profiling for 1/3 of any requests while also
allowing to use the PROFILEME PGC)
2011-03-30 18:08:38 +02:00
Petr Skoda d38f419d5c MDL-26987 fix invalid DML syntax in spam cleaner tool 2011-03-27 16:14:22 +02:00
Tim Hunt e2cba246b7 MDL-20636 Merge vle/master into ouqe2
Conflicts:
	mod/quiz/locallib.php
	mod/quiz/report/overview/overview_table.php
	mod/quiz/report/overview/report.php
	mod/quiz/report/responses/report.php
	question/type/random/questiontype.php
2011-03-02 17:34:18 +00:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Tim Hunt d649fb0221 MDL-20636 Remove all references to global $QTYPES.
Except in the question types that have not yet been converted to the new question engine.
2011-02-24 15:29:07 +00:00
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