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

207 Commits

Author SHA1 Message Date
ivaosthu
50973142f8 Introduce jest as test-framework for gui code (react).
jest is somewhat documented here:
https://facebook.github.io/jest/

related to #61
2014-12-03 15:09:14 +01:00
ivaosthu
89dddae4b1 minor css 2014-11-29 14:25:27 +01:00
ivaosthu
556d382570 paddings.. 2014-11-29 13:55:38 +01:00
ivaosthu
f02bbb9717 When user chooses to use a custom strategy
she should get an input field for each
strategy parameter.

closes #53
2014-11-29 13:37:06 +01:00
ivaosthu
3b32c4cf29 Fixed no legend on edit 2014-11-29 12:16:53 +01:00
ivaosthu
2256861333 minor layout formatting 2014-11-29 12:12:48 +01:00
ivaosthu
6eaf18a7f7 strategies should be order after createdAt ASC 2014-11-29 11:51:57 +01:00
ivaosthu
893b1d2fb3 56 Clean up input form for feature toggles 2014-11-29 11:43:41 +01:00
Jari Bakken
ccaef73b82 Merge pull request #52 from finn-no/strategy-api
Strategy api v2
2014-11-27 12:49:39 +01:00
Jari Bakken
74df1aa6ec Add test for /strategies/:name 403 if strategy exists. 2014-11-25 16:34:24 +01:00
Jari Bakken
459cb30bad StrategyForm should use 'default' as default strategy for empty forms. 2014-11-25 15:52:15 +01:00
Jari Bakken
20c4fe6702 Add ability to create custom stratgies. Closes #11. 2014-11-25 15:28:31 +01:00
Jari Bakken
d89ce75906 Test refactoring:
* reduce setup duplication
* consistent test file names
2014-11-25 14:41:11 +01:00
Jari Bakken
7963829e61 Minor refactoring 2014-11-25 13:54:25 +01:00
ivaosthu
278a8da162 db-migration: create default strategy with event 2014-11-18 08:16:38 +01:00
ivaosthu
578751ef94 Fixed failing tests 2014-11-18 08:07:10 +01:00
Ivar Østhus
7c5aa8e5bb strategies should be fetched from DB 2014-11-17 22:39:04 +01:00
Ivar Østhus
e3b8a868d1 Added the default strategies via migration 2014-11-17 21:23:23 +01:00
Ivar Østhus
3fd95a6d3c added parameters-template to strategies table 2014-11-17 21:13:26 +01:00
Gard Rimestad
df2ddbfb45 Show history inside feature table 2014-11-17 11:15:10 +01:00
Gard Rimestad
cf3eaefb46 Improvements on log view 2014-11-17 10:13:30 +01:00
Gard Rimestad
69ecd65da5 Support long descriptions on feature page 2014-11-17 10:10:58 +01:00
Jari Bakken
92eda2660e Fix getFeature() semantics
It will always reject if the feature is not found, not resolve to null.
2014-11-14 16:58:05 +01:00
Jari Bakken
d591cdad2b Use knex' map() 2014-11-14 16:40:13 +01:00
Jari Bakken
3d52d97f85 Use knex for DB access. Closes #46. 2014-11-14 15:06:53 +01:00
Jari Bakken
981c383bb5 Replace PATCH with PUT, which enables editing multiple fields at once.
Closes #47.
2014-11-14 12:56:23 +01:00
Jari Bakken
43c4c62ff3 Fire callback immediately on timer start. 2014-11-14 12:20:11 +01:00
Gard Rimestad
0a95ffe104 Adding test for /event/:name 2014-11-14 08:09:46 +01:00
Gard Rimestad
a4cdec4fb1 Run tests on port 4243, no need to stop local server when running tests. 2014-11-14 07:37:47 +01:00
Gard Rimestad
ca4d34736f Refactoring log view 2014-11-14 07:29:55 +01:00
Gard Rimestad
f9477e2e35 Fix event api 2014-11-14 07:28:40 +01:00
Gard Rimestad
360c1bc37a Adding events/:name 2014-11-14 07:13:08 +01:00
Ivar Conradi Østhus
04bd33c5f9 Update README.md 2014-11-13 20:00:34 +01:00
Ivar Østhus
afb6050eed colspan obviously wrong.. 2014-11-13 19:55:34 +01:00
Ivar Østhus
d96ec03bc9 added some traffic lights 2014-11-13 19:48:30 +01:00
Ivar Østhus
326a4a9290 updated gitignore 2014-11-13 19:33:34 +01:00
Gard Rimestad
3ee7beb63e Adding log tab to admin 2014-11-13 15:14:41 +01:00
Gard Rimestad
8b03422d5c admin - convert feature list into table 2014-11-13 10:46:45 +01:00
Jari Bakken
3768e544b0 Bump mocha timeout on Travis 2014-11-12 15:18:27 +01:00
Gard Rimestad
ff3d781602 admin - Edit button for existing features 2014-11-12 15:00:11 +01:00
Gard Rimestad
7abf3d898b Populate strategies in feature form 2014-11-12 13:47:21 +01:00
Gard Rimestad
7db644bc6e Updating dev mode documentation 2014-11-12 13:14:07 +01:00
Jari Bakken
8286601522 Merge pull request #45 from finn-no/add-description-to-features
Add features.description to db and ui
2014-11-11 11:45:35 +01:00
Jari Bakken
6bef7d91ce Fix typos 2014-11-10 17:10:39 +01:00
Jari Bakken
4dbed0daf7 More README tweaks 2014-11-10 16:39:17 +01:00
Jari Bakken
5e158a52c7 Failure to report coverage should not cause build failure. 2014-11-10 16:34:20 +01:00
Jari Bakken
62f8c731d9 README cleanup 2014-11-10 16:25:22 +01:00
Jari Bakken
178f2111dd Add features.description to db and ui 2014-11-10 16:21:22 +01:00
Jari Bakken
d30bc6a54c Reduce duplication when adding a new migration. 2014-11-10 15:58:11 +01:00
Jari Bakken
55a4f476c9 Don't repeat error messages infinitely 2014-11-10 15:25:27 +01:00