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

395 Commits

Author SHA1 Message Date
ivaosthu
bc4b80c661 56 Clean up input form for feature toggles 2020-02-20 08:30:17 +01:00
Jari Bakken
63b3c56cc5 Add test for /strategies/:name 403 if strategy exists. 2020-02-20 08:30:17 +01:00
Jari Bakken
41964de9bf StrategyForm should use 'default' as default strategy for empty forms. 2020-02-20 08:30:17 +01:00
Jari Bakken
a169ec1352 Add ability to create custom stratgies. Closes #11. 2020-02-20 08:30:17 +01:00
Jari Bakken
479ea0772a Test refactoring:
* reduce setup duplication
* consistent test file names
2020-02-20 08:30:17 +01:00
Jari Bakken
7f7732a349 Minor refactoring 2020-02-20 08:30:17 +01:00
ivaosthu
6827974fb7 db-migration: create default strategy with event 2020-02-20 08:30:17 +01:00
ivaosthu
a9e7055645 Fixed failing tests 2020-02-20 08:30:17 +01:00
Ivar Østhus
a2f486c0d4 strategies should be fetched from DB 2020-02-20 08:30:17 +01:00
Ivar Østhus
fe17b51bd9 Added the default strategies via migration 2020-02-20 08:30:16 +01:00
Ivar Østhus
a56d92e153 added parameters-template to strategies table 2020-02-20 08:30:16 +01:00
Gard Rimestad
acd51ddcd4 Show history inside feature table 2020-02-20 08:30:16 +01:00
Gard Rimestad
c8c7f57cfb Improvements on log view 2020-02-20 08:30:16 +01:00
Gard Rimestad
abad2d7a6a Support long descriptions on feature page 2020-02-20 08:30:16 +01:00
Jari Bakken
b4f6166afb Fix getFeature() semantics
It will always reject if the feature is not found, not resolve to null.
2020-02-20 08:30:16 +01:00
Jari Bakken
1371560840 Use knex' map() 2020-02-20 08:30:16 +01:00
Jari Bakken
412067c42f Use knex for DB access. Closes #46. 2020-02-20 08:30:16 +01:00
Jari Bakken
d2ce90b394 Replace PATCH with PUT, which enables editing multiple fields at once.
Closes #47.
2020-02-20 08:30:16 +01:00
Jari Bakken
dc14bfc173 Fire callback immediately on timer start. 2020-02-20 08:30:16 +01:00
Gard Rimestad
b05a90f7a7 Adding test for /event/:name 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
Gard Rimestad
8e90df1953 Refactoring log view 2020-02-20 08:30:16 +01:00
Gard Rimestad
1777b5a510 Fix event api 2020-02-20 08:30:16 +01:00
Gard Rimestad
78434a7ca1 Adding events/:name 2020-02-20 08:30:16 +01:00
Ivar Conradi Østhus
bec57a5680 Update README.md 2020-02-20 08:30:16 +01:00
Ivar Østhus
a564e31ddb colspan obviously wrong.. 2020-02-20 08:30:16 +01:00
Ivar Østhus
594e271b2a added some traffic lights 2020-02-20 08:30:15 +01:00
Ivar Østhus
73909e3a8d updated gitignore 2020-02-20 08:30:15 +01:00
Gard Rimestad
5fa3915d24 Adding log tab to admin 2020-02-20 08:30:15 +01:00
Gard Rimestad
5f24a2d70c admin - convert feature list into table 2020-02-20 08:30:15 +01:00
Jari Bakken
079ef631df Bump mocha timeout on Travis 2020-02-20 08:30:15 +01:00
Gard Rimestad
ff4beac7f7 admin - Edit button for existing features 2020-02-20 08:30:15 +01:00
Gard Rimestad
28e1705b9c Populate strategies in feature form 2020-02-20 08:30:15 +01:00
Gard Rimestad
0f08aa1f0a Updating dev mode documentation 2020-02-20 08:30:15 +01:00
Jari Bakken
c3f76b5ae2 Failure to report coverage should not cause build failure. 2020-02-20 08:30:15 +01:00
Jari Bakken
fdf324a9f5 Add features.description to db and ui 2020-02-20 08:30:15 +01:00
Jari Bakken
f17167876e Fix typos 2020-02-20 08:30:15 +01:00
Jari Bakken
dbec142f42 More README tweaks 2020-02-20 08:30:15 +01:00
Jari Bakken
43adb7291d README cleanup 2020-02-20 08:30:15 +01:00
Jari Bakken
86e168ec84 Reduce duplication when adding a new migration. 2020-02-20 08:30:15 +01:00
Jari Bakken
12b87c69c8 Don't repeat error messages infinitely 2020-02-20 08:30:15 +01:00
Jari Bakken
a031900b3e Fix indentation 2020-02-20 08:30:15 +01:00
Jari Bakken
87c1ee7516 Improve error messages. 2020-02-20 08:30:15 +01:00
Jari Bakken
71aa307a5f Get rid of React warnings 2020-02-20 08:30:14 +01:00
Ivar Østhus
15192fd207 fixed tabs->space 2020-02-20 08:30:14 +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
Espen Dalløkken
4521ce8079 badgify v2 2020-02-20 08:30:14 +01:00
andsandv
3b26930773 Add pre-commit hook #26 2020-02-20 08:30:14 +01:00
Ivar Conradi Østhus
92ca3d0796 Update README.md 2020-02-20 08:30:14 +01:00
Ivar Østhus
9a0a461edb Refactored all ``handleFoo` to `onFoo``
based on feedback from @jari
2020-02-20 08:30:14 +01:00