Commit graph

91028 commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
609c73be26 Merge branch 'MDL-29895' of https://github.com/enovation/moodle 2018-10-10 00:29:16 +02:00
Daniel Neis Araujo
c8dcecf3f3 MDL-63603 enrol: Add Indian Rupee to paypal enrolment currencies 2018-10-09 18:19:14 -03:00
Eloy Lafuente (stronk7)
25fe592cf0 Merge branch 'MDL-62395-master' of git://github.com/junpataleta/moodle 2018-10-09 23:06:28 +02:00
Andreas Grähn
b80f15efca MDL-46415 tinymce: SVG emoticons size 2018-10-09 22:19:39 +02:00
Marina Glancy
261a3a3085 MDL-51803 core: sortable list, fix for touch devices 2018-10-09 16:05:39 +02:00
David Monllao
b43f926b44 MDL-51803 autoscroll: Fix incorrect reference to function 2018-10-09 13:58:51 +02:00
David Monllao
ce49b96586 Merge branch 'MDL-51803-master-mouse' of git://github.com/marinaglancy/moodle 2018-10-09 13:53:29 +02:00
Marina Glancy
e3c2a1bb3a MDL-51803 core: fix for touchstart 2018-10-09 13:28:39 +02:00
Marina Glancy
e134ad7b38 MDL-51803 core: sortable list singleton 2018-10-09 13:28:33 +02:00
Eloy Lafuente (stronk7)
fac3c7ff4c Merge branch 'MDL-63427-master' of git://github.com/mihailges/moodle 2018-10-09 13:21:11 +02:00
Andreas Grähn
748bb77266 MDL-46415 atto: SVG emoticons size 2018-10-09 12:09:44 +02:00
Andreas Grähn
c77c036c4d MDL-46415 pix: SVG emoticons 2018-10-09 11:43:42 +02:00
Eloy Lafuente (stronk7)
bf0072e6c3 Merge branch 'MDL-63401-master' of git://github.com/andrewnicols/moodle 2018-10-09 11:35:29 +02:00
David Monllao
f79460dafa Merge branch 'MDL-62738_master' of https://github.com/mfabriczy/moodle 2018-10-09 09:23:57 +02:00
David Monllao
b52e22dccb Merge branch 'MDL-51969-master' of https://github.com/dmitriim/moodle 2018-10-09 09:19:53 +02:00
Peter
63d0d9b472 MDL-63043 core_blocks: Increase the fixed width to 360
Increase the fixed width of the column to 360. Already does the realign below centre column

Compiled css file
2018-10-09 15:01:21 +08:00
David Monllao
bbb2141084 Merge branch 'MDL-60710-master' of git://github.com/abias/moodle 2018-10-09 09:00:42 +02:00
David Monllao
e2f8547acf Merge branch 'MDL-61378-master' of git://github.com/damyon/moodle 2018-10-09 08:57:49 +02:00
Jun Pataleta
14719185b0 Merge branch 'MDL-62491-master-fix' of git://github.com/abgreeve/moodle 2018-10-09 14:09:28 +08:00
Jun Pataleta
6a28761848 Merge branch 'MDL-63241-master-take2' of https://github.com/lucaboesch/moodle 2018-10-09 12:49:07 +08:00
Damyon Wiese
2015327b28 MDL-61378 forum: Upgrade notes
Tell developers to correctly nest calls to forum_print_post
2018-10-09 09:35:02 +08:00
Damyon Wiese
1bf3a76a59 MDL-61378 forum: Standardize HTML output for posts
Improve the format of the HTML representing a forum post.

1. Use <article> tag to mark it correctly.
2. Use <time> tag to include the real datetime information.
3. Use <address> tag to specify who and when the post came from.
4. Use heading level tags to mark the subject of each post.
5. Properly nest reply posts within their parent <article>
6. Use a header tab for each article to split the metadata from the content.
7. Use CSS to separate links, not text content.

Because posts are now nested properly, the heading for each one refers to it's own article
and we don't need to generate arbitrary heading level tags depending on how deep the post
is nested.
2018-10-09 09:34:57 +08:00
Adrian Greeve
ea81e783ef MDL-62491 privacy: Fix running the download script.
Previously running the code to generate the download file
was very fagile. Now the code can be run anywhere without
problems occuring copying files.
2018-10-09 09:31:13 +08:00
Damyon Wiese
490e48a4df 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:28:06 +08:00
Jun Pataleta
f849b0faa9 Merge branch 'MDL-63194' of https://github.com/timhunt/moodle 2018-10-09 08:56:02 +08:00
Andrew Nicols
751b5e8b92 MDL-63401 tool_dataprivacy: Change default for require end date
We should preserve the existing behaviour.
2018-10-09 08:31:59 +08:00
Andrew Nicols
9a8944c52d MDL-63401 tool_dataprivacy: Simplify where processing 2018-10-09 08:21:38 +08:00
Andrew Nicols
7200ab20cd MDL-63401 tool_dataprivacy: Move final cap check to endpoint 2018-10-09 08:21:25 +08:00
Mihail Geshoski
e3b53ef1f4 MDL-63427 block_myprofile: My profile block UI improvements 2018-10-09 08:09:11 +08:00
Alexander Bias
da4d17313d MDL-60710 course: Overhaul of Behat tests 2018-10-08 22:49:36 +02:00
Alexander Bias
3ebba90a6b MDL-60710 course: Refine strings 2018-10-08 22:49:13 +02:00
Eric Merrill
1ddf3b6a0f MDL-63456 qtype_multichoice: Return a default options object if missing 2018-10-08 15:50:02 -04:00
Eric Merrill
efea324715 MDL-63456 question: Improve Aiken error handling and multichoice errors 2018-10-08 15:50:02 -04:00
Tim Hunt
7a8782c4ae MDL-63194 quiz editing: subtle drag-drop bug if moving between sections 2018-10-08 17:37:11 +01:00
Bas Brands
faff02ae6b MDL-63041 theme boost: remove region main border padding for dashboard 2018-10-08 17:07:30 +02:00
Juan Leyva
bd4a6a7060 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:32:15 +02:00
Andrew Nicols
65f77d319e MDL-63401 tool_dataprivacy: Allow expiriration of users without end date 2018-10-08 20:49:59 +08:00
Andrew Nicols
2136ec3da3 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:49:55 +08:00
Andrew Nicols
204abd3c97 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:49:17 +08:00
Andrew Nicols
cbae8dcd57 MDL-63401 tool_dataprivacy: Move cap checks to endpoints from API 2018-10-08 20:49:17 +08:00
David Monllao
4e725169f9 MDL-60425 blog: Remove empty line 2018-10-08 12:52:04 +02:00
David Monllao
92adfa3cd2 Merge branch 'MDL-60425-master' of git://github.com/jleyva/moodle 2018-10-08 12:51:05 +02:00
Marina Glancy
dbe5689ef1 MDL-51803 core: integration review 2018-10-08 11:50:47 +02:00
Marina Glancy
6b9cb2481c MDL-51803 core: integration review 2018-10-08 11:50:47 +02:00
Marina Glancy
539cb25050 MDL-51803 core: reusable element for sorting lists 2018-10-08 11:50:47 +02:00
Marina Glancy
a21d34776b MDL-51803 core: autoscroll module from OU 2018-10-08 11:50:47 +02:00
David Monllao
de0d394192 Merge branch 'MDL-63323-wrong-classes-attribute-into-activity_navigation' of https://github.com/davidherney/moodle 2018-10-08 11:30:15 +02:00
Adrian Greeve
ff40c7d374 MDL-62491 navigation: Update to tree.js to allow callbacks. 2018-10-08 09:00:08 +08:00
Adrian Greeve
812c409203 MDL-62491 mod_assign: Fill in the rewrite plugin urls properly. 2018-10-08 09:00:08 +08:00
Adrian Greeve
e90a0a7415 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-08 09:00:08 +08:00