Damyon Wiese
7949b3b2ac
MDL-58220 oauth2: Remove is_system_account_setup_supported
...
This was left from an earlier branch but no longer useful.
2017-04-03 13:43:26 +08:00
Damyon Wiese
5b0b35c096
MDL-58220 oauth2: Add is_configured to issuer
...
Saves repeated checks for clientid and clientsecret.
2017-04-03 13:43:25 +08:00
Damyon Wiese
4ab80291e7
MDL-58220 tool_oauth2: forms cleanup
...
Remove extra field length attributes and fix type of action fields.
2017-04-03 13:43:25 +08:00
Damyon Wiese
5b926a6a09
MDL-58220 oauth2: Move help icons to table header
...
In the Site Administration -> Server -> OAuth 2 Services page.
2017-04-03 13:43:25 +08:00
Damyon Wiese
818e789a00
MDL-58220 oauth2: Remove extra step
...
Show create google/facebook/office365 buttons on the main page instead
of hiding them behind a click.
2017-04-03 13:43:25 +08:00
Damyon Wiese
738c4a2a73
MDL-58220 oauth2: More help buttons
...
Add help for system account connections and discovery.
2017-04-03 13:43:25 +08:00
Damyon Wiese
c21a66e40a
MDL-58220 auth_oauth2: Restrict logins to a set of domains
...
This is set on the issuer, so you can have different lists for each oauth2 provider.
2017-04-03 13:43:25 +08:00
Damyon Wiese
eca128bf47
MDL-58220 oauth2: Global enable/disable for issuers.
2017-04-03 13:41:19 +08:00
Damyon Wiese
28dddbc129
MDL-58219 oauth2: Show connected system account info
...
Show the username and email of the connected system account (if it ever requires refreshing - this will help identity the account
to re-authorise).
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
0e59638bdb
MDL-58126 googledocs: Re-implement the google docs repo
...
Use latest REST API (v3) - but avoid the google client libraries
(too big, too much to update, not integrated with auth).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
299112498b
MDL-58090 oauth2: Coding style
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
870a4a824e
MDL-58090 oauth2: Improve help
...
Provide a link to the help for setting up an OAuth 2 service.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
722a6d0881
MDL-58090 oauth2: Remove wrong tests from branch
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
931c023468
MDL-58090 oauth2: Add unit tests
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
f9f243f93e
MDL-58090 oauth2: Complete phpdocs
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
dc4b56852a
MDL-58090 oauth2: Do not install services by default
...
Instead provide buttons to quickly create pre-configured
versions of any of the known OAuth 2 services.
Part of MDL-58220
2017-04-03 13:40:12 +08:00
Damyon Wiese
ddf65b8c05
MDL-58090 oauth2: Facebook
...
Add defaults for facebook authentication and drop behaviour field completely.
Part of MDL-58220
2017-04-03 13:39:45 +08:00
Damyon Wiese
485a22fc98
MDL-58090 oauth2: Get rid of behaviour field
...
OAuth services working fully from config - no more subclasses for each OAuth issuer.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
8445556b4c
MDL-58090 oauth2: Move code from subclasses to config
...
Allow the behaviour of each oauth service to be customised by config instead of
subclasses.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
60237253a2
MDL-58090 oauth2: Store a list of oauth2 services
...
Build an admin page where OAuth 2 services can be installed and configured.
Part of MDL-58220
2017-04-03 13:39:02 +08:00
Jun Pataleta
f8ffd1f249
MDL-58102 admin: Set 'moodlecourse/enablecompletion' default to Yes
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +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
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
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
Juan Leyva
c3e745b7b8
MDL-58443 tool_mobile: List data, feedback, lesson as supported by app
2017-03-30 10:30:57 +02:00
Marina Glancy
89b909f6de
MDL-57769 course: prepare to remove numsections option
2017-03-30 08:26:12 +08:00
David Monllao
d4a8fb899a
Merge branch 'MDL-58177-master' of https://github.com/sammarshallou/moodle
2017-03-28 23:16:42 +02:00
David Monllao
842217de6c
Merge branch 'MDL-58070-visible-reword' of https://github.com/DSI-Universite-Rennes2/moodle
2017-03-28 17:46:00 +02:00
Andrew Nicols
0549f2538f
MDL-57553 tool_usertours: Update tour libraries
2017-03-27 10:23:35 +08:00
Grzegorz Ziółek
16973d64c8
MDL-58325 config_log: Record changes in editor management to config_log.
2017-03-24 09:24:11 +01:00
Damyon Wiese
2375f37c5a
MDL-40759 fontawesome: Behat fix
...
Lang string fix.
2017-03-23 10:57:34 +08:00
David Mudrák
b4ef04e754
MDL-40759 icons: Fix the core_renderer::spacer() parameters
2017-03-22 13:44:20 +00:00
Julien Boulen
ba17a2c3f8
MDL-58070 language: reword visible core string
2017-03-22 11:11:47 +01:00
Dan Poltawski
e3aced3b59
MDL-57162 tool_mobile: add a bit more phpdoc info
2017-03-21 12:07:54 +00:00
Dan Poltawski
0c5eee372b
Merge branch 'MDL-57162-master' of git://github.com/jleyva/moodle
2017-03-21 11:38:06 +00:00
Juan Leyva
e8eb889326
MDL-57162 tool_mobile: Native app banners for Android
2017-03-21 10:07:21 +01:00
Dan Poltawski
d4d91727bf
Merge branch 'MDL-58263-master' of git://github.com/jleyva/moodle
2017-03-20 11:39:58 +00:00
Dan Poltawski
5de6c5dc3b
Merge branch 'MDL-57838-master' of git://github.com/jleyva/moodle
2017-03-20 11:27:04 +00:00
Dan Poltawski
e8f8594244
Merge branch 'MDL-58285' of https://github.com/NeillM/moodle
2017-03-20 08:53:23 +00:00
Dan Poltawski
48f5c05019
Merge branch 'wip-MDL-34859-master' of git://github.com/marinaglancy/moodle
2017-03-20 07:54:22 +00:00
Marina Glancy
44e86fb3d5
MDL-34859 backup: add restore defaults
2017-03-20 14:59:45 +08:00
Damyon Wiese
42d4689c65
MDL-40759 fontawesome: Minor cleanups
...
Remove eslint hints that are not required and revert changes to the
behat test for recycle bin that are not needed.
2017-03-17 15:52:46 +08:00
Damyon Wiese
b9b409cfc3
MDL-40759 icons: Peer review fixes (all minor)
2017-03-17 15:52:46 +08:00
Damyon Wiese
3e6adcd69c
MDL-40759 icons: Rename activity_icon
...
image_icon is a better name because there are some valid uses for these other than for activity icons.
E.g. Old JS code that is not worth re-writing.
2017-03-17 15:52:18 +08:00
Damyon Wiese
8857c715d1
MDL-40759 icons: Behat fixes for font-awesome
2017-03-17 15:52:18 +08:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Damyon Wiese
2b931458ad
MDL-40759 plugins: Add font icon mapping to all plugins
2017-03-17 15:51:29 +08:00
Damyon Wiese
e6bf10c772
MDL-40759 dragdrop: Use a pix icon renderer for drag handles.
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
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