Commit graph

62617 commits

Author SHA1 Message Date
Sam Hemelryk
4a749e93b4 MDL-40555 cache: implemented unit tests for default search functionality 2013-07-16 08:29:17 +08:00
Eloy Lafuente (stronk7)
e780e5cb8f Merge branch 'MDL-40112_master' of https://github.com/totara/openbadges
Conflicts:
	lib/db/upgrade.php
	version.php
2013-07-16 01:29:01 +02:00
Eloy Lafuente (stronk7)
adbdb9b5c7 Merge branch 'w29_MDL-40571_m26_adminblocks' of https://github.com/skodak/moodle 2013-07-16 00:26:44 +02:00
Eloy Lafuente (stronk7)
88e4c0848a Merge branch 'MDL-40412' of git://github.com/merrill-oakland/moodle 2013-07-15 22:07:47 +02:00
Eloy Lafuente (stronk7)
37aa0545a1 Merge branch 'wip-MDL-38747-master' of https://github.com/satrun77/moodle 2013-07-15 17:02:01 +02:00
Damyon Wiese
7ce7bb538c Revert "MDL-35131 Caching: Purge all will clear course modinfo cache - Thanks to Thomas for patch"
This reverts commit 6ab62db65c.

This is breaking upgrades from 22 - purgeallcaches gets called during upgrade but
rebuild_course_caches is not a safe api to use in this case.
2013-07-15 21:24:07 +08:00
Marina Glancy
9af02a3b36 MDL-40121 Added format_singleactivity in standard package 2013-07-15 21:42:04 +10:00
Marina Glancy
6619945b06 MDL-40121 Support old activities with subtypes 2013-07-15 21:42:04 +10:00
Marina Glancy
28c61e0aa2 MDL-40121 Added plugin format_singleactivity 2013-07-15 21:41:31 +10:00
Barbara Ramiro
dc97596615 MDL-40670 Theme: Rescale headings overriding bootstrap defaults 2013-07-15 18:47:38 +08:00
Dan Poltawski
f6ef724650 MDL-30740 skydrive: improve repo metadata
* Add manage link
* Use realthumbnail for lazy loading images
* Add image height/width info
* Add author information to files
2013-07-15 18:08:18 +08:00
Dan Poltawski
c893448b17 MDL-30740 skydrive: convert muc to defined cache 2013-07-15 18:08:17 +08:00
Dan Poltawski
562525dcc9 MDL-30740 Add repository_skydrive to standard plugins 2013-07-15 17:57:43 +08:00
Dan Poltawski
1757cc9d15 MDL-30740 skydrive: bump version for core inclusion
Remove release name and maturity as these will now be inhereted from
core.
2013-07-15 17:57:43 +08:00
Dan Poltawski
d4fd856b91 MDL-30740 skydrive: Add filepicker navigation bar
In order not to get lost in the Sky.

We use a session cache to reduce repeated calls to the skydrive API,
storing the folder name each time we get a listing.

Original concept from Ruslan Kabalin, thanks!
2013-07-15 17:57:42 +08:00
Ruslan Kabalin
1bb2f42130 MDL-30740 skydrive: show albums as essentially they are "folders"
If you create a folder in SkyDrive and add image to it, it will be calssified
as album and, this will not be listed without this patch.
2013-07-15 17:57:42 +08:00
Dan Poltawski
7446284108 MDL-30740 repository: Add Microsoft Skydrive plugin
Thanks to Universidad Teconológica de Chile (INACAP) who funded this
work initially and LUNS who permitted this to be released open source so
I could continue to work on this.
2013-07-15 17:57:42 +08:00
Adrian Greeve
7809d1557c MDL-40638 - Administration: Update of version number to avoid alternate name fields breaking before upgrade.
With the alteration of the user table to include the new alternate name fields anyone
upgrading from one version to another will receive errors until they run the upgrade.
Forcing a redirect if major version upgrade will bypass this issue.
2013-07-15 15:49:26 +08:00
Marina Glancy
73221dbdfe Merge branch 'MDL-28466-oldata-remove' of git://github.com/danpoltawski/moodle 2013-07-15 17:28:59 +10:00
Damyon Wiese
44b3927b70 MDL-39563: Change to use $CFG consistently 2013-07-15 15:01:39 +08:00
Damyon Wiese
4d4b938fa3 Merge branch 'MDL-39563' of git://github.com/jleyva/moodle 2013-07-15 14:54:20 +08:00
Dan Poltawski
c2ca2d8e91 MDL-28466 remove the enrol_authorize data
If there are no records, remove the plugin
2013-07-15 14:48:23 +08:00
Russell Smith
42574d0900 MDL-40584 backup: Query db once per category in precheck
The cache is function local and testing against a large database
indicates 10k questions is a large category.  Restore already
uses MEMORY_EXTRA and that will have enough space for the couple
of megabtyes a local sql hash will introduce.
2013-07-15 16:44:45 +10:00
Damyon Wiese
d7bf5fd1f7 Merge branch 'MDL-40440-m' of git://github.com/andrewnicols/moodle 2013-07-15 14:42:10 +08:00
Russell Smith
f27cb59c36 MDL-40585 backup: cache XML parent paths
For $this->groupedpaths, using a key is faster as there is
no need to do in_array searches.

Parent cache allows dirname calls to be substantially reduced.
2048 was chosen as a cache size as this class operates on chunks
of the restore at a time, 8k questions produces a parent cache of
about 500 paths and uses 300K of memory.  Scaling up to 2048 will
use about 1.2M of RAM for really large restores.  This is acceptable
for the 48% function call reduction and the 10% runtime improvement
seen.
2013-07-15 15:07:35 +10:00
Marina Glancy
5710055d41 Merge branch 'MDL-40633' of git://github.com/timhunt/moodle 2013-07-15 14:41:55 +10:00
Damyon Wiese
fff9752d2a Merge branch 'wip-mdl-35131' of git://github.com/rajeshtaneja/moodle 2013-07-15 11:54:24 +08:00
Andrew Davis
5f06bf8554 MDL-39770 mod_chat: cleanup of the Bubble chat theme 2013-07-15 11:50:16 +08:00
Frederic Massart
c122e7845d MDL-13114 tool_uploadcourse: Adding to standard plugins 2013-07-15 11:45:34 +08:00
Damyon Wiese
c49fea3be5 Merge branch 'w29_MDL-40435_m26_componentpermissions' of https://github.com/skodak/moodle 2013-07-15 11:25:37 +08:00
Marina Glancy
3fd0ea3c1e Merge branch 'MDL-28466-master' of git://github.com/danpoltawski/moodle 2013-07-15 13:07:37 +10:00
Damyon Wiese
527b24b104 Merge branch 'w29_MDL-40475_m26_componentcache' of https://github.com/skodak/moodle 2013-07-15 10:58:03 +08:00
Andrew Davis
9035e3d24b MDL-39770 mod_chat: some tweaks to make it prettier to reduce screen wastage 2013-07-15 10:48:39 +08:00
Marina Glancy
918cc26541 Merge branch 'wip-MDL-39062-m26' of git://github.com/samhemelryk/moodle 2013-07-15 12:40:46 +10:00
Marina Glancy
78eca0fc3c Merge branch 'wip-MDL-40650-master' of git://github.com/abgreeve/moodle 2013-07-15 12:25:23 +10:00
Dan Poltawski
fdb0dfe7c0 MDL-28466 pluginlib: Add enrol_authorize as standard deleted plugin
This means we won't bother our users about it in the plugin list

thanks Marina for picking it up!
2013-07-15 10:25:22 +08:00
Dan Poltawski
317638a3d6 MDL-28466 remove enrol_authorize from standard list of plugins 2013-07-15 10:25:22 +08:00
Dan Poltawski
c06a812ed6 MDL-28466 Remove enrol_authorize - this code is dead
It does not work and its not maintained.
2013-07-15 10:25:13 +08:00
Frederic Massart
41525e5510 MDL-13114 tool_uploadcourse: Removing use of deprecated get_plugin_list() 2013-07-15 10:02:56 +08:00
Frederic Massart
a1af15de03 MDL-13114 tool_uploadcourse: Removing summary from mandatory fields 2013-07-15 10:02:56 +08:00
Frederic Massart
22b3be3633 MDL-13114 tool_uploadcourse: Clean up after scheck scan 2013-07-15 10:02:56 +08:00
Frederic Massart
76fca7168c MDL-13114 tool_uploadcourse: Simple Behat tests for create and update 2013-07-15 10:02:56 +08:00
Frederic Massart
f802b04f03 MDL-13114 tool_uploadcourse: Better Unit Test coverage 2013-07-15 10:02:55 +08:00
Frederic Massart
8c313d1a7f MDL-13114 tool_uploadcourse: Helper uses MUC for caching 2013-07-15 10:02:55 +08:00
Frederic Massart
3f57c87e1d MDL-13114 tool_uploadcourse: Clean up 2013-07-15 10:02:55 +08:00
Frederic Massart
7a4ec85e2a MDL-13114 tool_uploadcourse: Optimised the import form 2013-07-15 10:02:55 +08:00
Frederic Massart
1e3e4efdb2 MDL-13114 tool_uploadcourse: Web UI uses the new classes 2013-07-15 10:02:55 +08:00
Frederic Massart
e0164eb3c6 MDL-13114 tool_uploadcourse: Use autoload and clean require_once 2013-07-15 10:02:55 +08:00
Frederic Massart
b683185bab MDL-13114 tool_uploadcourse: CLI uses new classes 2013-07-15 10:02:55 +08:00
Frederic Massart
5dcd7e2867 MDL-13114 tool_uploadcourse: Output tracker in place 2013-07-15 10:02:55 +08:00