Ankit Agarwal
2149326b8c
MDL-50049 deprecation: Remove usage of deprecated api and cleanup
2015-06-29 17:15:50 +05:30
Tyler Bannister
7f7144fd50
MDL-47787 course: Added question delete to cm delete.
2015-06-25 16:35:22 -04:00
Eloy Lafuente (stronk7)
9a1adda585
MDL-49497 curl: keep api private and test it using reflection.
...
While strictly we should not be testing private APIs, in order
to get this backported to stables without changing visibility
we use reflection to access to such private properties and methods.
Also added one exttest to verify user agent is properly sent.
Finally, fix some wrong whitespace and changed the helper class name
to better alternative.
2015-06-23 17:20:20 +02:00
Dave Cooper
cbb7c6a905
MDL-49497 curl: Add configurable User-Agent unit tests.
2015-06-23 15:59:59 +02:00
Dan Poltawski
20a16512ee
Merge branch 'wip-MDL-49257-master' of git://github.com/marinaglancy/moodle
2015-06-23 11:20:08 +01:00
Marina Glancy
156d048659
MDL-49257 grades: fix bugs with extra credit weights
...
When we adjust the weights in natural grading (setup screen), the extra credit items
should not depend on other overrides. If extra credit item's weight was overriden, it stays as it is.
Otherwise it is calculated as itemgrademax / totalgrademax (total excludes extra credit items)
2015-06-23 14:25:50 +08:00
David Monllao
866573e02b
Merge branch 'MDL-50491' of git://github.com/stronk7/moodle
2015-06-23 13:31:34 +08:00
Rajesh Taneja
bf4c3ee0ff
MDL-50481 behat: Press go button for given single select in non-js
...
For non-js mode, ensure we press the go button
for the specified single select, as there can be
multiple single selects on the page with go button
2015-06-19 12:00:11 +08:00
Dan Poltawski
a6661ae013
Merge branch 'capabilities_cache' of git://github.com/tlevi/moodle
2015-06-18 07:13:35 +02:00
Eloy Lafuente (stronk7)
0d6f53e8f7
MDL-50491 filters: Some final touches.
...
- Complete the deprecation information to follow the rules.
- Minor tweak to PLAIN tests to have clearer expectations.
- Completely delete get_global_config() from filters, there
was not much utility keeping it there. Note we have opted
for direct deletion because it's private API, not public one
(and searching github/google/docs did not reveal any use
of those functions either, just in case).
2015-06-18 04:11:24 +02:00
Tim Hunt
7d94679ff1
MDL-50491 filters: option to disable some filters in filter_text.
...
This lets you programmatically prevent certain filters running on
certain content.
Also, I created some unit tests for the basic format_text functionality
since there did not seem to be any yet.
2015-06-17 13:48:55 +01:00
David Monllao
e87acc8386
Merge branch 'MDL-48618-master' of git://github.com/FMCorz/moodle
2015-06-11 14:20:56 +08:00
Frederic Massart
056aeae8d4
MDL-48618 grades: Test for the minmax upgrade step
2015-06-10 12:33:42 +08:00
Eloy Lafuente (stronk7)
28ddf1e94d
Merge branch 'MDL-47480-master' of git://github.com/ankitagarwal/moodle
2015-06-10 00:32:10 +02:00
Eloy Lafuente (stronk7)
b26f8af988
MDL-48470 strings: Fix unit tests by moving to another string.
2015-06-08 22:53:06 +02:00
Ankit Agarwal
c44b4213e6
MDL-47480 tasks: Define order for getting tasks
2015-06-02 08:08:04 +05:30
Dan Poltawski
9e4e5d1194
Merge branch 'wip-mdl-50116' of https://github.com/rajeshtaneja/moodle
2015-05-19 08:27:49 +01:00
Rajesh Taneja
d31e69f976
MDL-50116 behat: Fixed xpath for selecting table row
2015-05-19 13:32:32 +08:00
Tony Levi
aa7017432a
MDL-42192 accesslib: Cache capabilities list
...
With thanks to Andrew Nicols <andrew@nicols.co.uk> for some ammendments.
2015-05-14 11:23:47 +09:30
David Monllao
2261bc153a
MDL-50187 docs: Including all x.y releases
2015-05-11 11:05:06 +08:00
Andrew Nicols
802dbbf882
MDL-50153 messageinbound: Normalise line endings instead of rtrim
2015-05-08 15:40:51 +08:00
Andrew Nicols
2d07240f23
MDL-50153 messageinbound: Make messageinbound tests dos-safe
2015-05-08 12:16:31 +08:00
Frederic Massart
db200a8e9f
MDL-49179 setuplib: print_error() uses local URLs exclusively
2015-05-05 18:31:13 +08:00
Frederic Massart
d031c2dcb9
MDL-49401 moodlelib: PARAM_LOCALURL supports loginhttps
2015-05-05 18:31:13 +08:00
Andrew Nicols
d2bec50b7c
MDL-48002 inbound: Tidy up language in unit test
2015-05-05 10:57:35 +08:00
David Monllao
96ec51bdec
Merge branch 'MDL-50055-master' of git://github.com/andrewnicols/moodle
2015-05-05 10:51:30 +08:00
Andrew Nicols
2b964e1d24
MDL-50055 tests: Add new step to deal with Single Selects
2015-05-05 10:23:17 +08:00
David Monllao
a7f81bc72d
Merge branch 'MDL-48002-master' of git://github.com/ankitagarwal/moodle
2015-05-05 10:21:06 +08:00
Damyon Wiese
410034eef0
MDL-50085 templates: Minor fixes from peer review
...
* rename get_filename to get_filepath
* phpdocs fixes
* improve formatting of exceptions
* lang string improvement
2015-05-05 03:19:39 +02:00
Damyon Wiese
fcc383db0f
MDL-50085 Mustache : Strictly define the search paths for templates.
...
This change moves several repeated sections of code that was searching
for templates and valid template locations to a new class. It adds
unit tests for the new class and verifies subsystem support for templates.
2015-05-05 03:19:25 +02:00
Ankit Agarwal
a4f19cfc95
MDL-48002: inbound: Add outlook fixture
2015-05-04 15:14:13 +05:30
Ankit Agarwal
7f9b8cf3a3
MDL-48002 inbound: Update regex for token matching
2015-05-04 15:13:50 +05:30
Ankit Agarwal
bf06f672f4
MDL-48002: inbound: Add ios fixture
2015-05-04 13:25:10 +05:30
John Okely
4887d15228
MDL-49983 navigation: Remove 'my' from user context navigation
2015-05-04 12:38:50 +08:00
Ankit Agarwal
5e4438b5c3
MDL-48002 inbound: Update fixtures to add client info
2015-05-04 08:00:01 +05:30
Ankit Agarwal
0174fa9bc0
MDL-48002 inbound: add tests for evolution
2015-05-04 08:00:01 +05:30
Andrew Nicols
a8a742cb50
MDL-48002 inbound Unit tests from fixtures for quoted text
2015-05-04 08:00:01 +05:30
Andrew Nicols
b861cc96f7
Merge branch 'wip-MDL-50066-master' of git://github.com/marinaglancy/moodle
2015-05-04 09:07:26 +08:00
Marina Glancy
2960eb4dd2
MDL-50066 strings: unable to deprecate string from moodle.php
2015-04-30 16:14:53 +08:00
Dan Poltawski
a6dbe2fb1a
Merge branch 'wip-mdl-49974' of https://github.com/rajeshtaneja/moodle
2015-04-28 15:01:08 +01:00
Rajesh Taneja
b6e98dc8bd
MDL-49974 unit_test: Use datetime format supported by different os
...
%k is not supported by windows, so using %H
2015-04-24 13:01:01 +08:00
Neill Magill
3a92084c6b
MDL-49613 access: Unit test for count_role_users
2015-04-22 09:34:44 +01:00
Rajesh Taneja
0fe86bbdbb
MDL-49799 behat: replaced asd.com with example.com
...
asd.com is a valid domain, we should use reserved domain names for testing
2015-04-20 11:21:20 +08:00
Dan Poltawski
0627d5802c
Merge branch 'wip-MDL-45774-master' of git://github.com/abgreeve/moodle
2015-04-14 15:32:13 +08:00
Andrew Nicols
f3cd1624c3
MDL-49828 timezones: Correct typo in unit tests
2015-04-13 11:08:38 +08:00
Petr Skoda
980a3a12ce
MDL-49828 timezones: add tests for DST switching
2015-04-12 15:23:08 +12:00
Ankit Agarwal
7a437e3661
MDL-49412 behat: I am on site homepage behat step
...
Part of MDL-45774.
2015-04-10 17:18:22 +08:00
Damyon Wiese
7b05a0feb6
MDL-49412 Behat: Add a 'I follow "x" in the user menu step'
...
Part of MDL-45774.
2015-04-10 17:18:22 +08:00
Dave Cooper
81d7de1aa1
MDL-48936 lang: Changed "My Home" to "Dashboard".
...
Part of MDL-45774
2015-04-10 17:16:27 +08:00
Andrew Nicols
78db0d13de
MDL-49395 core: add more unit tests for get_enrolled_sql
2015-04-07 15:30:07 +08:00