Skip to content

Staging -> Production: changes since May 2025 #11

Merged
amaguire-undp merged 22 commits intomainfrom
dev
May 23, 2025
Merged

Staging -> Production: changes since May 2025 #11
amaguire-undp merged 22 commits intomainfrom
dev

Conversation

@anduimagui
Copy link
Collaborator

Summary

This pull request introduces enhanced support for user groups and signals, including new models, endpoints, and improved group management.

New Features

  • Added new models: SignalWithUserGroups, SignalCreate, SignalUpdate, UserGroupWithUsers, and UserGroupComplete for richer API responses.
  • Extended signal creation and update endpoints to support associating signals with user groups via user_group_ids.
  • Added endpoint to retrieve a signal along with all its user groups.
  • Enhanced user group endpoints to optionally include detailed user and signal information.
  • Allowed group membership management using both user IDs and email addresses.
  • Added admin assignment to user groups, including via query parameters.
  • Improved endpoints for listing user groups with detailed user and signal data, supporting collaborative workflows.

Bug Fixes

  • Improved error handling and logging for group and signal operations.
  • Fixed issues with user ID/email handling in group membership.
  • Ensured correct response models and data consistency for new endpoints.

Checklist

  • I have read the contribution guidelines.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added required dependencies to requirements.txt
  • I have updated the documentation (if applicable).

anduimagui and others added 19 commits January 14, 2025 17:45
* Feature: initial routers / methods for favourites

- add env documentation / adminer image for easier inspection of db
- create / delete favourite entry in database
- fetch list of favourites by user

* Chore: update formatting, tests

* update test methods / logging

-

* updates

* expand tests / logging
* env updates

* update example env
* initial routes

* update methods
* full routers / entities / test setup

* update methods

* Delete signal_collaborators.sql

---------

Co-authored-by: amaguire-undp <andrew.maguire@undp.org>
@mykolaskrynnyk mykolaskrynnyk removed their request for review May 14, 2025 16:27
@amaguire-undp amaguire-undp merged commit 7d83386 into main May 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants