Petr Skoda
17a14fbd01
MDL-29509 move spamcleaner to admin tools
...
Why? Because this tool does not support contexts, allows data modifications and is intended only for admins. It is still linked from admin reports for now, we will move it elsewhere once we know where to add general new reports.
AMOS BEGIN
MOV [pluginname,report_spamcleaner],[pluginname,tool_spamcleaner]
MOV [spamauto,report_spamcleaner],[spamauto,tool_spamcleaner]
MOV [spamcannotdelete,report_spamcleaner],[spamcannotdelete,tool_spamcleaner]
MOV [spamcannotfinduser,report_spamcleaner],[spamcannotfinduser,tool_spamcleaner]
MOV [spamcleanerintro,report_spamcleaner],[spamcleanerintro,tool_spamcleaner]
MOV [spamdeleteall,report_spamcleaner],[spamdeleteall,tool_spamcleaner]
MOV [spamdeleteallconfirm,report_spamcleaner],[spamdeleteallconfirm,tool_spamcleaner]
MOV [spamdeleteconfirm,report_spamcleaner],[spamdeleteconfirm,tool_spamcleaner]
MOV [spamdesc,report_spamcleaner],[spamdesc,tool_spamcleaner]
MOV [spameg,report_spamcleaner],[spameg,tool_spamcleaner]
MOV [spamfromblog,report_spamcleaner],[spamfromblog,tool_spamcleaner]
MOV [spaminvalidresult,report_spamcleaner],[spaminvalidresult,tool_spamcleaner]
MOV [spamoperation,report_spamcleaner],[spamoperation,tool_spamcleaner]
MOV [spamresult,report_spamcleaner],[spamresult,tool_spamcleaner]
MOV [spamsearch,report_spamcleaner],[spamsearch,tool_spamcleaner]
AMOS END
2011-09-27 00:39:20 +02:00
Petr Skoda
b703861f49
MDL-29509 move customlang to admin tools
...
AMOS BEGIN
MOV [checkin,report_customlang],[checkin,tool_customlang]
MOV [checkout,report_customlang],[checkout,tool_customlang]
MOV [checkoutdone,report_customlang],[checkoutdone,tool_customlang]
MOV [checkoutinprogress,report_customlang],[checkoutinprogress,tool_customlang]
MOV [confirmcheckin,report_customlang],[confirmcheckin,tool_customlang]
MOV [customlang:edit,report_customlang],[customlang:edit,tool_customlang]
MOV [customlang:view,report_customlang],[customlang:view,tool_customlang]
MOV [filter,report_customlang],[filter,tool_customlang]
MOV [filtercomponent,report_customlang],[filtercomponent,tool_customlang]
MOV [filtercustomized,report_customlang],[filtercustomized,tool_customlang]
MOV [filtermodified,report_customlang],[filtermodified,tool_customlang]
MOV [filteronlyhelps,report_customlang],[filteronlyhelps,tool_customlang]
MOV [filtershowstrings,report_customlang],[filtershowstrings,tool_customlang]
MOV [filterstringid,report_customlang],[filterstringid,tool_customlang]
MOV [filtersubstring,report_customlang],[filtersubstring,tool_customlang]
MOV [headingcomponent,report_customlang],[headingcomponent,tool_customlang]
MOV [headinglocal,report_customlang],[headinglocal,tool_customlang]
MOV [headingstandard,report_customlang],[headingstandard,tool_customlang]
MOV [headingstringid,report_customlang],[headingstringid,tool_customlang]
MOV [markinguptodate,report_customlang],[markinguptodate,tool_customlang]
MOV [markinguptodate_help,report_customlang],[markinguptodate_help,tool_customlang]
MOV [markuptodate,report_customlang],[markuptodate,tool_customlang]
MOV [modifiedno,report_customlang],[modifiedno,tool_customlang]
MOV [modifiednum,report_customlang],[modifiednum,tool_customlang]
MOV [nostringsfound,report_customlang],[nostringsfound,tool_customlang]
MOV [placeholder,report_customlang],[placeholder,tool_customlang]
MOV [placeholder_help,report_customlang],[placeholder_help,tool_customlang]
MOV [placeholderwarning,report_customlang],[placeholderwarning,tool_customlang]
MOV [pluginname,report_customlang],[pluginname,tool_customlang]
MOV [savecheckin,report_customlang],[savecheckin,tool_customlang]
MOV [savecontinue,report_customlang],[savecontinue,tool_customlang]
AMOS END
2011-09-27 00:39:19 +02:00
Petr Skoda
aff24313be
MDL-29401 introduce new frankenstyle PARAM types
...
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Eloy Lafuente (stronk7)
9d8d55a00e
Merge branch 'w37_MDL-29029_m22_admintools' of git://github.com/skodak/moodle
2011-09-19 18:26:55 +02:00
Petr Skoda
b412f9c4c9
MDL-29029 move all the simpletest bits into new tool unittest
...
AMOS BEGIN
MOV [pluginname,report_unittest],[pluginname,tool_unittest]
MOV [unittest:view,report_unittest],[unittest:execute,tool_unittest]
MOV [dbtest,core_admin],[dbtest,tool_unittest]
MOV [addconfigprefix,core_simpletest],[addconfigprefix,tool_unittest]
MOV [all,core_simpletest],[all,tool_unittest]
MOV [codecoverageanalysis,core_simpletest],[codecoverageanalysis,tool_unittest]
MOV [codecoveragecompletereport,core_simpletest],[codecoveragecompletereport,tool_unittest]
MOV [codecoveragedisabled,core_simpletest],[codecoveragedisabled,tool_unittest]
MOV [codecoveragelatestdetails,core_simpletest],[codecoveragelatestdetails,tool_unittest]
MOV [codecoveragelatestreport,core_simpletest],[codecoveragelatestreport,tool_unittest]
MOV [confignonwritable,core_simpletest],[confignonwritable,tool_unittest]
MOV [coveredlines,core_simpletest],[coveredlines,tool_unittest]
MOV [coveredpercentage,core_simpletest],[coveredpercentage,tool_unittest]
MOV [deletingnoninsertedrecord,core_simpletest],[deletingnoninsertedrecord,tool_unittest]
MOV [deletingnoninsertedrecords,core_simpletest],[deletingnoninsertedrecords,tool_unittest]
MOV [droptesttables,core_simpletest],[droptesttables,tool_unittest]
MOV [exception,core_simpletest],[exception,tool_unittest]
MOV [executablelines,core_simpletest],[executablelines,tool_unittest]
MOV [fail,core_simpletest],[fail,tool_unittest]
MOV [ignorefile,core_simpletest],[ignorefile,tool_unittest]
MOV [ignorethisfile,core_simpletest],[ignorethisfile,tool_unittest]
MOV [installtesttables,core_simpletest],[installtesttables,tool_unittest]
MOV [moodleunittests,core_simpletest],[moodleunittests,tool_unittest]
MOV [notice,core_simpletest],[notice,tool_unittest]
MOV [onlytest,core_simpletest],[onlytest,tool_unittest]
MOV [pass,core_simpletest],[pass,tool_unittest]
MOV [pathdoesnotexist,core_simpletest],[pathdoesnotexist,tool_unittest]
MOV [prefix,core_simpletest],[prefix,tool_unittest]
MOV [prefixnotset,core_simpletest],[prefixnotset,tool_unittest]
MOV [reinstalltesttables,core_simpletest],[reinstalltesttables,tool_unittest]
MOV [retest,core_simpletest],[retest,tool_unittest]
MOV [retestonlythisfile,core_simpletest],[retestonlythisfile,tool_unittest]
MOV [runall,core_simpletest],[runall,tool_unittest]
MOV [runat,core_simpletest],[runat,tool_unittest]
MOV [runonlyfile,core_simpletest],[runonlyfile,tool_unittest]
MOV [runonlyfolder,core_simpletest],[runonlyfolder,tool_unittest]
MOV [runtests,core_simpletest],[runtests,tool_unittest]
MOV [rununittests,core_simpletest],[rununittests,tool_unittest]
MOV [showpasses,core_simpletest],[showpasses,tool_unittest]
MOV [showsearch,core_simpletest],[showsearch,tool_unittest]
MOV [skip,core_simpletest],[skip,tool_unittest]
MOV [stacktrace,core_simpletest],[stacktrace,tool_unittest]
MOV [summary,core_simpletest],[summary,tool_unittest]
MOV [tablesnotsetup,core_simpletest],[tablesnotsetup,tool_unittest]
MOV [testdboperations,core_simpletest],[testdboperations,tool_unittest]
MOV [testtablescsvfileunwritable,core_simpletest],[testtablescsvfileunwritable,tool_unittest]
MOV [testtablesneedupgrade,core_simpletest],[testtablesneedupgrade,tool_unittest]
MOV [testtablesok,core_simpletest],[testtablesok,tool_unittest]
MOV [thorough,core_simpletest],[thorough,tool_unittest]
MOV [timetakes,core_simpletest],[timetakes,tool_unittest]
MOV [totallines,core_simpletest],[totallines,tool_unittest]
MOV [uncaughtexception,core_simpletest],[uncaughtexception,tool_unittest]
MOV [uncoveredlines,core_simpletest],[uncoveredlines,tool_unittest]
MOV [unittestprefixsetting,core_simpletest],[unittestprefixsetting,tool_unittest]
MOV [unittests,core_simpletest],[unittests,tool_unittest]
MOV [updatingnoninsertedrecord,core_simpletest],[updatingnoninsertedrecord,tool_unittest]
MOV [version,core_simpletest],[version,tool_unittest]
AMOS END
2011-09-17 19:43:00 +02:00
Petr Skoda
187536f6c4
MDL-29029 move profiling to admin tools
...
AMOS BEGIN
MOV [calls,report_profiling],[calls,tool_profiling]
MOV [cannotfindanyrunforurl,report_profiling],[cannotfindanyrunforurl,tool_profiling]
MOV [cannotfindanyrunforrunid,report_profiling],[cannotfindanyrunforrunid,tool_profiling]
MOV [comment,report_profiling],[comment,tool_profiling]
MOV [differencesbetween2runsof,report_profiling],[differencesbetween2runsof,tool_profiling]
MOV [executiontime,report_profiling],[executiontime,tool_profiling]
MOV [cputime,report_profiling],[cputime,tool_profiling]
MOV [lastrunof,report_profiling],[lastrunof,tool_profiling]
MOV [markreferencerun,report_profiling],[markreferencerun,tool_profiling]
MOV [memory,report_profiling],[memory,tool_profiling]
MOV [pluginname,report_profiling],[pluginname,tool_profiling]
MOV [profilingfocusscript,report_profiling],[profilingfocusscript,tool_profiling]
MOV [profilingruns,report_profiling],[profilingruns,tool_profiling]
MOV [profilingrunsfor,report_profiling],[profilingrunsfor,tool_profiling]
MOV [referencerun,report_profiling],[referencerun,tool_profiling]
MOV [runid,report_profiling],[runid,tool_profiling]
MOV [summaryof,report_profiling],[summaryof,tool_profiling]
MOV [viewdetails,report_profiling],[viewdetails,tool_profiling]
MOV [viewdiff,report_profiling],[viewdiff,tool_profiling]
MOV [viewdiffdetails,report_profiling],[viewdiffdetails,tool_profiling]
AMOS END
2011-09-17 10:20:51 +02:00
Petr Skoda
a3c0e9bbb0
MDL-29029 move unsuproles to admin tools
...
AMOS BEGIN
MOV [contextlevel,report_unsuproles],[contextlevel,tool_unsuproles]
MOV [count,report_unsuproles],[count,tool_unsuproles]
MOV [confirmdelete,report_unsuproles],[confirmdelete,tool_unsuproles]
MOV [noprolbems,report_unsuproles],[noprolbems,tool_unsuproles]
MOV [pluginname,report_unsuproles],[pluginname,tool_unsuproles]
AMOS END
2011-09-17 10:20:29 +02:00
Petr Skoda
4211dfa4b4
MDL-29029 move capability overview to tools
...
AMOS BEGIN
MOV [capabilitylabel,report_capability],[capabilitylabel,tool_capability]
MOV [capabilityreport,report_capability],[capabilityreport,tool_capability]
MOV [forroles,report_capability],[forroles,tool_capability]
MOV [getreport,report_capability],[getreport,tool_capability]
MOV [changeoverrides,report_capability],[changeoverrides,tool_capability]
MOV [changeroles,report_capability],[changeroles,tool_capability]
MOV [intro,report_capability],[intro,tool_capability]
MOV [pluginname,report_capability],[pluginname,tool_capability]
MOV [reportforcapability,report_capability],[reportforcapability,tool_capability]
MOV [reportsettings,report_capability],[reportsettings,tool_capability]
MOV [roleslabel,report_capability],[roleslabel,tool_capability]
AMOS END
2011-09-17 09:32:39 +02:00
Sam Hemelryk
89eda3eeaf
MDL-29185 backup: Removed backup_log table and fixed the backup admin report
2011-09-16 15:51:23 +12:00
Petr Skoda
89631804a4
Merge branch 'w33_MDL-28554_m22_yui' of github.com:skodak/moodle
2011-08-25 11:40:07 +02:00
Petr Skoda
0958759dc2
MDL-28554 workaround for http://yuilibrary.com/projects/yui3/ticket/2530999
...
Do not load io-xdr and io-upload-iframe on the same page.
2011-08-25 11:38:34 +02:00
Petr Skoda
18bd7573d6
MDL-26796 convert array parameter cleaning to new functions
2011-08-18 08:40:33 +02:00
Dan Poltawski
fe50898ebc
MDL-23580 course overview - remove debugging junk
2011-07-05 18:46:08 +01: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