Dan Poltawski
5602dc1735
MDL-54944 js: ensure functions are consistent in return val
...
Mostly we are being incosnistent when giving an early-exit shortcut.
Detected by http://eslint.org/docs/rules/consistent-return
2016-07-07 12:11:07 +01:00
Dan Poltawski
7b7d55e11a
MDL-54944 js: split variable intialisations in multiple lines
...
To increase code clarity, we don't allow multiple intilisations to be
confused with each other.
Detected by http://eslint.org/docs/rules/one-var-declaration-per-line
2016-07-07 12:11:06 +01:00
Dan Poltawski
2d2b6c9d22
MDL-54944 js: remove uncessary .call() uses
...
Detected by http://eslint.org/docs/rules/no-useless-call
2016-07-07 12:11:06 +01:00
Dan Poltawski
b1c4d0f2d7
MDL-54944 js: Remove uncessary bind() calls
...
Most of these cases, we are already capturing this in a temporary
variable, so the bind becomes uncessary.
Discovered by http://eslint.org/docs/rules/no-extra-bind
2016-07-07 12:11:06 +01:00
Dan Poltawski
c905cd233d
MDL-54944 js: fix quoting of object properities coding style
...
Detected by http://eslint.org/docs/rules/quote-props
2016-07-07 12:11:05 +01:00
Dan Poltawski
9f5f3dcc83
MDL-54944 js: Fix spacing of objects coding style
...
Fixed by http://eslint.org/docs/rules/object-curly-spacing
2016-07-07 12:11:05 +01:00
Dan Poltawski
037de71996
MDL-54944 eslint: Add rules from Policy decision
...
Also bump eslint to v2.13.1 and make the version explicit in
package.json
2016-07-07 12:10:49 +01:00
Eloy Lafuente (stronk7)
5a1728df39
weekly release 3.2dev
2016-07-07 10:19:49 +02:00
Eloy Lafuente (stronk7)
ffe0699c44
NOBUG: Fixed SVG browser compatibility
2016-07-07 10:19:45 +02:00
Eloy Lafuente (stronk7)
2487a92837
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2016-07-07 10:19:44 +02:00
Andrew Nicols
aa49ee0f29
Merge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle
2016-07-07 11:27:58 +08:00
Rajesh Taneja
56c5c9a08a
MDL-55043 core_competency: Sort by id to ensure we get expected result.
2016-07-10 11:25:06 +08:00
Andrew Nicols
71f81adce9
Merge branch 'MDL-54869-master' of git://github.com/jleyva/moodle
2016-07-07 10:30:17 +08:00
Stephen Bourget
025188da5f
MDL-53803 mod_choice: remove orphaned answers when removing options
2016-07-06 17:08:50 -04:00
Cameron Ball
aa60ab01c3
MDL-54771 tool_recyclebin: Don't add temp course to recycle bin
2016-07-06 23:18:36 +08:00
Cameron Ball
1706352d01
MDL-54771 restore: Add deletesource to course object
...
Since deleting a course now triggers the pre_course_delete hook
it may be useful for hook implementations to know whether it was
a "true" course deletion, or one originating from a temporary
course created during a restore.
2016-07-06 23:11:31 +08:00
Paul Greidanus
c248c3f07f
MDL-55084 admin: CLI driven password reset
...
This patch allows for changing a user's password via the command line.
This allows for scripted password changes easily.
2016-07-06 07:00:57 -06:00
Eloy Lafuente (stronk7)
9825afd76a
Merge branch 'wip-MDL-46682-master' of git://github.com/abgreeve/moodle
2016-07-06 13:50:12 +02:00
Cameron Ball
977804ed9d
MDL-55137: Update PHPDoc for external_format_text
2016-07-06 17:48:07 +08:00
Davo Smith
a106fb8178
MDL-55136 data_object: fix param handling in fetch_all_helper
2016-07-06 10:33:06 +01:00
Eloy Lafuente (stronk7)
080c1e798b
MDL-54934 workshop: ensure "Current phase" is always separated
...
Apparently some readers can join 2 adjacent spans completely, simply
adding a whitespace between them prevents that, ensuring separation.,
2016-07-06 11:30:40 +02:00
Cameron Ball
c30bfed180
MDL-41945 mod_assign: Add empty submission check
2016-07-06 10:07:04 +01:00
Adrian Greeve
3261b9eeea
MDL-46682 auth/db: Increase of chunk size and update change.
...
The update query was not checking the mnet auth id and could
have been updating the wrong entry.
2016-07-06 16:41:51 +08:00
Andrew Nicols
9ce2448091
Merge branch 'MDL-54734-master' of git://github.com/lameze/moodle
2016-07-06 15:01:06 +08:00
Andrew Nicols
de374c3df1
Merge branch 'MDL-53495' of https://github.com/mr-russ/moodle
2016-07-06 13:29:18 +08:00
Simey Lameze
ec90722870
MDL-54734 core_user: do not cache dummy user records
2016-07-06 13:07:03 +08:00
Russell Smith
848d212e7a
MDL-53495 database xmldb: Ensure field tests use constant.
...
Some tests were still using hard coded values which break
if the constants are changed.
2016-07-06 14:45:00 +10:00
Andrew Nicols
42f7b608ed
Merge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle
2016-07-06 12:01:51 +08:00
Ryan Wyllie
2441100db9
MDL-54165 mod_assign: Fix doc in grading_events.js
2016-07-06 03:42:25 +00:00
Rajesh Taneja
d44fc20414
MDL-54844 mod_glossary: Don't append AND as it's done later
2016-07-06 11:34:18 +08:00
Andrew Nicols
06d05f461e
Merge branch 'MDL-54165-master' of git://github.com/ryanwyllie/moodle
2016-07-06 11:04:40 +08:00
Ryan Wyllie
f6bb3f482d
MDL-54165 mod_assign: Collapsible review and grade panel
2016-07-06 02:50:24 +00:00
Andrew Nicols
aa03ced86c
MDL-54734 user: Add tests to demonstrate multi-user issues
2016-07-06 09:27:44 +08:00
Adrian Greeve
6c04427daa
MDL-54844 mod_glossary: Limiting of glossary searching.
...
Searching of the glossary was returning results from all
glossaries on the site. It has now been returned to just
the glossary that you are currently viewing.
2016-07-06 09:20:32 +08:00
Eloy Lafuente (stronk7)
6e24e529c9
Merge branch 'wip-mdl-55043' of https://github.com/rajeshtaneja/moodle
2016-07-06 03:19:08 +02:00
Jerome Mouneyrac
6f08f36c49
MDL-46682 auth/db: IN clause crashes when too many users to sync
2016-07-06 09:18:41 +08:00
Rajesh Taneja
2648dddd2a
MDL-55043 core_competency: Set proper sort order for each field
2016-07-06 08:12:13 +08:00
Eloy Lafuente (stronk7)
a339f0dde0
Merge branch 'wip-mdl-54860-m' of https://github.com/rajeshtaneja/moodle
2016-07-06 01:42:34 +02:00
Rajesh Taneja
25fbce21e7
MDL-54860 behat: Stop execution if setup problem found
2016-07-06 07:27:41 +08:00
Andrew Nicols
6f9ad7e2db
MDL-54951 webservice: Add upgrade notes for external_files
2016-07-06 07:23:32 +08:00
Eloy Lafuente (stronk7)
006e2b787a
Merge branch 'MDL-54857-master' of git://github.com/jleyva/moodle
2016-07-06 00:03:39 +02:00
Eloy Lafuente (stronk7)
f5be4e3d91
Merge branch 'MDL-54856-master' of git://github.com/jleyva/moodle
2016-07-05 21:18:41 +02:00
Eloy Lafuente (stronk7)
ed2d12a125
Merge branch 'MDL-54955-master' of git://github.com/jleyva/moodle
2016-07-05 21:15:31 +02:00
Eloy Lafuente (stronk7)
8a8e436cf7
Merge branch 'MDL-54800-master' of git://github.com/jleyva/moodle
2016-07-05 21:10:28 +02:00
Eloy Lafuente (stronk7)
6880e350d3
Merge branch 'MDL-54602-master' of git://github.com/jleyva/moodle
2016-07-05 20:59:52 +02:00
Eloy Lafuente (stronk7)
1d44e47cc4
Merge branch 'MDL-54934-master' of https://github.com/nashtechdev01/moodle
2016-07-05 20:44:14 +02:00
Eloy Lafuente (stronk7)
4b7ac6023c
Merge branch 'MDL-54867-master' of git://github.com/jleyva/moodle
2016-07-05 20:25:54 +02:00
Eloy Lafuente (stronk7)
e51f7a6a20
Merge branch 'MDL-49244-master' of git://github.com/jleyva/moodle
2016-07-05 20:16:44 +02:00
Eloy Lafuente (stronk7)
efb2517a2f
Merge branch 'MDL-54795_master' of https://github.com/snake/moodle
2016-07-05 20:10:33 +02:00
Eloy Lafuente (stronk7)
6b43e964ac
MDL-55000 grade: Use correct component names + minor jsdocs
...
Note the js_call_amd() call still is using incorrect 'grades'
as component name where it should be core_grades. That will be
fixed by MDL-55133.
2016-07-05 19:59:24 +02:00