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

6918 Commits

Author SHA1 Message Date
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
ivaosthu
91651979d0 Syntax 2020-02-20 08:30:18 +01:00
ivaosthu
b1ccb2e999 Validation logic should probably not be in the db-code 2020-02-20 08:30:18 +01:00
ivaosthu
ae0fdce395 Cleaned up and changed promises used in the feature API 2020-02-20 08:30:18 +01:00
ivaosthu
c2a809a819 changed order for feature toggles. 2020-02-20 08:30:18 +01:00
Anders Olsen Sandvik
08c2614f80 Delete npm-shrinkwrap.json 2020-02-20 08:30:18 +01:00
andsandv
260280e593 Delete node_modules and prune before shrinkwrap 2020-02-20 08:30:18 +01:00
andsandv
be701f5bc3 Add shrinkwrap 2020-02-20 08:30:18 +01:00
ivaosthu
4fdf41850a Link for deleting strategies (#60) 2020-02-20 08:30:18 +01:00
ivaosthu
5515f05350 FeatureForm should support viewing deleted strategies 2020-02-20 08:30:18 +01:00
ivaosthu
c20252d9d7 Implemented server side API for deleting strategies.
relates to #60
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
2f0cddd45b Split app and server. No need to start the server for these tests. 2020-02-20 08:30:18 +01:00
Jari Bakken
0047d52ef4 Ensure unique ids in feature form. Closes #57. 2020-02-20 08:30:18 +01:00