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

2686 Commits

Author SHA1 Message Date
Thomas Heartman
854f2d5d65 docs: add paragraph to intro: things will still work (default env) 2021-11-12 08:26:19 +01:00
Thomas Heartman
b776984187 docs: simplify language + pre-configure -> preconfigure 2021-11-12 08:25:55 +01:00
Martin Lehmann
064599c942
fix: refactor client-metrics list and ttl-list to TypeScript (#1080)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-11 20:29:40 +01:00
Ivar Conradi Østhus
f0895cf653
fix: prevent deadlock for batchinserting usage metrics (#1100)
* fix: prevent deadlock for batchinserting usage metrics

In client metrics v2 we utilize postgres to count the usage
across a few dimentions (featureName, app_name, environment).

It turns out that if the UPDATE values are not executed in a predictable
order we can end up in a deadlock scenario with postgresql.

In this fix we thus sort the metrics on the feature_name, app_name and
envrionment, to make sure they always are executed in a predictabel
order, and thus avoiding independent inserts colliding in to a deadlock
waiting for eachother.

* fix: tests cannot assume order
2021-11-11 16:05:29 +01:00
Thomas Heartman
257497153c Use absolute URL for intra-doc link.
I don't know how this works in docusaurus 🤷
2021-11-11 15:41:54 +01:00
Thomas Heartman
8a41799731 docs: Polish text on environments.
There's a number of small text adjustments and typo fixes in here with
the goal of clarifying how environments and the migration process work.
2021-11-11 15:36:41 +01:00
renovate[bot]
f2b3325d42
chore(deps): update dependency eslint-config-airbnb-base to v15 (#1098)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-11 14:04:45 +01:00
Nikolay Shebanov
e1df5696cd
Wrap the client into an event listener in the quickstart doc (#1079) 2021-11-11 13:20:19 +01:00
Renovate Bot
d22b8503fd chore(deps): update dependency eslint-plugin-import to v2.25.3 2021-11-10 10:49:42 +00:00
Youssef
cd38c5a01d add e2e splash test 2021-11-10 11:24:44 +01:00
Youssef
db9722dccc add splash e2e + api tests 2021-11-10 11:24:01 +01:00
Youssef
c4da3e89c5 fix: styling 2021-11-09 20:55:23 +01:00
Youssef
96f2514fc5 send splash data in the user object 2021-11-09 20:39:13 +01:00
Ivar Conradi Østhus
c4035353a0
docs: add syntax highlighting to react-sdk 2021-11-09 14:21:07 +01:00
Youssef
cc516618a1 add splash-controller and cascade migration 2021-11-09 14:16:34 +01:00
Fredrik Oseberg
d73293c576 fix: add migration 2021-11-09 11:52:02 +01:00
Renovate Bot
0b3c4fd613 fix(deps): update dependency knex to v0.95.14 2021-11-09 01:59:03 +00:00
renovate[bot]
6b30670ccb
chore(deps): update dependency eslint-config-airbnb-typescript to v15 (#1091)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-08 22:58:28 +01:00
Thomas Heartman
106c9cebde
docs: Clarify that the proxy does not expose disabled flags (#1094)
* docs: fix typo 'preformat' -> 'performant'

* docs: clarify that proxy returns _only_ enabled toggles

This is based on feedback we got that said:

> Right now biggest disappointment is that docs doesn't match an exact
> JS proxy libraries and their usage. For example, we couldn't make
> feature flag return enabled: false, instead it just hides/not return
> the flag at all.
2021-11-08 22:58:02 +01:00
Renovate Bot
ec5b854ec5 chore(deps): update typescript-eslint monorepo to v5.3.1 2021-11-08 21:25:25 +00:00
Youssef
875fb7734c create splash migration store and service file 2021-11-08 16:31:38 +01:00
Renovate Bot
09eb689355 chore(deps): update dependency eslint to v8.2.0 2021-11-06 03:07:13 +00:00
Renovate Bot
b5848a0f3a chore(deps): update dependency eslint-config-airbnb-typescript to v14.0.2 2021-11-05 11:45:42 +00:00
Ivar Conradi Østhus
3027a8916f
4.2.2 2021-11-04 22:17:01 +01:00
Ivar Conradi Østhus
645a8bce05
fix: convert iso-strings from db to date object 2021-11-04 22:16:48 +01:00
Ivar Conradi Østhus
60cadaf01c
4.2.1 2021-11-04 21:26:55 +01:00
Ivar Conradi Østhus
053956b45e
fix/projectId cannot change for strategy configs (#1084) 2021-11-04 21:24:55 +01:00
Fredrik Strand Oseberg
ec60f4485c
fix: disable projects (#1085) 2021-11-04 21:09:52 +01:00
Renovate Bot
ce16c5a77b fix(deps): update dependency unleash-frontend to v4.2.12 2021-11-04 19:58:04 +00:00
Renovate Bot
49c0ee7fcf fix(deps): update dependency knex to v0.95.13 2021-11-03 00:35:31 +00:00
Lennart
759b592d90
fix: update mime library method signature to 2.X (#1078)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-11-02 23:43:16 +01:00
renovate[bot]
35f89a5427
fix(deps): update docusaurus monorepo to v2.0.0-beta.9 (#1081)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 20:30:11 +01:00
Martin Lehmann
b47e228181
fix: be explicit when specifying time & replace moment with date-fns (#1072) 2021-11-02 15:13:46 +01:00
Renovate Bot
55bec22754 chore(deps): update typescript-eslint monorepo to v5.3.0 2021-11-01 20:10:20 +00:00
Ivar Conradi Østhus
b675350b8d
4.2.0 2021-10-29 13:19:33 +02:00
Ivar Conradi Østhus
1dc1d8d931
chore: update CHANGELOG.md 2021-10-29 13:18:38 +02:00
Ivar Conradi Østhus
59f1c6e8e9
fix: add default sort order for built in envs (#1076) 2021-10-29 13:02:05 +02:00
Ivar Conradi Østhus
b04b6b3ef7
chore: mute expected test errors 2021-10-29 11:22:40 +02:00
Ivar Conradi Østhus
4fb1bcb524
feat: Disable password based login (#1046)
This commit will introduce a new setting used to disbaled
simple password based authention.

The setting itself is an enterprise setting.
2021-10-29 10:25:42 +02:00
Ivar Conradi Østhus
9e73ed8f47
chore: remvoe console.error for tests expecting error 2021-10-29 09:25:47 +02:00
Ivar Conradi Østhus
0e3813f5f6
fix: lint 2021-10-28 16:32:50 +02:00
Ivar Conradi Østhus
b911976abc
4.2.0-beta.10 2021-10-28 15:48:16 +02:00
Ivar Conradi Østhus
3ef7fd2420
fix: legacy feature stale on/off needs to return full toggle 2021-10-28 15:48:07 +02:00
Ivar Conradi Østhus
8ad235e77f
4.2.0-beta.9 2021-10-28 14:26:40 +02:00
Ivar Conradi Østhus
2c15430d68
fix: bump unleash-frontend to v4.2.11 2021-10-28 14:26:17 +02:00
Ivar Conradi Østhus
d0b2ce3170
fix: add enpoint for fetching a single user (#1074)
* fix: add enpoint for fetching a single user

* fix add api docs
2021-10-28 14:24:09 +02:00
Ivar Conradi Østhus
8040abb1c4
fix: reuse message formatter for addons (#1058) 2021-10-28 14:09:11 +02:00
Renovate Bot
45c4665476 fix(deps): update dependency knex to v0.95.12 2021-10-28 00:22:53 +00:00
Renovate Bot
cedc96d315 chore(deps): update dependency lint-staged to v11.2.6 2021-10-26 23:05:06 +00:00
Ivar Conradi Østhus
0988e809db
4.2.0-beta.8 2021-10-26 23:20:36 +02:00