Commit graph

84037 commits

Author SHA1 Message Date
Damyon Wiese
d3d2f09cef MDL-40759 atto: Use pix_icon renderer for atto buttons 2017-03-17 15:51:28 +08:00
Damyon Wiese
ec7b552251 MDL-40759 course: Fix group mode switcher to use renderPix
Dont assume icons are image tags and call Templates.renderPix to rebuild the entire icon.
2017-03-17 15:51:28 +08:00
Damyon Wiese
a26ce2482a MDL-40759 themes: font awesome support
We add a new theme config so the theme can say it supports font-awesome.
If this is true, the pix_icon renderer will call a mapping function to map
from the moodle style t/edit to a font-awesome style fa-cog icon name. Then the renderer
will either render an image tag for old icons - or an accessible font-awesome <i> tag.

This mostly works - but there are some places where we don't use the pix icon renderer, and
we directly create image tags with pix_url image sources. These will need updating (Atto icons,
drag and drop move icons, editpdf icons).
2017-03-17 15:51:28 +08:00
Andrew Nicols
9d6698060f MDL-58295 fileconverter: Update the conversion correctly 2017-03-17 09:49:07 +08:00
Jun Pataleta
f3ec5411b0 MDL-58255 mod_assign: Fix usage of assign object for overrides
* Fix the parameters being passed for the assign constructor.
* Use assign::get_instance() instead of assign::get_context() to fetch
the assignment instance's properties.
2017-03-17 09:33:00 +08:00
Andrew Nicols
c563adfa78 MDL-58288 fileconverter_unoconv: Remove old test conversions 2017-03-17 09:31:57 +08:00
Andrew Nicols
2935d0fe7f MDL-58288 fileconverter_unoconv: Fix issue with test generation 2017-03-17 09:27:37 +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
Jake Dallimore
3d4339b817 MDL-58182 javascript: Fix for buttons regression in core dialog.
Fixes a regression caused by MDL-56364, wherein the buttons were made
readOnly, meaning addButtons wouldn't work. This removes that change,
while maintaining the original dependency between the buttons and the
closeButton config options.
2017-03-17 09:05:04 +08:00
David Mudrák
b2c395d367 MDL-58291 fileconverter_unoconv: Fix the admin section name 2017-03-16 19:56:59 +01:00
Arnaud Trouve
ce4379973f MDL-58257 course: fix search containing a hyphen
In case a hyphen (-) was preceded and followed by spaces,
the pattern for the "not regex" was empty causing an empty response from the database.
2017-03-16 18:43:15 +01:00
Arnaud Trouve
019186b7b5 MDL-57994 course: fix newsitems value 2017-03-16 18:34:30 +01:00
Darko Miletic
ed63ffc715 MDL-58079 core_enrol: Implementing fix and unit test 2017-03-16 14:23:34 -03:00
Juan Leyva
d37472d88f MDL-57657 mod_lesson: New WS mod_lesson_get_user_attempt_grade 2017-03-16 16:45:02 +01:00
Juan Leyva
78dbb42c80 MDL-57657 mod_lesson: New WS mod_lesson_get_user_grade 2017-03-16 16:45:01 +01:00
Juan Leyva
d689c1ed46 MDL-57648 mod_lesson: New Web Service mod_lesson_get_questions_attempts 2017-03-16 16:43:03 +01:00
Dan Poltawski
aed2641a8b Merge branch 'MDL-57645-master' of git://github.com/jleyva/moodle 2017-03-16 15:42:07 +00:00
Juan Leyva
4ac71790b6 MDL-57645 mod_lesson: New Web Service mod_lesson_view_lesson 2017-03-16 16:40:25 +01:00
Juan Leyva
7d7a2a4ef1 MDL-57645 mod_lesson: Refactor code to move completion to lib
This commit also fix how completion was being set (before the access
restriction checks)
2017-03-16 16:40:24 +01:00
Juan Leyva
bb676b74fe MDL-57815 mod_feedback: New Web Service mod_feedback_get_items 2017-03-16 15:35:06 +01:00
Juan Leyva
d52973ae19 MDL-57815 mod_feedback: Add new method to item class to return other data 2017-03-16 15:35:05 +01:00
Neill Magill
1c668c3ce0 MDL-58285 tool_mobile: Web service generates incorrect fileurl on IIS
The tool_mobile_get_plugins_supporting_mobile generated an incorrect
fileurl on IIS. The /mobile/filename.zip part was generated as
\mobile\filename.zip, this failed the PARAM_URL check.

This change stops the use of OS specific directory separators and uses
the linux/web separator. PHP file functions recognise this properly.
2017-03-16 12:08:36 +00:00
Dan Poltawski
98c4094eac weekly release 3.3dev 2017-03-16 11:52:46 +00:00
Dan Poltawski
ec673f6f98 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2017-03-16 11:52:44 +00:00
John Okely
e09066d0eb MDL-57419 messaging: Don't use enter to send 2017-03-16 10:46:40 +08:00
Rajesh Taneja
49bf960cbb MDL-58261 behat: Fixed missing @_file_upload tags 2017-03-16 09:35:26 +08:00
Jake Dallimore
cb2a75dcbf MDL-57429 badges: removal of unused Persona code
Removed the backpackconnect script used with Persona, and all the
associated js code.
2017-03-16 09:35:14 +08:00
Jake Dallimore
80e8e0061e MDL-57429 badges: lang string deprecation for new email verify process
Deprecated those lang strings used in the old Persona login process.
2017-03-16 09:35:14 +08:00
Jake Dallimore
091eaab0da MDL-57429 badges: add email verification for openbackpack connections
With the Persona provider now out of commission, no new connections to
the Mozilla openbackpack can be created. This patch adds an email
verification step to core to restore the openbackpack functionality.
2017-03-16 09:35:12 +08:00
Andrew Nicols
9c2ca40041 Merge branch 'MDL-57643-master' of git://github.com/jleyva/moodle 2017-03-16 07:58:08 +08:00
Andrew Nicols
eb6f04732a Merge branch 'MDL-57913_auth_db_sync_task_master' of git://github.com/gthomas2/moodle 2017-03-16 07:39:48 +08:00
David Mudrák
935f428ac7 MDL-58273 enrol_ldap: Fix the name of the capability
This capability controls who can hide/show the enrolment instance.
2017-03-15 18:30:46 +01:00
gthomas2
0d9704d817 MDL-57913 auth_db: warn CLI about scheduled task, abort CLI if scheduled task enabled 2017-03-15 16:42:45 +00:00
Juan Leyva
b315d721d9 MDL-57814 mod_feedback: New WS mod_feedback_get_current_completed_tmp 2017-03-15 15:31:38 +01:00
Juan Leyva
1a305933c7 MDL-57814 mod_feedback: Create exporter and required API changes 2017-03-15 15:28:03 +01:00
Juan Leyva
0f3c09979f MDL-57811 mod_feedback: New Web Service mod_feedback_view_feedback 2017-03-15 15:25:00 +01:00
Juan Leyva
3f62cbd33e MDL-57812 mod_feedback: New WS get_feedback_access_information 2017-03-15 15:23:24 +01:00
Juan Leyva
bae88061cc MDL-57838 tool_mobile: Point to the docs for more information
We should ask the admin to check the "Moodle docs for this page"
instead of adding a constant including a URL in the code.
2017-03-15 11:53:10 +01:00
Juan Leyva
cac43b9b6a MDL-57916 mod_data: New WS mod_data_get_access_information 2017-03-15 11:48:08 +01:00
Juan Leyva
a99c13af84 MDL-57916 mod_data: Move notifications code to new functions 2017-03-15 11:44:28 +01:00
Juan Leyva
630f0e3bce MDL-57643 mod_lesson: New WS mod_lesson_get_access_information 2017-03-15 11:35:27 +01:00
Juan Leyva
37029e468f MDL-57643 mod_lesson: Refactor, move php code to locallib 2017-03-15 11:35:25 +01:00
Dan Poltawski
943055c72d Merge branch 'MDL-57631_master-disable-cli' of git://github.com/dmonllao/moodle 2017-03-15 08:12:04 +00:00
David Monllao
e93f74f446 MDL-57631 enrol_ldap: Disable CLI script if task is enabled 2017-03-15 08:49:22 +01:00
Andrew Nicols
6fcdbc7912 Merge branch 'MDL-57658-master-integration-fix-2' of git://github.com/junpataleta/moodle 2017-03-15 14:44:17 +08:00
Andrew Nicols
5fba3bd7af Merge branch 'MDL-55528-master-fix' of git://github.com/andrewnicols/moodle 2017-03-15 14:31:49 +08:00
Jun Pataleta
02edbe1e30 MDL-57658 calendar: Remove BYDAY filtering dependence on NumberFormatter 2017-03-15 14:18:27 +08:00
Andrew Nicols
484eeebc48 Merge branch 'MDL-57658-master-integration-fix' of git://github.com/junpataleta/moodle 2017-03-15 11:42:28 +08:00
Jun Pataleta
620ffacea1 MDL-57658 calendar: Set sort order for fetched DB records 2017-03-15 11:18:21 +08:00
Andrew Nicols
ef452d9cbc Merge branch 'MDL-47354_gradereport_singleview_perpage' of git://github.com/davosmith/moodle 2017-03-15 11:17:49 +08:00