Dan Poltawski
0bedc806f9
Merge branch 'MDL-38999' of git://github.com/stronk7/moodle
2013-04-10 10:35:40 +08:00
Eloy Lafuente (stronk7)
696facb159
Merge branch 'MDL-38952_master' of git://github.com/dmonllao/moodle
2013-04-09 23:30:30 +02:00
Dan Poltawski
5331215459
Merge branch 'MDL-39005' of git://github.com/stronk7/moodle
2013-04-09 13:49:09 +08:00
Eloy Lafuente (stronk7)
de0fc867ad
Merge branch 'w14_MDL-34222_m25_simplepie131' of git://github.com/skodak/moodle
2013-04-09 01:24:08 +02:00
Eloy Lafuente (stronk7)
5a0443cc14
Merge branch 'MDL-39023-parentlang' of git://github.com/mudrd8mz/moodle
2013-04-08 16:57:38 +02:00
Eloy Lafuente (stronk7)
d506f422c9
MDL-38999 timezones: add some TZ/stamps know to be problematic to tests.
2013-04-08 16:09:41 +02:00
David Mudrák
b7acd9be50
MDL-39023 Make get_language_dependencies() aware of circular dependency risk
...
The patch reimplements the core_string_manager::get_language_dependencies()
so that potentially mis-configured language packs with circular
dependencies or self dependency do not make the site unavailable.
Unit tests for the expected behaviour are added.
2013-04-08 14:31:27 +02:00
David Monllao
e6d18d9d00
MDL-38952 behat: Adding no-JS compatibility
...
This step is widely used by JS scenarios,
with Javascript disabled this step fails tests
as tree nodes al already expanded; we can
reuse JS scenarios for no-JS tests skiping
this step in no-JS mode.
2013-04-08 12:24:23 +08:00
David Monllao
f9d3667e7b
MDL-38179 behat: Step definition to click on a table row element
2013-04-08 10:07:21 +08:00
Eloy Lafuente (stronk7)
6b7df0b5d1
MDL-39005 unittest: add the upgradelib test template.
2013-04-07 17:47:16 +02:00
Petr Škoda
d958e6bd70
MDL-34222 import simplepie 1.3.1
2013-04-07 15:35:27 +02:00
Eloy Lafuente (stronk7)
577173a51f
Merge branch 'MDL-38897-master' of git://github.com/danpoltawski/moodle
2013-04-05 03:21:52 +02:00
Dan Poltawski
b7d20148a1
MDL-38897 formslib: add unit tests for setType debugging
2013-04-04 14:59:21 +08:00
David Monllao
b82e0c17fb
MDL-38691 behat: Fixing behat tests
2013-04-04 13:52:24 +08:00
Eloy Lafuente (stronk7)
6b117438b9
Merge branch 'MDL-38482_master' of git://github.com/dmonllao/moodle
2013-04-03 16:48:42 +02:00
Eloy Lafuente (stronk7)
57902e2738
Merge branch 'MDL-38619_master' of git://github.com/dmonllao/moodle
2013-04-03 13:33:16 +02:00
David Monllao
d2eca4cd0f
MDL-38482 behat: Data generator for system assigns
...
Chaning also the adapt_ prefix for non-direct
data generator uses to process_ because not all
of behat's data generators would have a lib/testing
data generator to share with phpunit tests.
2013-04-03 10:09:18 +08:00
David Monllao
a8a4849518
MDL-38482 behat: Allow frontpage course role assigns
...
There are no enrolment plugins at frontpage
course level.
2013-04-03 09:43:10 +08:00
Damyon Wiese
594d66c27e
MDL-38840 Statslib - Fix failing unit tests on ci server (DST change)
2013-04-02 16:47:04 +02:00
Dan Poltawski
15c2b2c43a
Merge branch 'MDL-26956' of git://github.com/timhunt/moodle
2013-04-02 19:49:02 +08:00
Eloy Lafuente (stronk7)
a5efbe6161
Merge branch 'MDL-38814_master' of git://github.com/dmonllao/moodle
2013-04-02 03:30:30 +02:00
Eloy Lafuente (stronk7)
51cae58998
Merge branch 'MDL-38689_master' of git://github.com/dmonllao/moodle
2013-04-02 02:41:44 +02:00
Eloy Lafuente (stronk7)
3e27548431
Merge branch 'MDL-38620_master' of git://github.com/dmonllao/moodle
2013-04-02 02:26:54 +02:00
Eloy Lafuente (stronk7)
62eb5c466e
MDL-38547 behat: coding style fixes.
2013-04-01 22:40:50 +02:00
Eloy Lafuente (stronk7)
54e48dc32d
Merge branch 'MDL-38547_master' of git://github.com/dmonllao/moodle
2013-04-01 22:32:06 +02:00
Eloy Lafuente (stronk7)
0251a62500
Merge branch 'MDL-38486_master' of git://github.com/dmonllao/moodle
2013-04-01 22:17:12 +02:00
Eloy Lafuente (stronk7)
68adfee6d4
Merge branch 'MDL-38788_master' of git://github.com/dmonllao/moodle
2013-04-01 13:17:20 +02:00
David Monllao
5bc64b0fab
MDL-38814 behat: Deleting old files
2013-04-01 12:22:43 +08:00
David Monllao
cd7ea8f0cc
MDL-38788 behat: Generic form elements interaction compatibile with JS disabled
2013-04-01 11:18:33 +08:00
sam marshall
b2ec866fc7
MDL-26956 (1) Library: Move search SQL function to datalib
...
This function used to be in the user selector, but it is useful in
other areas where we want to search for users as it handles a number
of search options (including extra fields, etc.) and returns SQL
which can be included in a joined query.
A unit test has been added to check the results of these searches.
2013-03-28 10:45:12 +00:00
David Monllao
60054942ec
MDL-38689 behat: Steps definitions to compare DOM nodes position inside the DOM
2013-03-28 14:41:41 +08:00
David Monllao
e62f1b3b63
MDL-38620 behat: Modified upload_users.csv fixture
...
Including course and group enrolments
2013-03-28 11:19:09 +08:00
David Monllao
ba097b8253
MDL-38619 behat: New test
...
According to MDLQA-1445, an administrator
can upload users to a cohort.
2013-03-28 11:17:33 +08:00
David Monllao
23349a73ae
MDL-38619 testing: Adapter to cohorts data generator
2013-03-28 11:17:14 +08:00
David Monllao
18c84063e3
MDL-38486 behat: Course's topics highlighting steps definitions
2013-03-27 15:46:03 +08:00
Damyon Wiese
604a8ed4e5
Merge branch 'wip-MDL-38147-master' of git://github.com/marinaglancy/moodle
2013-03-27 14:11:27 +08:00
Marina Glancy
5e71c37ea9
MDL-38147 added comments for SQL-based course search that might not work on some DB
2013-03-27 17:05:51 +11:00
Eloy Lafuente (stronk7)
f35f07e9f7
MDL-38719 forms: add some missing types.
...
This just adds some missing types to different places
causing phpunit tests to fail.
2013-03-26 12:13:40 +01:00
Marina Glancy
93c544bdb0
MDL-38147 Added functions coursecat::search_courses(), get_courses()
...
Also search_courses_count(), get_courses_count();
Added unittests
2013-03-25 13:23:38 +11:00
Marina Glancy
eabbfa82d3
MDL-38147 Improvements to caching of course categories, coursecat::get_children() improvements
...
- Course categories caches are purged by event now
- session cache has additional 10 minutes ttl to clear itself and accomodate for permission changes that do not trigger event purging
- additional request-level cache for coursecat::get()
- We store only children of one category in one cache key
- Function coursecat::get_children() can return results sorted and/or paginated. Added tests
2013-03-25 13:23:15 +11:00
Marina Glancy
15d50fffd8
MDL-38147 Performance improvements to coursecat class:
...
- Retrieve and cache only often-used fields of course category
- Removed function coursecat::get_all_visible() as potentially causing performance issues
- removed function coursecat::get_all_parents() as ineffective and unnecessary, replaced with get_parents()
- retrieve all fields from course_categories when unretrieved field is accessed
Also some code improvements:
- rename functions starting with _ , rename arguments, etc.
2013-03-25 13:23:14 +11:00
Marina Glancy
b28bb7e8c7
MDL-38147 Added coursecatlib_test.php, changed other tests to use coursecat::create() for creating category
2013-03-25 13:20:39 +11:00
Damyon Wiese
c2eb74df47
Merge branch 'MDL-34401-muc-pluginlib' of git://github.com/mudrd8mz/moodle
...
Conflicts:
lib/db/caches.php
version.php
2013-03-20 14:08:55 +08:00
Eloy Lafuente (stronk7)
eb8a3eeaac
Merge branch 'MDL-38410_master' of git://github.com/dmonllao/moodle
2013-03-19 23:20:31 +01:00
Eloy Lafuente (stronk7)
58b9cd031f
Merge branch 'MDL-38497-admintree-beforesibling' of git://github.com/mudrd8mz/moodle
...
Conflicts:
lib/upgrade.txt
2013-03-19 17:16:32 +01:00
David Monllao
5cde7298e3
MDL-38410 behat: Adding new form fields
2013-03-19 16:42:59 +08:00
David Monllao
fb624374bc
MDL-38410 behat: Step to select from radio inputs
2013-03-19 16:42:59 +08:00
David Monllao
ca4f33a79e
MDL-38547 behat: New generic steps definitions
...
For advanced users as specified in the step
description, they can be used to match any locator
using any selector type
2013-03-19 16:29:29 +08:00
Damyon Wiese
dcc5f0fe1e
Merge branch 'MDL-38049-master' of git://github.com/FMCorz/moodle
2013-03-19 11:52:51 +08:00
David Mudrák
77043fd6f6
MDL-38497 Add unit tests for the admin tree behaviour
2013-03-15 00:53:14 +01:00