Damyon Wiese
3676873566
MDL-51213 webservice: Fix wrong use of external_format_text
...
Was passing cm->id instead of context->id.
2015-09-10 12:13:02 +08:00
Eloy Lafuente (stronk7)
e36d7d57ae
Merge branch 'MDL-50015-master' of git://github.com/jleyva/moodle
2015-09-10 01:42:06 +02:00
Eloy Lafuente (stronk7)
7650a4c54d
Merge branch 'MDL-50537-master' of git://github.com/jleyva/moodle
2015-09-10 01:01:32 +02:00
Tim Hunt
53eee12a7a
MDL-51147 qtype_match: stats should cope even if Q edited badly
...
The numbers become pretty meaningless, but we need to avoid fatal
errors.
2015-09-09 16:48:27 +01:00
Dan Poltawski
5760a1b083
Merge branch 'MDL-50944-master' of git://github.com/jleyva/moodle
2015-09-09 14:29:53 +01:00
Juan Leyva
1df5d7191c
MDL-50537 mod_chat: Use the utility class and several fixes
2015-09-09 14:08:02 +02:00
Costantino Cito
9f7de6317d
MDL-50537 mod_chat: New WS mod_chat_get_chats_by_courses
2015-09-09 14:08:01 +02:00
Juan Leyva
82f0f5e32c
MDL-50537 core_webservice: New external functions utility class
2015-09-09 14:08:01 +02:00
Juan Leyva
43ff833def
MDL-50995 mod_forum: Fix WS to not rely in the DB ordering defaults
2015-09-09 12:59:53 +02:00
Andrew Nicols
d3d8f81caa
MDL-50995 mod_forum: Coding style fixes
2015-09-09 16:16:43 +08:00
Andrew Nicols
edf84ada39
Merge branch 'MDL-50995-master' of git://github.com/jleyva/moodle
2015-09-09 16:03:05 +08:00
Andrew Nicols
f6c3a22946
Merge branch 'MDL-50852-master' of git://github.com/junpataleta/moodle
2015-09-09 15:38:00 +08:00
Jun Pataleta
36e0030ffe
MDL-50852 formslib: Fixed client-side form validation problem.
...
This patch fixes the problem of client validation being broken when
shortforms is not enabled. This issue is caused by moodle-core-event
module not being loaded and the broadcast parameter in the
Y.Global.publish set to 2 instead of true.
2015-09-09 15:35:01 +08:00
Mark Nelson
ab2d8946cd
MDL-50516 mod_lesson: changes to existing behat tests
2015-09-09 15:27:24 +08:00
Mark Nelson
ecaff8f042
MDL-50516 mod_lesson: added behat tests
2015-09-09 15:27:23 +08:00
Mark Nelson
051b45f864
MDL-50516 core_behat: added ability to go back, forward and reload the browser
2015-09-09 15:27:23 +08:00
Mark Nelson
139645d4a7
MDL-50516 mod_lesson: fixed issue with grade not using minquestions
...
It's possible to reach the end of the lesson, get your result,
click back until you get to the last question, answer it correctly
and then be awarded a result of 100%. This was because the grade
calculation would only include the questions answered, rather than
all of them in the lesson. However, you can not fix this by always
grading by the amount of questions in the lesson as some lessons
bypass certain questions depending on the answer to previous ones.
The minquestion setting can now successfully be used to prevent this
behaviour by rewording the misleading string and adding logic.
2015-09-09 15:27:23 +08:00
Mark Nelson
d60350ddac
MDL-50516 mod_lesson: prevented deletion of previous attempts
...
The 'startlastseen' flag was removing any previous attempts
the user had from the DB. This meant that the user could
simply re-answer the question, regardless of the number
of attempts allowed.
2015-09-09 15:27:23 +08:00
Mark Nelson
0dea8ed76a
MDL-50516 mod_lesson: prevented user from repeating question
...
It was possible in the lesson module for a user to
answer a question, get the result, then click back
in the browser and re-answer it, even if they exceeded
the number of attempts allowed per question.
2015-09-09 15:27:23 +08:00
Eloy Lafuente (stronk7)
b8b323d6a9
Merge branch 'wip-mdl-51322' of https://github.com/rajeshtaneja/moodle
2015-09-09 08:21:45 +02:00
Eloy Lafuente (stronk7)
5c6c4a986a
Merge branch 'wip-MDL-51357-master' of git://github.com/marinaglancy/moodle
2015-09-09 08:00:46 +02:00
Marina Glancy
2ff1f05183
MDL-51357 roles: fix table layout after MDL-38763
2015-09-09 13:07:11 +08:00
Ankit Agarwal
731c2712e7
MDL-50173 ratings: Use proper checks to ensure ratings are viewable.
...
Mainly to verify groups visibility this new callback has been created.
Note this was originally 3 commits but for amending purposes they have
been squashed.
2015-09-09 04:07:21 +02:00
Stephen Bourget
0a3c1f79ca
MDL-48881 Lesson: Show all attempts on reports.
2015-09-08 21:09:09 -04:00
Andrew Nicols
050bfb3302
Merge branch 'wip-MDL-34938-master' of git://github.com/marinaglancy/moodle
2015-09-09 09:00:27 +08:00
Dan Poltawski
760e38d0f4
Merge branch 'MDL-50013-master' of git://github.com/jleyva/moodle
2015-09-08 15:21:27 +01:00
Dan Poltawski
e90783958c
Merge branch 'MDL-50853-master' of git://github.com/jleyva/moodle
2015-09-08 13:37:35 +01:00
Dan Poltawski
7e0488ea54
Merge branch 'MDL-51194' of git://github.com/lazydaisy/moodle
2015-09-08 13:27:37 +01:00
Dan Poltawski
33001202d6
MDL-51132 course: add tag require
2015-09-08 13:22:54 +01:00
John Okely
fa5a3cdedc
MDL-50709 groups: Prevent XSS in grouping description
2015-09-08 12:47:54 +02:00
Dan Poltawski
9e66dff06c
Merge branch 'wip-MDL-51132-master' of https://github.com/marinaglancy/moodle
2015-09-08 10:46:38 +01:00
Dan Poltawski
0c05ec3b96
Merge branch 'wip-MDL-50323-master' of git://github.com/abgreeve/moodle
2015-09-08 09:14:14 +01:00
Dan Poltawski
07cc2db61b
Merge branch 'MDL-51307-master' of git://github.com/cameron1729/moodle
2015-09-08 09:11:57 +01:00
Andrew Nicols
e5728db829
Merge branch 'MDL-51281-master' of git://github.com/jleyva/moodle
2015-09-08 14:07:27 +08:00
Andrew Nicols
1147c5a3d4
Merge branch 'MDL-51325-master' of git://github.com/jleyva/moodle
2015-09-08 12:51:30 +08:00
Cameron Ball
e683771623
MDL-51307 navigation: hide message button
2015-09-08 12:10:07 +08:00
Marina Glancy
5723dcdd85
MDL-34938 enrol_meta: sync enrolment start/end dates
2015-09-08 10:28:54 +08:00
Marina Glancy
d6bef7e706
MDL-51008 grades: show correct default value in overview report
2015-09-08 10:11:20 +08:00
Andrew Nicols
fd23f8e7b2
Merge branch 'MDL-51245' of git://github.com/stronk7/moodle
2015-09-08 09:24:00 +08:00
Adrian Greeve
4c607947b2
MDL-50323 themes: Course unordered lists correctly styled.
...
Thank you to Ann Adamcik for providing this patch.
2015-09-08 09:23:40 +08:00
Damyon Wiese
5d8c198711
MDL-50782 Ajax: No require_login for all ajax webservice calls
...
Some webservice functions need to be available without a login, e.g.
fetching strings and templates.
External functions must call validate_context if they require a valid login etc.
Added a new parameter to services.php: "loginrequired". Default is true.
2015-09-08 09:16:58 +08:00
Eloy Lafuente (stronk7)
48657a6713
MDL-51245 sqlsrv: Diagnose missing READ_COMMITTED_SNAPSHOT mode
...
Without it, transactions are executed in standard READ_COMMITED
mode, without snapshoting/row versioning, leading to update
conflicts under high concurrency.
2015-09-08 02:55:53 +02:00
Eloy Lafuente (stronk7)
a9daab4927
MDL-51245 mssql: Diagnose missing READ_COMMITTED_SNAPSHOT mode
...
Without it, transactions are executed in standard READ_COMMITED
mode, without snapshoting/row versioning, leading to update conflicts
under high concurrency.
2015-09-08 02:55:45 +02:00
Andrew Nicols
ebdfde7664
Merge branch 'MDL-50287-master' of git://github.com/danpoltawski/moodle
2015-09-08 08:18:03 +08:00
Petr Skoda
e4ac3879c2
MDL-50860 core: improve creation of random strings
2015-09-08 01:07:37 +02:00
Tim Lock
d89dc6daa5
MDL-42670 mod_assign: Fix recent activity block when blind marking is on
2015-09-07 22:41:41 +02:00
Corey Wallis
a3f5974065
MDL-51048 IMS-CC: Fix import & export of true/false questions
2015-09-07 16:05:11 +01:00
Marina Glancy
f06d8d94a1
MDL-50744 enrol_meta: fix incorrect role assign
2015-09-07 10:29:02 +01:00
Adrian Greeve
40a154551f
MDL-48371 editors: Option for removing managefiles
...
We want to remove the managefiles button from the
editors in the wiki so that students don't delete
each others files.
2015-09-07 09:59:35 +01:00
Marina Glancy
bec7e6dcb0
MDL-50921 message: allow popup messages from noreply user
...
Thanks Gary Harris for the patch
2015-09-07 08:11:45 +00:00