Commit graph

59950 commits

Author SHA1 Message Date
Rajesh Taneja
9a51c3d95c MDL-36395: Converted hard-coded MAX_USER_PER_PAGE to config setting
course, cohort, enrol, role, groups and forum used to use hard-coded
MAX_USERS_PER_PAGE=100 for rendering user list. This has been converted
to $CFG->maxusersperpage.
2013-03-12 17:14:53 +08:00
Ankit Agarwal
50c02a3556 MDL-36872 reports: Fixing incorrect sorting of recent activites by timestamp 2013-03-12 17:04:53 +08:00
Aparup Banerjee
02dcf9b501 Merge branch 'wip-MDL-35875-master' of git://github.com/phalacee/moodle 2013-03-12 16:53:45 +08:00
Damyon Wiese
61cd50618a Merge branch 'MDL-38184_master' of git://github.com/dmonllao/moodle 2013-03-12 16:35:19 +08:00
Frederic Massart
41068d989b MDL-38340 form: Last fieldset is collapsed by default 2013-03-12 16:19:17 +08:00
Frederic Massart
f160f97c12 MDL-38435 form: Sections can be expanded by default 2013-03-12 16:18:07 +08:00
Damyon Wiese
3de89ef8ea Merge branch 'MDL-38346_master-fix' of git://github.com/dmonllao/moodle 2013-03-12 16:11:38 +08:00
Damyon Wiese
43c791653b Merge branch 'MDL-34011' of git://github.com/rwijaya/moodle 2013-03-12 16:03:53 +08:00
Aparup Banerjee
ca5cb4ccac Merge branch 'MDL-35615' of git://github.com/rwijaya/moodle 2013-03-12 15:55:17 +08:00
Frederic Massart
fb69f811a8 MDL-38418 grade: Course settings sections are expanded by default 2013-03-12 15:47:10 +08:00
Frederic Massart
a4faf4f416 MDL-38416 grade: Grader report settings expands section by default 2013-03-12 15:19:44 +08:00
David Monllao
7532ea010a MDL-38346 behat: Quick fix to remove nasty strings 2013-03-12 15:17:23 +08:00
Rossiani Wijaya
43deb1a4c4 MDL-34011 Lesson module - short answer question: fixed student attempt statistics 2013-03-12 14:16:15 +08:00
Damyon Wiese
ee8640a906 MDL-34011 Lesson module: fixed incorrect display of student attempt for short answer question 2013-03-12 14:08:05 +08:00
Frederic Massart
b75f1575c6 MDL-38330 blog: Behat tests for commenting 2013-03-12 13:56:36 +08:00
Damyon Wiese
f196cfe83a Merge branch 'wip-MDL-38406-master' of git://github.com/marinaglancy/moodle 2013-03-12 13:51:40 +08:00
Aparup Banerjee
e14cc639f1 Merge branch 'MDL-38356-m' of git://github.com/andrewnicols/moodle 2013-03-12 13:37:25 +08:00
Aparup Banerjee
34bbe80617 Merge branch 'MDL-35582_message_labels' of git://github.com/andyjdavis/moodle 2013-03-12 13:26:33 +08:00
Frederic Massart
2ce5fd502f MDL-38414 course: Settings form displays all role renaming fields 2013-03-12 13:04:02 +08:00
Rajesh Taneja
4f49e74fae MDL-38431 comment: profile url should be escaped, as it's used in html 2013-03-12 12:27:02 +08:00
Aparup Banerjee
e0567bc2a3 MDL-36990 mod_feedback : minor whitespace clean up 2013-03-12 12:25:38 +08:00
Aparup Banerjee
7b37b805d6 Merge branch 'MDL-36990_master-neu' of git://github.com/grabs/moodle 2013-03-12 12:22:28 +08:00
Ankit Agarwal
6e9d3c19e3 MDL-38370 scorm: Fixing strict standard errors in outline report 2013-03-12 11:43:10 +08:00
Rajesh Taneja
5288af68fc MDL-38431 comment: Pass formated comment created time to JS and print_comment 2013-03-12 11:25:49 +08:00
Mary Evans
3acb97f062 MDL-37771 themes: Fixed table header color in Question Bank window block.
modified: theme/anomaly/style/general.css
modified: theme/base/style/question.css
modified: theme/magazine/style/core.css
modified: theme/serenity/style/core.css
modified: theme/splash/style/blue.css
modified: theme/splash/style/green.css
modified: theme/splash/style/orange.css
modified: theme/splash/style/pagelayout.css
modified: theme/splash/style/red.css
2013-03-12 11:25:23 +08:00
Aparup Banerjee
58437b4cd3 Merge branch 'wip-mdl-35716' of git://github.com/rajeshtaneja/moodle 2013-03-12 10:49:18 +08:00
Ankit Agarwal
7a241d8102 MDL-30166 Remove deprecated %fullname% from core
Thanks to Matheus Kautzmann for the initial patch.
2013-03-12 10:38:09 +08:00
Rajesh Taneja
043f100556 MDL-38332 Administration: Updated update.txt and php doc for get_users_listing 2013-03-12 10:04:40 +08:00
Eloy Lafuente (stronk7)
b2ccf75484 Merge branch 'MDL-34774' of git://github.com/rwijaya/moodle 2013-03-12 00:54:53 +01:00
Eloy Lafuente (stronk7)
8aa0a1423b Merge branch 'MDL-38307_master' of git://github.com/dmonllao/moodle 2013-03-12 00:50:50 +01:00
Eloy Lafuente (stronk7)
705d41c895 Merge branch 'MDL-36900-master' of git://github.com/FMCorz/moodle 2013-03-12 00:45:59 +01:00
Eloy Lafuente (stronk7)
8ed6ee97a6 Merge branch 'MDL-38346_master' of git://github.com/dmonllao/moodle 2013-03-12 00:43:38 +01:00
Eloy Lafuente (stronk7)
e314a6436e Merge branch 'wip-mdl-38382' of git://github.com/rajeshtaneja/moodle 2013-03-12 00:38:37 +01:00
Eloy Lafuente (stronk7)
bf3a44afbe Merge branch 'MDL-38337' of git://github.com/timhunt/moodle 2013-03-12 00:25:05 +01:00
Eloy Lafuente (stronk7)
ab7cb04fb8 Merge branch 'MDL-34818_master' of git://github.com/lazydaisy/moodle 2013-03-12 00:22:18 +01:00
Eloy Lafuente (stronk7)
35049887b9 Merge branch 'wip_master_mdl-38262' of git://github.com/iarenaza/moodle 2013-03-12 00:04:04 +01:00
Davo Smith
413bca9f76 MDL-38367 course dndupload - workaround to allow 'add X here' text to be drop target in Firefox 2013-03-11 22:44:55 +00:00
Davo Smith
66079e28fd MDL-38367 course dndupload - various tweaks to the UI
Switched to Moodle-style dialog boxes (thanks Andrew for the pointer)
Enter button now submits the form (from within the 'name' field)
Upload button is disabled when the name is empty (if the name is required for the selected handler)
Dialog now has 'What do you want to do with this text?' and 'Name' for the text
Entire course section now has a class added when you drag over it (to enable it to be styled in the future)
2013-03-11 22:44:55 +00:00
David Mudrák
0063302436 MDL-34401 Add language strings for the new cache definitions 2013-03-11 12:51:30 +01:00
David Mudrák
9d6eb027b4 MDL-34401 Cache the contents of version.php files
This saves many inclusions of version.php files.
2013-03-11 12:51:30 +01:00
David Mudrák
ad3ed98b05 MDL-34401 Replace ad-hoc plugin request caches with proper application caches
Data cached in these caches change only at well defined places (during
need for upgrade checks, at the plugin management screen etc). So it
makes sense to use proper application caches instead of request caches.

This saves couple of database queries at almost every page in Moodle.
2013-03-11 12:48:53 +01:00
David Mudrák
b8a6f26ee3 MDL-34401 Replace static variables in pluginlib with ad-hoc request caches
Where the static variable was not really needed (as in case of arrays
defined by the hard-coded list of items), non-static variable is used as
I believe that there is no real performance gain.
2013-03-11 12:48:07 +01:00
David Mudrák
07622d7dfa MDL-34401 Add caching into get_plugin_types() function
This is a simple MUC replacement for the previous static arrays.
2013-03-11 12:46:15 +01:00
David Mudrák
dbaaeb935d MDL-34401 Add caching into get_plugin_list() function
This is quite frequently called function at most pages. The cache needs to be
invalidated only when a new plugin is installed or existing plugin uninstalled.
However, given how moodle_needs_upgrading() checks for new plugins, we need to
purge the cache there. Which is a shame because this means that the cache gets
purged in each cron call and when the admin looks at the front page and/or
system notifications page.
2013-03-11 12:45:27 +01:00
Damyon Wiese
95045941e6 Merge branch 'MDL-38389-m' of git://github.com/andrewnicols/moodle 2013-03-11 16:19:53 +08:00
Aparup Banerjee
f19de35c1f Merge branch 'wip-MDL-31342_master' of git://github.com/gjb2048/moodle 2013-03-11 15:41:03 +08:00
Rajesh Taneja
5c9e8898c0 MDL-35716: Added performance to core plugin list 2013-03-11 14:30:02 +08:00
Rajesh Taneja
87f9a3b15e MDL-35716 report_performance: Performance report for moodle site
This will report config setting which can affect moodle performance.
Few of them are added in this patch:
1. Theme designer mode
2. Cache Javascript
3. Debug message set to developer
4. Backup - Active
5. Stats enabled.
2013-03-11 14:30:01 +08:00
Damyon Wiese
fcdb8cec4e Merge branch 'wip-MDL-34713-master' of git://github.com/phalacee/moodle 2013-03-11 13:43:56 +08:00
Damyon Wiese
e18c12c190 Merge branch 'MDL-33424' of git://github.com/jmvedrine/moodle 2013-03-11 13:30:45 +08:00