Andrew Nicols
34cf57f1d0
Merge branch 'MDL-53537_m34v4' of https://github.com/sbourget/moodle
2017-08-16 08:46:55 +08:00
Stephen Bourget
f5de9484e8
MDL-53537 core_backup: Add a course_backup_created event
2017-08-15 14:10:38 -04:00
Eloy Lafuente (stronk7)
245227fdcd
Merge branch 'MDL-59667-master-2' of git://github.com/ryanwyllie/moodle
2017-08-15 13:12:45 +02:00
Andrew Nicols
9729cd2fcc
Merge branch 'MDL-59746-master' of git://github.com/Dagefoerde/moodle
2017-08-15 13:17:37 +08:00
Andrew Nicols
69e0850292
Merge branch 'MDL-59370-master' of git://github.com/damyon/moodle
2017-08-15 10:16:42 +08:00
Ryan Wyllie
ecc88f3379
MDL-59667 form: stop datepicker from rendering outside viewport
...
Stop the date picker panel from being rendered outside of the
viewport, for example when being displayed in a modal.
2017-08-15 01:24:52 +00:00
Jun Pataleta
28368da794
Merge branch 'MDL-59740_master' of git://github.com/markn86/moodle
2017-08-14 13:48:01 +08:00
Damyon Wiese
6015caa411
MDL-59615 inplaceeditable: autocomplete fix
...
When autocompletes are removed from the DOM, they need to be properly cleaned up or
their event handlers may get duplicated when they are re-added to the page.
JQuery empty() handles this very nicely.
2017-08-14 11:44:04 +08:00
Damyon Wiese
4b50765bd5
MDL-59370 enrol: Kill the enrol/users page.
2017-08-14 11:06:16 +08:00
Andrew Nicols
695c5726b8
MDL-59388 calendar: Add AJAX Monthly navigation
2017-08-14 09:28:40 +08:00
Andrew Nicols
162f90e59e
MDL-59388 core: Add params to link arrows
2017-08-14 09:27:58 +08:00
Eloy Lafuente (stronk7)
eb74752523
Merge branch 'MDL-59741-master' of git://github.com/jleyva/moodle
2017-08-14 02:34:11 +02:00
Eloy Lafuente (stronk7)
455974b395
Merge branch 'MDL-59748-master-2' of git://github.com/andrewnicols/moodle
2017-08-08 11:49:05 +02:00
Andrew Nicols
c036256d86
Merge branch 'MDL-59749-master' of git://github.com/ryanwyllie/moodle
2017-08-08 14:33:43 +08:00
Ryan Wyllie
0a501e1b2e
MDL-59749 form: revert setting id on inline form elements
...
Revert the change I made in MDL-59382 to correctly set the id for inline
form elements because it's breaking a bunch of different places that had
already worked around the problem.
2017-08-08 03:28:36 +00:00
Andrew Nicols
286a38eeaa
Merge branch 'MDL-59700-master' of git://github.com/cameron1729/moodle
2017-08-08 10:12:35 +08:00
Andrew Nicols
63ce49df9b
MDL-59748 groupslib: Fix time issue in unit test
2017-08-08 10:07:46 +08:00
Jan Dageförde
8f1e67d311
MDL-59746 oauth2: urlencode parameters for post requests
2017-08-07 22:21:29 +02:00
Eloy Lafuente (stronk7)
a0d85e1828
Merge branch 'MDL-59506-master' of git://github.com/andrewnicols/moodle
2017-08-07 19:55:19 +02:00
Dan Poltawski
9ebc67f4a2
Merge branch 'MDL-59172-master' of https://github.com/snake/moodle
2017-08-07 16:20:11 +01:00
David Monllao
bfdc340061
Merge branch 'MDL-59642-master' of git://github.com/andrewnicols/moodle
2017-08-07 14:41:32 +02:00
David Monllao
d5a99c450a
MDL-59116 analytics: Add rangeindex field to predict_samples index
2017-08-07 12:39:20 +02:00
Mark Nelson
a91a4dd77b
MDL-59740 core_form: add ability to specify if a button is primary
2017-08-07 17:37:14 +08:00
Juan Leyva
220656e83b
MDL-59741 auth: Always check the type of iconurls
...
We need to check always if iconurl is an instance of moodle_url to
avoid Web Services returning iconurls from identity providers to fail.
2017-08-07 10:58:37 +02:00
Cameron Ball
03756f0bdb
MDL-59700 filestorage: Rework repositories to avoid add_file_to_pool
...
For historical reasons repositories need to call add_file_to_pool
to sync file records. However now that a before_file_created hook
has been added additional information is needed by add_file_to_pool.
Ideally add_file_to_pool and friends will become private/protected,
so we need to remove all uses of it in core.
This patch adds some new methods to the file class to allow syncing
to be managed internally by the file and the file_storage class.
2017-08-07 15:50:15 +08:00
Dan Poltawski
3d3be6ec05
Merge branch 'MDL-59116_master' of git://github.com/dmonllao/moodle
2017-08-07 08:45:01 +01:00
David Monllao
8f2cee482d
Merge branch 'MDL-59644-master' of git://github.com/lameze/moodle
2017-08-07 09:34:36 +02:00
David Monllao
0370931076
Merge branch 'wip-MDL-59055-master' of git://github.com/marinaglancy/moodle
2017-08-07 09:21:21 +02:00
David Monllao
00da1e6010
MDL-59116 analytics: Multiple predictions for each analysable time range
...
Now we only predict using the most recent range available, this means
that if someone upgrades to moodle 3.4 at three quarters of a course
we will only calculate the latest range, previous ranges were not
displayed anyway once more recent predictions were available.
This commit deletes all previous predictions :) this shouldn't be a
problem in master as we don't provide any guarantee, the alternative
(retrive sampleids from mdl_files) would have been slow and a waste of
time as well as require horrible code in an upgrade step (text fields
do not accept defaults nor we can use NOTNULL).
2017-08-07 06:56:11 +02:00
Andrew Nicols
a41ef5ece5
Merge branch 'MDL-59698-master' of git://github.com/damyon/moodle
2017-08-07 12:43:42 +08:00
Cameron Ball
8243706542
MDL-59700 filestorage: Add before_file_created hook
2017-08-07 12:27:04 +08:00
Andrew Nicols
aca995a2f4
Merge branch 'MDL-59206-master' of git://github.com/damyon/moodle
2017-08-07 11:35:26 +08:00
Andrew Nicols
5bc4c797a7
MDL-59506 core_lock: use a null lock during install
...
Use a different lock factory during installation which does not actually
lock at all.
2017-08-07 09:59:44 +08:00
Marina Glancy
20060b3b2e
MDL-59055 grades: provide backward-compatibility of changes
2017-08-07 09:56:14 +08:00
Marina Glancy
be85f0cf88
MDL-59055 grades: fix bug displaying item id instead of grade
...
Thanks to Marcelo Santos for initial patch
2017-08-07 09:56:14 +08:00
Jake Dallimore
4d068a6708
MDL-59172 user: user_can_view_profile() now checks viewalldetails cap
2017-08-07 09:27:04 +08:00
Andrew Nicols
d504e9207c
MDL-59642 stats: Correct random unit test failure
...
The unit test was creating four events, and then relying on them being
retrieved in the order in which they were created.
I've modified the test to:
* ensure timecreated are spaced apart; and
* add an order by timecreated when fetching them.
2017-08-04 15:06:51 +08:00
Andrew Nicols
ee640d3f2d
Merge branch 'm34_MDL-59583_Fix_MariaDB_10d2d7_Breaking_Change' of https://github.com/scara/moodle
2017-08-03 12:29:56 +08:00
Damyon Wiese
63f4aa20b2
MDL-59698 behat: Remove bad tests
...
These tests are an abuse and should not have been accepted. Behat tests should use real pages.
Adding testing only entry points to Moodle is a bad security practice and is not the purpose of behat.
2017-08-03 10:26:05 +08:00
Andrew Nicols
c6de3bd68f
Merge branch 'MDL-59382-master-4' of git://github.com/ryanwyllie/moodle
2017-08-03 09:31:44 +08:00
Ryan Wyllie
d6942fb5ba
MDL-59382 calendar: fix CiBoT warnings
2017-08-03 01:07:01 +00:00
Matteo Scaramuccia
2ec50fe3fd
MDL-59583 dml: fixed NULL values w/ MariaDB 10.2.7+
2017-08-03 00:13:03 +02:00
Jun Pataleta
1e674d0147
MDL-59613 course: Activity list dropdown menu fixes
...
* Use the formatted name of the modules to be listed in the dropdown.
* Skip the current activity when adding activities for the dropdown.
2017-08-02 17:02:24 +08:00
Simey Lameze
705eea84d1
MDL-59382 core: make CiBoT happy.
2017-08-02 07:52:20 +00:00
Andrew Nicols
9bed446559
Merge branch 'MDL-57259-master' of git://github.com/ryanwyllie/moodle
2017-08-02 13:39:23 +08:00
Simey Lameze
7934986284
MDL-59644 core_output: fix font awesome mapping for lock icons
2017-08-02 13:37:03 +08:00
Ryan Wyllie
aa0912258d
MDL-59382 calendar: add modal to create and update events
2017-08-02 04:47:43 +00:00
Ryan Wyllie
6973baa31e
MDL-59382 form: fix name in template context
2017-08-02 04:47:42 +00:00
Ryan Wyllie
a50768b97f
MDL-59382 javascript: template context can be given to modal factory
2017-08-02 04:47:42 +00:00
Ryan Wyllie
4defa05fdc
MDL-59382 javascript: fix large styling for modals
2017-08-02 04:47:42 +00:00