1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

964 Commits

Author SHA1 Message Date
ivaosthu
ed56212b4e 2.0.0 2020-02-20 08:30:46 +01:00
ivaosthu
073ede3d9a bum unleash-frontend 2020-02-20 08:30:46 +01:00
sveisvei
e78167d3c2 2.0.0-alpha.9 2020-02-20 08:30:46 +01:00
sveisvei
37e8fbd083 bump frontend 2020-02-20 08:30:46 +01:00
sveisvei
ea509aff70 2.0.0-alpha.8 2020-02-20 08:30:46 +01:00
sveisvei
c73707e82e update frontend 2020-02-20 08:30:45 +01:00
sveisvei
3c76f64c72 2.0.0-alpha.7 2020-02-20 08:30:45 +01:00
sveisvei
cd416af795 upgrade frontend 2020-02-20 08:30:45 +01:00
sveisvei
91fe45d638 2.0.0-alpha.6 2020-02-20 08:30:45 +01:00
sveisvei
53eb16b69f update frontend 2020-02-20 08:30:45 +01:00
sveisvei
17c58e77f2 add hook tests 2020-02-20 08:30:45 +01:00
sveisvei
303531d489 2.0.0-alpha.5 2020-02-20 08:30:45 +01:00
sveisvei
2ad8dbf128 bump frontend 2020-02-20 08:30:45 +01:00
ivaosthu
5a4ef95fc3 2.0.0-alpha.4 2020-02-20 08:30:44 +01:00
ivaosthu
1f38468b9c fix main script 2020-02-20 08:30:44 +01:00
ivaosthu
34bf0576f7 2.0.0-alpha.3 2020-02-20 08:30:44 +01:00
ivaosthu
1280cb9a61 2.0.0-alpha.2 2020-02-20 08:30:44 +01:00
ivaosthu
0cd575fc8f add all files 2020-02-20 08:30:44 +01:00
ivaosthu
cd8c6012e8 Use released version of unleash-frontend 2020-02-20 08:30:44 +01:00
ivaosthu
082d5068a8 Strategy should use better param description
Adds support for more fields sucha as description, required, etc.

relates to #182
2020-02-20 08:30:43 +01:00
sveisvei
f425597640 fix lint 2020-02-20 08:30:41 +01:00
ivaosthu
7057d11553 replace commander with yargs 2020-02-20 08:30:41 +01:00
ivaosthu
8e6bcafa24 Server Metrics: add response time and status codes 2020-02-20 08:30:40 +01:00
ivaosthu
f7a89b8223 more tests 2020-02-20 08:30:40 +01:00
ivaosthu
b8014fdddf Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.

read more at https://prometheus.io/

Closes #98
2020-02-20 08:30:40 +01:00
Ivar
83bf661b81 upgrade joi 2020-02-20 08:30:40 +01:00
Ivar
1a5407e5b8 upgrade dependencies 2020-02-20 08:30:39 +01:00
sveisvei
1dab39f0f9 move app and server-impl into lib folder 2020-02-20 08:30:39 +01:00
sveisvei
95b5475991 improve nyc to add all files in lib to coverage 2020-02-20 08:30:39 +01:00
sveisvei
067b93abfd add tests, rename folders to ava defaults for helpers/fixtures, remove migration og 2020-02-20 08:30:39 +01:00
sveisvei
e730937849 add more unit tests for metrics 2020-02-20 08:30:39 +01:00
sveisvei
c8746b85f7 revert schema reset for each migration 2020-02-20 08:30:39 +01:00
sveisvei
ce056df8b6 use ava as testrunner 2020-02-20 08:30:39 +01:00
sveisvei
dfce071ce0 rename finn-no to unleash 2020-02-20 08:30:39 +01:00
ivaosthu
14deebae1f options to specify different db-schema 2020-02-20 08:30:38 +01:00
ivaosthu
d55122b4c0 upgrade express-validator 2020-02-20 08:30:38 +01:00
ivaosthu
aa4140141e upgrade log4js to 1.0.1 2020-02-20 08:30:38 +01:00
ivaosthu
dfabbf2799 fix coverals in travis 2020-02-20 08:30:38 +01:00
ivaosthu
3b1a09f7f7 remove bluebird 2020-02-20 08:30:38 +01:00
ivaosthu
46bc109ff9 fix tests 2020-02-20 08:30:37 +01:00
ivaosthu
90859701c6 remove all lerna stuff 2020-02-20 08:30:37 +01:00
sveisvei
022c27ab11 update aslant 2020-02-20 08:30:35 +01:00
Simen Bekkhus
9ccfa526d3 Upgrade and fix lint 2020-02-20 08:30:33 +01:00
sveisvei
b46ae91a9f update lerna 2020-02-20 08:30:31 +01:00
ivaosthu
cd6fde6526 fixed more layout to new design #153 2020-02-20 08:30:30 +01:00
sveisvei
5c1cea1d07 bump lerna 2020-02-20 08:30:28 +01:00
Simen Bekkhus
611942551d Use latest (hopefully last) alpha of eslint config 2020-02-20 08:30:27 +01:00
Simen Bekkhus
1010207289 Update to Eslint@3 2020-02-20 08:30:27 +01:00
Simen Bekkhus
5aa14262a2 Fix linting errors (#145)
* Use pretty (svg) badges

* Fix build
2020-02-20 08:30:27 +01:00
sveisvei
99f3eebc5d fix frontend and fix deploy to dev-master with lerna 2020-02-20 08:30:27 +01:00
sveisvei
9b36f75c54 remove pre-commit hook, add linting to tests 2020-02-20 08:30:27 +01:00
sveisvei
2b4de3a366 use alpha version of lint rules 2020-02-20 08:30:27 +01:00
sveisvei
08dfac8b53 eslint config 2020-02-20 08:30:26 +01:00
sveisvei
295d641338 update readme, add warning 2020-02-20 08:30:26 +01:00
sveisvei
7bacad7b90 use lerna for multipackaging 2020-02-20 08:30:26 +01:00
Ivar
f4e7510902 1.0.0-alpha.2 2020-02-20 08:30:26 +01:00
Ivar
be98d26894 releasing scripts for now, to allow others to run the migrations 2020-02-20 08:30:26 +01:00
sveisvei
30ad6e03ad remove finn stuff 2020-02-20 08:30:26 +01:00
Ivar
b86d9fbcee remove unsued packages 2020-02-20 08:30:26 +01:00
Ivar
0767c586cc make package.json public 2020-02-20 08:30:25 +01:00
Ivar
1146274882 1.0.0-alpha.1 2020-02-20 08:30:25 +01:00
Ivar
4abf226328 add release scripts 2020-02-20 08:30:25 +01:00
Ivar
a05cea474d Fixed api from server-impl to make it easier to require.
only release resources needed by others.
2020-02-20 08:30:25 +01:00
sveisvei
1bbe65a398 make it possible to require server 2020-02-20 08:30:25 +01:00
Ivar
5282ebfcc9 Move all custom-scripts to /scripts folder 2020-02-20 08:30:25 +01:00
Ivar
f7bde74a28 Fixed failing jest-tests 2020-02-20 08:30:25 +01:00
Ivar
29a7cc0049 Fixed placeholder for favicon.ico 2020-02-20 08:30:25 +01:00
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