6560 Commits

Author SHA1 Message Date
Rajesh Taneja
9bb156ee75
MDL-57853 phpunit: Remove use of setExpectedException 2017-02-06 11:44:42 +08:00
Rajesh Taneja
6fd35788c1 MDL-54628 behat: Rerun command now include replace option passed 2017-02-02 08:21:11 +08:00
Dan Poltawski
8cf4591a8e Merge branch 'wip-mdl-54628' of https://github.com/rajeshtaneja/moodle 2017-02-01 13:01:26 +08:00
Andrew Nicols
b462c655dc Merge branch 'MDL-57410-master' of git://github.com/jleyva/moodle 2017-01-31 09:00:34 +08:00
Rajesh Taneja
36cc9f8e37
MDL-54628 behat: Set behat dir for each run under behat_dataroot
Before this patch behat_dataroot for parallel runs
were created at same level as ->behat_dataroot
After this patch, it will be created 1 level under
->behat_dataroot with BEHAT_PARALLEL_SITE_NAME
prefix and run number as suffix. This will allow
common files as test enabled and parallel run info
to be saved in parent directory and access it easily.
2017-01-30 08:51:53 +08:00
Damyon Wiese
5c83f8cdb9 MDL-57273 persistent: Remove use of helper as getter
get('blah') are for properties
get_blah() are for helpers
2017-01-25 11:14:00 +08:00
Andrew Nicols
ae099a2a1d Merge branch 'MDL-57273-master' of git://github.com/damyon/moodle 2017-01-25 08:48:27 +08:00
Damyon Wiese
6b206c5309 MDL-57273 persistent: Dont allow set and get for helpers
Helper methods (ie custom methods on a persistent) should not be callable via set() or get() even
if they start with set_ or get_. They are not the same as custom getters and setters for real persistent
properties.
2017-01-24 15:39:53 +08:00
Damyon Wiese
0ce135f65d MDL-57273 persistent: Some more magic __call conversions
I missed all the entry pages when converting from set_abc() and get_abc() to set('abc', ) and get('abc').

Also fixed a wrong namespace for core_competency\external\performance_helper
2017-01-24 15:20:07 +08:00
Damyon Wiese
d5818626c0 MDL-57273 persistent: Improved style
Use \blah::class instead of '\\blah' in define_class functions.
Allow chaining of setters by returning $this.
2017-01-23 11:58:59 +08:00
Rajesh Taneja
1d37f50ee0
MDL-54628 behat: Show parallel run command with proper rerun option 2017-01-23 10:37:19 +08:00
Juan Leyva
63d142e2cd MDL-57410 tool_mobile: New setting for adding menu items in the app 2017-01-20 13:18:12 +01:00
Juan Leyva
b2551b4c86 MDL-49423 tool_mobile: New setting for disabling features 2017-01-20 13:10:49 +01:00
Juan Leyva
1295885084 MDL-49423 admin: Support optgroup in admin_setting_configmultiselect 2017-01-20 13:09:02 +01:00
Juan Leyva
25905de518 MDL-49423 admin: Support optgroup in admin_setting_configselect 2017-01-20 13:09:01 +01:00
Juan Leyva
af1b6043a1 MDL-57408 tool_mobile: New setting for renaming app strings 2017-01-20 10:29:31 +01:00
Damyon Wiese
599acbe776 MDL-57273 persistent: protected custom getters
(and setters).
2017-01-20 12:56:19 +08:00
Damyon Wiese
9c91a9593d MDL-57273 core: Remove magic setters and getters
Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
2017-01-20 12:56:19 +08:00
Frederic Massart
32896dcbab MDL-57273 core: Using $renamedclasses for deprecated classes 2017-01-20 12:56:19 +08:00
Frederic Massart
b505a9e4e0 MDL-57273 core: Migrating the persistent form class to core 2017-01-20 12:56:19 +08:00
Frederic Massart
4bc68a416e MDL-57273 core: Exporters support custom formatting parameters 2017-01-20 12:56:19 +08:00
Frederic Massart
f5f02ac0d3 MDL-57273 core: Migrating some exporters from tool_lp & core_competency 2017-01-20 12:56:18 +08:00
Frederic Massart
476bf96f4d MDL-57273 core: Added a performance helper to use with exporters 2017-01-20 12:56:18 +08:00
Frederic Massart
6e28143599 MDL-57273 core: Migrating core_competency exporters into core 2017-01-20 12:56:18 +08:00
Eloy Lafuente (stronk7)
a7068a85bf Merge branch 'MDL-57409-master' of git://github.com/jleyva/moodle 2017-01-17 20:52:04 +01:00
Eloy Lafuente (stronk7)
777361983c Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle 2017-01-11 02:42:29 +01:00
Jun Pataleta
3adf4b1837 MDL-57149 admin: Make langimport page Bootstrap-compatible
* Create template for the language import page.
* Apply Bootstrap classes to form elements.
* Use core notifications for displaying error/success messages.
2017-01-10 10:24:17 +08:00
Juan Leyva
7bdcf970bc MDL-57409 tool_mobile: Return mobileapp settings in get_config WS 2017-01-09 12:19:29 +01:00
Juan Leyva
fb0add0456 MDL-57409 tool_mobile: New forcelogout setting 2017-01-09 12:19:28 +01:00
Dan Poltawski
7716be5ae8 Merge branch 'MDL-57563-master-enfix' of git://github.com/mudrd8mz/moodle 2017-01-05 10:09:17 +00:00
Helen Foster
442879042c MDL-57563 lang: Merge English strings from the en_fix language pack 2017-01-04 22:03:08 +01:00
Dan Poltawski
b6f5e57e45 Merge branch 'MDL-57531-master-phpmailer' of git://github.com/mudrd8mz/moodle 2017-01-04 13:29:10 +00:00
David Mudrák
066ec13585 MDL-57531 mail: Do not let admins set invalid email addresses
The noreply and support emails should always be valid.
2017-01-04 12:34:29 +01:00
Dan Poltawski
c3e9e8bc3c Merge branch 'MDL-57389-master' of git://github.com/jleyva/moodle 2017-01-04 11:33:58 +00:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors 2017-01-03 09:12:54 +08:00
Juan Leyva
91fff3914b MDL-57389 tool_mobile: Return mobilecssurl in get_public_config WS 2017-01-02 18:56:02 +01:00
David Monllao
cc31be4ffc Merge branch 'MDL-57450-master' of git://github.com/danpoltawski/moodle 2016-12-28 11:45:34 +01:00
Dan Poltawski
83c7b312cd Merge branch 'wip-MDL-57292-master' of git://github.com/abgreeve/moodle 2016-12-28 09:13:29 +00:00
Adrian Greeve
c496632681 MDL-57292 tool_lpimportcsv: Fix for unit tests. 2016-12-22 13:06:40 +08:00
Rajesh Taneja
ccb2a6a5f8
MDL-56581 behat: Use proper steps to navigate to Permissions 2016-12-21 12:51:17 +08:00
Jes Ackland-Snow
e985a29cdf MDL-56581 Roles: Permissions override screen not inherited styling 2016-12-20 12:09:01 +00:00
Eloy Lafuente (stronk7)
863e1a66a9 Merge branch 'MDL-56547' of https://github.com/ak4t0sh/moodle 2016-12-20 12:47:54 +01:00
David Monllao
d17b70dda2 MDL-56320 tool_mobile: rest protocol dependency added 2016-12-19 15:11:00 +01:00
David Monllao
ef9a1a2aff Merge branch 'MDL-56320-m' of https://github.com/micaherne/moodle 2016-12-19 15:05:14 +01:00
David Monllao
902b32bd1b Merge branch 'MDL-56527-master' of git://github.com/mudrd8mz/moodle 2016-12-19 14:03:53 +01:00
Dan Poltawski
89556019c0 MDL-57450 enviroment: remove tls library check
Unfortunately it has come to light that the version sniffing is just not
reliable at all, operating system vendors backport security patches to
older versions - so in many cases we reporting a problem which is not a
problem. False positives and the solution to self-compile or something
like php will be causing more harm than good.
2016-12-19 10:55:07 +00:00
Simey Lameze
c4eb68177e MDL-57292 tool_lpimportcsv: display progress bar for large imports 2016-12-16 10:47:01 +08:00
Arnaud Trouve
3009095bc9 MDL-56547 admin : add check on user deletion
Check if the target user is not already deleted
and print an explicit error in that case.
2016-12-15 14:29:07 +01:00
Andrew Nicols
428e18ed2b Merge branch 'MDL-55062_master' of git://github.com/markn86/moodle 2016-12-14 09:26:10 +08:00
Eloy Lafuente (stronk7)
ab73c1ddbb Merge branch 'feature/MDL-56830' of https://github.com/fwsl/moodle 2016-12-13 12:00:46 +01:00