Commit graph

2668 commits

Author SHA1 Message Date
Andrew Nicols
8feef7308a Merge branch 'MDL-64400-master' of git://github.com/aanabit/moodle 2019-01-08 08:27:06 +08:00
Damyon Wiese
9a4c6a245c MDL-64375 gradingform_rubric: Styles for overflow
Allow people to define lots of levels, and make the scroll region just the rubric table,
not the entire content region.
2019-01-04 08:44:10 +08:00
Eloy Lafuente (stronk7)
a12207be25 MDL-63276 upgrade: clean < 3.2.0 upgrade steps
3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)

This just deletes all the upgrade steps previous to 3.2.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.

Also includes an upgrade step to prevent upgrading from any
version < 2016120500 (v3.2.0) as anti-cheating measure.

Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase. (note there isn't any this time).
2019-01-03 01:17:17 +01:00
Amaia Anabitarte
0f38e62970 MDL-64400 core_messages: Mark notifications sent via email as read 2018-12-27 09:15:53 +01:00
Andrew Nicols
bf197c166c Merge branch 'MDL-62223-master' of git://github.com/Kathrin84/moodle 2018-12-20 11:32:50 +08:00
Jun Pataleta
e63084ec1b Merge branch 'MDL-60474-master' of git://github.com/damyon/moodle 2018-12-19 10:14:13 +08:00
Damyon Wiese
064f15033f MDL-60474 assign: Consistent user filters
Use the current filters and sorting on the user grading table in the single
page grading app when it is possible.

This replaces the popover used to configure the filters to one that closely matches the
one from the grading table. It supports standard filters, workflow filters and allocated marker filters.

It will also support group filtering and suspended user filtering but we don't show the controls for those in
the single grading page.
2018-12-19 10:10:23 +08:00
Damyon Wiese
1879a74ed7 MDL-60082 assign: Grading worksheet with no grade
If the grade type is NONE - do not include the maxgrade column.
2018-12-18 11:12:17 +08:00
Jake Dallimore
78f8d05e1c Merge branch 'master_MDL-49673' of git://github.com/danmarsden/moodle 2018-12-18 10:51:37 +08:00
Andrew Nicols
df9f6cbb29 Merge branch 'MDL-63773_assign_hideif' of git://github.com/davosmith/moodle 2018-12-18 09:38:33 +08:00
Dan Marsden
91a2215eea MDL-49673 mod_assign: Tidy up hidegrader patch 2018-12-18 14:33:42 +13:00
Andrew Nicols
05bbf5ab39 Merge branch 'MDL-61633-master' of https://github.com/lucisgit/moodle 2018-12-17 15:28:29 +08:00
Jun Pataleta
31a111b981 Merge branch 'MDL-60008-master' of git://github.com/damyon/moodle 2018-12-17 11:48:45 +08:00
Alex Walker
f14afd2936 MDL-49673 mod_assign: option to hide grader 2018-12-14 13:50:06 +13:00
Tony Butler
31e1884de2 MDL-61633 assignfeedback_editpdf: Scroll back to top when changing pages 2018-12-13 12:14:25 +00:00
Kathrin Osswald
ee6484497b MDL-62223 mod_assign: Improve submission statements 2018-12-11 13:59:10 +01:00
Damyon Wiese
c539c67d6b MDL-64313 assign: feedback viewed event
When a student views their submission, if it has feedback create an event.
2018-12-11 14:03:30 +08:00
Davo Smith
67809990f6 MDL-63773 mod_assign: switch instance form to hideIf 2018-12-06 13:31:45 +00:00
Davo Smith
540a0e23f1 MDL-63773 assignfeedback_comments: switch instance form to hideIf 2018-12-06 13:31:45 +00:00
Davo Smith
a029b9aff5 MDL-63773 assignsubmission_file: switch instance form to hideIf 2018-12-06 13:31:45 +00:00
Davo Smith
f203fbf9b6 MDL-63773 assignsubmission_onlinetext: switch instance form to hideIf 2018-12-06 13:31:44 +00:00
Damyon Wiese
3ea40cdb62 MDL-60008 assign: Button height fix
The heights of the buttons to hide/show panels are arbitrarily big. There is not need to set them specifically.
2018-12-06 13:33:21 +08:00
Damyon Wiese
3adea4e265 MDL-60008 assign: editpdf menus
The edit pdf menus are all broken on small screen sizes. They consume 100% of the page with for no reason.
2018-12-06 13:33:21 +08:00
Damyon Wiese
66c262777c MDL-60008 assign: Less z-index
Remove the z-index values from the expand / collapse panels. They cause errors when mixed with dialogues.
2018-12-06 13:33:21 +08:00
Damyon Wiese
e3511e7978 MDL-60008 assign: Info messages
Better support for information messages from the conversion process.
2018-12-06 13:33:12 +08:00
Damyon Wiese
86c577093b MDL-60008 assignfeedback_editpdf: Show warnings
When not all files are available in the online pdf, display a warning to graders
that some files must be downloaded.
2018-12-06 12:11:47 +08:00
Damyon Wiese
0888ebc1f9 MDL-60008 assign: Best effort document conversion
Basically we should produce a combined PDF from all the files that it was possible to convert.
If any one submission input file fails conversion, it should just be omitted in the result.
2018-12-06 12:11:47 +08:00
Tim Hunt
939218c2b6 MDL-46783 permissions: let some moodle/ caps be overriden in all mods
The capabilities changed ('contextlevel' => CONTEXT_COURSE changed to
'contextlevel' => CONTEXT_MODULE) are:

* moodle/site:accessallgroups
* moodle/site:viewfullnames
* moodle/site:trustcontent
* moodle/site:viewuseridentity

This list came from reviewing the _get_extra_capabilities functions in
all core activities. They were all somewhat inconsistent, but I think it
makes sense that these capabilities are consistently overridable in all
activities. E.g. moodle/site:accessallgroups affects conditional
availability even if there is no other user of groups, and
moodle/site:viewuseridentity and moodle/site:viewfullnames affect the
logs report, if nothing else.

As a result of this, several _get_extra_capabilities functions are no
longer needed, and all the rest have been simplified.
2018-12-05 16:44:25 +00:00
Eloy Lafuente (stronk7)
f47c8f3525 MDL-64300 upgrade: add 3.6.0 separation line to all upgrade scripts 2018-12-02 18:36:40 +01:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Eloy Lafuente (stronk7)
70abb41263 Merge branch 'MDL-63798_assign_restore_groups' of git://github.com/davosmith/moodle 2018-11-21 16:05:32 +01:00
Davo Smith
b5f63b1e90 MDL-63798 mod_assign: fix restore when group is missing 2018-11-21 07:58:11 +00:00
Mark Nelson
4f95f92edc MDL-63591 assignfeedback_comments: fix privacy provider file URLs 2018-11-21 14:38:13 +08:00
Helen Foster
cd492e2ea5 MDL-63976 lang: Merge English strings from the en_fix language pack
Significant string changes:

* courseoverviewfiles, courseoverviewfiles_help, courseoverviewfilesext
  in core, configcourseoverviewfilesext, configcourseoverviewfileslimit
  in core_admin, areacourseoverviewfiles in core_repository - renaming
  of 'Course summary files' to 'Course image'
2018-11-19 19:17:52 +01:00
Eloy Lafuente (stronk7)
246149f059 Merge branch 'MDL-53035-master' of git://github.com/vmdef/moodle 2018-11-16 00:35:33 +01:00
Juan Leyva
df3d877656 MDL-63832 assign: Check current user can view submission 2018-11-14 16:53:34 +01:00
Jun Pataleta
1d2adca39b Merge branch 'MDL-63924-master' of git://github.com/andrewnicols/moodle 2018-11-09 11:57:38 +08:00
Andrew Nicols
c96cd71102 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
Víctor Déniz Falcón
e26d40e343 MDL-53035 mod_assign: add course_module_viewed event 2018-11-08 09:54:55 +00:00
Dan Marsden
e6a93dc215 MDL-63800 mod_assign: don't show grade if not set. 2018-11-06 10:04:15 +13:00
Andrew Nicols
f8e364e31a Merge branch 'MDL-63422' of git://github.com/stronk7/moodle 2018-11-02 08:22:33 +08:00
Andrew Nicols
bdccab4769 Merge branch 'MDL-63816-master' of git://github.com/mickhawkins/moodle 2018-11-02 08:00:32 +08:00
Eloy Lafuente (stronk7)
9c0e123af0 MDL-63826 tests: Don't rely on random array keys for testing 2018-11-01 00:28:35 +01:00
Jun Pataleta
52d575b396 Merge branch 'MDL-63820' of git://github.com/albertgasset/moodle 2018-10-31 16:01:40 +08:00
Michael Hawkins
b16a3388bb MDL-63816 privacy: Corrected provider get_users_in_context descriptions 2018-10-31 12:13:30 +08:00
Eloy Lafuente (stronk7)
bd5fdcfccd MDL-63422 general: review core loop / switch / case / continue
This commit reviews all continue uses in core happening within a
loop / switch / case hierarchy. This does not cover:

- Changes to libraries. Will be handled in another issue / commit.
- Uses out from loops, will be reviewed by other commit.

The policy followed has been:
- When possible, take rid of the continue.
- When clearly the intention was to jump to next element in loop
  change to continue 2
- When it was not clear, keep old behavior switching to break, no
  matter how weird the behavior may be.
2018-10-31 00:17:59 +01:00
Albert Gasset
577fdc3438 MDL-63820 assignfeedback_comments: Implement get_file_areas 2018-10-30 15:25:58 +01:00
Jun Pataleta
ae29ec8d13 Merge branch 'MDL-63531-master' of git://github.com/andrewnicols/moodle 2018-10-30 10:50:52 +08:00
Adrian Greeve
d2148f32ca MDL-63531 privacy: Update to comments provider to simplfy sql.
This updates the get_users_in_context_from_sql query to include
the context id to simplify the calls made from other components.
2018-10-30 09:47:14 +08:00
Adrian Greeve
6592598f71 MDL-63531 assignfeedback: Update to use the new privacy interface.
This now uses the new interface to allow the deletion of users based
on a context.
2018-10-30 09:47:14 +08:00