-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 #1413 from makeplane/stage-release
promote: stage-release to master
- Loading branch information
Showing
202 changed files
with
9,103 additions
and
3,741 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,12 +21,23 @@ NEXT_PUBLIC_TRACK_EVENTS=0 | |
NEXT_PUBLIC_SLACK_CLIENT_ID="" | ||
|
||
# Backend | ||
# Debug value for api server use it as 0 for production use | ||
DEBUG=0 | ||
|
||
# Error logs | ||
SENTRY_DSN="" | ||
|
||
# Database Settings | ||
PGUSER="plane" | ||
PGPASSWORD="plane" | ||
PGHOST="plane-db" | ||
PGDATABASE="plane" | ||
DATABASE_URL=postgresql://${PGUSER}:${PGPASSWORD}@${PGHOST}/${PGDATABASE} | ||
|
||
# Redis Settings | ||
REDIS_HOST="plane-redis" | ||
REDIS_PORT="6379" | ||
REDIS_URL="redis://${REDIS_HOST}:6379/" | ||
|
||
# Email Settings | ||
EMAIL_HOST="" | ||
|
@@ -35,6 +46,7 @@ EMAIL_HOST_PASSWORD="" | |
EMAIL_PORT=587 | ||
EMAIL_FROM="Team Plane <[email protected]>" | ||
EMAIL_USE_TLS="1" | ||
EMAIL_USE_SSL="0" | ||
|
||
# AWS Settings | ||
AWS_REGION="" | ||
|
@@ -65,4 +77,6 @@ NGINX_PORT=80 | |
DEFAULT_EMAIL="[email protected]" | ||
DEFAULT_PASSWORD="password123" | ||
|
||
# SignUps | ||
ENABLE_SIGNUP="1" | ||
# Auto generated and Required that will be generated from setup.sh |
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 |
---|---|---|
|
@@ -43,6 +43,7 @@ yarn-error.log* | |
|
||
## Django ## | ||
venv | ||
.venv | ||
*.pyc | ||
staticfiles | ||
mediafiles | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .workspace import WorkSpaceBasePermission, WorkSpaceAdminPermission | ||
from .project import ProjectBasePermission, ProjectEntityPermission, ProjectMemberPermission | ||
from .workspace import WorkSpaceBasePermission, WorkSpaceAdminPermission, WorkspaceEntityPermission | ||
from .project import ProjectBasePermission, ProjectEntityPermission, ProjectMemberPermission, ProjectLitePermission |
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,58 @@ | ||
# Third party frameworks | ||
from rest_framework import serializers | ||
|
||
# Module imports | ||
from .base import BaseSerializer | ||
from .issue import IssueFlatSerializer, LabelLiteSerializer | ||
from .project import ProjectLiteSerializer | ||
from .state import StateLiteSerializer | ||
from .project import ProjectLiteSerializer | ||
from .user import UserLiteSerializer | ||
from plane.db.models import Inbox, InboxIssue, Issue | ||
|
||
|
||
class InboxSerializer(BaseSerializer): | ||
project_detail = ProjectLiteSerializer(source="project", read_only=True) | ||
pending_issue_count = serializers.IntegerField(read_only=True) | ||
|
||
class Meta: | ||
model = Inbox | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"project", | ||
"workspace", | ||
] | ||
|
||
|
||
class InboxIssueSerializer(BaseSerializer): | ||
issue_detail = IssueFlatSerializer(source="issue", read_only=True) | ||
project_detail = ProjectLiteSerializer(source="project", read_only=True) | ||
|
||
class Meta: | ||
model = InboxIssue | ||
fields = "__all__" | ||
read_only_fields = [ | ||
"project", | ||
"workspace", | ||
] | ||
|
||
|
||
class InboxIssueLiteSerializer(BaseSerializer): | ||
class Meta: | ||
model = InboxIssue | ||
fields = ["id", "status", "duplicate_to", "snoozed_till", "source"] | ||
read_only_fields = fields | ||
|
||
|
||
class IssueStateInboxSerializer(BaseSerializer): | ||
state_detail = StateLiteSerializer(read_only=True, source="state") | ||
project_detail = ProjectLiteSerializer(read_only=True, source="project") | ||
label_details = LabelLiteSerializer(read_only=True, source="labels", many=True) | ||
assignee_details = UserLiteSerializer(read_only=True, source="assignees", many=True) | ||
sub_issues_count = serializers.IntegerField(read_only=True) | ||
bridge_id = serializers.UUIDField(read_only=True) | ||
issue_inbox = InboxIssueLiteSerializer(read_only=True, many=True) | ||
|
||
class Meta: | ||
model = Issue | ||
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
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
6394f51
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 – ./apps/app
plane-theta.vercel.app
plane-plane.vercel.app
app.plane.so
plane-git-master-plane.vercel.app