Dan Poltawski
6252f44d84
Merge branch 'MDL-58712-master' of git://github.com/jleyva/moodle
2017-06-19 14:20:06 +01:00
Juan Leyva
f74ac6e704
MDL-58712 core_user: New WS core_user_get_private_files_info
2017-06-15 09:40:30 +01:00
Jake Dallimore
bb931788cc
Merge branch 'MDL-59142-master' of git://github.com/lameze/moodle
2017-06-14 12:38:11 +01:00
Mark Nelson
f25e2b1dc7
MDL-55548 core: fixed misleading comment in upgrade code
2017-06-14 12:36:38 +01:00
Dan Poltawski
569907002f
Merge branch 'MDL-59140_master' of git://github.com/markn86/moodle
2017-06-14 12:36:37 +01:00
Mark Nelson
c8f2e0e96b
MDL-59140 core: upgrade 'navcourselimit' if set to old default value
2017-06-14 12:32:05 +01:00
Jake Dallimore
63aa8c27be
Merge branch 'MDL-58136-master' of git://github.com/damyon/moodle
2017-06-14 12:31:56 +01:00
Eloy Lafuente (stronk7)
e0f8686f39
Merge branch 'MDL-40015-master' of git://github.com/jleyva/moodle
2017-06-14 12:30:41 +01:00
Damyon Wiese
ddce4f4ba9
MDL-58136 cache: Add a course completion cache
...
The last change added 1 db read per course per page which is not OK. Add a cache to compensate.
2017-06-13 10:03:00 +08:00
Simey Lameze
4cc2f33b08
MDL-59142 core_theme: cache post-processed css
...
Thanks Cameron Ball for the base patch
2017-06-13 09:35:35 +08:00
Dan Poltawski
a52d3abbb6
Merge branch 'MDL-55548_master' of git://github.com/markn86/moodle
2017-06-12 10:00:24 +01:00
Devang Gaur
4ddf7c6025
MDL-55548 course: added timemodified field to course_sections table
2017-06-12 15:52:53 +08:00
Jake Dallimore
8430250a2f
MDL-59042 upgrade: fix for non existent table in core upgrade.
...
Moved upgrade step to the assign mod where table is known to exist.
2017-06-12 15:03:31 +08:00
Jake Dallimore
4cd1d4c70f
MDL-59042 upgrade: datafix assign group overrides with null priority
...
Find any events records for assign group overrides having null priority
and sets their priority to the sortorder value from the corresponding
assign_overrides table entry.
2017-06-12 13:18:40 +08:00
Juan Leyva
67adb4d8c1
MDL-40015 core_course: Fix description of duplicate_course WS
...
It said that the duplication didn’t include user data, but that’s not
true since there is a parameter to include it.
2017-06-08 10:19:47 +01:00
Jun Pataleta
c9a3a21c31
Merge branch 'MDL-49398_final4' of https://github.com/sk-unikent/moodle
2017-06-06 12:43:14 +08:00
Tony Levi
e705e69e7f
MDL-49398 accesslib: Simplify role definition loading and cache
...
This change removes the complex and partial loading of role definition data for users.
It is replaced by keeping one system-wide definition for each role in MUC.
This is cheaper to regenerate as it avoids complex database queries (repeated LEFT JOIN to context).
Memory usage is kept low thanks to array CoW for each user access data.
2017-06-02 07:53:23 +01:00
David Mudrák
8b493eb09d
MDL-53240 filetypes: Enhance the filetypes element with a types browser
2017-06-01 09:20:07 +02:00
Eloy Lafuente (stronk7)
5e27228335
MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts
2017-05-19 19:22:07 +02:00
Cameron Ball
79b80ee540
MDL-58777 core: Remove redundant refresh events tasks
...
There were 4 instances of the calendar refresh events task being
queued, which is redundant as we now have the "one true task" to
fix the events table, and it needs to be run for everybody.
2017-05-10 14:16:13 +08:00
Jake Dallimore
021a143914
MDL-58684 upgrade: re-run deletion of portfolio_tempdata upgrade step
2017-05-08 12:26:16 +08:00
Jun Pataleta
c3b1178d58
MDL-58810 calendar: Fix rrule_manager issues
...
* Set the correct repeat ID for the recurring event
* Unset UUID for 'child' events of recurring events
2017-05-08 09:49:13 +08:00
Jake Dallimore
5529b4701a
MDL-58684 portfolio: use file id instead of stored_file
2017-05-04 10:00:54 +08:00
Cameron Ball
a776415d55
MDL-58578 core_calendar: Properly respect priorities on overview
...
Prior to this patch, if a user was in two groups, and an override
existed for both groups in an assignment the override
visually lower on the override list would be displayed on the
overview, whereas the one visually higher would be displayed
in the assignment grading table.
2017-04-27 15:15:12 +08:00
Jake Dallimore
fedb00d4bb
Merge branch 'MDL-58520-master' of git://github.com/ryanwyllie/moodle
2017-04-19 15:50:48 +08:00
Ryan Wyllie
4671ae6374
MDL-58520 block_myoverview: change display name to Course overview
...
Change the display name of the my overview block to Course overview to
match the block it is replacing (and the UX prototype).
The use of "My" is no longer recommended when naming things in Moodle.
2017-04-19 05:47:40 +00:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Andrew Nicols
3afd529013
Merge branch 'MDL-57393-master' of git://github.com/jleyva/moodle
2017-04-10 13:20:13 +08:00
Eloy Lafuente (stronk7)
2f090f4619
MDL-58543 upgrade: Replay 4 steps missed for some combinations
...
Moved 4 steps (2017033100.01-04) that were introduced after master
version was 2017040300 and were not executed always.
They have been moved to 2017040700.01-04, just on top of current
weekly (2017040700.00), so they will be executed by everybody.
As far as the 4 fields are XMLDB ones they are executed conditionally
so it's safe to replay them (for people that already had them run).
2017-04-09 14:11:20 +02:00
Jun Pataleta
7e4a4d30df
NOBUG: Fixed file access permissions
2017-04-07 12:45:45 +08:00
Dan Poltawski
1e4e5c52d7
Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle
2017-04-04 17:07:41 +01:00
Jun Pataleta
e6661428ad
MDL-57607 upgrade: Add post-upgrade adhoc task for refreshing mod events
...
Insert an ad-hoc task into the task_adhoc table that updates existing calendar
events to convert them to action-type events, where applicable.
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Andrew Nicols
569d091b03
MDL-58333 core_calendar: Make WS available to Mobile
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Dan Poltawski
ece14dab98
MDL-37765 install: Fix missinf field definition
2017-04-03 13:45:59 +01:00
Dan Poltawski
3ca68f24f7
Merge branch 'MDL-58220-master' of git://github.com/damyon/moodle
2017-04-03 12:41:56 +01:00
Dan Poltawski
02eaa42f23
Merge branch 'MDL-37765-MASTER' of https://github.com/jacac/moodle
2017-04-03 09:13:55 +01:00
Juan Leyva
8446ba3641
MDL-50970 core_block: New Web Service core_block_get_course_blocks
2017-04-03 09:27:53 +02:00
Damyon Wiese
9c2baf096b
MDL-58220 unittests: Fix randomly failing unit test
...
The scheduled task unit tests does not handle 'R' fields properly. We don't need it here.
2017-04-03 13:43:26 +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
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
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
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
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
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