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
Frederic Massart
0b8bb3fe5f
MDL-38049 form: Collapsed sections are hidden on page load
2013-03-13 10:28:37 +08:00
Eloy Lafuente (stronk7)
613eebfc6a
MDL-38212 fix related unit tests.
...
For statslib tests was enough to require cronlib.php as
far as all the tests there are using ob-capture / output
expectations, so the new function does not bork anything.
For pluginlib tests finally the use was deleted because
it's a part of cron not interesting (should be always "cheap")
and to keep it there we should be adding a bunch of output
expectations under some cases, for practically nothing.
2013-03-12 19:35:16 +01:00
Damyon Wiese
61cd50618a
Merge branch 'MDL-38184_master' of git://github.com/dmonllao/moodle
2013-03-12 16:35:19 +08: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 Monllao
e88d47b4a2
MDL-38352 behat: Removing extra double quotes escape
2013-03-11 12:52:12 +08:00
David Monllao
4f07b654e1
MDL-38184 repository_upload: Adding tests
2013-03-11 06:56:02 +08:00
David Monllao
3db1aec528
MDL-38184 behat: Filepicker management steps
...
Includes create/open/delete/zip/unzip
of files and folders
2013-03-08 11:57:15 +08:00
David Monllao
a4534dceef
MDL-38184 behat: Fields management externalized
...
Not only behat_forms needs to deal
with form fields
2013-03-08 09:42:28 +08:00
Eloy Lafuente (stronk7)
88906d068d
Merge branch 'MDL-37958_master' of git://github.com/dmonllao/moodle
2013-03-05 19:28:14 +01:00
Damyon Wiese
d0eac6f639
Merge branch 'MDL-38178_master' of git://github.com/dmonllao/moodle
2013-03-05 15:10:52 +08:00
Aparup Banerjee
c0da001c49
Merge branch 'MDL-38025_master' of git://github.com/dmonllao/moodle
2013-03-05 14:43:46 +08:00
David Monllao
f8f1bdc315
MDL-38178 behat: Adding find_all and step to expand all form's fieldsets
2013-03-05 14:41:52 +08:00
David Monllao
15c7fb4adb
MDL-37958 behat: Ignoring spaces when comparing field contents
2013-03-05 11:08:04 +08:00
Eloy Lafuente (stronk7)
25ba263d60
Merge branch 'MDL-38133-master' of git://github.com/sammarshallou/moodle
2013-03-04 20:37:57 +01:00
Eloy Lafuente (stronk7)
d5834b3712
Merge branch 'MDL-38170-master' of git://github.com/sammarshallou/moodle
2013-03-04 16:25:00 +01:00
Mark Nielsen
8d220cb552
MDL-36901: Remove system paths from exceptions
...
Replaces any server paths, like dataroot, with a token
in exception messages and debug info.
2013-03-04 00:17:01 +01:00
sam marshall
85cb4b65b1
MDL-38170 SimplePie: Cannot read https feeds through proxy
2013-03-01 10:36:51 +00:00
David Monllao
072f67fcac
MDL-38026 behat: Base to write steps to work with specific DOM parts
2013-03-01 16:40:22 +08:00
David Monllao
46ac40cd0b
MDL-38025 behat: Compliant with moodlechecker and codechecker
2013-03-01 16:07:04 +08:00
David Monllao
4092397794
MDL-38025 behat: Adding generic manipulation methods
...
Also required modifications in the affected
steps definitions
2013-03-01 16:06:15 +08:00
David Monllao
e6ac2ab7c2
MDL-37958 behat: Solving problem when expanding root level nodes
2013-03-01 09:52:10 +08:00
David Monllao
92c79fcc00
MDL-37958 behat: Defintions for permissions management
2013-03-01 09:52:10 +08:00
David Monllao
49d9112909
MDL-37958 behat: Using behat_form_field base class to interact with all form elements
2013-03-01 09:52:10 +08:00
Damyon Wiese
b672408a1a
Merge branch 'MDL-37792-master' of git://github.com/sammarshallou/moodle
2013-02-26 10:45:21 +08:00
sam marshall
6fea7a5f02
MDL-37792 Conditions: Interests condition offered but not implemented
2013-02-25 13:19:56 +00:00
sam marshall
4c4e587648
MDL-38133 html_writer: add shortcuts for very frequent tags
2013-02-25 12:41:24 +00:00
Marina Glancy
592f476b02
MDL-38145 conditionlib_test calls API functions to create course and category
2013-02-23 12:06:47 +11:00
David Monllao
b08b0a2875
MDL-37858 behat: Arguments transformations
...
To remove the escape characters and to
replace var names for nasty strings
2013-02-15 13:38:14 +08:00