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

30 Commits

Author SHA1 Message Date
Juan Hoyos
3623052c36 feat: Added feature toggle variants 2020-02-20 08:34:20 +01:00
ivaosthu
8a53d8dca2 chore: Fix formatting all the things 2020-02-20 08:34:15 +01:00
Simen Bekkhus
3aa871ca97 Update prettier and fix lint 2020-02-20 08:34:03 +01:00
Ivar
915158212c Add support for sdkVersion in client registration 2020-02-20 08:30:52 +01:00
Simen Bekkhus
368c888119 Lint commit (#239)
* Upgrade eslint configs to get rid of peer warning

* Add pre-commit hook to format code

* Lint whole project, not just lib
2020-02-20 08:30:51 +01:00
Ivar
346a5a341a Database should holde timezone information.
closes #205
2020-02-20 08:30:49 +01:00
ivaosthu
ef56cba71e Do not have multiple migration calls completing same callback 2020-02-20 08:30:48 +01:00
Ivar
398f07f999 migration:down should remove built_in strategies created in up 2020-02-20 08:30:47 +01:00
Ivar
a25aa9fadd Fix typos and other language issues. 2020-02-20 08:30:47 +01:00
Ivar
4a989c169a Add default built-in strategies.
Uses migration to define these activation strategies:
- applicationHostname
- gradualRolloutRandom
- gradualRolloutSessionId
- gradualRolloutUserId
- remoteAddress
- userWithId

closes #207
2020-02-20 08:30:47 +01:00
ivaosthu
7d91f4c1d5 Add required flag to strategy parameters 2020-02-20 08:30:43 +01:00
ivaosthu
082d5068a8 Strategy should use better param description
Adds support for more fields sucha as description, required, etc.

relates to #182
2020-02-20 08:30:43 +01:00
ivaosthu
9ba541574a Cleanup legacy migrations 2020-02-20 08:30:43 +01:00
ivaosthu
c80a46e2c3 Cleanup client_instances
related to #176
2020-02-20 08:30:43 +01:00
ivaosthu
51442a6cc4 Remove client_strategies table
We can just have a strategies column in the client_applications
table. This solves all our needs, and thus avoids the need
for an extra table.
2020-02-20 08:30:42 +01:00
ivaosthu
cf385534c8 Add client_applications table 2020-02-20 08:30:42 +01:00
sveisvei
3a6e7d02ef client applications 2020-02-20 08:30:42 +01:00
ivaosthu
90859701c6 remove all lerna stuff 2020-02-20 08:30:37 +01:00
sveisvei
7bacad7b90 use lerna for multipackaging 2020-02-20 08:30:26 +01:00
Ivar
5282ebfcc9 Move all custom-scripts to /scripts folder 2020-02-20 08:30:25 +01:00
Anders Olsen Sandvik
a96a9f38ce #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2020-02-20 08:30:24 +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
ivaosthu
5e40d4dc7f Database migration #43 2020-02-20 08:30:19 +01:00
ivaosthu
6827974fb7 db-migration: create default strategy with event 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
Jari Bakken
fdf324a9f5 Add features.description to db and ui 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
f06a4a8a51 Move unleash-server to top level. 2020-02-20 08:30:13 +01:00