Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #610

Merged
merged 105 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
377bc08
Fix table imports
amonsosanz Nov 27, 2023
afd374d
Fix mobile header background color
amonsosanz Nov 28, 2023
7f23661
Implement pagination on the credentials page
amonsosanz Nov 28, 2023
b14f888
Use pagination API terminology
amonsosanz Dec 7, 2023
665e4a6
Force page and maxResults URL params to positive integers
amonsosanz Dec 7, 2023
b538e28
Force resource meta props to positive integers
amonsosanz Dec 7, 2023
32b3381
feat: Pagination in get credentials api endpoint (#575)
x1m3 Dec 13, 2023
58d5822
chore: add health check to docker containers
martinsaporiti Dec 14, 2023
9d040f2
Merge branch 'develop' into PID-1573-add-pagination-to-the-credential…
amonsosanz Dec 14, 2023
65ed01e
Show actual total in issued tag
amonsosanz Dec 14, 2023
6a98a33
support refresh service
ilya-korotya Dec 14, 2023
60d49c0
pass verifiable.RefreshService in unit tests
ilya-korotya Dec 14, 2023
ef1db9c
add refreshService to expected results
ilya-korotya Dec 14, 2023
c8a3ff7
Merge pull request #579 from 0xPolygonID/PID-1613-add-health-check-to…
martinsaporiti Dec 15, 2023
46eb3c9
check to ensure the expiration date is set when the refresh server is…
ilya-korotya Dec 15, 2023
e62a85f
feat: Backward support for old raw QRCodes in API UI (#552)
x1m3 Dec 18, 2023
dd543da
fix: Rename expiration to expirationDate in GetClaimResponse (#584)
x1m3 Dec 18, 2023
257aca8
Merge branch 'develop' into feature/support-refresh-service
ilya-korotya Dec 18, 2023
5c976d5
chore: add support for revoking multiples claims with same nonce
martinsaporiti Dec 21, 2023
b0660bc
Fix/use time rfc3339nano (#585)
ilya-korotya Dec 22, 2023
420a7f6
Merge branch 'develop' into feature/support-refresh-service
ilya-korotya Dec 22, 2023
7758e12
Merge branch 'feature/support-refresh-service' of github.com:0xPolygo…
ilya-korotya Dec 22, 2023
ce529dd
Merge pull request #581 from 0xPolygonID/feature/support-refresh-service
martinsaporiti Dec 22, 2023
2678ba6
chore: improve errors for bjjkeys
martinsaporiti Dec 22, 2023
058aaad
chore: improve errors messages
martinsaporiti Dec 22, 2023
24adbec
feat: Ability to set order in Get Credentials endpoint (#586)
x1m3 Dec 22, 2023
bb15b9a
feat: adding paging to the getConnections endpoint (#580)
javip97 Dec 22, 2023
54d9a01
Merge pull request #587 from 0xPolygonID/PID-1644-improve-errors-mess…
martinsaporiti Jan 3, 2024
c4af785
chore: avoid fetching credentials with empty mtp proofs
javip97 Jan 4, 2024
4d3f50e
fix: prevent publishing states for bjj sig credentials
martinsaporiti Jan 4, 2024
6bcd4a9
Merge branch 'develop' into PID-1649-credential-included-in-state-of-…
martinsaporiti Jan 4, 2024
817f112
feat: Order parameter in get connections endpoint (#588)
x1m3 Jan 8, 2024
132e9f1
Merge branch 'develop' into PID-1518-add-qr-code-switcher-to-the-issu…
x1m3 Jan 9, 2024
0691f30
feat: QrCode type switcher in credentials
x1m3 Jan 10, 2024
b107843
support display service
ilya-korotya Jan 11, 2024
4c51e9c
minor fixes
ilya-korotya Jan 11, 2024
ec6e2a5
feat: Pagination in listing of connections
x1m3 Jan 11, 2024
089671e
feat: Link create endpoint return both qr code types
x1m3 Jan 12, 2024
2920aee
feat: Link QR show both types of qr: link and raw
x1m3 Jan 12, 2024
d879664
chore: Rename IssuedQRCode.qrLink to IssuedQRCode.qrCode
x1m3 Jan 12, 2024
ef365e9
use v2.1.2 for go-schema-processor v2
ilya-korotya Jan 12, 2024
eed0901
chore: Update go-multiaddr library to v0.12.1 (#597)
x1m3 Jan 12, 2024
70ea985
feat: Credential refresh service field in create claim screen
x1m3 Jan 16, 2024
a4ac499
Merge pull request #592 from 0xPolygonID/PID-1649-credential-included…
martinsaporiti Jan 17, 2024
820b33b
fix: Create credential parser now accepts empty input for url
x1m3 Jan 17, 2024
1f79ff3
chore: updating go-schema-processor library (#602)
javip97 Jan 17, 2024
b746fad
feat: Send RefreshCredentialService on link creation
x1m3 Jan 17, 2024
5597054
chore: remove debug logs
x1m3 Jan 17, 2024
9c7a0ea
fix: Rename refreshService parameter when creating Credential
x1m3 Jan 18, 2024
8611262
feat: Show refresh service in credential detail screen
x1m3 Jan 18, 2024
772b5f5
fix: Parsing response from get credentials endpoint
x1m3 Jan 18, 2024
99b4cca
feat: Credential expiration is mandatory when creating a credential w…
x1m3 Jan 18, 2024
566978b
chore: Remove TODO
x1m3 Jan 18, 2024
6c68c02
fix: Create link request
x1m3 Jan 18, 2024
5d0c535
Rename Meta as ResourceMeta
amonsosanz Jan 18, 2024
debdc3a
Rename max_results as maxResults
amonsosanz Jan 18, 2024
f211ed5
Avoid sorting credentials
amonsosanz Jan 18, 2024
f1d74a0
feat: In create credential dialog: moving refresh service input field…
x1m3 Jan 19, 2024
9c28ee6
Merge pull request #564 from 0xPolygonID/PID-1573-add-pagination-to-t…
amonsosanz Jan 19, 2024
91a6175
feat: adding revoke push notification (#594)
javip97 Jan 19, 2024
b78fdc0
Merge remote-tracking branch 'origin/develop' into PID-1518-add-qr-co…
x1m3 Jan 19, 2024
bc18a58
chore: Revert renaming of IssuedQRCode.qrCodeLink
x1m3 Jan 19, 2024
ecaa337
feat: Add base64 encoded type. chore: Rename QRcode field
x1m3 Jan 19, 2024
4255418
chore: no camel case in max_results
x1m3 Jan 19, 2024
c1a996a
fix: Do not sort connections view by date.
x1m3 Jan 19, 2024
badbe8b
chore: Import with with absolute path
x1m3 Jan 19, 2024
03862f8
chore: Do not base64 qrcode in <CredentialQR> as it can be generated …
x1m3 Jan 19, 2024
5545a81
chore: npm run lint:fix && npm run format
x1m3 Jan 19, 2024
f470cc8
feat: getConnections returns 1000 connections by default if maxResult…
x1m3 Jan 19, 2024
e0eac05
fix: typo in test
x1m3 Jan 19, 2024
02c363f
chore: Remove unneded transformation
x1m3 Jan 19, 2024
053e510
fix: Order in getLinks and getCredentials
x1m3 Jan 22, 2024
38fb355
chore: KISS principle.
x1m3 Jan 22, 2024
a294f06
Merge pull request #596 from 0xPolygonID/PID-1518-add-qr-code-switche…
x1m3 Jan 22, 2024
67ded64
Merge pull request #605 from 0xPolygonID/refactor_guard_create_claims…
x1m3 Jan 22, 2024
137a577
chore: add health check endpoint
martinsaporiti Jan 22, 2024
32b019c
feat: API access credential expiration time as a datetime and not a d…
x1m3 Jan 22, 2024
52da461
feat: Credential expiration UI is a datetime instead of a date.
x1m3 Jan 22, 2024
2f872c2
fix: add revoked credentials to publish state action
martinsaporiti Jan 22, 2024
d4adddd
Merge pull request #607 from 0xPolygonID/PID-1700-publishing-issuers-…
martinsaporiti Jan 23, 2024
9e9b23f
chore: Update vite package.
x1m3 Jan 23, 2024
6cfd8e3
chore: Update vite minimum version
x1m3 Jan 23, 2024
91ba0c9
fix: get state status endpoint
martinsaporiti Jan 23, 2024
6d2efb2
chore: improve tests
martinsaporiti Jan 23, 2024
d695e0a
Merge pull request #609 from 0xPolygonID/fix_get_state_status
martinsaporiti Jan 23, 2024
5f27909
Merge pull request #608 from 0xPolygonID/update_vite_version
x1m3 Jan 24, 2024
6b11898
chore: import domain.Refresh service for api dto.
x1m3 Jan 24, 2024
0531439
fix: Credential form rules validated at form level and not on submit.
x1m3 Jan 24, 2024
a136dd1
fix: Validation removed from credentialFormParser transformation
x1m3 Jan 24, 2024
534fa0b
chore: Use of serializedate() instead of toISOString()
x1m3 Jan 24, 2024
da6bd60
chore: Parametrize <Detail> component with an on optional href to use…
x1m3 Jan 24, 2024
3a17739
chore: credential refresh service form can be undefined
x1m3 Jan 24, 2024
dd110a8
Merge branch 'develop' into PID-1651-support-refresh-service-on-frontend
x1m3 Jan 24, 2024
f191e3c
chore: npm run format
x1m3 Jan 24, 2024
37087f1
Merge remote-tracking branch 'origin/PID-1651-support-refresh-service…
x1m3 Jan 24, 2024
163184e
fix: Change error message.
x1m3 Jan 25, 2024
6e251e6
chore: IssueCredentialFormData better parsing of refreshService url
x1m3 Jan 25, 2024
b526931
fix: Format links as links instead of text.
x1m3 Jan 25, 2024
6ebd92c
Merge pull request #604 from 0xPolygonID/PID-1651-support-refresh-ser…
x1m3 Jan 25, 2024
a29db4d
Merge pull request #591 from 0xPolygonID/avoid-fetching-empty-mtp-pro…
martinsaporiti Jan 26, 2024
1c2f49b
Merge branch 'develop' into feature/support-display-method
ilya-korotya Jan 29, 2024
e7ab6e3
Merge pull request #595 from 0xPolygonID/feature/support-display-method
ilya-korotya Jan 29, 2024
696fdb9
Merge pull request #606 from 0xPolygonID/PID-1698-add-health-check-en…
martinsaporiti Jan 29, 2024
d50c38e
Merge remote-tracking branch 'origin/main' into develop
x1m3 Jan 30, 2024
dac42ee
Merge pull request #611 from 0xPolygonID/merge_conflict
x1m3 Jan 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ linters-settings:
- name: argument-limit
severity: warning
disabled: false
arguments: [ 14 ]
arguments: [ 16 ]
- name: exported
severity: warning
disabled: false
Expand Down
58 changes: 57 additions & 1 deletion api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ paths:
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'500':
$ref: '#/components/responses/500-CreateIdentity'
get:
Expand Down Expand Up @@ -396,6 +398,8 @@ paths:
$ref: '#/components/responses/400'
'404':
$ref: '#/components/responses/404'
'409':
$ref: '#/components/responses/409'
'500':
$ref: '#/components/responses/500'
#agent
Expand Down Expand Up @@ -609,6 +613,38 @@ components:
rootOfRoots:
type: string

# refresh service
RefreshService:
type: object
required:
- id
- type
properties:
id:
type: string
x-omitempty: false
type:
type: string
x-omitempty: false
enum:
- "Iden3RefreshService2023"

# display method
DisplayMethod:
type: object
required:
- id
- type
properties:
id:
type: string
x-omitempty: false
type:
type: string
x-omitempty: false
enum:
- "Iden3BasicDisplayMethodV1"

#claims
CreateClaimRequest:
type: object
Expand Down Expand Up @@ -639,6 +675,10 @@ components:
type: string
merklizedRootPosition:
type: string
refreshService:
$ref: '#/components/schemas/RefreshService'
displayMethod:
$ref: '#/components/schemas/DisplayMethod'
example:
credentialSchema: "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json"
type: "KYCAgeCredential"
Expand Down Expand Up @@ -687,7 +727,7 @@ components:
x-omitempty: false
items:
type: string
expiration:
expirationDate:
$ref: '#/components/schemas/TimeUTC'
issuanceDate:
$ref: '#/components/schemas/TimeUTC'
Expand All @@ -704,6 +744,10 @@ components:
x-omitempty: false
proof:
type: null
displayMethod:
$ref: '#/components/schemas/DisplayMethod'
refreshService:
$ref: '#/components/schemas/RefreshService'

QrCodeLinkShortResponse:
type: string
Expand Down Expand Up @@ -899,12 +943,24 @@ components:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'403':
description: 'Permission Denied'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'404':
description: 'Not found'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'409':
description: 'Conflict'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'407':
description: 'Proxy Authentication Required'
content:
Expand Down
Loading
Loading