Kristaps Fabians Geikins
bde148f286
chore(server): migrating fully to ESM ( #5042 )
...
* wip
* some extra fixes
* stuff kinda works?
* need to figure out mocks
* need to figure out mocks
* fix db listener
* gqlgen fix
* minor gqlgen watch adjustment
* lint fixes
* delete old codegen file
* converting migrations to ESM
* getModuleDIrectory
* vitest sort of works
* added back ts-vitest
* resolve gql double load
* fixing test timeout configs
* TSC lint fix
* fix automate tests
* moar debugging
* debugging
* more debugging
* codegen update
* server works
* yargs migrated
* chore(server): getting rid of global mocks for Server ESM (#5046 )
* got rid of email mock
* got rid of comment mocks
* got rid of multi region mocks
* got rid of stripe mock
* admin override mock updated
* removed final mock
* fixing import.meta.resolve calls
* another import.meta.resolve fix
* added requested test
* nyc ESM fix
* removed unneeded deps + linting
* yarn lock forgot to commit
* tryna fix flakyness
* email capture util fix
* sendEmail fix
* fix TSX check
* sender transporter fix + CR comments
* merge main fix
* test fixx
* circleci fix
* gqlgen bigint fix
* error formatter fix
* more error formatting improvements
* esmloader added to Dockerfile
* more dockerfile fixes
* bg jobs fix
2025-07-14 10:26:19 +03:00
Chuck Driesler
2c66b3aef5
fix(embedTokens): return all metadata on embed token create ( #5055 )
...
* fix(embedTokens): return all metadata on embed token create
* chore(embedTokens): no !
* fix(embedTokens): more correct type usage
* fix(embedTokens): update codegen.yml
2025-07-10 14:36:14 +01:00
Chuck Driesler
26070c5338
fix(embedTokens): use arg ( #5050 )
...
* fix(embedTokens): use arg
* chore(scripts): revert test command change
2025-07-09 14:11:34 +01:00
Chuck Driesler
c35b2ce8c2
fix(embeds): private embed pagination ( #5040 )
...
* feat(tokens): create embed-specific tokens
* fix(tokens): repo functions and policy sketch
* chore(authz): embed token policies and tests
* chore(authz): fine
* chore(gql): lint descriptions
* fix(embedTokens): better api surface, repo structure
* chore(embedTokens): test fixes
* fix(embeds): check resource access
* fix(embeds): use resource access util
* fix(embedTokens): paginate tokens, emit policy checks
* fix(embeds): better query typing
* chore(embeds): rename property
2025-07-08 13:17:26 +01:00
Chuck Driesler
aa29a09ebc
feat(tokens): create embed-specific tokens ( #5013 )
...
* feat(tokens): create embed-specific tokens
* fix(tokens): repo functions and policy sketch
* chore(authz): embed token policies and tests
* chore(authz): fine
* chore(gql): lint descriptions
* fix(embedTokens): better api surface, repo structure
* chore(embedTokens): test fixes
* fix(embeds): check resource access
* fix(embeds): use resource access util
2025-07-07 12:02:38 +01:00
Iain Sproat
9dd95a372b
chore(server): include token id in auth context ( #5025 )
...
- it is relevant to understand which token was used to act on behalf of an user
2025-07-03 10:23:07 +01:00
Iain Sproat
c59e6043bb
fix(server/errors): derive errors from BaseError ( #3918 )
2025-01-30 18:15:56 +01:00
Kristaps Fabians Geikins
fe1997b86d
chore(server): core IoC #76 - validateTokenFactory
2024-10-16 17:43:26 +03:00
Kristaps Fabians Geikins
8364267cd8
chore(server): core IoC #75 - revokeUserTokenByIdFactory
2024-10-16 17:26:35 +03:00
Kristaps Fabians Geikins
bd14791db0
chore(server): core IoC #74 - revokeTokenByIdFactory
2024-10-16 17:21:41 +03:00
Kristaps Fabians Geikins
f29042ebbb
chore(server): core IoC #73 - getUserPersonalAccessTokensFactory
2024-10-16 17:18:13 +03:00
Kristaps Fabians Geikins
da88f5925c
chore(server): core IoC #72 - createPersonalAccessTokenFactory
2024-10-16 17:13:03 +03:00
Kristaps Fabians Geikins
8abc801bae
chore(server): core IoC #71 - createAppTokenFactory
2024-10-16 16:59:54 +03:00
Kristaps Fabians Geikins
2ba9d86908
chore(server): core IoC #70 - createTokenFactory
2024-10-16 16:46:21 +03:00
Kristaps Fabians Geikins
76039b9f07
chore(server): core IoC #50 - getTokenAppInfoFactory
2024-10-14 16:25:51 +03:00
Iain Sproat
afbdeadf2d
test(server/graphql): assert error code and fix some tests ( #2758 )
2024-08-27 10:07:13 +01:00
Kristaps Fabians Geikins
37d51072fb
feat(server): resource limits on app tokens ( #1959 )
...
* WIP new mutation arg
* limited resource token creation done
* token resource rule creation validation
* updated authorizeResolver implementation
* introduced resource access rule checks in authorizeResolver everywhere
* more checks added
* updated projects resolvers
* updated stream resolvers
* more checks added
* error page theme resolution fix
* WIP testss
* more tests
* implemented checks in REST auth pipeline
* REST API coverage & tests
* some tests fixed
* test fixess
* added tests
* feat(server): new automation result reporting scope (#1976 )
* feat(server): new automation result reporting scope
* tests fix
2024-01-19 18:14:49 +01:00
Kristaps Fabians Geikins
5cd573355d
feat(server): ability for apps to create new app tokens ( #1942 )
...
* /graphql endpoint fix
* app token creation seems to be done
* added tests
* more tests
* cleaned up TS annotations
* CR cleanup
* TS type fixes
* test fixes
2024-01-09 11:58:38 +02:00