Skip to content

Commit 1e2a080

Browse files
committed
updated all javascript libraries
1 parent a413b46 commit 1e2a080

31 files changed

Lines changed: 213 additions & 66 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ netdata.spec
2929

3030
*.tar.*
3131

32+
sitespeed-result/
3233
cov-int/
3334
netdata-coverity-analysis.tgz
35+
.coverity-token
36+
.coverity-build
3437

3538
.cproject
3639
.idea/

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ dist_noinst_DATA= \
4848
# should be proper init.d/openrc/systemd usable
4949
dist_noinst_SCRIPTS= \
5050
ansible/netdata.yml \
51+
coverity-scan.sh \
5152
docker-build.sh \
5253
netdata-installer.sh \
5354
$(NULL)

coverity-scan.sh

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
#/bin/bash
2+
3+
token=
4+
[ -f .coverity-token ] && token="$(<.coverity-token)"
5+
[ -z "${token}" ] && \
6+
echo >&2 "Save the coverity token to .coverity-token" && \
7+
exit 1
8+
9+
echo >&2 "Coverity token: ${token}"
10+
11+
covbuild="$(which cov-build 2>/dev/null || command -v cov-build 2>/dev/null)"
12+
[ -z "${covbuild}" -a -f .coverity-build ] && covbuild="$(<.coverity-build)"
13+
[ -z "${covbuild}" ] && \
14+
echo "Save command the full filename of cov-build in .coverity-build" && \
15+
exit 1
16+
17+
[ ! -x "${covbuild}" ] && \
18+
echo "The command ${covbuild} is not executable. Save command the full filename of cov-build in .coverity-build" && \
19+
exit 1
20+
21+
echo >&2 "Cleaning up old builds..."
22+
make clean || exit 1
23+
24+
[ -d "cov-int" ] && \
25+
rm -rf "cov-int"
26+
27+
[ -f netdata-coverity-analysis.tgz ] && \
28+
rm netdata-coverity-analysis.tgz
29+
30+
"${covbuild}" --dir cov-int make -j4 || exit 1
31+
32+
tar czvf netdata-coverity-analysis.tgz cov-int || exit 1
33+
34+
curl --form token="${token}" \
35+
--form email=costa@tsaousis.gr \
36+
--form file=@netdata-coverity-analysis.tgz \
37+
--form version="1.3.0rc1" \
38+
--form description="Description" \
39+
https://scan.coverity.com/builds?project=firehol%2Fnetdata

web/Makefile.am

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ dist_webold_DATA = \
3434

3535
weblibdir=$(webdir)/lib
3636
dist_weblib_DATA = \
37-
lib/dygraph-combined.js \
37+
lib/dygraph-combined-f6ec7be.js \
3838
lib/dygraph-smooth-plotter.js \
39-
lib/jquery-1.12.0.min.js \
39+
lib/jquery-3.1.1.min.js \
4040
lib/jquery.peity.min.js \
4141
lib/jquery.sparkline.min.js \
4242
lib/morris.min.js \
4343
lib/raphael-min.js \
4444
lib/jquery.easypiechart.min.js \
4545
lib/jquery.nanoscroller.min.js \
46-
lib/bootstrap.min.js \
46+
lib/bootstrap-3.3.7.min.js \
4747
lib/ElementQueries.js \
4848
lib/ResizeSensor.js \
4949
lib/bootstrap-toggle.min.js \
@@ -55,8 +55,8 @@ dist_weblib_DATA = \
5555
webcssdir=$(webdir)/css
5656
dist_webcss_DATA = \
5757
css/morris.css \
58-
css/bootstrap.min.css \
59-
css/bootstrap-theme.min.css \
58+
css/bootstrap-3.3.7.min.css \
59+
css/bootstrap-theme-3.3.7.min.css \
6060
css/bootstrap.slate.min.css \
6161
css/font-awesome.min.css \
6262
css/bootstrap-toggle.min.css \

web/css/bootstrap-3.3.7.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/css/bootstrap.min.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

web/css/font-awesome.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/dashboard.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,27 @@ body {
367367
.dygraph-ylabel {
368368
}
369369

370+
.dygraph-label-rotate-left {
371+
text-align: center;
372+
/* See http://caniuse.com/#feat=transforms2d */
373+
transform: rotate(90deg);
374+
-webkit-transform: rotate(90deg);
375+
-moz-transform: rotate(90deg);
376+
-o-transform: rotate(90deg);
377+
-ms-transform: rotate(90deg);
378+
}
379+
380+
/* For y2-axis label */
381+
.dygraph-label-rotate-right {
382+
text-align: center;
383+
/* See http://caniuse.com/#feat=transforms2d */
384+
transform: rotate(-90deg);
385+
-webkit-transform: rotate(-90deg);
386+
-moz-transform: rotate(-90deg);
387+
-o-transform: rotate(-90deg);
388+
-ms-transform: rotate(-90deg);
389+
}
390+
370391
.dygraph-title {
371392
text-indent: 56px;
372393
text-align: left;

web/dashboard.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,4 +652,4 @@ <h1>C3 Charts</h1>
652652
<!-- <script> netdataServer = "http://box:19999"; </script> -->
653653

654654
<!-- load the dashboard manager - it will do the rest -->
655-
<script type="text/javascript" src="dashboard.js?v55"></script>
655+
<script type="text/javascript" src="dashboard.js?v57"></script>

0 commit comments

Comments
 (0)