Łukasz Mierzwa
ac606d3972
Install jest on travis
2017-07-29 13:50:20 -07:00
Łukasz Mierzwa
70296853c5
Add missing css imports
2017-07-29 13:50:18 -07:00
Łukasz Mierzwa
f4397a8bf0
Fix css rules in webpack
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
2ad3ec18b8
Rebuild assets before compiling binary
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
7f4ec13956
disable eslint check on circular function, for now
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
790be51624
jshint is no longer used
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
68b5c56a76
Install npm deps in Makefile
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
18f12a2c83
update eslint config file to use ES6 mode
2017-07-29 13:49:46 -07:00
Łukasz Mierzwa
895fa24456
update git ignore files to exclude dev dirs
2017-07-29 13:49:45 -07:00
Łukasz Mierzwa
f8a60936a7
lru is now managed via npm
2017-07-29 13:49:43 -07:00
Łukasz Mierzwa
685c14303d
Drop old managed js files
2017-07-29 13:49:03 -07:00
Łukasz Mierzwa
8fa80a944f
update templates
2017-07-29 13:49:01 -07:00
Łukasz Mierzwa
5ec0340f1c
Strict mode for js files, fix minor typos
2017-07-29 13:48:36 -07:00
Łukasz Mierzwa
a640f86114
bootstrap-loader config file
2017-07-29 13:48:36 -07:00
Łukasz Mierzwa
56f3b01dac
webpack config
2017-07-29 13:48:36 -07:00
Łukasz Mierzwa
a19a84cf9d
Add npm package config with dependencies
2017-07-29 13:48:35 -07:00
Łukasz Mierzwa
fc0cc1c337
Fix remaining requires
2017-07-29 13:48:35 -07:00
Łukasz Mierzwa
17f1e2c811
Fix watchdog requires
2017-07-29 13:48:35 -07:00
Łukasz Mierzwa
e963a3fd6c
Rewrite unsee.js as CommonJS, add basic test
2017-07-29 13:48:35 -07:00
Łukasz Mierzwa
15227f4256
Add missing require, add basic test
2017-07-29 13:48:35 -07:00
Łukasz Mierzwa
ccba7f66eb
Rewrite silence.js as CommonJS, add basic test
2017-07-29 13:48:33 -07:00
Łukasz Mierzwa
2f4cd1bc9a
Rewrite config.js as CommonJS and split options to dedicated file, add basic tests
2017-07-29 13:47:08 -07:00
Łukasz Mierzwa
0db288e5bf
Rewrite alerts.js as CommonJS, add tests
2017-07-29 13:47:06 -07:00
Łukasz Mierzwa
b2f99902f7
Fix tests
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
3dd04eb5f2
Rewrire ui.js as CommonJS, add tests
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
bc7be22e5f
Rewrite filters.js as CommonJS, add basic test
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
d166222a86
Rewrite summary.js as CommonJS, add tests
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
f6ca29d7a3
Add basic templates test
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
7301f40778
Rewrite sentry.js as CommonJS, add basic test
2017-07-29 13:45:33 -07:00
Łukasz Mierzwa
d083054409
Fix grid init(), add stub tests
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
3cb33754b2
Fix counter package import, add stub test file
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
c4f96b863c
Rewrite unsilence.js as CommonJS
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
a698a40577
Rewrite querystring.js as CommonJS, add basic tests
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
39204ea273
Rewrite progress.js as CommonJS, add tests
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
839c01d11e
Add missing jquery require to the counter.js
2017-07-29 13:45:32 -07:00
Łukasz Mierzwa
f22959f5d8
Rewrite colors.js as CommonJS, add tests
2017-07-29 13:45:29 -07:00
Łukasz Mierzwa
4799179e76
Rewrite template.js as CommonJS
2017-07-29 13:43:14 -07:00
Łukasz Mierzwa
4c95f2888e
Convert autocomplete to CommonJS and write tests
2017-07-29 13:43:14 -07:00
Łukasz Mierzwa
acc99e4f07
Add more watchdog tests
2017-07-29 13:43:14 -07:00
Łukasz Mierzwa
3c8be2dbad
Convert counter.js to CommonJS module
2017-07-29 13:43:13 -07:00
Łukasz Mierzwa
07a272e493
Fix watchdog tests
2017-07-29 13:43:13 -07:00
Łukasz Mierzwa
f8357689ad
Add basic tests for watchdog using jest
2017-07-29 13:43:13 -07:00
Łukasz Mierzwa
1474af8f07
Rewrite watchdog using CommonJS
2017-07-29 13:43:13 -07:00
Łukasz Mierzwa
d91fa473ab
Drop jshint, use eslint in es6 mode
2017-07-29 13:43:12 -07:00
Łukasz Mierzwa
9ea3236ee5
Merge pull request #149 from cloudflare/fix-silence-form-colors
...
Show correct label colors in the silence form
2017-07-25 20:49:43 -07:00
Łukasz Mierzwa
f13628cb45
Show correct label colors in the silence form
...
When the silence form is rendered we make a new alerts.json request to pull all instances of the alert being silenced and populate select boxes, so that user can silence not only currently displayed alerts, but all firing ones. When we do that only alerts displayed (matching filters) are colored properly because only those had color data in the global state, so some instances in those select boxes will be missing color data. To fix this merge global color data (from filtered alerts) with colors for alerts we collected, so when rendering happens we have color data for all instances.
2017-07-25 15:17:31 -07:00
Łukasz Mierzwa
63630c3e9c
Merge pull request #148 from cloudflare/rename-lru.js
...
Avoid caching all js files
v0.7.2
2017-07-24 16:10:17 -07:00
Łukasz Mierzwa
92074f5d29
Avoid caching all js files
2017-07-24 16:07:51 -07:00
Łukasz Mierzwa
2695a5f4ad
Merge pull request #147 from cloudflare/lru.js-v2
...
Switch lru.js to v2 version
v0.7.1
2017-07-24 12:33:21 -07:00
Łukasz Mierzwa
3488072c8a
Switch lru.js to v2 version
...
v2 is an older implementation that doesn't require ES6, note from docs:
Note: If you need ES5 compatibility e.g. to use with older browsers, please use version 2 which has a slightly less feature-full API but is well-tested and about as fast as this implementation
2017-07-24 09:20:02 -07:00