4564 Commits

Author SHA1 Message Date
Marina Glancy
cfda8732b7 MDL-37028 fixed statement to clear course cache 2013-09-11 14:57:59 +10:00
Damyon Wiese
749ce98e63 MDL-37028 Integrity check for course modules and sections
This commit reinstates:
commit 0bac49dc1983824e4861086ed1ab9e13af99d76d
Author: Marina Glancy <marina@moodle.com>
Date:   Tue Sep 3 17:14:13 2013 +1000

    MDL-37028 Integrity check for course modules and sections

    If section mentioned in 'orphaned' module does not exist module is added to the first available section. Also corrected whitespaces

commit 1f0a9ce48b3e6f8c5dc6628aa692323909925032
Author: Marina Glancy <marina@moodle.com>
Date:   Mon Aug 12 14:06:48 2013 +1000

    MDL-37028 Integrity check for course modules and sections

    created function, unittest, build-in quick integrity check on each call to rebuild_course_cache()
    also added CLI script
2013-09-11 10:47:49 +08:00
Sam Hemelryk
f605403fe2 Merge branch 'MDL-41555_master' of git://github.com/dmonllao/moodle 2013-09-11 08:51:02 +12:00
Sam Hemelryk
c4f5f0ee59 Merge branch 'MDL-40471_master' of https://github.com/totara/openbadges 2013-09-11 08:42:37 +12:00
Damyon Wiese
eceecb72f3 Revert "MDL-37028 Integrity check for course modules and sections"
This is failing unit tests.

This reverts commit 0bac49dc1983824e4861086ed1ab9e13af99d76d.
This reverts commit 1f0a9ce48b3e6f8c5dc6628aa692323909925032.
2013-09-10 14:34:07 +08:00
Damyon Wiese
4fae13bb5e Merge branch 'wip-MDL-37028-master' of git://github.com/marinaglancy/moodle 2013-09-10 12:51:33 +08:00
Marina Glancy
4a3fb71c4f MDL-41436 Removing references to fields course.modinfo, sectioncache
Also add the field cacherev to the lists of default fields in course retrieval functions
2013-09-10 14:11:51 +10:00
Sam Hemelryk
0b7a2b7bec Merge branch 'MDL-41460-master' of https://github.com/FMCorz/moodle 2013-09-09 08:58:44 +12:00
Frederic Massart
3274c5db89 MDL-41460 core_component: Validate cache against version.php 2013-09-05 14:45:09 +08:00
David Monllao
3b7d3fb8d7 MDL-41555 tool_behat: Improving behat & selenium exceptions messages
Also moving the 'selenium not running'
checking to a proper place as it was
not thrown since the homepage start
visit() was introduced.
2013-09-05 10:12:57 +08:00
Yuliya Bozhko
a72c2cd681 MDL-40471 badges: Fixes around badge capabilities and navigation 2013-09-04 11:03:35 +12:00
Eloy Lafuente (stronk7)
58c80b03a8 Merge branch 'MDL-40566_master' of git://github.com/dmonllao/moodle 2013-09-03 20:38:53 +02:00
Eloy Lafuente (stronk7)
f82a082ae2 Merge branch 'MDL-41568-en_fix' of git://github.com/mudrd8mz/moodle 2013-09-03 15:12:19 +02:00
Helen Foster
86698a4c72 MDL-41568 Merge English strings from the en_fix language pack 2013-09-03 12:31:35 +02:00
Damyon Wiese
ca83aa0b99 Merge branch 'MDL-37564' of https://github.com/nebgor/moodle 2013-09-03 14:49:42 +08:00
Damyon Wiese
060615d347 Merge branch 'm26_MDL-29218_plugin_init_not_blocking_when_false' of https://github.com/scara/moodle 2013-09-03 14:25:43 +08:00
David Monllao
fcc0b5b920 MDL-40566 behat: Update features using the new options 2013-09-03 10:31:57 +08:00
David Monllao
17344d4c8f MDL-40566 behat: Moving from behat_command to behat_selectors 2013-09-03 10:28:42 +08:00
Damyon Wiese
8a1b820bc5 Merge branch 'w36_MDL-20045_m26_customlevels' of https://github.com/skodak/moodle 2013-09-03 09:35:16 +08:00
Matteo Scaramuccia
9b64ec4dae MDL-29218 Repository: Hide the repo if repository::plugin_init returns false 2013-09-02 23:09:20 +02:00
Dan Poltawski
53d9e41bb9 Merge branch 'MDL-41402_master-fix-langstr' of git://github.com/dmonllao/moodle 2013-09-02 17:22:14 +08:00
David Monllao
1a780189c6 MDL-41402 tool_generator: Changing plugin name according to the new feature 2013-09-02 17:04:04 +08:00
Dan Poltawski
b0b85f70d8 MDL-41402 tool_generator: increment version 2013-09-02 16:32:58 +08:00
Dan Poltawski
013b0e9b79 MDL-41402 tool_generator: fix whitespace 2013-09-02 16:28:27 +08:00
Dan Poltawski
f1b10b36ea Merge branch 'MDL-41402_master' of git://github.com/dmonllao/moodle 2013-09-02 16:27:46 +08:00
David Monllao
338bf2e07b MDL-41402 tool_generator: Adding maketestsite script
Uses maketestcourse.php to set up
a test site.
2013-09-02 16:25:35 +08:00
David Monllao
8cac8d3e95 MDL-41402 tool_generator: Refactoring backend class
Moving it to course_backend keeping generic
methods and attributes in backend class.

AMOS BEGIN
 MOV [size_0,tool_generator],[coursesize_0,tool_generator]
 MOV [size_1,tool_generator],[coursesize_1,tool_generator]
 MOV [size_2,tool_generator],[coursesize_2,tool_generator]
 MOV [size_3,tool_generator],[coursesize_3,tool_generator]
 MOV [size_4,tool_generator],[coursesize_4,tool_generator]
 MOV [size_5,tool_generator],[coursesize_5,tool_generator]
AMOS END
2013-09-02 16:25:33 +08:00
Dan Poltawski
4abcb5c5e2 Merge branch 'MDL-41399_master-remove_test' of git://github.com/dmonllao/moodle 2013-09-02 16:21:48 +08:00
Rajesh Taneja
bb78e249cd MDL-39961 Events: Replace Legacy events - User
This change includes:
* Added user_updated event, replacing old event
* Added user_created event, replacing old event
* Added user_deleted event, replacing old event
* Added user_loggedout event, replacing old event
* Added user_enrolment_created event, replacing old event
* Added user_enrolment_deleted event, replacing old event
* Added user_enrolment_updated event, replacing old event
2013-09-02 16:10:05 +08:00
David Monllao
e25be3b1dc MDL-41399 tool_generator: Removing unit test
Removing dodgy database reset in the
middle of a test as sequences reset
is not allowed.
2013-09-02 15:55:18 +08:00
Petr Škoda
0aa535bf1d MDL-20045 add support for custom context levels 2013-08-31 11:47:44 +02:00
David Monllao
d9ff6296b7 MDL-41399 tool_generator: Unit test for fixeddataset 2013-08-30 18:55:07 +08:00
David Monllao
219cae03db MDL-41399 tool_generator: Adding fixeddataset option 2013-08-30 18:55:07 +08:00
Marina Glancy
1f0a9ce48b MDL-37028 Integrity check for course modules and sections
created function, unittest, build-in quick integrity check on each call to rebuild_course_cache()
also added CLI script
2013-08-30 16:41:13 +10:00
Petr Škoda
2612e75e2b MDL-41245 fix redirect and missing string when cannot automatically delete uninstalled plugin 2013-08-28 08:00:19 +02:00
Petr Škoda
a3cbc19830 MDL-41245 prevent notices during plugin uninstall 2013-08-26 07:53:55 +02:00
Petr Škoda
835f58eb7e MDL-41245 fix new addon redirect regression 2013-08-26 07:31:40 +02:00
Petr Škoda
82b1cf00b0 MDL-41245 fix multiple install, upgrade and uninstallation issues
Includes rework of cache parameter detection on admin/index.php.

Another problem is that uninstall does not leave system in consistent state,
we need to force users to go through upgrade after any type of uninstall.

This fixes also add-on installation redirect and other issues.
2013-08-24 16:08:11 +02:00
Damyon Wiese
74df2951d1 Revert "MDL-39876 Change get_record('course') calls to get_course"
This reverts commit ab7632b74c331540c90229bf03d13aa2e6bdd9be.
2013-08-21 13:42:30 +08:00
Marina Glancy
ac6fb0ad17 Merge branch 'MDL-32324' of git://github.com/timhunt/moodle 2013-08-21 10:28:47 +10:00
Sam Hemelryk
6eee89bc8f Merge branch 'MDL-39876-master' of git://github.com/sammarshallou/moodle
Conflicts:
	course/lib.php
2013-08-21 12:08:46 +12:00
Sam Hemelryk
cc76e82d58 Merge branch 'MDL-41210-master' of git://github.com/FMCorz/moodle 2013-08-21 10:21:04 +12:00
Sam Hemelryk
0eb65affd2 Merge branch 'MDL-41209-master' of git://github.com/FMCorz/moodle 2013-08-21 10:09:08 +12:00
Dan Poltawski
6bbcf832c4 Merge branch 'MDL-41211-master' of git://github.com/FMCorz/moodle 2013-08-20 16:44:09 +08:00
Dan Poltawski
faa2e68bb5 MDL-38197 tool_generator: fix use of raw LIKE sql 2013-08-20 14:55:14 +08:00
Dan Poltawski
1dae651584 Merge branch 'MDL-38197-master' of git://github.com/sammarshallou/moodle 2013-08-20 14:55:07 +08:00
Dan Poltawski
6f44a73369 Merge branch 'w33_MDL-39474_m26_debugdeveloper' of https://github.com/skodak/moodle
Conflicts:
	lib/upgrade.txt
2013-08-20 11:42:03 +08:00
sam marshall
bc4054f9dd MDL-38197 Script to generate standard-size large course for testing 2013-08-16 12:09:55 +01:00
Tim Hunt
aed2918c14 MDL-32324 qtypes and qbehaviours should use uninstall_plugin. 2013-08-15 11:58:41 +01:00
sam marshall
ab7632b74c MDL-39876 Change get_record('course') calls to get_course 2013-08-15 11:31:20 +01:00