1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00
Commit Graph

78 Commits

Author SHA1 Message Date
ivaosthu
8e30b7643e fix(clientApi): Add namePrefix paramter to /api/client/features
Allows the client to limit the response to name with the given prefix.
2018-11-16 18:37:48 +01:00
Ivar Conradi Østhus
5ad2e246e5 Include user information on revive
Closes #327
2018-06-25 18:39:54 +02:00
ivaosthu
56ca8bde7a Bugfix: more informative name validation errors
Will know tell the user if the toggle name is already
in use by an active feature toggle or an archived toggle.

Also brings lates unleash-frontend fix, which prevents an
invalid form from submitting.

closes: #290, #291
2018-01-20 14:11:44 +01:00
ivaosthu
28d6a1b46e A bit of house-keeping 2018-01-17 15:36:38 +01:00
ivaosthu
b222c9acd9 Add sign-out route #288 2018-01-17 15:36:38 +01:00
ivaosthu
323320b64d Implement authentication support for Unleash UI.
Closes: #261, #233, #232, #231
2018-01-16 14:26:32 +01:00
ivaosthu
f9b4455519 Add unit tests for archived toggles 2017-12-18 14:34:43 +01:00
ivaosthu
19efad832d Should not be allow creation of archived toggle
closes #284
2017-12-18 09:08:04 +01:00
ivaosthu
8c02cc4949 Fix typo in custom validator 2017-11-16 16:07:27 +01:00
ivaosthu
9fdb948c69 Implement cookie-session support.
Sessions will be required to solve admin-auth.

I also refactored a few middlewares into seperate
files to make the code easier to read.

closes #262
2017-11-16 15:41:33 +01:00
Simen Bekkhus
81b28abf0b
Update prettier and fix lint 2017-11-11 08:43:08 +01:00
Ivar
22c53f8688 Use pkginfo to resolve unleash-server version
closes #268
2017-11-03 23:14:31 +01:00
Ivar
2a751a4789 Simplofy name validator
closes #271
2017-11-02 13:00:45 +01:00
Ivar
fe0e65a4f2 Fix formatting 2017-11-02 09:23:38 +01:00
Martin Lehmann
6924de06b0 Fix feature name validation regex 2017-10-23 17:13:26 +02:00
Clint Brown
b4084aa705 Allow underscores in name validation 2017-09-19 14:37:23 +10:00
Ivar Conradi Østhus
a7458587f6 Merge pull request #263 from Unleash/expose-version
Include module version number in /api reponse
2017-09-09 16:35:34 +02:00
Ivar
0a58735636 Added option to disable legacy routes. Closes #244 2017-09-07 21:55:47 +02:00
Ivar
9f02d80b87 Include module version number in /api reponse 2017-09-07 21:21:30 +02:00
Ivar Conradi Østhus
40a691cafc Merge branch 'master' into metrics_validation 2017-08-08 17:16:27 +02:00
ivaosthu
1081b9d865 Implement support for logger provider.
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2017-08-04 16:07:17 +02:00
ivaosthu
10c2493e28 Add metrics validation to avoid NaN #253 2017-08-04 11:24:58 +02:00
ivaosthu
4f1824c271 Strip uknown fields in client requests. closes #245 2017-06-29 11:10:24 +02:00
Ivar Conradi Østhus
98b0ce39a4 Merge branch 'master' into add-sdk-version 2017-06-29 09:57:55 +02:00
sveisvei
4207bec0ac add editable tests 2017-06-29 08:44:03 +02:00
sveisvei
0e544a27e2 shoulda woulda 2017-06-29 08:44:03 +02:00
Simen Bekkhus
f554b2ecaa Upgrade prom-client and yargs 2017-06-29 08:44:02 +02:00
Ivar
46b82ecd6a Add support for sdkVersion in client registration 2017-06-28 23:19:19 +02:00
sveisvei
664e019e9b protection against edit on built in strategies 2017-06-28 21:10:43 +02:00
Simen Bekkhus
cdda8d7438
Upgrade prom-client and yargs 2017-06-28 14:34:01 +02:00
sveisvei
447940ed0c should expose one feature 2017-06-28 12:52:27 +02:00
sveisvei
be4852f63a Refactor routes setup, move test files, cleanup legacy 2017-06-28 10:20:22 +02:00
Simen Bekkhus
1c02d73c2c Log client error (#225)
* Log client error

* Log all errors
2017-06-21 11:24:36 +02:00
Ivar Conradi Østhus
419380259d Merge pull request #200 from Unleash/validate-configured-strategy-shape
validate configures strategy shape
2017-03-16 21:03:07 +01:00
vsandvold
6a4f453713 provides a more helpful error msg when a new feature is created with an existing name 2017-01-28 17:29:22 +01:00
Sveinung Røsaker
839aeb01a6 Merge pull request #199 from Unleash/add-toggle-ep
add toggle endpoint
2017-01-09 11:34:59 +01:00
sveisvei
a892c34be4 use post instead of put 2017-01-09 11:06:10 +01:00
sveisvei
26533034b1 validate configures strategy shape 2017-01-08 20:40:50 +01:00
sveisvei
1f5b1c1925 add toggle endpoint 2017-01-08 20:04:46 +01:00
ivaosthu
e4eeea10dd Add simple API resource #191 2017-01-06 15:58:02 +01:00
ivaosthu
5d58dd56fa Strategy name can be up to 100chars . Closes #195 2016-12-29 14:17:07 +01:00
sveisvei
dfa490affb fix lint 2016-12-27 21:03:50 +01:00
ivaosthu
d1e809a9a4 Strategy parameter description is allowed to be empty 2016-12-17 16:47:52 +01:00
ivaosthu
63037b35c3 Added api for updating a strategy
relates to #184
2016-12-17 13:00:44 +01:00
sveisvei
d4ddb24b1d check toggles and strategies in clientapps 2016-12-13 22:43:24 +01:00
ivaosthu
bc82aa6e77 Add schema validation for strategies 2016-12-12 21:44:21 +01:00
sveisvei
fbb0445942 inject metadata on toplevel 2016-12-09 22:03:25 +01:00
sveisvei
3346108594 Revert "Remove /api/client/seen-toggles as we don't need it anyway"
This reverts commit 63e6931265.
2016-12-09 20:21:24 +01:00
ivaosthu
63e6931265 Remove /api/client/seen-toggles as we don't need it anyway 2016-12-09 17:46:08 +01:00
ivaosthu
ab3694cc94 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.
2016-12-09 17:30:12 +01:00