Jun Pataleta
83d4204ef1
MDL-65382 mod_lti: Fix appearance of status labels
2019-04-18 15:28:48 +08:00
Jun Pataleta
9f23a65e0c
Merge branch 'MDL-64956-master2' of git://github.com/peterRd/moodle
2019-04-18 11:09:49 +08:00
Peter
a0c9b6afcc
MDL-64956 mod_forum: Updates based on IR
2019-04-18 06:40:22 +08:00
Peter
9b4f09bad2
MDL-64956 mod_forum: Inpage reply
...
* Basic functionality for an inpage reply. With advanced link that takes you to the previous "Reply page".
* Updated behat function to handle the additional step
* Updated templates to have some identifiers on where one is storing the replies post
* Updated discussion_post to use the new vault functions to get the corresponding records
* Jumpto newly created post
2019-04-17 10:13:41 +08:00
Adrian Greeve
a251ed8be7
Merge branch 'MDL-65034-master' of git://github.com/ryanwyllie/moodle
2019-04-16 13:19:15 +08:00
Ryan Wyllie
8dbe769988
MDL-65034 mod_forum: fix author for single discussion forum
2019-04-16 10:51:43 +08:00
Eloy Lafuente (stronk7)
0b9d7d93f8
MDL-65308 core: change a couple of unsafe preg_quote() cases
...
With PHP 7.3, the hash (#) is being escaped by preg_quote().
While normally that doesnt have much impact and normal operations
continue working perfectly... when the results of the function are
used to match against the same string... they don't match anymore.
Have found a couple of there double-uses in core and this
commit fixes them. Covered with tests.
2019-04-16 01:40:47 +02:00
Mihail Geshoski
ee6b5ba343
MDL-65034 forum: Rename identifier to camel case
2019-04-15 14:51:03 +08:00
Ryan Wyllie
e564ae863d
MDL-65034 forum: add aria keyboard nav to discussion
2019-04-15 14:51:03 +08:00
Ryan Wyllie
53d743741e
MDL-65034 forum: add aria attributes to forum post
2019-04-15 14:51:03 +08:00
Eloy Lafuente (stronk7)
89a81629a7
MDL-65281 phpunit: Just check for existence if order is not guaranteed
...
Posible solutions explained in the issue, imply chaging the API
in various, alternative ways. For your consideration if that
should be done for a better API, able to sort under demand when
required (or, at very least guaranteeing a default consistent ordering).
2019-04-13 11:38:39 +02:00
Eloy Lafuente (stronk7)
66b4982135
MDL-64656 phpunit: Compare returned tags without any expected order
2019-04-12 17:28:21 +02:00
Sara Arjona
865d284410
MDL-39261 mod_lesson: get the existing attemptid when reviewing
2019-04-12 13:11:50 +02:00
Adrian Greeve
ac76ff1999
MDL-62974 mod_lesson: Minor update to html class.
2019-04-12 11:01:20 +08:00
Adrian Greeve
7ff3919dc2
Merge branch 'MDL-39261-master' of git://github.com/peterRd/moodle
2019-04-12 10:52:16 +08:00
Peter
814db56f4c
MDL-65324 mod_forum: Fix the has_ended function and add unit tests
...
* Additional has_started unit tests
2019-04-12 10:20:18 +08:00
Peter
a4606b7efe
MDL-39261 mod_lesson: Move essay answer files to new file area
...
* Moved answers to a different file area
* Added backup and restore calls
* Include privacy/reset related calls similar to essay responses
2019-04-12 07:27:12 +08:00
Eloy Lafuente (stronk7)
a45fa792df
Merge branch 'MDL-62974-master' of https://github.com/jmvedrine/moodle
2019-04-11 23:49:55 +02:00
Eloy Lafuente (stronk7)
ff3c8c0e6c
Merge branch 'MDL-64656-master' of git://github.com/jleyva/moodle
2019-04-11 20:12:13 +02:00
Eloy Lafuente (stronk7)
fd652de81f
Merge branch 'MDL-31355-master' of git://github.com/rezaies/moodle
2019-04-11 17:17:07 +02:00
Shamim Rezaie
7a6b701a90
MDL-31355 mod_forum: Add drag and drop support to forum duedate events
2019-04-11 18:47:35 +10:00
Shamim Rezaie
82482e3d3e
MDL-31355 mod_forum: different message when duedate has passed
2019-04-11 18:47:35 +10:00
Shamim Rezaie
cbf63d8efc
MDL-31355 mod_forum: Prevent users from posting after cut-off date
2019-04-11 18:47:35 +10:00
Shamim Rezaie
99bcb31895
MDL-31355 mod_forum: WS should return duedate and cutoffdate.
2019-04-11 18:47:32 +10:00
Shamim Rezaie
bbbf182089
MDL-31355 mod_forum: Create, update and delete due date event
2019-04-11 18:33:35 +10:00
Juan Leyva
6c344ff282
MDL-64656 core_tag: Return tags in modules and blog
2019-04-11 10:20:44 +02:00
Peter
676eca7b9b
MDL-39261 mod_lesson: Rewrite the answer URL for grading
2019-04-11 12:03:32 +08:00
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