1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-23 00:16:25 +01:00
unleash.unleash/src/lib/services
Nuno Góis 076a007b42
fix: PATs should have an unique description (per user) ()
* fix: PATs should have an unique description

* add pat validation on the back-end service

* Update src/lib/services/pat-service.ts

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>

* fix: only consider current user's PATs

* fix tests

* cleanup

* Update frontend/src/component/user/Profile/PersonalAPITokensTab/CreatePersonalAPIToken/CreatePersonalAPIToken.tsx

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

* Update src/test/e2e/api/admin/user/pat.e2e.test.ts

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>

Co-authored-by: Simon Hornby <liquidwicked64@gmail.com>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-10-14 13:28:29 +01:00
..
client-metrics task: use swc instead of ts-jest () 2022-09-06 13:22:41 +02:00
access-service.test.ts chore: type improvements () 2022-08-19 10:28:53 +02:00
access-service.ts Add some extra fields for profile () 2022-09-30 14:36:45 +03:00
addon-schema.ts feat: support filtering on project and environment fields for events () 2022-07-12 12:13:25 +00:00
addon-service-test-simple-addon.ts feat: add OpenAPI validation to a few endpoints () 2022-04-25 14:17:59 +02:00
addon-service.test.ts fix: addon filtering supports wildcards 2022-07-12 15:53:57 +02:00
addon-service.ts fix: addon filtering supports wildcards 2022-07-12 15:53:57 +02:00
api-token-service.test.ts Refactor: rename frontend api key () 2022-08-18 08:20:51 +00:00
api-token-service.ts feat: add method for migrating proxies without environment validation () 2022-09-12 13:22:23 +00:00
client-spec-service.test.ts refactor: avoid inlining segments for supported clients () 2022-06-02 14:07:46 +02:00
client-spec-service.ts refactor: avoid inlining segments for supported clients () 2022-06-02 14:07:46 +02:00
context-schema.ts feat: add context value descriptions () 2022-04-19 08:40:07 +02:00
context-service.ts openapi: improve validation testing () 2022-09-23 15:02:09 +02:00
edge-service.ts Create endpoint that validates tokens for edge () 2022-09-01 13:26:26 +00:00
email-service.test.ts Added ability to set additional transport options to email service () 2022-05-13 09:06:10 +02:00
email-service.ts refactor: add OpenAPI schema to feature types controller () 2022-06-09 13:17:13 +02:00
environment-service.ts feat: enabled environments override now also moves projects and toggles to new environments 2022-03-11 15:52:13 +02:00
event-service.ts feat: add count to event list () 2022-09-02 08:35:31 +02:00
feature-tag-service.ts feat: clean up events () 2021-11-12 13:15:51 +01:00
feature-toggle-service.ts fixed segments not being copied () 2022-10-10 15:32:34 +03:00
feature-type-service.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
group-service.ts Syncing external groups with unleash group () 2022-10-14 13:08:14 +03:00
health-service.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
index.ts fix: auto add stratgy when enabling empty env. () 2022-10-05 23:33:36 +02:00
openapi-service.ts openapi: improve validation testing () 2022-09-23 15:02:09 +02:00
pat-service.ts fix: PATs should have an unique description (per user) () 2022-10-14 13:28:29 +01:00
playground-service.ts feat(#1873/playground): Return detailed information on feature toggle evaluation () 2022-08-04 15:41:52 +02:00
project-health-service.ts Wrong number on the project page regarding members in that project () 2022-08-17 09:05:41 +00:00
project-schema.ts fix: convert schemas to typescript 2021-09-14 20:36:40 +02:00
project-service.ts Backend for profile page () 2022-09-29 16:27:54 +03:00
proxy-service.ts Fix/frontendapi synchronization () 2022-09-28 14:23:41 +02:00
public-signup-token-service.ts Feat/invite user () 2022-09-30 13:01:32 +02:00
reset-token-service.ts Fix/bcryptjs () 2022-01-06 20:43:57 +01:00
segment-schema.ts feat: add segments () 2022-03-29 14:59:14 +02:00
segment-service.ts fixed segments not being copied () 2022-10-10 15:32:34 +03:00
session-service.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
setting-service.ts feat: add CORS instance settings () 2022-08-26 09:09:48 +02:00
state-schema.ts feat: add segments () 2022-03-29 14:59:14 +02:00
state-service-export-v1.json Wip/environments () 2021-07-07 10:46:50 +02:00
state-service.test.ts task: remove displayName from environments () 2021-09-29 10:23:43 +02:00
state-service.ts fix: Issue - API import with drop=true deletes existing client keys () 2022-06-09 15:56:13 +01:00
state-util.ts fix: update mime library method signature to 2.X () 2021-11-02 23:43:16 +01:00
strategy-schema.ts fix: Controller wraps handler with try/catch () 2021-08-13 10:36:19 +02:00
strategy-service.ts openapi: improve validation testing () 2022-09-23 15:02:09 +02:00
tag-schema.test.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
tag-schema.ts fix: Controller wraps handler with try/catch () 2021-08-13 10:36:19 +02:00
tag-service.ts openapi: improve validation testing () 2022-09-23 15:02:09 +02:00
tag-type-schema.test.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
tag-type-schema.ts fix: import schema needs to understand :global: env 2021-08-26 22:42:06 +02:00
tag-type-service.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
user-feedback-service.ts fix: Stores as typescript and with interfaces. () 2021-08-12 15:04:37 +02:00
user-service.test.ts Fix: prevent password reset email flooding () 2022-09-28 10:24:43 +02:00
user-service.ts Personal access token middleware () 2022-09-28 16:53:56 +03:00
user-splash-service.ts refactor: add schemas to user admin controller () 2022-06-22 14:55:43 +02:00
version-service.test.ts fix: attempt to unflake version service tests () 2022-08-31 08:06:25 +02:00
version-service.ts fix: attempt to unflake version service tests () 2022-08-31 08:06:25 +02:00