Commit graph

17183 commits

Author SHA1 Message Date
Juan Leyva
6c9b2bb5fe MDL-50013 mod_book: New WS mod_book_view_book 2015-09-04 11:18:10 +02:00
Juan Leyva
1af52267d3 MDL-50013 mod_book: Move logging and completion to new API 2015-09-04 11:17:39 +02:00
Juan Leyva
e648d036f8 MDL-50015 mod_imscp: New WS mod_imscp_view_imscp 2015-09-04 11:16:58 +02:00
Juan Leyva
947b02148e MDL-50015 mod_imscp: Move logging and completion to new API 2015-09-04 11:15:54 +02:00
rajesh Taneja
58fad4b873 MDL-51322 behat: ensure the window is properly closed
This is to ensure we have other window closed
so there is no race-around condition
2015-09-04 16:40:14 +08:00
Damyon Wiese
9d3c6b95c7 MDL-48861 assign: Fix the "needs grading" filter
When auto-creating a new grade record - do not set the timemodified > than the submission timemodified
2015-09-04 11:05:57 +08:00
Andrew Hancox
ee5d4eef08 MDL-50524 mod_assign: preventsubmissionnotingroup for multiple groups
When preventsubmissionnotingroup and a user is in multiple groups, display
relevant error messages to the user and teacher
2015-09-03 14:54:46 +01:00
rajesh Taneja
58031eea30 MDL-51090 behat: switch to main window 2015-09-03 10:26:33 +01:00
rajesh Taneja
5d38a5cd33 MDL-51285 mod_forum: Discussion post should not have same time stamp
Discussion post are sorted by timemodified
if they have same timemodified then results
will be random
2015-09-03 15:33:23 +08:00
Juan Leyva
cdb5d405c1 MDL-50853 mod_chat: Unit tests for the external lib 2015-09-02 17:26:05 +02:00
Juan Leyva
5841b9d5d3 MDL-50853 mod_chat: New Web Service mod_chat_view_chat 2015-09-02 17:23:43 +02:00
Juan Leyva
8380bc7fc0 MDL-50853 mod_chat: New Web Service mod_chat_get_chat_latest_messages 2015-09-02 17:23:42 +02:00
Juan Leyva
874aa80f67 MDL-50853 mod_chat: New Web Service mod_chat_send_chat_message 2015-09-02 17:23:41 +02:00
Juan Leyva
e4076a6e4c MDL-50853 mod_chat: New Web Service mod_chat_get_chat_users 2015-09-02 17:23:40 +02:00
Juan Leyva
1ca4cdf3e9 MDL-50853 mod_chat: New Web Service mod_chat_login_user 2015-09-02 17:16:13 +02:00
Juan Leyva
50a2031712 MDL-50995 mod_forum: New WS mod_forum_add_discussion_post 2015-09-02 12:20:06 +02:00
Juan Leyva
dffb87edf6 MDL-50944 mod_choice: Unit tests for external functions 2015-09-02 11:29:38 +02:00
Juan Leyva
4c4d3b7303 MDL-50944 mod_choice: New Web Service mod_choice_view_choice 2015-09-02 10:35:37 +02:00
Juan Leyva
1006459415 MDL-50944 mod_choice: New Web Service mod_choice_submit_choice_response 2015-09-02 10:35:36 +02:00
Juan Leyva
565528cebc MDL-50944 mod_choice: New Web Service mod_choice_get_choice_options 2015-09-02 10:35:36 +02:00
Juan Leyva
b87f31db53 MDL-50944 mod_choice: New Web Service mod_choice_get_choice_results 2015-09-02 10:35:35 +02:00
Marina Glancy
8e35585390 MDL-50919 tags: new UI for managing tags 2015-09-02 14:15:13 +08:00
David Monllao
f242c83c77 Merge branch 'MDL-51090' of git://github.com/timhunt/moodle 2015-09-02 09:47:34 +08:00
David Monllao
c32c21802b Merge branch 'MDL-50971' of git://github.com/NeillM/moodle 2015-09-02 09:23:11 +08:00
Eloy Lafuente (stronk7)
7cc3cf6fc0 Merge branch 'MDL-43896-master-modulesyntax' of git://github.com/mudrd8mz/moodle 2015-09-02 00:30:33 +02:00
Tim Hunt
b2694c0219 MDL-51090 question: further refinements to validating manual grades 2015-09-01 23:05:37 +01:00
David Mudrák
eb013fc8bf MDL-48165 workshop: Validate the rubric editing form 2015-09-01 23:37:20 +02:00
David Mudrák
b962ae1f41 MDL-48165 workshop: Add support for assessment forms validation 2015-09-01 23:37:17 +02:00
Dan Poltawski
522c7fd350 Merge branch 'MDL-45841' of git://github.com/timhunt/moodle 2015-09-01 10:14:45 +01:00
David Monllao
9f6a55f7ea Merge branch 'MDL-51179-master' of git://github.com/damyon/moodle
Conflicts:
	lib/upgrade.txt
2015-09-01 15:57:21 +08:00
Damyon Wiese
988592c556 MDL-51179 Atto: Extend autosave fix to cover text changes
Added new functions to editor api - set/get_text so the
original form text can be determined from an editor.

When calling use_editor() you should first call set_text() with
the text that will be inserted in the form element.

There is also a new scheduled task for cleaning Atto autosave drafts.
2015-09-01 12:23:00 +08:00
David Mudrák
01889f019d MDL-43896 admin: Drop support for the $module syntax in version.php 2015-08-31 09:57:50 +02:00
David Mudrák
3920ad93e2 MDL-50109 forum: Add behat tests for posts ordering 2015-08-31 09:55:02 +02:00
David Mudrák
8d960707c4 MDL-50109 forum: Add unit tests for the forum_get_discussion_neighbours
The added tests are variants of existing tests for blog-like forums.
2015-08-31 09:55:02 +02:00
David Mudrák
9e381efd1f MDL-50109 forum: Respect chronological order of blog posts in prev/next
The function forum_get_discussion_neighbours() is used to generate links
to neighbour discussions. I had to change the signature of the function
to have access to the forum's type without the need to re-read it from
the database in additional query.

The SQL query for blogs is a variant of the existing query, just using
the first post's creation time instead of the discussion's timemodified
time.
2015-08-31 09:55:02 +02:00
David Mudrák
8d032f59f4 MDL-50109 forum: Display blog posts in reverse chronological order 2015-08-31 09:55:01 +02:00
Jinu Abraham
b6c97f4c2b MDL-51232 mod_book: Filter name header 2015-08-31 12:04:01 +09:30
Neill Magill
ccfb9b69db MDL-50971 ActionMenu: Action menus cause page to jump when closing
This patch changes the behavior of open action menus when using a mouse.

Before this patch when clicking on the page with an open action menu the focus would be
returned to the action menu's call button. This could cause the page to jump when a
mouse user did not close an action menu, scrolled and then tried to perform another
action on the page.

After this patch when clicking the focus will not be returned to the action menu's call button.
The behavior of the script will not be changed when using the keyboard.
2015-08-28 12:13:16 +01:00
Eloy Lafuente (stronk7)
1b5034025b Merge branch 'MDL-51148-master-enfix' of git://github.com/mudrd8mz/moodle 2015-08-27 12:46:11 +02:00
Helen Foster
ce2c0f3a74 MDL-51148 lang: Merge English strings from the en_fix language pack 2015-08-26 16:46:43 +02:00
David Monllao
7ac0ddd00a Merge branch 'MDL-50933' of git://github.com/timhunt/moodle 2015-08-25 14:28:06 +08:00
David Monllao
a2ce97e306 Merge branch 'MDL-50996' of git://github.com/timhunt/moodle 2015-08-25 14:26:25 +08:00
Eloy Lafuente (stronk7)
bcf9c54c20 Merge branch 'MDL-50714-master' of git://github.com/andrewnicols/moodle 2015-08-25 00:06:01 +02:00
Tim Hunt
924db7109c MDL-45841 forum: show unread posts on blog-style forum front page 2015-08-24 21:44:56 +01:00
Dan Poltawski
ee9b9ffd51 Merge branch 'MDL-49701' of git://github.com/jmvedrine/moodle 2015-08-24 15:14:15 +01:00
Tim Hunt
857e2a6f8c MDL-50996 quiz: fix review error with unusual permissions 2015-08-24 09:53:52 +01:00
Tim Hunt
83cd293a10 MDL-50933 quiz: improve completion behat tests
These now use the faster set-up methods.
2015-08-21 17:51:04 +01:00
Andrew Nicols
bff7570e87 MDL-50714 mod_forum: Add tests for all groupmodes 2015-08-21 08:19:29 +08:00
Andrew Nicols
344e126378 MDL-50714 mod_forum: Correct use of movedicussions cap when posting
The ability to view the group dropdown was too closely related to the
movediscussions capability when posting, or editing a forum post.

The movedicussions capability should only be considered for some parts of
this logic. Users should be able to select the group to post to when
writing message, as long as they have access to that group.
2015-08-21 08:18:46 +08:00
Nelson Moller
52b08f5fce MDL-51090: mod_quiz grading validation of an essay question
An invalid format is casted to 0 (if a string) or to some truncated value in other cases (ex: 10..5).
2015-08-20 19:58:49 +01:00