* feat: added external api endpoint for customers feature
* fix: review comments from copilot
* fix: segretate endpoints into detail endpoints
* fix: moved name validation logic to serializer
* add workspace to oauth token
* modify oauth flow to store workspace and app installation in tokens and grant
* reduce app installation id cache ttl
* reduce app installation id cache ttl to 1s
* include clientid in cache key
* chore: update psycopg dependencies to version 3.2.9 in base requirements
* refactor: clean up unused imports across multiple files
* chore: update lxml dependency to version 6.0.0 in base requirements
* style: improve code readability by breaking long lines into multiple lines across several files
* style: enhance readability by breaking long lines in ModuleSerializer docstring
* chore: add InitiativeLabelAssociation model and update InitiativeLabel fields
- Introduced the InitiativeLabelAssociation model to manage many-to-many relationships between initiatives and labels.
- Updated InitiativeLabel model to include new fields: name, description, and color.
- Removed direct foreign key relationships from InitiativeLabel to Initiative and Label.
- Adjusted unique constraints and added new constraints for InitiativeLabel.
* removed null from m2m
* fix: update __str__ method in InitiativeLabel model to return label name
* add unique constraint to InitiativeLabelAssociation model
- Introduced a unique constraint on the InitiativeLabelAssociation model to ensure that each initiative-label pair is unique when not marked as deleted.
- Updated migration file to reflect this new constraint.
* fix: permission check on viewset
* chore: check workspace admin
* chore: initiative is_workspace_admin before if condition
* chore: project member check
* fix: if conditions
* chore: add condition for guests to only edit description and name
* fix: use ROLE enum instead of magic numbers
* chore: remove if condition
* fix: next path url redirection
* fix: enhance URL redirection safety in authentication views
Updated SignInAuthSpaceEndpoint, GitHubCallbackSpaceEndpoint, GitLabCallbackSpaceEndpoint, and GoogleCallbackSpaceEndpoint to include checks for allowed hosts and schemes before redirecting. This improves the security of URL redirection by ensuring only valid URLs are used.
* chore: updated uitl to handle double /
---------
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: Nikhil <118773738+pablohashescobar@users.noreply.github.com>
* data migration and management command for github v1
* add check to support already splitted entity connections
* fix return and method name in migration
* add entity connection id arg and fixes
* remove log params