1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

415 Commits

Author SHA1 Message Date
Jari Bakken
8b9c0a6e85 Reduce logging in production. 2020-02-20 08:30:21 +01:00
andsandv
0552e588ae Check if strategy exsit before deleting it 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
4e54c461ff Add test for trying to get strategy that dose not exist 2020-02-20 08:30:21 +01:00
andsandv
5013a10186 Update files with correct indent_size 2020-02-20 08:30:21 +01:00
Anders Olsen Sandvik
f60d2dcb02 Testing out Postgres 9.4 on Travis [experimental]
http://docs.travis-ci.com/user/build-environment-updates/2015-02-03/#PostgreSQL-9.4
2020-02-20 08:30:21 +01:00
andsandv
b7b5aacafd Update dependencies 2020-02-20 08:30:21 +01:00
andsandv
3d35942958 Add test for asking for feature that dose not exist 2020-02-20 08:30:21 +01:00
andsandv
00648bce16 Add test for creating features when name is not unique 2020-02-20 08:30:21 +01:00
andsandv
23182c852d #80 Add quotes to sql from feedback 2020-02-20 08:30:21 +01:00
andsandv
90aa74a464 #80 Add schema change 2020-02-20 08:30:21 +01:00
andsandv
d600cdd359 #80 More renaming 2020-02-20 08:30:21 +01:00
andsandv
806da1eb44 #80 Rename event ypes 2020-02-20 08:30:20 +01:00
andsandv
de5dc7bfc6 Revert "#80 Change all event types to past tense"
This reverts commit a754fcb3a9.
Might break database so I'll send a pull request.
2020-02-20 08:30:20 +01:00
andsandv
5298b50cb7 #80 Change all event types to past tense 2020-02-20 08:30:20 +01:00
Ivar Conradi Østhus
529ff2aeea #33 Added unit test for createdBy 2020-02-20 08:30:20 +01:00
Ivar Conradi Østhus
e146dd9e81 #33 remove inline CSS 2020-02-20 08:30:20 +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
andsandv
6b061b24e3 Add editorconfig 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
Jari Bakken
72b48223e5 Add build URL to finnbuild.json 2020-02-20 08:30:20 +01:00
andsandv
87b157351d Add artifact.json 2020-02-20 08:30:20 +01:00
Anders Olsen Sandvik
405234c5a1 Update .gitignore 2020-02-20 08:30:20 +01:00
Jari Bakken
8a8f157841 Slugify tab anchors. Closes #77. 2020-02-20 08:30:20 +01:00
Jari Bakken
a778f6c660 Improved README screenshot 2020-02-20 08:30:20 +01:00
Jari Bakken
4a6d91fdfa Add screenshot + link to Heroku to README 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
ivaosthu
6cf05e4c39 Filter list of feature toggles.
Can filter (ignoring case)
- by name or
- by strategy

closes #56
2020-02-20 08:30:19 +01:00
ivaosthu
2cb604555f removed trash file 2020-02-20 08:30:19 +01:00
Anders Olsen Sandvik
06c0e3e2cc Using Travis new container-based stack 2020-02-20 08:30:19 +01:00
ivaosthu
1024493d63 Added archived toggles feature #43 2020-02-20 08:30:19 +01:00
ivaosthu
658e3ac2bc API and gui for archiving #43 2020-02-20 08:30:19 +01:00
ivaosthu
5e40d4dc7f Database migration #43 2020-02-20 08:30:19 +01:00
Gard Rimestad
388cdb755a Refactoring pg-virtualenv-test 2020-02-20 08:30:19 +01:00
Gard Rimestad
0178f46813 Use pg_virtualenv in finnubuild 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
3dfe27cbab Start postgres on random port in docker #64 2020-02-20 08:30:19 +01:00
Gard Rimestad
93a25d4b5e DOCKER_HOST support added #64 2020-02-20 08:30:19 +01:00
Jari Bakken
b1a8767cc0 Fix env var name in scripts/docker-postgres.sh 2020-02-20 08:30:19 +01:00
Jari Bakken
e7eb6022c1 README fix. 2020-02-20 08:30:19 +01:00
Jari Bakken
f7cd8286e4 Fix DB url in Travis migration 2020-02-20 08:30:19 +01:00
Jari Bakken
f999388e03 Use TEST_DATABASE_URL for running test against a separate DB. 2020-02-20 08:30:19 +01:00
Jari Bakken
1aca1aac15 Remove spec for EventStore.
This code is well covered anyway, and the test is causing trouble
since emitting the featureCreated event is causing side effects through
other listeners.
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
745de6867d Skip API and create test data in the DB directly (since the API is async) 2020-02-20 08:30:18 +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
ivaosthu
32125ca4fb Clean up strategyApi with chained-promises 2020-02-20 08:30:18 +01:00