1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

37 Commits

Author SHA1 Message Date
Ivar Conradi Østhus
5675f99e78
fix: add user-store (#590) 2020-05-12 23:05:26 +02:00
Ivar Conradi Østhus
562321175d
fix: add users-table to store user details (#586) 2020-04-19 20:51:15 +02:00
Ivar Conradi Østhus
d01c9d2dac
fix: use airbnb lint rules directly (#583)
This drops usage of finn-eslint rules as they are no
longer maintained.
2020-04-14 22:29:11 +02:00
Ivar Conradi Østhus
b912768923
feat: move secrets to settings (#577)
* feat: move secrets to settings

* feat: Add better support for detailed db options.

Added db field in options to allow better control of
db-options. Especially important to allow special chars
in database password which might lead to an invaid url
when defined as a database-url.

* fix: integrate logger with knex logger

* fix: remove secret option from all examples

* fix: more options.js unit tests

* fix: added settings-store e2e tests
2020-04-13 22:38:46 +02:00
Ivar Conradi Østhus
9db8ad58a3 fix: add settings column to postgres 2020-02-27 21:33:11 +01:00
Ivar Conradi Østhus
7a410508cb
feat: api supports context fields (#564)
* feat: api supports context fields

* fix: typo for cotnext group in event-differ
2020-02-27 21:26:18 +01:00
Ivar Conradi Østhus
cdd483ffec feat: Add new Flexible Rollout Strategy (#517)
* feat: Add new Flexible Rollout Strategy

fixes #516

* feat: update unleash-frontend to version 3.2.8

* chore: update flexible rollout documentation
2020-02-20 08:34:31 +01:00
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