Skip to content

Add honourary member endpoints#150

Merged
jbriones1 merged 5 commits into
CSSS:mainfrom
AmrajKoonar:issue-130-honourary-members
Jul 3, 2026
Merged

Add honourary member endpoints#150
jbriones1 merged 5 commits into
CSSS:mainfrom
AmrajKoonar:issue-130-honourary-members

Conversation

@AmrajKoonar

@AmrajKoonar AmrajKoonar commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Closes #130

Summary:

  • Added an honorary_member table and Alembic migration
  • Added honorary member models, CRUD functions, and routes
  • Registered the /honorary router
  • Added admin-only endpoints for listing, creating, updating, and deleting honorary member terms

Testing:

  • Ran python -m pytest
  • 47 tests passed

@jbriones1 jbriones1 left a comment

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.

Thanks for the PR, looks really good!

One thing that will need to change in many places is that "honourary" is less common than "honorary", even in Canada. That's my bad since that's how I wrote it in the issue. Please go through and change everything that says "honourary" to "honorary"

Comment thread src/honourary/__init__.py Outdated
Comment thread src/honourary/crud.py Outdated
Comment thread src/honourary/crud.py Outdated
Comment thread src/honourary/models.py Outdated
Comment thread src/alembic/versions/3c00f28c26e2_create_honorary_member_table.py Outdated
Comment thread src/honourary/tables.py Outdated
Comment thread src/honourary/crud.py Outdated
Comment thread src/honourary/urls.py Outdated
@AmrajKoonar

Copy link
Copy Markdown
Contributor Author

Done

@AmrajKoonar

Copy link
Copy Markdown
Contributor Author

Fixed merge conflicts

@jbriones1 jbriones1 left a comment

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.

Your patch looks great, but one project-specific things are missing.

src/load_test_db.py needs to import your table file to ensure the test database creates it.

Comment thread src/alembic/versions/3c00f28c26e2_create_honorary_member_table.py Outdated
Comment thread src/alembic/versions/3c00f28c26e2_create_honorary_member_table.py Outdated
@jbriones1 jbriones1 self-requested a review July 3, 2026 19:45

@jbriones1 jbriones1 left a comment

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.

Looks good, thanks!

@jbriones1 jbriones1 merged commit f2fd377 into CSSS:main Jul 3, 2026
3 checks passed
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.

Create resources to support Honorary Members

2 participants