Commit graph

21121 commits

Author SHA1 Message Date
Shamim Rezaie
0556f39373 MDL-31355 mod_forum: backup and restore of duedate and cutoffdate fields 2019-04-11 02:03:02 +10:00
Shamim Rezaie
ceea2d2618 MDL-31355 mod_forum: Add duedate and cutoffdate to form
AMOS BEGIN
CPY [availability,mod_assign],[availability,mod_forum]
CPY [cutoffdate,mod_assign],[cutoffdate,mod_forum]
CPY [cutoffdatevalidation,mod_assign],[cutoffdatevalidation,mod_forum]
CPY [duedate,mod_assign],[duedate,mod_forum]
AMOS END
2019-04-11 02:03:02 +10:00
Shamim Rezaie
f6b07fedde MDL-31355 mod_forum: new db field for due and cutoff date 2019-04-11 02:03:02 +10:00
David Monllaó
65c817ba21 MDL-59081 mod_lesson: Fix feature file indentation 2019-04-10 13:37:02 +02:00
David Monllaó
f7c77ea189 Merge branch 'MDL-59081-master' of git://github.com/abgreeve/moodle 2019-04-10 12:49:22 +02:00
Mark Nelson
9f2be0aeaf MDL-65275 mod_forum: do not format_text twice() 2019-04-10 13:28:34 +08:00
Jean-Michel Vedrine
d1e24c1275 MDL-62974 lesson: Suppress HTML font tags 2019-04-09 22:55:59 +02:00
Mathew May
27deb59557 MDL-64506 mod_choice: fix behat issue with screensize
We found issues in FireFox where Behat could not scroll to select
the student two checkbox.
2019-04-05 12:10:00 +02:00
Adrian Greeve
cc56e409c3 Merge branch 'MDL-65024-master' of git://github.com/jleyva/moodle 2019-04-05 09:09:16 +08:00
Peter
8245dabaa2 MDL-22077 mod_forum: external unit tests and vault updates
* Unit tests for external functions
* Use the new dml_table to fetch a table's columns
2019-04-04 11:56:01 +08:00
Peter
e782253c5c MDL-22077 mod_forum: Grammatical and formatting updates 2019-04-04 11:25:29 +08:00
Andrew Nicols
15dc885a8b MDL-22077 forum: Update post.php to respect private replies 2019-04-04 11:25:29 +08:00
Andrew Nicols
bc4c7337e1 MDL-22077 forum: Add forum private replies
This patch adds new capabilities:
'mod/forum:postprivatereply'   - whether a user is able to post private replies; and
'mod/forum:readprivatereplies' - whether a user is able to read private replies.

Private replies are only visible to the intended recipient (the author of
the parent post), the author of the private reply, and those with the
ability to read private replies.

If a post is private then it cannot be replied to further.
2019-04-04 11:25:29 +08:00
Andrew Nicols
12a1f9c567 MDL-22077 forum: Deprecate unused helper trait 2019-04-04 11:25:29 +08:00
Jake Dallimore
6243019d03 Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle 2019-04-04 11:16:42 +08:00
Mathew May
e43bd3762d MDL-64506 mod_data: correct behat issue for saving items with tags 2019-04-04 11:00:09 +08:00
Peter
3afdfce05a MDL-39261 mod_lesson: Enable other file uploads in essay editor
Modify the editor settings so an essay question can upload other types of files other than images
2019-04-04 09:41:18 +08:00
Sara Arjona
86c3df962f Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle 2019-04-03 19:30:28 +02:00
Mathew May
5db1ce5331 MDL-64506 templates: BS2 pull-x -> BS4 float-x 2019-04-03 19:47:13 +08:00
Mathew May
5edb0fbcb5 MDL-64506 templates: replace spans where and col-x appears 2019-04-03 19:47:13 +08:00
Mathew May
5cac5fa428 MDL-64506 templates: BS2 m-x-x to BS4 mx-x 2019-04-03 19:47:11 +08:00
Mathew May
3f2c68f119 MDL-64506 templates: Move BS2 labels to BS4 badges 2019-04-03 19:34:20 +08:00
Mathew May
29551c4b1a MDL-64506 templates: Move BS2 btns' to BS4 btns'
well bs2 class is now card in bs4
2019-04-03 19:34:20 +08:00
Mathew May
a5a6df54cc MDL-64506 theme: Update BSB references and upgrade texts 2019-04-03 19:34:20 +08:00
Jun Pataleta
f3971a2d88 Merge branch 'MDL-62307_master' of https://github.com/maksudr/moodle 2019-04-03 16:50:31 +08:00
Jun Pataleta
ad4d995f19 Merge branch 'MDL-65168' of git://github.com/stronk7/moodle 2019-04-03 16:42:41 +08:00
Jun Pataleta
dcdea70fca Merge branch 'MDL-65112-master' of https://github.com/dmitriim/moodle 2019-04-03 16:19:35 +08:00
Jun Pataleta
6bcc5dfdb4 MDL-65204 phpunit: Fix valid CiBoT errors and warnings 2019-04-03 10:44:24 +08:00
Eloy Lafuente (stronk7)
85f47bae7f MDL-65204 phpunit: various fixes to assertions
Namely:
   - 3rd param of assertEquals() cannot be null.
   - Some incorrect uses of assertNotEmpty().
   - Comparing 2 strings now uses strict (===) evaluation.
       Link: https://github.com/sebastianbergmann/phpunit/issues/3185
     Solution here is one of:
       a) Return to the previous situation, making the comparison
          softer. That can achieved by forcing different types, so
          float == string works.
       b) Changing APIs (both forms and database return strings) to
          perform some conversion to floats. That would make float
          comparison (with floats or strings) to work too.
     The patch here follows the a) approach. Changing all the internals
     for proper float handling sounds excesive when it has been working
     perfectly since ever. So we went the easier route, just getting
     rid of the new === comparisons when needed by changing expectation
     types to float.
2019-04-03 10:39:19 +08:00
Eloy Lafuente (stronk7)
6f6ea8c32d MDL-65250 core: Fix some undefined variables in compact()
Since PHP 7.3 they throw a PHP Notice.
2019-04-03 02:42:45 +02:00
Davo Smith
298ff4e79a MDL-64906 mod_feedback: remove incorrect behat test form value 2019-04-02 09:13:09 +01:00
Davo Smith
385247d94e MDL-64906 mod: add support for hideif to activity modules 2019-04-02 09:13:09 +01:00
Jake Dallimore
4a2ee121fc Merge branch 'MDL-65089_master' of https://github.com/dvdcastro/moodle 2019-04-01 15:28:48 +08:00
Jun Pataleta
a8c91e88bf Merge branch 'MDL-64524-master' of git://github.com/damyon/moodle 2019-04-01 13:46:48 +08:00
Damyon Wiese
284babb0d7 MDL-64524 assign: Styles editpdf comments
Properly display the list of comments, but limiting their size (use title to indicate the full comments).
When there are too many comments, show a scrollbar in the menu.
2019-04-01 12:17:27 +08:00
Adrian Greeve
6934691fce Merge branch 'MDL-65173_master' of git://github.com/markn86/moodle 2019-04-01 10:21:10 +08:00
Simey Lameze
9bec0e7e74 MDL-65207 core: replace typos by actually 2019-04-01 08:49:18 +08:00
Adrian Greeve
e39991c3c0 MDL-59081 mod_lesson: Behat test for new features.
1. Tests the catch all answer sections for the short answer
and numerical page types.
2. Tests to check that the continue buttons will not double
up if they both go to the same page.
2019-03-29 14:14:01 +08:00
Adrian Greeve
dab563f5a6 MDL-59081 mod_lesson: Remove continue button if not needed.
This checks to see if the continue button goes to the same
page as the try again button and removes it if it does.
2019-03-29 14:14:01 +08:00
Adrian Greeve
49898ef3b4 MDL-59081 mod_lesson: Shortanswer form update. Catch all.
The short answer question type now has a form element that
will catch all other responses.
2019-03-29 14:14:01 +08:00
Adrian Greeve
408dd99ac2 MDL-59081 mod_lesson: Update to Numerical question type
The numerical question type now has way to capture all
other answers.
2019-03-29 14:14:01 +08:00
Adrian Greeve
568ef8bb05 MDL-59081 mod_lesson: Add other answer options to questions
This adds another form field that will catch all other
answers made by the student.

Current question types updated are numerical and shortanswer.
2019-03-29 14:14:01 +08:00
David Castro
2afee18b34 MDL-65089 glossary: Enforcing case comparison in SQL. 2019-03-28 18:34:54 -05:00
Dmitrii Metelkin
89d9a774fa MDL-65112 mod_lesson: fix html for shortanswer responses 2019-03-29 08:29:55 +11:00
Eloy Lafuente (stronk7)
868e863253 Merge branch 'MDL-62992-master' of git://github.com/lameze/moodle 2019-03-27 23:05:56 +01:00
Simey Lameze
01bace6665 MDL-62992 quiz: fix tags filtering on random question modal 2019-03-27 10:21:07 +08:00
Eloy Lafuente (stronk7)
56f9f500ea Merge branch 'MDL-64252-master' of git://github.com/jleyva/moodle 2019-03-26 22:34:50 +01:00
Sara Arjona
cf7f8ddaf8 Merge branch 'MDL-64365_hideif_forum' of git://github.com/davosmith/moodle 2019-03-26 15:11:28 +01:00
Eloy Lafuente (stronk7)
67481bef21 Merge branch 'MDL-63152-master' of git://github.com/rezaies/moodle 2019-03-26 13:28:07 +01:00
Eloy Lafuente (stronk7)
999d8ea517 Merge branch 'MDL-63149-master' of git://github.com/rezaies/moodle 2019-03-26 13:24:59 +01:00