Andrew Nicols
f1c6194f3d
Merge branch 'MDL-55480-master' of git://github.com/FMCorz/moodle
2016-08-09 13:50:55 +08:00
fhuebler
269bcf7e97
MDL-55480 competency: Added missing closing tag
2016-08-08 11:00:22 +08:00
Marina Glancy
134494e07a
MDL-55418 behat: correct exception class name
2016-08-02 17:45:12 +08:00
Dan Poltawski
3a0bc0fdc4
MDL-55244 js: build changes
...
There should be no changes to minified code
2016-07-25 07:58:05 +01:00
Dan Poltawski
5bb4f444de
MDL-55244 js: fix problems with eslint --fix
...
eslint --fix '**/yui/src/**/*.js'
2016-07-25 07:53:05 +01:00
Dan Poltawski
9b62a3eb71
MDL-55048 js: rebuilt files with new version of uglifyjs
2016-07-11 15:53:10 +01:00
Dan Poltawski
6e304922fb
MDL-54944 js: built files after changes
2016-07-07 12:11:07 +01:00
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
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
Marina Glancy
799e001c15
MDL-55032 tool_lp: check access when showing link to competencies
...
Also if course competencies page is accessed without capabilities do
redirect before starting output.
2016-07-01 13:42:27 +08:00
Andrew Nicols
04b189a875
Merge branch 'MDL-54924-master' of git://github.com/junpataleta/moodle
2016-06-27 12:53:35 +08:00
Eloy Lafuente (stronk7)
e822312af3
Merge branch 'MDL-54939-master' of git://github.com/danpoltawski/moodle
2016-06-21 20:00:36 +02:00
Jun Pataleta
a2d5c332a2
MDL-54924 tool_lp: Make the url property optional
2016-06-20 14:57:10 +08:00
Dan Poltawski
7f70d548fe
MDL-54939 amd: build modified files
2016-06-17 09:03:18 +01:00
Dan Poltawski
c96f55e6f9
MDL-54939 amd: fix lint issues
...
Mostly correcting jsdoc, some other line wrapping rules and empty
functions.
2016-06-17 09:03:18 +01:00
Dan Poltawski
64527edca2
MDL-54652 tool_lp: remove invalid css on comeptency menu bar
2016-06-16 20:49:04 +01:00
Dan Poltawski
35be582696
MDL-54939 amd: Fix lint issues fixable with eslint --fix
2016-06-16 19:33:00 +01:00
Andrew Nicols
bb15b62ce8
Merge branch 'MDL-52127-master' of git://github.com/danpoltawski/moodle
2016-06-16 09:04:05 +01:00
Dan Poltawski
d13f2a6934
Merge branch 'MDL-51683-master' of git://github.com/FMCorz/moodle
2016-06-16 09:04:03 +01:00
Dan Poltawski
3adb62b727
MDL-52127 js: check amd files with eslint grunt task
...
I have spent quite a lot of time working through the current list of
eslint options and configuring them for Moodle style and I think this is
a very good basis to start us at (as well as taking some of out jshint
options out with https://www.npmjs.com/package/polyjuice ). Thanks to
Andrew Nicols, Mark Johnson and Frédéric Massart for some refinements.
With this configuration the grunt build will fail if errors are present
in the js (though you can of course tell jshint to ignore some errors,
as I have done in admin/tool/lp/amd/src/competency_rule_points.js and
defining the Y global in lib/amd/src/yui.js ).
The grunt task will not report warnings by default, but a new
--show-lint-warnings flag will help achieve that. Editor
integrations/stanadalone eslint tool will surely be a better way of
getting eslint errors rather than using the grunt task.
2016-06-11 10:14:35 +01:00
David Monllao
694d8c4a9e
Merge branch 'MDL-54763_master' of git://github.com/markn86/moodle
2016-05-31 12:31:36 +08:00
Barbara Ramiro
000d660fda
MDL-51683 design: New icon for competencies
2016-05-31 10:48:18 +08:00
Mark Nelson
e0d60498d8
MDL-54763 tool_lp: fixed typo in HTML tag
2016-05-30 13:31:31 +08:00
Frederic Massart
6e91817178
MDL-54721 report_competency: Do not ignore the first user selection
2016-05-26 17:54:52 +08:00
David Monllao
21eef94436
Merge branch 'MDL-54642-master' of git://github.com/ryanwyllie/moodle
2016-05-23 14:52:54 +08:00
Ryan Wyllie
3fdc542fe4
MDL-54642 tool_lp: Fix learning plan button layout in FF
...
The learning plan buttons are floating left but the table below it wasn't
clearning floating elements so it was appearing on the same line.
2016-05-20 02:35:11 +00:00
Eloy Lafuente (stronk7)
1abca11e0a
MDL-54638 versions: bump all versions and requires near release
...
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
David Monllao
d7256f3a49
Merge branch 'MDL-54119-master-with_progress_bar_template' of git://github.com/junpataleta/moodle
2016-05-18 11:33:04 +08:00
David Monllao
98c3f736bb
Merge branch 'MDL-54595-master' of git://github.com/junpataleta/moodle
2016-05-18 11:30:25 +08:00
Dan Poltawski
7b09be79d6
Merge branch 'MDL-54545-master' of git://github.com/junpataleta/moodle
2016-05-17 17:16:09 +08:00
Dan Poltawski
76943644d4
Merge branch 'MDL-54593_master' of git://github.com/markn86/moodle
2016-05-17 17:16:09 +08:00
Jun Pataleta
9698f2dcce
MDL-54119 tool_lp: Modifications for progress bars
...
Changes made in this patch include:
* Reverting to the original look of having the percentage label of the
progress bar inside it.
* Setting a minimum width for the progress bar so the percentage label
will still be visible even at 0%.
* Replaced the blank space between the percent text and the percent
sign with a non-breaking space.
* Added relevant aria attributes for the progress bars.
* I think that this is a good opportunity to use a single template for the
progress bars so I created one that is basically based from the core
template columns-1to2. Column 1 contains the progress text, while column2
contains the progress bar itself.
2016-05-17 16:01:30 +08:00
Jun Pataleta
912a183033
MDL-54595 tool_lp: Remove btn-group classes
2016-05-17 11:52:11 +08:00
Mark Nelson
beb3441b68
MDL-54593 tool_lp: added missing 'alert' CSS class
2016-05-16 14:49:27 +08:00
Mark Nelson
c7e4417533
MDL-54566 tool_lp: added message when no competencies present
2016-05-16 13:59:30 +08:00
Jun Pataleta
c89ba86342
MDL-54073 tool_lp: Unescape additional properties
...
* LP Blocks (Competency name)
* User evidence competency picker (User learning plan name)
* Template competencies (Course full name)
2016-05-13 18:12:32 +08:00
Dan Poltawski
6967b71a34
Merge branch 'MDL-54546-master' of git://github.com/junpataleta/moodle
2016-05-13 18:11:29 +08:00
Andrew Nicols
07d4b49760
Merge branch 'MDL-54073-master' of git://github.com/junpataleta/moodle
2016-05-13 18:11:28 +08:00
Jun Pataleta
e5336562db
MDL-54546 tool_lp: Use correct property types for user/course exporters
2016-05-12 19:04:58 +08:00
Jun Pataleta
010a00db60
MDL-54545 tool_lp: Make selected items stick to the container's bounds
...
Set the selection's width for the user and/or competency selector fields
stick within the panel's bounds.
2016-05-12 12:40:22 +08:00
Jun Pataleta
32cf4bcb93
MDL-54073 tool_lp: Unescape PARAM_TEXT properties in templates
...
Use triple-curly brackets to unescape the PARAM_TEXT properties in
templates.
Changed idnumber's type to PARAM_RAW for frameworks and competencies.
2016-05-12 11:24:51 +08:00
Andrew Nicols
2239883b56
MDL-53293 tool_lp: Destroy dragdrop instance before re-creating
2016-05-11 08:19:39 +08:00
David Monllao
8ec64e757e
Merge branch 'MDL-53989-master' of git://github.com/ryanwyllie/moodle
2016-05-09 07:37:09 +08:00
David Monllao
729738d14c
Merge branch 'MDL-54058-master' of git://github.com/junpataleta/moodle
2016-05-06 13:53:07 +08:00
Ryan Wyllie
fd83879728
MDL-53989 cbe: CMD + click selection for competency picker
2016-05-06 04:40:02 +00:00
Jun Pataleta
2cf9e3f0ca
MDL-54058 tool_lp: Set framework select's width in competency picker
2016-05-06 10:34:29 +08:00