14 Commits

Author SHA1 Message Date
Dan Poltawski
5cb8ca8610 MDL-55071 theme_boost: fixup bootswatch thirdpartylibs
Allow longhand colour codes for asthetics..
2016-09-23 10:57:54 +01:00
Damyon Wiese
2ede86d797 MDL-55996 theme_boost: Rename theme noname to theme boost
Part of MDL-55071
2016-09-23 10:57:13 +01:00
Damyon Wiese
d2645a6a64 MDL-55403 theme_noname: Add bootstrap4 js to moodle
Part of MDL-55071
2016-09-23 10:49:48 +01:00
Dan Poltawski
a878a09bce MDL-48766 thirdpartylibs: fix incorrect casing on path 2016-09-19 10:30:34 +01:00
Dan Poltawski
0ddc7e5582 MDL-48766 lib: remove unused pear::Net::GeoIP
This was used for the previous geoip database.
2016-09-19 08:59:39 +01:00
Dan Poltawski
eacc36a26b MDL-48766 lib: Import MaxMind GeoIP2 PHP API
No changes from the upstream version have been made, it is recommended by
upstream to install these depdencies via composer - but the composer
installation is bundled with a load of test files, shell scripts etc (and
we don't use composer to manage 'production dependencies') so we have to
do it manually.
2016-09-19 08:59:38 +01:00
Dan Poltawski
e799990454 Merge branch 'MDL-49533-master' of git://github.com/andrewnicols/moodle 2016-07-26 09:40:17 +01:00
Andrew Nicols
f1f94da496 MDL-49533 repository: Remove the Alfresco plugin
The SDK that this plugin was designed around is not compatible with recent
versions of Alfresco so the decisio has been made to move the repository to
the plugins database.
2016-07-26 08:57:34 +08:00
Frederic Massart
45feaec83b
MDL-54987 core: Pull Chart.js in core 2016-07-22 17:33:30 +08:00
Andrew Nicols
21e8b48d13 MDL-51758 libraries: Remove password_compat library from core 2016-07-18 10:06:57 +08:00
Dan Poltawski
f8731225f9 MDL-52127 grunt: add .eslingingore file, keep task
Eloy prefers we keep the ignorefiles grunt task
2016-06-15 15:52:34 +01:00
Dan Poltawski
30db70abdc MDL-52127 grunt: be aware of third party paths
1) Parse thirdpartylibs.xml and generate an array of third party
file paths to use in grunt tasks
2) In the lint tasks, we filter third party files from being linted
3) We add a new task to generate ignore files - currently for eslint,
but will be potentially useful for other things in the future
4) Remove .eslintignore from source control

Why have the ability to generate a .eslintignore file? For tooling
integration - by having the eslintignore file people can use other
eslint tools without having to just use grunt (e.g. editor
integrations).
2016-06-14 00:37:29 +01:00
Dan Poltawski
a1587268cb MDL-52127 js: check YUI modules with eslint
Because we don't have the entire YUI rollup, we can't apply some of the
rules safely, so we ignore some rules.

At this point I am not 100% certain this configuration is robust enough,
to deal with the lack fo rollup knowledge although its a good sign that
there are no errors on our entire yui codebase.
2016-06-11 10:14:35 +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