Commit graph

58852 commits

Author SHA1 Message Date
Petr Škoda
e1fa177cf9 MDL-36514 add new option to prevent only new self enrolments
Hopefully this will resolve all confusion around the enrol->status flag in this plugin.
2013-01-12 16:03:08 +01:00
Petr Škoda
a069c3f76a MDL-35899 fix cohort sorting in enrol UI 2013-01-12 16:00:29 +01:00
Petr Škoda
d9a707adc2 MDL-32387 add paypal enrolment expiration action 2013-01-12 15:59:25 +01:00
Petr Škoda
917dddaafe MDL-37187 cleanup and improve enrol_flatfile plugin 2013-01-12 15:50:00 +01:00
Petr Škoda
0b196a09a8 Merge branch 'refs/heads/w02_MDL-37286_m25_tracebuffer' into w02_MDL-37187_m25_flatfile 2013-01-12 15:49:36 +01:00
Petr Škoda
31a22c216c Merge branch 'refs/heads/w02_MDL-37184_m25_editenrol' into w02_MDL-37187_m25_flatfile 2013-01-12 15:49:30 +01:00
Petr Škoda
0aaea0d241 MDL-37184 refactor enrolment editing code to be shared by plugins
AMOS BEGIN
 MOV [editenrolment,enrol_self],[editenrolment,core_enrol]
AMOS END
2013-01-12 15:47:04 +01:00
Petr Škoda
1b20e00828 MDL-35159 fix regressions reported by Iñaki Arenaza 2013-01-12 15:42:21 +01:00
Petr Škoda
e34beca17a MDL-35159 add support for enrol_ldap restore 2013-01-12 15:31:30 +01:00
Petr Škoda
4fa7fdeada MDL-37286 improve coding style in unit tests 2013-01-12 15:28:57 +01:00
Petr Škoda
e7259ec998 MDL-37286 add new combined_progress_trace
This type of trace should be useful when multiple trace outputs requested.
2013-01-12 15:16:39 +01:00
Petr Škoda
78048e15f2 MDL-37286 add error_log progress trace 2013-01-12 15:16:38 +01:00
Petr Škoda
837e304260 MDL-37286 add progres_trace buffer and unit tests 2013-01-12 15:16:38 +01:00
Petr Škoda
01b4040a27 MDL-37429 zipping improvements
Changes:
* zip_packer can create empty zip archives
* new option to ignore problematic files when creating archive
* detection of non-existent files
* debugging messages for opening of faulty zip archives
* coding style improvements
* no PHP 5.2 hacks
* more unit tests
2013-01-12 14:58:26 +01:00
Jean-Michel Vedrine
52158a41e4 MDL-37313 Sample files with images for XML import 2013-01-11 19:54:06 +01:00
Jean-Michel Vedrine
2387d1cde5 MDL-37313 Moodle XML import format should use draft file areas, not arrays 2013-01-11 19:54:06 +01:00
Tim Hunt
016a651578 MDL-37431 question preview: cron performance problem.
This query was performing badly. The solution seems to be to add a
redundant JOIN and WHERE to the subquery.

I renamed the table aliases in the subquery to avoid name collisions
elsewhere. I am afraid that makes the diff rather unhelpful. The
    AND subq_qu.component = :qubacomponent2
line is new. The other lines have just had subq_ added.
2013-01-11 13:18:21 +00:00
Tim Hunt
816138b4f2 MDL-37378 quiz restore: timecheckstate not in old backups.
We need to avoid a notice. If the value is missing, setting it to 0 is
fine. It will get sorted out the next time cron is run.
2013-01-11 13:17:13 +00:00
Tim Hunt
8d54191d7a MDL-37374 questions: use property_exists rather than isset
$a->field = null; isset($a->field) returns false, which is typical PHP.
I also improve the error handling a bit.
2013-01-11 13:15:51 +00:00
Tim Hunt
1c2bf99eb9 MDL-37485 plugins overview: require_login before _capability. 2013-01-11 12:51:53 +00:00
Eloy Lafuente (stronk7)
ca48fe5f97 NOBUG: Bumping version to test auto-packaging 2013-01-11 13:42:08 +01:00
Andrew Robert Nicols
8743aabca0 MDL-37397 Test for a valid select in formautosubmit
Ideally we shouldn't get into this situation, but in cases where the
generated select element is incorrectly configured, we should try and
handle it gracefully with a warning.
2013-01-11 11:49:44 +00:00
Eloy Lafuente (stronk7)
2e5d013417 weekly release 2.5dev 2013-01-11 12:36:05 +01:00
Eloy Lafuente (stronk7)
b64a33bade fix permissions 2013-01-11 12:23:22 +01:00
Eloy Lafuente (stronk7)
d0942f0744 Merge branch 'install_master' of git://git.moodle.cz/moodle-install 2013-01-11 12:15:57 +01:00
Michael Aherne
d6af3d847f MDL-27164 groups Do not show multiple instances of the same role as multiple 2013-01-11 11:12:33 +00:00
Dan Marsden
7b63805531 MDL-37394 SCORM: Aicc direct url fails with new nav as it has a single sco with no children - allow these to be navigated correctly. 2013-01-11 23:45:23 +13:00
Andrew Robert Nicols
f96ec5ad96 MDL-37413 Use correct variable in chooserdialogue 2013-01-11 08:18:47 +00:00
Ashley Holman
cd2b223dc7 MDL-36616 repository: Fix direct linking to images in Flickr Public. 2013-01-11 15:32:30 +08:00
Jason Fowler
beff3a9dd5 MDL-35885 - Wiki - add a legend element to the search wikis form 2013-01-11 15:29:35 +08:00
Dan Marsden
3c44304276 MDL-36853 SCORM: get first valid sco instead of array of scos - thanks to Jamie Smith for the fix - fixes PHP warnings when returning to an existing attempt. 2013-01-11 19:47:55 +13:00
David Monllao
f16e1af28e MDL-36457 testing Relocating classes 2013-01-11 14:08:50 +08:00
Damyon Wiese
798a060b04 MDL-32341 calendar: get_file_by_hash() expects a hash 2013-01-11 11:55:55 +08:00
Sam Hemelryk
f1ac8520ae MDL-36035 course: renamed new functions and cleaned up docs 2013-01-11 15:03:49 +13:00
Brian King
e226a86d76 MDL-36035 course: reduce database queries when calling print_whole_category_list
On a Moodle with 1252 course categories, this reduces the database
reads from 1313 to 62 for course/index.php
2013-01-11 15:03:32 +13:00
Aaron Barnes
3b461a0801 MDL-37473 completion: Add missing cap checks to tracked users functions
Namely get_num_tracked_users and is_tracked_user()
2013-01-11 14:41:05 +13:00
Rajesh Taneja
96214a49ec MDL-35780 Administration: email display on user profile view page will respect user capability 2013-01-11 09:33:28 +08:00
Petr Škoda
92b00c32a7 MDL-37420 rework pg schema testing 2013-01-11 02:12:38 +01:00
David Mudrák
fe7e411e7c MDL-37467 Do not provide blog posts via RSS when blogging is disabled 2013-01-10 18:22:56 +01:00
Colin Chambers
5d5895f21a MDL-36529 Quiz: Shorten 'Settings for multiple tries' 2013-01-10 16:03:25 +00:00
Colin Chambers
086cced749 MDL-31726 Pre-fill question type combined feedback 2013-01-10 15:57:36 +00:00
Eloy Lafuente (stronk7)
72a504dc2a Merge branch 'MDL-36741_master' of git://github.com/markn86/moodle 2013-01-10 11:13:13 +01:00
Mark Nelson
941294ef43 MDL-36741 mod_forum: fixed the function forum_rss_newstuff that was using count_records_sql incorrectly as well as generating RSS content when no data exists 2013-01-10 17:59:40 +08:00
Dan Poltawski
2008facf40 MDL-37456 - lang: remove unused zip strings 2013-01-10 15:55:54 +08:00
Frederic Massart
95d1d0373b MDL-34435 reports: Log category actions 2013-01-10 15:10:22 +08:00
Rajesh Taneja
9309a8fe9a MDL-35873 Blocks: Made alt-text on block control icons more descriptive 2013-01-10 14:20:12 +08:00
Mark Nelson
faf3016f35 MDL-37247 mod_forum: removing unnecessary variable in the get_forums web service 2013-01-10 13:45:45 +08:00
Mark Nelson
0c246ae5d9 MDL-37247 mod_forum: perform conditional checks before returning forums via web service 2013-01-10 12:47:23 +08:00
Dan Poltawski
319d937602 Revert "Merge branch 'wip-MDL-31750-master' of git://github.com/abgreeve/moodle"
This reverts commit 8361f557a1,
2b9e957a27 and
fae51910bf
2013-01-10 11:17:33 +08:00
Andrew Robert Nicols
632f3effdb MDL-36600 Add missing sesskey check when previewing the message 2013-01-10 10:18:56 +08:00