Skip to content

client id changes#422

Merged
kaysiz merged 82 commits intodevfrom
client_id_ror
Apr 16, 2025
Merged

client id changes#422
kaysiz merged 82 commits intodevfrom
client_id_ror

Conversation

@ashwinisukale
Copy link
Copy Markdown
Contributor

No description provided.

Merge staging to prod: affiliation matching improvements
Merge staging to dev: org status
Merge staging to master: org status
Merge dev to staging: GRID removed IDs
Merge staging to prod: remove IDs from grid removed IDs var
Merge dev to staging: Remove auth header
Merge staging to master: Remove auth header
Merge staging to dev: Remove auth header from setup.py
Merge staging to master: remove auth header
Merge dev to staging: Filter bug fix
Merge staging to master: Filter bug fix
Merge dev to staging: sharding changes
Merge staging to master: sharding changes
Merge dev to staging: ES6 to ES7 upgrade
Merge dev to staging: Fix retrieve by ID
Merge staging to prod: ES6 to ES7 migration
Merge dev to staging: Generate ID hotfix
Merge staging to prod: Generate ID hotfix
Merge dev to staging: Add tests for all views and use API logic in generate ID
@lizkrznarich
Copy link
Copy Markdown
Contributor

@ashwinisukale can you please change the base branch to dev?

Comment thread docker-compose.yml Outdated
image: mysql:8.0
volumes:
- mysql_data:/var/lib/mysql
environment:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move these vars to .env file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Comment thread rorapi/middleware.py Outdated
@ashwinisukale ashwinisukale changed the base branch from master to dev March 27, 2025 03:06
@ashwinisukale
Copy link
Copy Markdown
Contributor Author

Looks like dev branch is behind the master branch, after changing the base.

@ashwinisukale ashwinisukale changed the base branch from dev to master March 27, 2025 03:07
@ashwinisukale ashwinisukale marked this pull request as ready for review March 27, 2025 03:56
@lizkrznarich lizkrznarich changed the base branch from master to dev March 27, 2025 15:47
Comment thread rorapi/v2/models.py Outdated
Comment thread rorapi/v2/serializers.py Outdated
def validate_email(self, value):
"""Validate the email format and ensure it's unique."""
if Client.objects.filter(email=value).exists():
raise serializers.ValidationError("A client with this email already exists.")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, per the spec, email does not need to be unique - users should be able to register multiple client IDs with the same email. Validation should check that email looks like a valid email (@ symbol and domain).

Comment thread rorapi/v2/serializers.py Outdated
Comment thread rorapi/v2/tests.py
@lizkrznarich lizkrznarich deleted the branch dev April 4, 2025 19:40
@lizkrznarich lizkrznarich reopened this Apr 4, 2025
@kaysiz kaysiz merged commit 30de336 into dev Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants