2847 Commits

Author SHA1 Message Date
Luca Bösch
d388e8ecc2 MDL-64280 core_outcome: Add/remove outcome buttons style. 2018-12-10 17:55:35 +01:00
Michael Aherne
11361acfb5 MDL-64216 privacy: Split query to use indexes. 2018-12-04 13:01:07 +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
Adrian Greeve
5c9bc966eb MDL-64161 gradereport_singleview: Single updates reported correctly.
If there is an error with the update of individual entries this is
also correctly displayed as not being updated.
2018-11-27 15:01:33 +08:00
Adrian Greeve
3e2b8b21c6 MDL-64161 gradereport_singleview: Behat test for out of bounds grade. 2018-11-26 11:44:26 +08:00
Adrian Greeve
f2462522f6 MDL-64161 gradereport_singleview: Stop updating grades with errors. 2018-11-26 11:44:26 +08:00
Jun Pataleta
1dcb2445c6 MDL-63571 grade_report_grader: Use correct context for capability check 2018-11-22 16:19:38 +08:00
Jun Pataleta
7c60fac9dc MDL-63571 grade_report_grader: Set correct type for the context variable 2018-11-22 16:19:38 +08:00
David Monllao
ede77961aa Merge branch 'MDL-63591_master' of git://github.com/markn86/moodle 2018-11-21 09:40:59 +01:00
Mark Nelson
b564a55153 MDL-63591 core_grades: updated privacy provider 2018-11-21 16:15:12 +08:00
David Monllao
a78a876629 Merge branch 'MDL-63571-master' of git://github.com/peterRd/moodle 2018-11-20 17:19:11 +01:00
Peter
727d3d70e1 MDL-63571 gradebook: Display the name header based on config setting 2018-11-20 14:06:31 +08:00
David Monllao
e15203d011 Merge branch 'MDL-63488-master' of git://github.com/peterRd/moodle 2018-11-14 11:22:06 +01:00
Adrian Greeve
9fcfecbf15 MDL-64005 gradebook: Fix to remove debugging message.
The progress bar is being used when there are a large amount
of grades being recalculated. This was throwing a debugging message
about NO_OUTPUT_BUFFERING being unset.
2018-11-14 10:39:57 +08:00
Peter
a1e8c6d497 MDL-63488 core_grade: Use the rewrite_pluginurls to handle files
* Use the rewrite_plugin_urls to handled embedded files
* Add phpunit tests for default and updated functionality of format_text
2018-11-14 09:44:18 +08:00
Andrew Nicols
faa673e36a MDL-63488 grade: Add tests for format_feedback
Signed-off-by: Peter <peter@moodle.com>
2018-11-14 09:28:16 +08:00
Luca Bösch
b08e7312c3 MDL-63571 grades: switch firstname/lastname order in title row 2018-11-13 18:18:23 +01:00
Andrew Nicols
c96cd71102 MDL-63924 privacy: Add shared user providers to subsytsems 2018-11-08 21:26:18 +08:00
Jun Pataleta
ad2737c9c9 MDL-63711 core_grade: Use canonicalize for checking userlist IDs 2018-11-06 15:48:30 +01:00
David Monllao
6e90098e7b Merge branch 'MDL-63711-master' of git://github.com/abgreeve/moodle 2018-11-05 16:35:34 +01:00
Adrian Greeve
d5f8687a92 MDL-63711 core_grades: Delete data for specified users in a context. 2018-11-03 02:26:24 +08:00
Andrew Nicols
f8e364e31a Merge branch 'MDL-63422' of git://github.com/stronk7/moodle 2018-11-02 08:22:33 +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
Eloy Lafuente (stronk7)
82bd1fa000 Merge branch 'MDL-63396-master' of git://github.com/jleyva/moodle 2018-10-29 23:35:31 +01:00
Juan Leyva
2ced73f636 MDL-63396 grade_report: Return locked and overridden info 2018-10-29 11:26:59 +01:00
Adrian Greeve
980425022b MDL-63622 core_grading: Add support for removal of context users.
Core grading now implements the new core_userlist_provider
interface to allow for deletion of specific users in a context.
2018-10-29 07:37:44 +08:00
Damyon Wiese
cfd390ee94 MDL-63765 behat: Fix behat tests opening a menu
If javascript is disabled, we don't need to open the menus at all. If it is enabled
we should use the custom step where possible.

In some tests (user profile) we have to use link_or_button because
the element that opens the menu will be a link or a button in different themes.
2018-10-26 16:14:41 +08:00
Mark Nelson
80b6fb7a79 MDL-27520 core_grades: make constant names clearer
Also using them in more locations.
2018-10-17 15:57:27 +08:00
Damyon Wiese
c98e9fbae1 MDL-27520 core: Rewrite pluginfile URLs 2018-10-17 15:57:26 +08:00
Eloy Lafuente (stronk7)
609c73be26 Merge branch 'MDL-29895' of https://github.com/enovation/moodle 2018-10-10 00:29:16 +02:00
Luca Bösch
1876162315 MDL-63435 gradebook: let activity icons re-appear. 2018-09-27 18:12:08 +02:00
Jonathan Champ
b2f349a433 MDL-54035 accesslib: separate role definition cache clear
Thanks to MDL-49398, we can separate the combined user session and role
definition cache clearing function into two separate functions. At the
same time, we want to identify and remove mark_dirty() calls that were
added for role definition changes but were incorrectly left behind.

Change highlights:
 - Remove unnecessary mark_dirty() calls performed after
   assign_capability(), unassign_capability(), delete_role(),
   deleted contexts, brand new contexts
 - Move role definition cache clear from the user-centric
   accesslib_clear_all_caches() to the newly created,
   role-dedicated accesslib_reset_role_cache()
2018-09-21 09:17:42 -04:00
Charles YVANES
458453cee0 MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
Adrian Greeve
dfc5e6d10e MDL-62535 grading methods: Unit test update for fix. 2018-08-30 13:19:21 +08:00
Adrian Greeve
fe7d6e31f9 MDL-62535 grading methods: Fix for multiple intances.
We were only exporting the one instance per item id.
Instead we should have been exporting all instances for each
item id.
2018-08-30 11:35:52 +08:00
Eloy Lafuente (stronk7)
cf76059eda Merge branch 'MDL-62535-master' of git://github.com/abgreeve/moodle 2018-08-30 01:19:57 +02:00
Andrew Nicols
16159f2223 Merge branch 'MDL-59169-master' of https://github.com/nwp90/moodle 2018-08-27 09:43:30 +08:00
Jake Dallimore
7e93539cf6 MDL-36255 core_grade: fix to ensure correct context used for filters
Some grade object (outcomes,scales) can be created at site or course
context, so this patch just makes sure we use the respective context
when applying format_string to the name in the get_name() function.
2018-08-22 17:55:50 +08:00
Jake Dallimore
805ce3de79 Merge branch 'MDL-36255-master' of https://github.com/lucaboesch/moodle 2018-08-21 16:04:17 +08:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Luca Bösch
8ad225b431 MDL-36255 grades: allow multilang filters in grades 2018-08-20 08:29:36 +02:00
Adrian Greeve
0aedccc973 MDL-62535 core_grading: Unit test for new methods. 2018-08-20 11:32:01 +08:00
Adrian Greeve
f3a6d9bb76 MDL-62535 core_grading: Update to providers and interface.
The previous interface was inadequate for retrieving user
information stored in the sub-plugins.

A new interface and methods have been added to successfully
deal with user data.
2018-08-20 11:32:01 +08:00
Nick Phillips
9a2da73753 MDL-59169 gradebook: Add groupid to gpr tracking & use
Added groupid to grade_plugin_return tracking, modified constructor
to use query params as defaults if passed-in params not supplied,
used groupid tracking in core reports.

grade_get_graded_users_select also fixed to use gpr (otherwise using
it breaks when course current group has changed between render and
submit).

Fixed coding style issue in gpr constructor & documented properties.

Added upgrade.txt noting gpr changes.
2018-08-16 04:03:51 +02:00
Adrian Perez
ac33483290 MDL-63002 core_grade: fixed deletion of overriden letters 2018-07-30 20:47:21 +08:00
Luca Bösch
df24fb7172 MDL-44859 grade: Inverse the order of the add category and item buttons 2018-06-14 17:33:41 +02:00
Eloy Lafuente (stronk7)
00977e984e MDL-62478 upgrade: add 3.5.0 separation line to all upgrade scripts 2018-05-28 13:15:48 +02:00
Frédéric Massart
554e6a6562 MDL-62147 core_grades: Report contexts and data related to scales 2018-05-16 13:57:26 +08:00