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

221 Commits

Author SHA1 Message Date
ivaosthu
65225ffba0 Validation logic should probably not be in the db-code 2014-12-10 18:49:08 +01:00
ivaosthu
6133f4920b Cleaned up and changed promises used in the feature API 2014-12-10 18:45:02 +01:00
ivaosthu
778b81f1cd changed order for feature toggles. 2014-12-10 17:13:26 +01:00
Anders Olsen Sandvik
832b917954 Delete npm-shrinkwrap.json 2014-12-10 16:31:37 +01:00
andsandv
d3fac7a712 Delete node_modules and prune before shrinkwrap 2014-12-10 16:28:24 +01:00
andsandv
007170159a Add shrinkwrap 2014-12-10 10:09:45 +01:00
Ivar Conradi Østhus
6afd180a2e Merge pull request #67 from finn-no/remove_strategies
Remove strategies
2014-12-09 15:40:09 +01:00
ivaosthu
3568315814 Link for deleting strategies (#60) 2014-12-09 09:22:54 +01:00
ivaosthu
c82e45b148 FeatureForm should support viewing deleted strategies 2014-12-08 22:01:48 +01:00
ivaosthu
c16f4a1867 Implemented server side API for deleting strategies.
relates to #60
2014-12-08 20:56:22 +01:00
Ivar Conradi Østhus
a96ff2c614 Merge pull request #65 from finn-no/feature/jest-gui-testing
Introduce jest as test-framework for gui code (react).
2014-12-03 17:50:45 +01:00
Jari Bakken
c6a7af35c0 Split app and server. No need to start the server for these tests. 2014-12-03 15:23:11 +01:00
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
Jari Bakken
d63560edf7 Ensure unique ids in feature form. Closes #57. 2014-12-03 14:19:28 +01:00
Jari Bakken
a99e0df101 Refresh feature list immediately on create. 2014-12-03 13:35:47 +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