Damyon Wiese
d247a63dfa
MDL-58128 oauth2: Add a scheduled task for refresh
...
We need to make sure our refresh tokens do not expire. We run a scheduled
task to update the refresh token once per hour.
Part of MDL-58220
2017-04-03 13:40:13 +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
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
2b09b2daa3
MDL-58090 oauth2: Load and resave the DB files
...
Edit the DB files with XMLDB to detect/fix errors.
Part of MDL-58220
2017-04-03 13:40:12 +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
237fd80cd2
MDL-58090 oauth2: API to get a system client
...
Request an oauth client with an access token retrieved with the stored refresh token from the OAuth issuer.
Part of MDL-58220
2017-04-03 13:39:45 +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
Dan Poltawski
f98ad251ae
Merge branch 'MDL-55139' of git://github.com/stronk7/moodle
2017-03-28 18:33:19 +01:00
David Monllao
6d8b31d3c9
Merge branch 'MDL-58079_master' of https://github.com/kiklop74/moodle
2017-03-28 17:30:40 +02:00
Dan Poltawski
702be5ee47
Merge branch 'MDL-58160' of git://github.com/aolley/moodle
2017-03-28 11:34:33 +01:00
Dan Poltawski
313aa61610
Merge branch 'MDL-58257' of https://github.com/ak4t0sh/moodle
2017-03-28 10:50:57 +01:00
Dan Poltawski
ed8ab587be
Merge branch 'MDL-38278-pptx-et-al-presentation-group' of https://github.com/lucaboesch/moodle
2017-03-28 10:15:22 +01:00
Luca Bösch
5ee4e09334
MDL-38278 core_files: Populating presentation group some more.
...
Now all filetypes with icon 'powerpoint' and 'impress', i.e.
pps, ppt, pptx, pptm, potx, potm, ppam, ppsx, ppsm, odp, otp, sxi, sti
are all attributed to the "presentation" group.
Signed-off-by: Luca Bösch <luca.boesch@bfh.ch>
2017-03-28 10:50:34 +02:00
Marina Glancy
cc401e6f30
MDL-34859 forms: fix the checkbox in defaultcustom element
2017-03-22 11:25:58 +08:00
Dan Poltawski
dca0ea03b1
Merge branch 'MDL-58317-master' of git://github.com/damyon/moodle
2017-03-21 08:03:42 +00:00
Andrew Nicols
afc8dc90fc
Merge branch 'MDL-40759-master-fix1' of http://github.com/damyon/moodle
2017-03-21 11:31:26 +08:00
Damyon Wiese
7e8940b544
MDL-40759 fontawesome: Use a cache
...
Cache the callback info.
2017-03-21 10:51:41 +08:00
Dan Poltawski
57ee1502fd
Merge branch 'MDL-58121-master' of https://github.com/snake/moodle
2017-03-20 13:15:07 +00:00
Dan Poltawski
d4d91727bf
Merge branch 'MDL-58263-master' of git://github.com/jleyva/moodle
2017-03-20 11:39:58 +00:00
David Monllao
e11d2d87ff
Merge branch 'MDL-37168-master' of https://github.com/xow/moodle
2017-03-20 10:15:36 +01:00
John Okely
ea1d9f7c86
MDL-37168 grade: Debugging if gradebook callbacks are not both present
2017-03-20 16:02:11 +08: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
Marina Glancy
b4eb5f0212
MDL-34859 forms: new element defaultcustom
2017-03-20 14:59:45 +08:00
Andrew Nicols
2154c9824d
Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle
2017-03-20 13:57:38 +08:00
Damyon Wiese
8626dc99fa
MDL-40759 fontawesome: Add BC for unmapped icons
...
This is yukky but it works. Note: I had to duplicate the standard pix icon template
inside the font-awesome one because the way this is rendered does not support partials.
2017-03-20 13:47:30 +08:00
Damyon Wiese
f4e623b3e7
MDL-58317 templates: Fix async template render
...
There is an edge case where we do not wait for all promises before
rendering a template. This can generate "failed to pre-fetch the template" JS errors.
2017-03-20 13:29:09 +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
c8d0efc332
MDL-40759 icons: More details in upgrade.txt
...
More details in upgrade.txt for developers who were using pix_url.
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
1caabd8468
MDL-40759 icons: Keep separate alt/title
...
For font awesome icons I had only supported one of alt/title. This was because (subjectively) we have
done a terrible job of providing meaningful alt text for icons. This is not a good idea and not backwards
compatible so I have put it back again.
Fingers crossed I did not break 1000 behats.
2017-03-17 15:52:18 +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
ad056aa267
MDL-40759 icons: Better mapping of some icons
2017-03-17 15:52:18 +08:00
Damyon Wiese
e330b1c214
MDL-40759 icons: Refactor to allow theme icon systems
2017-03-17 15:52:18 +08:00
Damyon Wiese
24a6b59412
MDL-40759 icons: Remove unused file type icons.
...
Because we can use svgs always - we got rid of different size icons for file types.
2017-03-17 15:52:18 +08:00
Damyon Wiese
7776c9e112
MDL-40759 icons: Fix when icon map comes from cache
2017-03-17 15:52:17 +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
Damyon Wiese
3c8850711f
MDL-40759 icons: filepicker
...
Use font awesome svg icons for files in the file picker. Move the old icons to bootstrapbase.
2017-03-17 15:52:17 +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
7cf6ef7bbb
MDL-40759 icons: Fix icons in action menus and links
...
Always use the pix icon helper in templates.
2017-03-17 15:51:29 +08:00
Damyon Wiese
c266d256e7
MDL-40759 icons: Deprecate $OUTPUT->pix_url()
2017-03-17 15:51:29 +08:00
Damyon Wiese
c2dde7eebc
MDL-40759 icons: Split pix_icon from activity_icon
...
Activity icons always use the standard icon renderer.
2017-03-17 15:51:29 +08:00
Damyon Wiese
95b06c13c6
MDL-40759 icons: Refactor icon system to be extensible.
2017-03-17 15:51:29 +08:00
Damyon Wiese
5e73ccfb38
MDL-40759 output: Fix non-existent fa icons
2017-03-17 15:51:29 +08:00