Commit graph

21436 commits

Author SHA1 Message Date
Stephen Vickers
f6662ae4de MDL-62599 mod_lti: Correct content-item return
Update method used to verify the JWT version of content-items being returned by a tool.
2019-05-06 13:33:42 +08:00
Stephen Vickers
a464331db2 MDL-62599 mod_lti: Revert service configuration parameters
Code to add configuration settings for LTI services reverted to current release code which injects them directly into the edit form.  This has the risk of name clashes and changes being made to elements not created by the service.
2019-05-06 13:33:42 +08:00
Stephen Vickers
d930ef0491 MDL-62599 mod_lti: Correct parameter name 2019-05-06 13:33:42 +08:00
Stephen Vickers
8a8221f587 MDL-62599 mod_lti: Changes from integration review 2019-05-06 13:33:42 +08:00
Stephen Vickers
27cbb5965e MDL-62599 mod_lti: Add platform support for LTI 1.3 2019-05-06 13:33:42 +08:00
Shamim Rezaie
8affd823a4 MDL-65399 mod_quiz: Remove $slots from the \mod_quiz\structure class
It's enough to have $slotsinorder, and the $slots property
was redundant. There should only be a single source of truth.
2019-05-06 15:30:59 +10:00
Ryan Wyllie
902c8f58b2 MDL-65464 forum: disable buttons when saving in page reply 2019-05-06 09:23:08 +08:00
Luca Bösch
d8a3787567 MDL-64968 mod_lesson: Style "Yes, I'd like to try again" button. 2019-05-04 11:03:21 +02:00
Shamim Rezaie
a31194800b MDL-64988 mod_quiz: Fix questions always being added to the last section 2019-05-03 18:39:13 +10:00
Mihail Geshoski
b72780bcbf MDL-65475 forum: Fix discussion locking behat test 2019-05-03 15:52:03 +08:00
Jun Pataleta
0b53f28cf8 Merge branch 'MDL-65475-master-1' of git://github.com/mihailges/moodle 2019-05-03 14:26:40 +08:00
Mihail Geshoski
d8c0f8ea03 MDL-65475 forum: Align items in forum settings menu 2019-05-03 13:39:25 +08:00
Jun Pataleta
27a7632ac2 Merge branch 'MDL-65468-master' of git://github.com/mihailges/moodle 2019-05-03 13:24:43 +08:00
Ryan Wyllie
c70ddc335d MDL-65474 forum: adjust forum post html structure
Move around the HTML structure for the forum post to better match
the previous structure for the author pictures, groups, and
rating HTML
2019-05-03 11:50:56 +08:00
Jun Pataleta
64b61c16a3 Merge branch 'MDL-65466-master' of git://github.com/mihailges/moodle 2019-05-03 09:59:30 +08:00
Mihail Geshoski
04cfb5c1ac MDL-65468 forum: Check if passed form data is empty 2019-05-02 16:22:00 +08:00
Andrew Nicols
5599d4cbca Merge branch 'MDL-65071-master-new' of git://github.com/mihailges/moodle 2019-05-02 13:53:54 +08:00
Mihail Geshoski
2a80ecb543 MDL-65071 forum: Error handling in web service when forum does not exist 2019-05-02 13:51:14 +08:00
Mihail Geshoski
70ed77c568 MDL-65466 forum: Fix discussion pinning when adding/editing discussion 2019-05-02 09:54:17 +08:00
Andrew Nicols
e1a071322f Merge branch 'MDL-65394-master' of https://github.com/ryanwyllie/moodle 2019-05-02 09:04:47 +08:00
Mihail Geshoski
b4a1bbbb6a MDL-65071 forum: Sort starred discussions 2019-05-01 22:51:14 +08:00
Mihail Geshoski
28c2f2b266 MDL-65071 forum: Fix webservice unit tests 2019-05-01 22:20:35 +08:00
Mihail Geshoski
121ccf1593 MDL-65071 forum: Include starred discussions info in the web service 2019-05-01 22:10:12 +08:00
Mihail Geshoski
d39a50dc8a MDL-65071 forum: Unit test sorting of starred discussions 2019-05-01 22:10:12 +08:00
Mihail Geshoski
1a9c60e931 MDL-65071 forum: Add sorting in discussion list 2019-05-01 22:10:12 +08:00
Mihail Geshoski
3f9ed16e56 MDL-65071 forum: Add unit tests 2019-05-01 22:10:12 +08:00
Ryan Wyllie
1457229295 MDL-65394 forum: fix get_move_discussion_html return signature 2019-05-01 16:27:34 +08:00
Ryan Wyllie
8353770743 MDL-65394 forum: add context id to author export 2019-05-01 16:27:34 +08:00
Adrian Greeve
f2e0dab7f7 Merge branch 'MDL-65388-master' of https://github.com/ryanwyllie/moodle 2019-05-01 16:06:24 +08:00
Jun Pataleta
0bce27bae4 Merge branch 'MDL-65250' of git://github.com/stronk7/moodle 2019-05-01 16:04:02 +08:00
Eloy Lafuente (stronk7)
09ab093dce Merge branch 'MDL-65397-master-enfix' of git://github.com/mudrd8mz/moodle 2019-05-01 01:42:55 +02:00
Ryan Wyllie
30513f9740 MDL-65033 mod_forum: Modified sort sql for cross db support 2019-04-30 20:47:30 +02:00
Adrian Greeve
f50b98dbe4 Merge branch 'MDL-64906_hideif_mod' of git://github.com/davosmith/moodle 2019-04-30 20:47:22 +02:00
Eloy Lafuente (stronk7)
41b81d5996 MDL-63137 mod_feedback: discern between user or id better
is_int('1') => false, so better we invert the check that is safer.
2019-04-30 20:47:15 +02:00
Eloy Lafuente (stronk7)
70f3393fe0 Merge branch 'MDL-63137-master' of git://github.com/aanabit/moodle 2019-04-30 20:46:53 +02:00
Tobias Reischmann
c887373738
MDL-63959 mod_feedback: Add phpunit tests for get_pages in completion 2019-04-30 07:56:29 +02:00
Ryan Wyllie
8673975999 MDL-65388 mod_book: format plugin file urls when printing book 2019-04-30 10:45:01 +08:00
Zoltán Szarvas
5b8d533067
MDL-63959 mod_feedback: Fixed nested dependency handling
For example the dependecy chain is the following: A->B->C. When a
question (A) depends on another dependent item (B) and B hasn't
displayed (because of C's response), the $value for the B's response
will be null. In this case the can_see_item() method returned
null. Because the can_see_item() returned null (not false), the
get_pages() method displayed the question A, because it checks for
explicit false: $this->can_see_item($item) !== false.
Now, false is also returned, if the dependent question is not visible.
2019-04-29 18:27:51 +02:00
Peter
cda9da9907 MDL-65033 mod_forum: Move locked functionality into action menu
Moved the lock functionality into the menu which exposes it to the
discussion list
2019-04-29 19:15:42 +08:00
Helen Foster
f1264719f4 MDL-65397 lang: Import fixed English strings (en_fix)
Significant string changes:

* direct:view,gradeimport_direct - wording corrected from 'CSV' to
  'spreadsheet'
* limitanswers_help,mod_choice - additional wording added explaining how
  the setting works with groups
* pluginname,customfield_text  - 'Text field' plugin renamed to
  'Short text'
2019-04-29 11:46:26 +02:00
Peter
d3cac88dac MDL-65033 mod_forum: Testing updates
Testing and code updates after rebase
2019-04-29 16:30:50 +08:00
Peter
279128bbc2 MDL-65033 mod_forum: Update existing function to include starring params 2019-04-29 16:28:33 +08:00
Peter
ac91531670 MDL-65033 mod_forum: Accessibility updates 2019-04-29 16:27:04 +08:00
Peter
13cd05ac14 MDL-65033 mod_forum: Pass the favourites into the exporter
Query and pass the favouriting information into the exporter instead of within the exporter itself
2019-04-29 16:27:04 +08:00
Peter
8885cd573a MDL-65033 mod_forum: Feedback updates 2019-04-29 16:27:04 +08:00
Peter
309e869827 MDL-65033 mod_forum: Externallib tests 2019-04-29 16:22:04 +08:00
Peter
24962ee1d7 MDL-65033 mod_forum: Hook up the pin toggle via AJAX 2019-04-29 16:21:14 +08:00
andrewnicols
25a97f99a9 MDL-65033 mod_forum: Toggle pin state via ajax 2019-04-29 16:16:15 +08:00
andrewnicols
34e2f9c0c2 MDL-65033 mod_forum: pin_toggle js 2019-04-29 16:14:13 +08:00
andrewnicols
a726053616 MDL-65033 mod_forum: Set pin state external service 2019-04-29 16:14:13 +08:00