Ivar
58dd69e77d
Run on 'npm lint' as pre-commit hook.
...
closes #125
2020-02-20 08:30:24 +01:00
sverosak
593f645844
upgrade pg to suppport node 6
2020-02-20 08:30:24 +01:00
sverosak
440b368ee7
add procfile
2020-02-20 08:30:24 +01:00
Anders Olsen Sandvik
a96a9f38ce
#108 Add eslint-config-spt and remove jshint ( #111 )
...
* #108 Add eslint-config-spt
* #108 Ignore bundle.js file
* #108 Change eslint ignore path to a glob file
* Remove jshint and follow more of eslint rules
2020-02-20 08:30:24 +01:00
ivaosthu
89c35135ec
update finnbuild
2020-02-20 08:30:24 +01:00
Ivar
5b4e14063e
Upgrade to node 5.8
2020-02-20 08:30:24 +01:00
ivaosthu
97f646490e
travis should also use latest node
2020-02-20 08:30:24 +01:00
ivaosthu
94f10a3a4b
upgrade node to 4.2.2. Closes #106
2020-02-20 08:30:24 +01:00
Anders Olsen Sandvik
5912569bdd
Update dependency moment from 2.9.0 to 2.11.2
...
https://nodesecurity.io/advisories/moment_regular-expression-denial-of-service
2020-02-20 08:30:24 +01:00
giacung
98cd0663ff
Health check should verify that it can talk to the toggle-store (aka DB).
...
This commit fixes #103 by doing a simple select against the features table.
2020-02-20 08:30:24 +01:00
ivaosthu
f1ec73fae2
Rewrote failing test
2020-02-20 08:30:23 +01:00
eirslett
4c9626b6a3
Remove envconsul from Dockerfile
...
The open source version of Unleash shouldn't depend on envconsul,
since that's an internal operations detail at FINN.no. Instead, we
accept configuration from environment variables passed through from
the "docker run" command, or via Marathon/Mesos.
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
0acee571f1
Use easier method for installing envconsul
...
Now when a bigger and more complete parent image is used, the curl and
tar tools are feature complete.
2020-02-20 08:30:23 +01:00
Gard Rimestad
7a3fb90069
Start pushing docker images to internal docker registry
2020-02-20 08:30:23 +01:00
Gard Rimestad
71dc3206b3
Adding docker build to finnbuild.json
2020-02-20 08:30:23 +01:00
audstran
e800ad7a85
added docker container and vagrant
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
93a05ef666
Make the app runnable with docker-compose
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
4854ca58e7
Add files for creating docker image
...
* Base on a small node image (alpine-node)
* Exclude some files from docker build to make the build go faster
2020-02-20 08:30:23 +01:00
Anders Olsen Sandvik
c9ffd81b2d
Add Slack integration
2020-02-20 08:30:23 +01:00
ivaosthu
87fe098851
Webpack should build for production
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
0a9ee1309a
Added headers to all pages
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
0c836bef36
Application states should be loaded as high up as possible
2020-02-20 08:30:23 +01:00
ivaosthu
d4893f87ef
Clean up entry point
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
a490b26aea
removed unused file
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
98dcba0ba6
Move to react-router.
...
Replaced our home built tab-view with the react-router. This
makes routing super simple for us.
https://github.com/rackt/react-router/
relates to #95
2020-02-20 08:30:23 +01:00
ivaosthu
84fd3c4020
Disable nsp for now
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
ddec1d664a
Bugfix stratgy rendering inside create feature form
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
9a6d1eb996
Upgrade to react 13
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
77faa5580b
Upgrade chai
2020-02-20 08:30:22 +01:00
ivaosthu
dbba1e6a9c
Upgrade db-dependencies
2020-02-20 08:30:22 +01:00
ivaosthu
5e226f07c4
Fixed jsxhint errors
2020-02-20 08:30:22 +01:00
ivaosthu
3c57c50912
JSXhint on buildserver
2020-02-20 08:30:22 +01:00
ivaosthu
e638f4cf00
Rollback db-upgrades
2020-02-20 08:30:22 +01:00
ivaosthu
31a6c78be3
upgraded dependencies
2020-02-20 08:30:22 +01:00
ivaosthu
bfdc7fa57a
We should atleast be one version up
2020-02-20 08:30:22 +01:00
ivaosthu
1cd22badfa
Added test for the FeatureToggleStore
2020-02-20 08:30:22 +01:00
ivaosthu
920712f8fe
Remove loading message
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
d651a543b6
ErrorStore should show init-error
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
3a8ae8f53e
Single initalizer for all stores.
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
5f706cf53e
wrapping app-stuff
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
08600fa7ee
Pass strategies as props
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
f11cd291c2
formatting
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
0fb855d958
Added init-error events
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
f82be4655a
Added ErrorStore
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
90dc36298c
Archived toggles in separate store
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
9576968043
loadsh to simplify store
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
f2617220d0
Moved server-stuff to the actions
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
d35666e353
Added poller to keep the store in sync with server.
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
40dc6604f4
Renamed FeatureToggleStore and simplified action names.
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
cbf884dd76
Inital rewrite of feature-store to reflux
2020-02-20 08:30:21 +01:00