Damyon Wiese
dece386586
MDL-58219 oauth2: Fix unit tests because we changed the model
...
We added 2 fields to the model and we needed to update the tests.
I also removed some error_log from the rest client (very useful while developing)
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
931c023468
MDL-58090 oauth2: Add unit tests
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Mark Nelson
9bd158a3c7
MDL-57878 core: fixed failing unit test
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
3353cfd8c1
MDL-58265 core_test: add I am on course homepage in edit mode step
...
This commit also:
- Rename i_am_on_course_page to i_am_on_course_homepage.
- Pass false to out_as_local_url()
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
95f11fde64
MDL-58265 core_test: add I am on course page behat step
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Mark Nelson
12cbce0aa3
MDL-57888 core_calendar: moved functions from calendar/lib.php
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Juan Leyva
a7d9c5373e
MDL-57411 groups: New helper functions
...
- groups_get_groups_members
- groups_get_activity_shared_group_members
2017-03-31 09:04:58 +02:00
Juan Leyva
1104a9fa44
MDL-58399 webservice: Return additional file fields for repositories
...
We should be detecting when we are treating files that are linked to
external repositories.
For doing that we'd need to return some additional fields via Web
Services:
- isexternalfile
- mimetype (google docs files use an special one)
- repositorytype (the repository plugin name)
2017-03-28 20:23:16 +02:00
John Okely
2553d67c74
MDL-58361 media: Remove media manager subclass from unit test
2017-03-28 12:11:14 +08:00
Ilya Tregubov
8b844f702e
MDL-55941 output: Refactor and improve initialbar UX to use templates
2017-03-24 20:31:03 +11:00
Dan Poltawski
57ee1502fd
Merge branch 'MDL-58121-master' of https://github.com/snake/moodle
2017-03-20 13:15:07 +00:00
Damyon Wiese
b9b409cfc3
MDL-40759 icons: Peer review fixes (all minor)
2017-03-17 15:52:46 +08:00
Damyon Wiese
0b772813dc
MDL-40759 icons: Update unit tests
...
Match the expected output for unit tests.
2017-03-17 15:52:17 +08:00
Jake Dallimore
62b482938b
MDL-58121 email: ensure support user is defined in email_to_user
2017-03-17 09:08:45 +08:00
Dan Poltawski
edf102805a
Merge branch 'MDL-58023_behat_find_node_in_navigation_improvement_master' of https://github.com/gthomas2/moodle
2017-03-14 16:31:05 +00:00
Dan Poltawski
732bd13171
Merge branch 'MDL-55528-master' of git://github.com/andrewnicols/moodle
2017-03-14 12:07:33 +00:00
gthomas2
01f2a530b7
MDL-58023 behat: Improve find_node_in_navigation function
2017-03-13 11:41:23 +00:00
Marina Glancy
6e65554ea1
MDL-58010 user: allow to update only whitelisted user preferences
2017-03-10 18:04:47 +00:00
Andrew Nicols
1568168717
MDL-55528 fileconverter_unoconv: Add new unoconv plugin
...
AMOS BEGIN
MOV [pathtounoconv,admin],[pathtounoconv,fileconverter_unoconv]
MOV [pathtounoconv_help,admin],[pathtounoconv_help,fileconv_helperter_unoconv_help]
MOV [unoconvwarning,admin],[unoconvwarning,fileconverter_unoconv]
MOV [test_unoconv,assignfeedback_editpdf],[test_unoconv,fileconverter_unoconv]
MOV [test_unoconvempty,assignfeedback_editpdf],[test_unoconvempty,fileconverter_unoconv]
MOV [test_unoconvdoesnotexist,assignfeedback_editpdf],[test_unoconvdoesnotexist,fileconverter_unoconv]
MOV [test_unoconvdownload,assignfeedback_editpdf],[test_unoconvdownload,fileconverter_unoconv]
MOV [test_unoconvisdir,assignfeedback_editpdf],[test_unoconvisdir,fileconverter_unoconv]
MOV [test_unoconvnotestfile,assignfeedback_editpdf],[test_unoconvnotestfile,fileconverter_unoconv]
MOV [test_unoconvnotexecutable,assignfeedback_editpdf],[test_unoconvnotexecutable,fileconverter_unoconv]
MOV [test_unoconvok,assignfeedback_editpdf],[test_unoconvok,fileconverter_unoconv]
MOV [test_unoconvversionnotsupported,assignfeedback_editpdf],[test_unoconvversionnotsupported,fileconverter_unoconv]
AMOS END
2017-03-10 10:45:46 +08:00
Andrew Nicols
34df779a95
MDL-55528 core_files: Create new fileconverter plugintype
2017-03-10 09:31:14 +08:00
Dan Poltawski
7ebe17f38a
Merge branch 'wip-mdl-58056' of https://github.com/rajeshtaneja/moodle
2017-03-07 11:08:24 -03:00
Dan Poltawski
a3da85e42e
Merge branch 'MDL-58040' of git://github.com/timhunt/moodle
2017-03-07 07:43:46 -03:00
gthomas2
353e78765a
MDL-58052 behat: user session function - use to edit current profile
2017-03-03 13:57:01 +00:00
Jake Dallimore
9e44cec27f
MDL-58038 email: make sure all allowedemaildomain entries are respected
...
Fixes a bug with exploding the config var, in which trailing carriage
returns were causing string matches to fail.
2017-02-28 12:17:52 +08:00
Rajesh Taneja
acdda4f5f7
MDL-58056 behat: Ensure form element exists
...
Before getting form field, ensure node is
visible. Else it may fail to get form
field
2017-02-23 14:44:44 +08:00
Rajesh Taneja
ade50a118a
MDL-58056 behat: Catch webdriver exception if element removed
...
While checking for element visibility, ensure
that element is there in dom
2017-02-23 14:44:43 +08:00
Tim Hunt
898da28afd
MDL-58040 blocklib: never use global in block manager class
...
This switches everything to ->page, including coverting static method to real one.
2017-02-21 15:19:11 +00:00
Eloy Lafuente (stronk7)
3cb7fc4f9a
Merge branch 'MDL-57619-master' of git://github.com/ankitagarwal/moodle
2017-02-21 01:06:29 +01:00
David Monllao
2e57a90e0e
Merge branch 'MDL-57859-master' of git://github.com/merrill-oakland/moodle
2017-02-20 09:42:25 +01:00
Matteo Scaramuccia
cdf8238b14
MDL-57379 Files: Improved file argument evaluation.
...
get_file_argument() is responsible to extract the relative path
of the file to be served by a specific Moodle component
like a theme or a module.
Some modules like scorm and imscp require slasharguments support
and they force it when creating the URLs to serve their files.
It should honor the slasharguments setting but this could break
those instances where existing hard-coded links still make usage of
the "old" format, the one when slasharguments is set to No i.e. '?file='.
Its logic has been improved by looking at when the URL is related to
serving a plug-in file in a "forced" slasharguments way of serving it
i.e. using '/pluginfile.php/' and not '/pluginfile.php?'.
2017-02-19 16:39:04 +01:00
Ankit Agarwal
d58adec8de
MDL-57619 behat: Final deprecation of old behat steps
2017-02-16 11:54:10 +05:30
Marina Glancy
3f9503468f
MDL-4782 course: Behat tests for stealth mode support
2017-02-14 16:38:08 +08:00
Eric Merrill
75e74407a3
MDL-57859 persistent: Add a combined create/update call
2017-02-13 22:33:42 -05:00
Marina Glancy
a572272768
MDL-50770 blocks: remove orphaned block positions
2017-02-13 15:18:51 +08:00
David Monllao
375b9ce0e7
Merge branch 'wip-MDL-57316-master' of git://github.com/marinaglancy/moodle
2017-02-08 13:11:28 +01:00
Marina Glancy
63c102e095
MDL-57316 media: create different instances for different pages
2017-02-08 10:17:43 +08:00
John Okely
1abd43763c
MDL-57316 media: Setup media plugins in media_manager::instance()
2017-02-07 09:16:01 +08:00
Eloy Lafuente (stronk7)
7373f641e5
Merge branch 'MDL-57846-master' of git://github.com/jleyva/moodle
2017-02-07 00:12:30 +01:00
Eloy Lafuente (stronk7)
f20f598ab5
Merge branch 'MDL-57841-master' of git://github.com/damyon/moodle
2017-02-06 20:18:17 +01:00
Juan Leyva
d472f530ac
MDL-57846 core_exporter: Allow properties description in exporters
2017-02-01 19:10:18 +01:00
Damyon Wiese
13fb78a4f6
MDL-57841 exporter: Allow scalars as related objects
2017-02-01 15:30:56 +08:00
Petr Skoda
a6210651a9
MDL-57027 fix get_users_by_capability()
...
Change-Id: I98dc88784dfa0293f88a19c3d36e7a46a3f52672
2017-02-01 13:01:28 +08:00
Damyon Wiese
e97e96155a
MDL-57273 persistent: Fix access to set/get in test
...
The setters and getters for the path property in the test class need to be protected.
2017-01-23 14:18:04 +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
4bc68a416e
MDL-57273 core: Exporters support custom formatting parameters
2017-01-20 12:56:19 +08:00
Frederic Massart
6e28143599
MDL-57273 core: Migrating core_competency exporters into core
2017-01-20 12:56:18 +08:00
Frederic Massart
2198e0e94a
MDL-57273 core: Migrating persistent from core_competency into core
2017-01-20 12:56:18 +08:00
Rajesh Taneja
ada21cb0c8
MDL-57669 behat: Exit with error code if step undefined
2017-01-17 10:30:45 +08:00