Commit graph

90380 commits

Author SHA1 Message Date
Amaia Anabitarte
de103e2329 MDL-63068 user: Allow underscore for profile custom fields shortname 2018-10-11 16:41:10 +02:00
Amaia Anabitarte
8b32d682a5 MDL-62920 user: Uploading deleted user and adding to a cohort 2018-10-11 16:28:18 +02:00
Shamim Rezaie
117006e9be MDL-63626 mod_quiz: Fixed a bug when there was no attempt on the quiz 2018-10-12 01:04:01 +11:00
Eloy Lafuente (stronk7)
18c5565a1e weekly release 3.5.2+ 2018-10-11 13:22:56 +02:00
Eloy Lafuente (stronk7)
60c2d866de Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-10-11 13:22:54 +02:00
Damyon Wiese
6324e6cbdf MDL-62319 assignfeedback_editpdf: Disable touch scrolling
Assignment editpdf canvas provides it's own scroll tool and the native browser one breaks
the rest of the tools for the canvas. Turn it off.
2018-10-11 13:31:27 +08:00
Nathan Nguyen
107a70c18c MDL-62319 Assign: Grading interface is broken when using iOS 11.3 devices 2018-10-11 13:31:23 +08:00
AMOS bot
38c7b40532 Automatically generated installer lang files 2018-10-11 00:07:18 +00:00
Eloy Lafuente (stronk7)
d19ca2c152 Merge branch 'MDL-62891-35-callable_name' of git://github.com/mudrd8mz/moodle into MOODLE_35_STABLE 2018-10-10 23:33:11 +02:00
Eloy Lafuente (stronk7)
d61e7f1e3f Merge branch 'MDL-63225-35' of git://github.com/jleyva/moodle into MOODLE_35_STABLE 2018-10-10 23:25:52 +02:00
Jake Dallimore
9477b1d568 MDL-60145 course: fix bug with group restictions button during mod edit
If a mod doesn't support groups, then we remove the grouping element,
and now also the 'add group/group restriction' helper button too.
2018-10-10 08:42:07 +08:00
AMOS bot
38f9254cd4 Automatically generated installer lang files 2018-10-10 00:07:15 +00:00
Eloy Lafuente (stronk7)
6e5c713b60 Merge branch 'MDL-63439-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2018-10-10 00:48:20 +02:00
Eloy Lafuente (stronk7)
9ab9aa573b Merge branch 'MDL-62395-35' of git://github.com/junpataleta/moodle into MOODLE_35_STABLE 2018-10-09 23:06:36 +02:00
Eloy Lafuente (stronk7)
1ca1b28e52 Merge branch 'MDL-63401-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-10-09 11:36:26 +02:00
David Monllao
5f13e8876b Merge branch 'MDL-62738_35' of https://github.com/mfabriczy/moodle into MOODLE_35_STABLE 2018-10-09 09:24:17 +02:00
David Monllao
a16f2c8b55 Merge branch 'MDL-51969-MOODLE_35_STABLE' of https://github.com/dmitriim/moodle into MOODLE_35_STABLE 2018-10-09 09:21:08 +02:00
Jun Pataleta
3addb66f2d Merge branch 'MDL-62491-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2018-10-09 14:39:41 +08:00
Jun Pataleta
505a25b403 Merge branch 'MDL-63241-35-take2' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2018-10-09 12:48:48 +08:00
Adrian Greeve
bb76ffff21 MDL-62491 navigation: Update to tree.js to allow callbacks. 2018-10-09 09:40:06 +08:00
Adrian Greeve
375eb5e975 MDL-62491 mod_assign: Fill in the rewrite plugin urls properly. 2018-10-09 09:40:06 +08:00
Adrian Greeve
1db088f085 MDL-62491 core_privacy: Add html files to the user data export.
This adds html to the data export that allows for easier navigation
and reading of data.
2018-10-09 09:40:06 +08:00
Damyon Wiese
100e479daf MDL-63439 assign: Unicode charsets for pdf
Prefer to use freesans font for generated pdfs as it has the biggest charset support.
2018-10-09 09:30:24 +08:00
Jun Pataleta
191d470949 Merge branch 'MDL-63194_35' of https://github.com/timhunt/moodle into MOODLE_35_STABLE 2018-10-09 08:55:39 +08:00
Andrew Nicols
c62c4c9c40 MDL-63401 tool_dataprivacy: Change default for require end date
We should preserve the existing behaviour.
2018-10-09 08:32:18 +08:00
Andrew Nicols
ac4f0d0e51 MDL-63401 tool_dataprivacy: Simplify where processing 2018-10-09 08:22:42 +08:00
Andrew Nicols
76075bcf6b MDL-63401 tool_dataprivacy: Move final cap check to endpoint 2018-10-09 08:22:42 +08:00
Eric Merrill
f55f89162d MDL-63456 qtype_multichoice: Return a default options object if missing 2018-10-08 16:31:27 -04:00
Eric Merrill
2d5d5d7902 MDL-63456 question: Improve Aiken error handling and multichoice errors 2018-10-08 16:31:27 -04:00
Tim Hunt
a83a1d9ee0 MDL-63194 quiz editing: subtle drag-drop bug if moving between sections 2018-10-08 17:46:32 +01:00
Juan Leyva
aba0de88be MDL-63583 course: Include course/lib.php always
core_course_get_courses_by_field WS must include always course/lib.php to not depend on functions including it.
2018-10-08 16:56:00 +02:00
Andrew Nicols
a996aa4ea6 MDL-63401 tool_dataprivacy: Allow expiriration of users without end date 2018-10-08 20:51:41 +08:00
Andrew Nicols
3a6fe7db1b MDL-63401 tool_dataprivacy: Rewrite expired deletion handling
This change rewrites the way in which expiry is calculated and addresses
a number of closely related issues:

Users can customise, and add blocks with data to, their dashboard.  When
a user had done so, the user could be flagged for deletion, but the
blocks in their Dashboard were subject to the default block retention
policy. In addition there is no way to override the retention policy for
user blocks.

This change modifies the structure of the expiry mechanism:
- to consider any subcontext of the user context to be a part of the user
  context during calculation. User child contexts are not the property
  of the system, and should not be treated separately.
- the way in which the context expiry mechanism worked was to select
  use a multiple different managers based solely on the context level.
  Because of the use of user blocks, this proved to be unreliable as
  blocks has been attributed purely to courses.
  This has been changed to a single manager which is aware of hierarchy
  and deletions as a whole.
- to prepare for upcoming work relating to more detailed expiry
  mechanisms, a new expiry_info class is introduced and used to
  merge the expiry of child contexts into a working in-memory view.

This changeset includes extensive unit tests.
2018-10-08 20:51:09 +08:00
Andrew Nicols
cfb272d0ae MDL-63401 core: Do not delete the user context
As long as we have a user record, we should not delete the context which
relates to it.
2018-10-08 20:51:09 +08:00
Andrew Nicols
0de0739e8e MDL-63401 tool_dataprivacy: Move cap checks to endpoints from API 2018-10-08 20:51:09 +08:00
David Monllao
593d8d250f Merge branch 'MDL-63323-35-wrong-classes-attribute-into-activity_navigation' of https://github.com/davidherney/moodle into MOODLE_35_STABLE 2018-10-08 11:30:21 +02:00
Luca Bösch
b0147a4737 MDL-63241 calendar: Add missing table alias in SQL query. 2018-10-07 21:45:22 +02:00
Marcus Fabriczy
975c91dec8 MDL-62738: editor_tinymce: Fix call stack size bug on Safari
The call stack size was being exceeded via a recursive loop brought
by MDL-61189.

To fix, this item removes MDL-36803 and MDL-41328 as the iOS keyboard works
nicely now on Safari with TinyMCE.
2018-10-06 17:29:26 +09:30
Juan Leyva
5166e72190 MDL-63542 core_course: Support stealth activities in WS 2018-10-05 14:51:19 +02:00
Eloy Lafuente (stronk7)
8946ee7937 MDL-63421 env: Moodle 3.4.x and 3.5.x do not support PHP 7.3 2018-10-05 13:34:29 +02:00
David Mudrák
4edb56a2a5 MDL-62891 core: Stop using var_export() to describe callables
Make use of the newly added function get_callable_name() when reporting
that an exception happened during shutdown.
2018-10-05 08:51:56 +02:00
David Mudrák
02459b6527 MDL-62891 core: Introduce new get_callable_name() function 2018-10-05 08:51:56 +02:00
Dmitrii Metelkin
f9f8a9575e MDL-51969 mod_lti: Fixed missing tool proxy GUID 2018-10-05 15:14:54 +10:00
Jun Pataleta
7daf207db7 weekly release 3.5.2+ 2018-10-05 10:29:07 +08:00
Jun Pataleta
41ae59a8de Merge branch 'install_35_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_35_STABLE 2018-10-05 10:29:06 +08:00
Jun Pataleta
20d47f1b5f MDL-62395 tool_dataprivacy: Purpose name and description in one column
* Show the purpose's name and description under one column.
2018-10-05 09:21:22 +08:00
Jun Pataleta
a779b53b2f MDL-62395 bootstrapbase: Add more w-XX classes for BS4 compatibility
I added w-25, w-50 and w-75.
2018-10-05 09:21:22 +08:00
Jun Pataleta
7e0e5b02c5 MDL-62395 tool_dataprivacy: Use BS4 table classes
* Use standard Bootstrap4 table classes for the categories and purposes
  tables.
* Set w-25 for the name and description columns of the purposes table.
* Set w-50 for the description column of the categories table.
* Set a minimum width for the actions column of these tables.
2018-10-05 09:21:22 +08:00
Jun Pataleta
054937e378 Merge branch 'MDL-35788-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2018-10-04 12:45:43 +08:00
Jun Pataleta
a8e4094570 MDL-63528 auth: Behat scenario for "Remember username" display 2018-10-04 12:24:39 +08:00