1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

47 Commits

Author SHA1 Message Date
Ivar
f929292524 Upgrade webpack 2020-02-20 08:30:25 +01:00
Ivar
fbdb268d89 upgraded dev-dependencies 2020-02-20 08:30:25 +01:00
Ivar
1da60bb38c upgrade reqwest lib 2020-02-20 08:30:25 +01:00
Ivar
2ad12fb12b upgrade express dependencies 2020-02-20 08:30:25 +01:00
ivaosthu
c1688bf778 Add enngine details 2020-02-20 08:30:24 +01:00
ivaosthu
2e6f4187c5 upgrade knex 2020-02-20 08:30:24 +01:00
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
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
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
ivaosthu
f1ec73fae2 Rewrote failing test 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
ivaosthu
87fe098851 Webpack should build for production 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
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
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
Ivar Conradi Østhus
9576968043 loadsh to simplify store 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
andsandv
23e9475ca7 #76 Add nsp audit-package to test and close #76 2020-02-20 08:30:21 +01:00
andsandv
5013a10186 Update files with correct indent_size 2020-02-20 08:30:21 +01:00
andsandv
b7b5aacafd Update dependencies 2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
6d3b3543b4 #33 fix formatting package.json 2020-02-20 08:30:20 +01:00
Ivar Conradi Østhus
6819b7a1e0 When the user enters his username in to the field
a username cookie is updated and will be available
in all subsequent requests.

THIS IS NOT AUTHENTICATION! it is not safe and is
only implemented as a first edition. It does how ever
solve the issue where we are not able to see who
canged what.
2020-02-20 08:30:20 +01:00
Jari Bakken
c15b72666b Improve date formatting in log view. 2020-02-20 08:30:20 +01:00
Jari Bakken
12710a6d04 log views: show event diffs by default, toggle to show the full event. 2020-02-20 08:30:20 +01:00
andsandv
1aa36aca34 Bump some package deps that nodesecurity recomends 2020-02-20 08:30:20 +01:00
Gard Rimestad
388cdb755a Refactoring pg-virtualenv-test 2020-02-20 08:30:19 +01:00
Gard Rimestad
05af00db5f Create test database with pg_virtualenv and run tests against it with npm run pg-virtualenv-test 2020-02-20 08:30:19 +01:00
Gard Rimestad
5b95f0cfc2 Run tests with database in docker #64 2020-02-20 08:30:19 +01:00
Jari Bakken
642c06f6ba Begin work on running tests against the database:
* Add Travis postgresql setup.
* Replace "db mocks" with a before hook that creates the same data
  through the HTTP API.
* Reset DB and re-create all fixtures for each test. We'll need
  something  better here.
* CAVEAT: no concept of a dev vs test database. Running tests will
  clear data from the currently configured database.
2020-02-20 08:30:18 +01:00
ivaosthu
6bfde35de0 Fixed presentation and formatting of toggles and log-entries 2020-02-20 08:30:18 +01:00
andsandv
be701f5bc3 Add shrinkwrap 2020-02-20 08:30:18 +01:00
ivaosthu
fc42827641 Introduce jest as test-framework for gui code (react).
jest is somewhat documented here:
https://facebook.github.io/jest/

related to #61
2020-02-20 08:30:18 +01:00
Jari Bakken
412067c42f Use knex for DB access. Closes #46. 2020-02-20 08:30:16 +01:00
Gard Rimestad
91466c1ec8 Run tests on port 4243, no need to stop local server when running tests. 2020-02-20 08:30:16 +01:00
Jari Bakken
079ef631df Bump mocha timeout on Travis 2020-02-20 08:30:15 +01:00
Ivar Østhus
ca78acd25e Modified configuration to make it run on heroku.
Please note that scripts and webpack is moved from
devDependences to dependencies. This is due to heroku
running the build process in production mode.
2020-02-20 08:30:14 +01:00
andsandv
3b26930773 Add pre-commit hook #26 2020-02-20 08:30:14 +01:00
Jari Bakken
f06a4a8a51 Move unleash-server to top level. 2020-02-20 08:30:13 +01:00