85905 Commits

Author SHA1 Message Date
Simey Lameze
448f47271b MDL-59674 core_calendar: add course link to group events 2017-08-23 10:19:10 +08:00
Ryan Wyllie
96283892fe MDL-59393 calendar: fix CiBoT complaints 2017-08-23 02:09:43 +00:00
Jun Pataleta
c1e75004a5 Merge branch 'MDL-59797-master' of git://github.com/lameze/moodle 2017-08-23 10:05:15 +08:00
Simey Lameze
b45ca55d6b MDL-59790 core: fix tooltip for pie chart 2017-08-23 10:03:00 +08:00
Andrew Nicols
8cb6a55147 Merge branch 'MDL-53848_form_hideif' of git://github.com/davosmith/moodle 2017-08-23 09:56:00 +08:00
Andrew Nicols
6ca4e64606 Merge branch 'MDL-59393-master-2' of git://github.com/ryanwyllie/moodle 2017-08-23 09:44:01 +08:00
Andrew Nicols
ac92b9d2a9 Merge branch 'MDL-51827' of git://github.com/timhunt/moodle 2017-08-23 09:37:52 +08:00
Ryan Wyllie
ca518350ff MDL-59393 calendar: use event context in update_event_start_day 2017-08-23 01:32:51 +00:00
Simey Lameze
b453e4c92f MDL-59797 core_course: dont escape module and section names 2017-08-23 09:19:02 +08:00
Ryan Wyllie
28e030d9f9 MDL-59393 calendar: remove use of legacy event in event_exporter 2017-08-23 01:15:08 +00:00
Ryan Wyllie
909d08588d MDL-59393 calendar: stop user editing module events 2017-08-23 00:57:22 +00:00
Ryan Wyllie
5ca142dc5b MDL-59393 calendar: add event drag and drop to monthly view 2017-08-23 00:57:22 +00:00
Ryan Wyllie
c6fb931088 MDL-59393 calendar: add update_event_start_day external function 2017-08-23 00:56:27 +00:00
Ryan Wyllie
55f5fcb9c9 MDL-59393 calendar: add update_event_start_day to local api 2017-08-23 00:56:26 +00:00
Ryan Wyllie
0dc3aa1295 MDL-59393 calendar: set defaults for legacy event in mapper 2017-08-23 00:56:26 +00:00
Ryan Wyllie
1652934f09 MDL-59393 calendar: move candelete and canedit into event_exporter_base 2017-08-23 00:56:26 +00:00
Simey Lameze
d8da7fc8b4 MDL-59674 core_calendar: add group name to summary template 2017-08-23 00:56:26 +00:00
Simey Lameze
950d2ce0e5 MDL-59674 core_calendar: add group name to event exporter 2017-08-23 00:56:26 +00:00
Eloy Lafuente (stronk7)
a7417383fa Merge branch 'MDL-59067_master' of git://github.com/dmonllao/moodle 2017-08-23 02:55:20 +02:00
David Monllao
0690a271c3 MDL-59067 analytics: Store indicator calculations
This was supposed to be split into multiple commits to make it easier to understand
but I failed to do it properly. So this is the list of changes:

- New analytics_indicator_calc db table to store indicators calculations
- Reuse previous calculations during prediction/training; other models
  previous calculations should also be reused as long as they belong to
  the same sample (sampleid depends on sampleorigin), time range and indicator
- Allow bulk inserting of these calculations as this can hurt database performance
- Block the same analysable to be analysed for training and for prediction
- Use a new instance of the target and use it for is_valid_* functions
  as using ::is_valid_sample can lead to problems if people
  uses it to cache stuff
2017-08-22 22:28:04 +02:00
Eloy Lafuente (stronk7)
018b1f3112 Merge branch 'MDL-59663-master' of git://github.com/junpataleta/moodle 2017-08-22 21:03:32 +02:00
Tim Hunt
e95fe51e72 MDL-51827 account confirm: take users to their dashboard
This is an old bit of UI inconsistency. For some reason it used to take
people to the list of all courses. Given modern Moodle usability
conventions, that does not really make sense any more.
2017-08-22 14:33:04 +01:00
Eloy Lafuente (stronk7)
9bd0912ad0 Merge branch 'MDL-59661_master-unit-test' of git://github.com/dmonllao/moodle 2017-08-22 13:23:11 +02:00
David Monllao
9955e0fe06 MDL-59661 analytics: New test for the datasets manager 2017-08-22 13:04:49 +02:00
Eloy Lafuente (stronk7)
fae154ea39 Merge branch 'MDL-59859-master' of git://github.com/andrewnicols/moodle 2017-08-22 12:36:48 +02:00
Eloy Lafuente (stronk7)
faa509dfb2 Merge branch 'MDL-59784-master' of git://github.com/andrewnicols/moodle 2017-08-22 12:28:32 +02:00
Andrew Nicols
1bf96e2388 MDL-59848 auth: Remove config for old plugins
Note: (stronk7@moodle.org) Amended slightly from original to update versions.
2017-08-22 12:20:19 +02:00
Andrew Nicols
4508e143d8 Merge branch 'MDL-59826-master' of https://github.com/snake/moodle 2017-08-22 15:49:11 +08:00
Andrew Nicols
170bbc84a7 Merge branch 'MDL-59825-master' of https://github.com/snake/moodle 2017-08-22 15:12:38 +08:00
Jun Pataleta
b5d6f7db3b Merge branch 'MDL-57775-master-xmlrpc' of git://github.com/mudrd8mz/moodle 2017-08-22 15:00:01 +08:00
Andrew Nicols
474c7ee757 Merge branch 'MDL-36985-master' of https://github.com/snake/moodle 2017-08-22 14:37:55 +08:00
Damyon Wiese
555a43a9f5 MDL-59801 roles: Allow filter by assignable roles
If you can edit roles on the participants page you should be able to filter by any assignable role
2017-08-22 13:59:59 +08:00
Damyon Wiese
9df2fdecde MDL-59801 users: Show profile roles to students
Obey site config "profileroles" for students.
2017-08-22 13:59:59 +08:00
Damyon Wiese
80a2937dbe MDL-59688 enrol: Show removed users
When users are automatically removed from the bulk action selection (due to a non-matching enrolment method)
we should show a warning to make it obvious.
2017-08-22 13:54:00 +08:00
Andrew Nicols
8df7bfff0d Merge branch 'MDL-59893-master' of https://github.com/snake/moodle 2017-08-22 13:32:53 +08:00
Jake Dallimore
81ed702156 MDL-36985 atto: show file removal text on managefiles plugin
Shows a text warning in the manage files plugin window when an editor
has set the 'removeorphaneddrafts' option to true. The text tells the
user that unused files will be automatically deleted on save.
2017-08-22 13:19:52 +08:00
Jake Dallimore
f3c2afd0e8 MDL-36985 core_files: added option to remove draft files on save
text areas can now specify $options['removeorphaneddrafts'] when saving
their data using file_postupdate_standard_editor(). If set to true,
this option clears all user drafts which are not referenced in the text
2017-08-22 13:15:30 +08:00
Jun Pataleta
0ea62b8de6 Merge branch 'MDL-59204_master-fix' of git://github.com/markn86/moodle 2017-08-22 13:08:19 +08:00
Mark Nelson
2f3e176078 MDL-59204 analytics: added missing apostrophe 2017-08-22 13:04:47 +08:00
Simey Lameze
c43d6d6d4f MDL-59820 core_calendar: remove unnecessary css class 2017-08-22 12:59:29 +08:00
Jake Dallimore
859e62e7fa MDL-59893 assign: don't prefix file links when downloading as folders
Change to download_rewrite_pluginfile_urls() ensuring prefix isn't
added to file links when downloading with the  downloadasfolders
user preference set to true. Links to files in onlinetext now work
when downloading as folders.
2017-08-22 12:56:45 +08:00
Jake Dallimore
a15dfc6682 MDL-59893 assign: fixes for groupname prefix when downloading
assign->download_submissions():
- groupname now only added to zip file name if not empty, fixing a
double hyphen bug in the file name.
assign->download_rewrite_pluginfile_urls():
- groupname is now correctly determined using get_submission_group()
instead of using groups_get_activity_group() which fails when there
is no active activity group set. Uses the same logic that
download_submission() uses to prefix file names. Fixes a bug where an
empty groupname prefix was generated, resulting in broken links.
2017-08-22 12:56:28 +08:00
Jun Pataleta
f8de8cb314 Merge branch 'MDL-59204_master_v2' of git://github.com/markn86/moodle 2017-08-22 12:46:23 +08:00
Andrew Nicols
51483e4a4e Merge branch 'MDL-57246-33-forumredirect' of git://github.com/roperto/moodle 2017-08-22 12:26:42 +08:00
Mark Nelson
2fa1f92a82 MDL-59204 analytics: help icons for target, indicators and time method 2017-08-22 12:07:00 +08:00
Andrew Nicols
ea8b25c51f Merge branch 'MDL-59702' of https://github.com/andrewhancox/moodle 2017-08-22 11:01:30 +08:00
Andrew Nicols
b4b61be922 Merge branch 'MDL-59860-master-fix' of https://github.com/lameze/moodle 2017-08-22 10:51:52 +08:00
Simey Lameze
1228bb6cad MDL-59860 core_calendar: fix behat failures 2017-08-22 09:40:01 +08:00
Adrian Greeve
e3909e5853 MDL-59881 question bank: Use supplied function parameters.
question_usage_by_activity::start_all_questions now uses all
three of the parameters that are defined.
2017-08-22 09:30:04 +08:00
Eloy Lafuente (stronk7)
2345ae252e Merge branch 'MDL-59661_master' of git://github.com/dmonllao/moodle 2017-08-22 01:41:29 +02:00