Andrew Nicols
5123b5c9d7
MDL-66722 forum: Add grade capability
...
Part of MDL-66074
2019-10-28 13:55:50 +08:00
Andrew Nicols
1e8184f022
MDL-66370 mod_forum: Make a full screen layout
...
Part of MDL-66074
2019-10-28 13:55:13 +08:00
Jun Pataleta
c23313f6e8
Merge branch 'MDL-66968' of https://github.com/stronk7/moodle
2019-10-25 10:20:05 +08:00
Jun Pataleta
acdce3a0e4
MDL-65017 mod_forum: Test based on event type and not objectid
...
* Plus fix warning about \test_capability_manager::can_delete_post()
2019-10-25 08:39:32 +08:00
Eloy Lafuente (stronk7)
f4feabb83f
MDL-66968 php74: array_key_exists() for objects is deprecated
...
Replace it for correct property_exists() when the element
being inspected is a property of object/class.
Amended and squased changes:
- keep mongo unmodified. The information is array, hence correct.
- fix a couple of messaging phpdocs that were incorrect.
Amended take#2:
- As far as mongo resturns BSONDocument that is ArrayObject, aka
implements ArrayAccess, we have decided to explicitly cast results
to array so existing array_key_exists() and other accesses will
continue working the same.
2019-10-25 00:49:04 +02:00
Adrian Greeve
e1aebcfdd8
Merge branch 'MDL-65017-master' of git://github.com/jleyva/moodle
2019-10-24 13:53:01 +08:00
Sara Arjona
f3281837b8
Merge branch 'MDL-61121-master-5' of git://github.com/mihailges/moodle
2019-10-21 14:46:17 +02:00
Juan Leyva
56444a606c
MDL-65017 forum: New WS mod_forum_delete_post
2019-10-21 13:09:56 +02:00
Juan Leyva
b12dbcd4d5
MDL-65017 forum: Initial API refactor
2019-10-21 13:09:56 +02:00
Sara Arjona
78ee7b9a65
Merge branch 'MDL-66631-master-test' of git://github.com/rezaies/moodle
2019-10-21 12:18:19 +02:00
Eloy Lafuente (stronk7)
6b0374e510
Merge branch 'MDL-65774-master2' of git://github.com/peterRd/moodle
2019-10-21 10:48:12 +02:00
Eloy Lafuente (stronk7)
325a451018
Merge branch 'MDL-66808-master' of git://github.com/rezaies/moodle
2019-10-21 10:32:23 +02:00
Jun Pataleta
a5b431455a
Merge branch 'MDL-66009-master' of https://github.com/grabs/moodle
2019-10-21 16:15:20 +08:00
Jake Dallimore
d501428ff8
Merge branch 'MDL-66915-master' of https://github.com/MartinGauk/moodle
2019-10-21 15:54:12 +08:00
Andrew Nicols
80cb0f6a1f
Merge branch 'MDL-66962-master' of https://github.com/lucaboesch/moodle
2019-10-21 14:22:57 +08:00
Luca Bösch
19b1afd146
MDL-66962 questions: Question bank table T title non breaking.
2019-10-21 08:16:05 +02:00
Andrew Nicols
532b240244
Merge branch 'MDL-66946' of https://github.com/timhunt/moodle
2019-10-21 12:54:06 +08:00
Jake Dallimore
d2982a1c11
Merge branch 'MDL-66930-master' of https://github.com/lucaboesch/moodle
2019-10-21 11:55:00 +08:00
Jake Dallimore
95852a343d
Merge branch 'MDL-66960-master' of https://github.com/lucaboesch/moodle
2019-10-21 10:41:10 +08:00
Tim Hunt
4d32558974
MDL-66946 quiz reports: incorrectly show teachers sometimes
2019-10-18 17:37:49 +01:00
Luca Bösch
55c75f91e9
MDL-66960 questions: Top align all question bank titles exc "select all"
2019-10-18 16:32:43 +02:00
Tim Hunt
701ae1eb4b
MDL-66816 question bank: replace row of edit icons with an Edit menu
2019-10-18 14:27:50 +01:00
Sara Arjona
5d657c410b
MDL-65774 mod_assign: Update FPDI class to inherit pdf
2019-10-18 20:34:23 +08:00
Luca Bösch
87174e0a92
MDL-66930 quiz: Question type icon size/alignment in Boost and Classic.
2019-10-18 13:54:29 +02:00
Mihail Geshoski
6ddcb2122c
MDL-61121 assign: Declare variables in the local scope
2019-10-18 13:57:56 +08:00
Mihail Geshoski
70b10bcd8c
MDL-61121 assign: Improve accessibility in quick grading page tables
2019-10-18 13:57:56 +08:00
Mihail Geshoski
d53a80d5e9
MDL-61121 assign: Improve accessibility - view full/view summary control
2019-10-18 13:57:56 +08:00
Andrew Nicols
2265397db6
Merge branch 'MDL-66767' of https://github.com/Chocolate-lightning/moodle_forum-project
2019-10-18 12:37:50 +08:00
Michael Hawkins
a575ab1516
MDL-66767 forumreport_summary: Improved groups only SQL
2019-10-18 12:35:53 +08:00
Michael Hawkins
2970b8fa2e
MDL-66767 forumreport_summary: Control groups filter content
...
Control the groups filter options based on forum groups mode and groups
visible to the user viewing the report.
2019-10-18 12:23:49 +08:00
Michael Hawkins
5e43937c7f
MDL-66767 forumreport_summary: Updated groups filter to apply to data
...
Previously, the groups filter was only filtering by user, it now
filters the data by group, as well as limiting the users displayed
to those with access to the relevant combination.
2019-10-18 12:23:49 +08:00
Simey Lameze
8074b23f56
MDL-66631 mod_forum: unit tests for date filters
2019-10-18 12:37:58 +11:00
Simey Lameze
77c01b42c6
MDL-66631 mod_forum: unit tests refactoring
2019-10-18 12:37:58 +11:00
Simey Lameze
6e23f294b8
MDL-66631 mod_forum: make get_from_discussion_ids use new fn
2019-10-18 12:37:58 +11:00
Simey Lameze
718d7a43b9
MDL-66631 mod_forum: add date filters to export
2019-10-18 12:37:58 +11:00
Jun Pataleta
36a8ae571a
Merge branch 'MDL-66625-master' of git://github.com/rezaies/moodle
2019-10-18 06:39:01 +08:00
Shamim Rezaie
f54cb5a708
MDL-66625 forumreport_summary: Adding behat
2019-10-18 05:46:39 +11:00
Jun Pataleta
8b2b47f733
Merge branch 'MDL-66694-master' of git://github.com/junpataleta/moodle
2019-10-17 22:48:16 +08:00
Jun Pataleta
10cc5e8100
MDL-66694 mod_forum: Fix unit test
...
* Set $forum1's displaywordcount to true in
test_mod_forum_get_discussion_posts() so that the word and char counts
will be returned.
* Use count_words() and count_letters() instead of hard coding the
expected values for the word and char counts.
2019-10-17 22:39:36 +08:00
Michael Hawkins
97aeba56ba
MDL-66694 mod_forum: Refactored post counts scheduled task
2019-10-17 17:07:05 +08:00
Michael Hawkins
d21d6baac6
MDL-66694 mod_forum: Word/char count tidy ups & add task config option
...
The chunk size used by the existing post word/char count calculation
ad-hoc task can now be set as a $CFG parameter. Also improved the way
the ad-hoc task is re-queued and tidied up some redundant code.
2019-10-17 16:13:23 +08:00
Andreas Grabs
ea100476d7
MDL-66009 mod_feedback: Nested dependency fails again
2019-10-17 09:19:55 +02:00
Michael Hawkins
3c36cdb150
MDL-66694 mod_forum: Updated adhoc task to requeue until completion
...
The adhoc task run during upgrade will now be requeued until no more
word/char counts require updating. Previously it was only run once,
so only the first 5000 posts would be updated.
2019-10-17 15:05:57 +08:00
David Monllaó
7d8f604b3c
MDL-66694 mod_forum: Upgrade forum post word and char counts
2019-10-17 15:05:57 +08:00
Michael Hawkins
3eb0a82fef
MDL-66694 mod_forum: Word & char count update consistency fixes
...
Charcount logic is now consistent with wordcount in the post exporter.
Counts update now called in forum_udpate_instance since it is updating
the data.
2019-10-17 15:05:57 +08:00
David Monllaó
591dd68790
MDL-66694 mod_forum: Update word & char counts on db save
2019-10-17 15:05:57 +08:00
Michael Hawkins
68f2d677ae
MDL-66694 forumreport_summary: String update and method tidy up
...
Replaced 'Char' with full word 'Character' in the charcount string.
Also tidied up show_word_char_counts code and set to protected instead
of private.
2019-10-17 15:05:57 +08:00
David Monllaó
74f94dfc26
MDL-66694 mod_forum: Word count and char count columns
2019-10-17 15:05:57 +08:00
Andrew Nicols
bcce0270fe
MDL-66496 mod_data: Fixes during integration
2019-10-17 12:20:54 +08:00
Andrew Nicols
a7139f7600
Merge branch 'MDL-66496-master' of git://github.com/tobiasreischmann/moodle
2019-10-17 11:05:34 +08:00