Commit Graph

14 Commits

Author SHA1 Message Date
Jeremy Stanley fc086575d4 Bindep cleanup and JavaScript updates
Adjust for the Py3K-only present by dropping some Python 2.7 package
names which are no longer available on our test platforms, and
adjusting others to their newer Python 3.x versions. Also some
Debian-specific fixups like moving from iceweasel back to firefox
and the locales package becoming essential.

Apply a `yarn upgrade` result for the yarn.lock file since some of
the dependency versions included there were too old to work with
Python 3 yet.

Change-Id: I1da3ac6f7bfbaa6dc75f6171f0055c8730f0ed43
2021-11-27 14:29:57 +00:00
Adam Coldrick c445307dc2 Reinstate "Add transpiling as a step in the build process"
This commit fixes the issue with https://review.opendev.org/#/c/600979/
where the minified output contained a mangled name, which broke
dependency injection for the `CardDetailController`.

It also re-adds the transpilation step to move towards allowing ES6
syntax at last.

This reverts commit fc60a0a5e0.

Change-Id: Ib90c4f5cd07a76deb5c1980bdc175849aa8a7de2
2019-10-26 11:42:53 +01:00
Adam Coldrick 318e295fb0 Update selenium-standalone and gifsicle
These don't work with node 10, and are ancient, so we should update
them.

Change-Id: I19e67bf6d0a53e2d1e486bd0e89f19d3d5c6bd59
2019-10-24 20:02:37 +01:00
Adam Coldrick 884c395153 Remove unused imagemin build step
Change-Id: Iedd3ecaefe8ba0e0ce469098a86a864e87711276
2019-10-24 20:02:37 +01:00
Adam Coldrick fc60a0a5e0 Revert "Add transpiling as a step in the build process"
This reverts commit 53206e2894.

Change-Id: I9bf2922d09b34cc91bf2999ec9e0e1a35fb3d4fe
2018-09-11 15:29:26 +00:00
Jack Coldrick 53206e2894 Add transpiling as a step in the build process
Adding transpilation to the build process means that any JavaScript in
the src/app directory can now use ES6+ features. The uglify task is no
longer needed as minification is taken care of by Babel.

Change-Id: I3684ca59ac48d359ceb21cc0dfee28e57b9b597f
2018-09-08 22:31:52 +01:00
Monty Taylor da32a2d01d
Remove grunt-contrib-less
Now that we're using scss, we can get rid of the grunt plugin for less.

Change-Id: Iec046c32815c4210e196f13f0a036aad6832b1b0
2018-08-21 15:58:34 -05:00
Adam Coldrick e5d53dbad3 Convert less to scss
This commit converts all our stylesheets from less to scss. Previously
Sass required ruby-compass, which wasn't easy to fit into our build
process. This is no longer the case so it makes sense to switch to
Sass/SCSS to enable us to streamline our build process and use some
of the more advanced features provided by Sass in the future.

Change-Id: I22fcbf4504d7756cd7ece41b0eca12985316db6b
2018-08-03 21:55:11 +01:00
Adam Coldrick 849440ed19 Update fontawesome to version 5
Version 5 of fontawesome has somewhat better icons for things
like tasks and boards. This commit makes the requisite changes
to our build process to support this upgrade, and switches to
the correct npm package for version 5. It also updates some
icon names which were changed between versions.

Change-Id: If7a538328156cc4007ae065ff96dac18fddd68da
2018-08-03 21:54:31 +01:00
Zuul 36dcf2848f Merge "Fix syntax highlighting" 2018-06-20 19:47:50 +00:00
Adam Coldrick b69a68680e Generate a tarball when running `grunt build`
The build automation expects a .tgz file to be generated by the build
process. This commit adds that functionality to our Gruntfile so that
the production tarball is actually generated.

Change-Id: Ibe9bf1be49befbdf15a5082493a55e707c5dcbc1
2018-05-09 22:51:53 +01:00
Adam Coldrick 0fc80f229a Fix syntax highlighting
Syntax highlighting is currently broken because the npm package for
highlight.js doesn't contain a version of highlight.js built for use
in-browser. This commit fixes this by switching to using the latest
published version of the highlightjs package, which does contain a
version of highlight.js built for use in-browser.

Change-Id: Ie340d77e0423688d3b4b625a997c95e919fdd666
2018-03-18 11:37:21 +00:00
Zara d3eea8f92b Update UI-Router
This updates UI-Router to the most recent release.
angular-ui-router for Angular v1 is now published as
@uirouter/angularjs, so change the name to that.

This commit also changes the obsolete stateChange*
methods to transitions, so that the navbar will
continue to work.

Task: 3247
Change-Id: Ic800f437ca4412241bb3edb8a680f7e2e23beb9c
2018-01-17 02:08:37 +00:00
Monty Taylor f442646269
Remove bower and add yarn support
bower is deprecated and intended to be replaced. yarn is the recommended
replacement for both things installed via npm and things installed via
bower.

Move the bower resources into package.json and add the yarn.lock file.
Zuul has support for installing yarn if a yarn.lock file is found and
using it to install things.

Change-Id: I848f22dce6196b2df9de4b9f585e857e03cdb0d7
2017-12-23 10:40:35 -06:00