-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #323 from makeplane/develop
release: Stage Release 23rd Feb 2023
- Loading branch information
Showing
81 changed files
with
2,262 additions
and
521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from .base import IntegrationSerializer, WorkspaceIntegrationSerializer | ||
from .github import ( | ||
GithubRepositorySerializer, | ||
GithubRepositorySyncSerializer, | ||
GithubIssueSyncSerializer, | ||
GithubCommentSyncSerializer, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Module imports | ||
from plane.api.serializers import BaseSerializer | ||
from plane.db.models import Integration, WorkspaceIntegration | ||
|
||
|
||
class IntegrationSerializer(BaseSerializer): | ||
class Meta: | ||
model = Integration | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"verified", | ||
] | ||
|
||
|
||
class WorkspaceIntegrationSerializer(BaseSerializer): | ||
integration_detail = IntegrationSerializer(read_only=True, source="integration") | ||
|
||
class Meta: | ||
model = WorkspaceIntegration | ||
fields = "__all__" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Module imports | ||
from plane.api.serializers import BaseSerializer | ||
from plane.db.models import ( | ||
GithubIssueSync, | ||
GithubRepository, | ||
GithubRepositorySync, | ||
GithubCommentSync, | ||
) | ||
|
||
|
||
class GithubRepositorySerializer(BaseSerializer): | ||
class Meta: | ||
model = GithubRepository | ||
fields = "__all__" | ||
|
||
|
||
class GithubRepositorySyncSerializer(BaseSerializer): | ||
repo_detail = GithubRepositorySerializer(source="repository") | ||
|
||
class Meta: | ||
model = GithubRepositorySync | ||
fields = "__all__" | ||
|
||
|
||
class GithubIssueSyncSerializer(BaseSerializer): | ||
class Meta: | ||
model = GithubIssueSync | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"project", | ||
"workspace", | ||
"repository_sync", | ||
] | ||
|
||
|
||
class GithubCommentSyncSerializer(BaseSerializer): | ||
class Meta: | ||
model = GithubCommentSync | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"project", | ||
"workspace", | ||
"repository_sync", | ||
"issue_sync", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from .base import IntegrationViewSet, WorkspaceIntegrationViewSet | ||
from .github import ( | ||
GithubRepositorySyncViewSet, | ||
GithubIssueSyncViewSet, | ||
GithubCommentSyncViewSet, | ||
GithubRepositoriesEndpoint, | ||
) |
Oops, something went wrong.
ad5a8be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
plane-staging – ./apps/app
plane-staging-git-stage-release-caravel.vercel.app
plane-app-eight.vercel.app
plane-staging-caravel.vercel.app
takeoff.plane.so