Damyon Wiese
092304a3de
MDL-58220 oauth2: Cibot fixes
...
Missing phpdocs.
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
af28b22892
MDL-58219 googledocs: Use google file extensions
...
Only rename on export for download.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
141ee541ca
MDL-58219 repository: Change how controlled links work
...
Files are copied to the system user as soon as they are uploaded. Write access is then controlled when
serving links to the file.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
72fd103add
MDL-58219 cibot: Fixes
...
Fixes for cibot warnings.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
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
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
989e14fea0
MDL-58128 googledocs: Support reference files.
...
Add options so the admin can control the types of files this repository can support (and the default).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
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
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
Mark Nelson
00995f0339
MDL-58239 core_output: fixed user date helper doc example
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +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
Simey Lameze
a22fa7cb68
MDL-57545 core_calendar: remove visibility fields from calendar events
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
c45266d115
MDL-57545 core_calendar: trigger update event when toggling visibility
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
e03d5d4790
MDL-57445 core: allow context variables in pix helper
...
Allow the user of context variables in the id and component section of
the pix helper.
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
4c5cde3134
MDL-57433 block_course_overview: removed block from core
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
1c69e1994d
MDL-57436 core: added 'myoverview' block to list of standard plugins
...
Part of MDL-55611 epic.
2017-04-03 11:31:32 +08:00
Marina Glancy
89b909f6de
MDL-57769 course: prepare to remove numsections option
2017-03-30 08:26:12 +08: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
Mike Olsen
7782e6610b
MDL-58311 cache: Add password support for redis
...
add password support for redis connects in cache and session
2017-03-27 10:31:45 +01:00
Damyon Wiese
4413b46626
MDL-58357 icons: Better mapping for backup/restore
2017-03-27 15:26:09 +08:00
Andrew Nicols
13659515fd
MDL-55326 core_text: Correct typo3 file permissions
2017-03-27 15:07:01 +08:00
Damyon Wiese
23fc4008c5
MDL-58368 icons: Revert course icon to svg
2017-03-27 14:01:33 +08:00
Damyon Wiese
7e8940b544
MDL-40759 fontawesome: Use a cache
...
Cache the callback info.
2017-03-21 10:51:41 +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
b9b409cfc3
MDL-40759 icons: Peer review fixes (all minor)
2017-03-17 15:52:46 +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
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
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
95b06c13c6
MDL-40759 icons: Refactor icon system to be extensible.
2017-03-17 15:51:29 +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
Dan Poltawski
732bd13171
Merge branch 'MDL-55528-master' of git://github.com/andrewnicols/moodle
2017-03-14 12:07:33 +00:00
David Monllao
291767fbfe
Merge branch 'MDL-58114-master-excparams' of git://github.com/mudrd8mz/moodle
2017-03-14 11:27:26 +01:00
Andrew Nicols
594ada13c2
Merge branch 'MDL-57751-master' of https://github.com/xow/moodle
2017-03-14 11:27:24 +01:00
Damyon Wiese
ac40d8b589
MDL-57596 forms: CLEANHTML in persistent forms
...
Add special handling for text fields with the CLEANHTML type. This should
be used when students and teachers can edit the same field (you can't trust those students).
Applies cleaning on submitted data, and on data stored in the DB before it is put back in an editing form.
2017-03-10 18:04:48 +00:00
Marina Glancy
6e65554ea1
MDL-58010 user: allow to update only whitelisted user preferences
2017-03-10 18:04:47 +00:00