Skip to content

Commit

Permalink
fix: file structuring (#2797)
Browse files Browse the repository at this point in the history
* fix: file structure changes

* fix: pages update

* fix: license imports changed
  • Loading branch information
NarayanBavisetti authored and sriramveeraghanta committed Dec 7, 2023
1 parent 728213e commit ced5bfd
Show file tree
Hide file tree
Showing 113 changed files with 2,306 additions and 1,261 deletions.
5 changes: 0 additions & 5 deletions apiserver/plane/api/apps.py

This file was deleted.

151 changes: 0 additions & 151 deletions apiserver/plane/api/urls/public_board.py

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions apiserver/plane/app/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class AppConfig(AppConfig):
name = "plane.app"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .base import BaseSerializer

from plane.db.models import Estimate, EstimatePoint
from plane.api.serializers import WorkspaceLiteSerializer, ProjectLiteSerializer
from plane.app.serializers import WorkspaceLiteSerializer, ProjectLiteSerializer


class EstimateSerializer(BaseSerializer):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import Integration, WorkspaceIntegration


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import (
GithubIssueSync,
GithubRepository,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Module imports
from plane.api.serializers import BaseSerializer
from plane.app.serializers import BaseSerializer
from plane.db.models import SlackProjectSync


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

# Module imports
from .base import BaseSerializer, DynamicBaseSerializer
from plane.api.serializers.workspace import WorkSpaceSerializer, WorkspaceLiteSerializer
from plane.api.serializers.user import UserLiteSerializer, UserAdminLiteSerializer
from plane.app.serializers.workspace import WorkspaceLiteSerializer
from plane.app.serializers.user import UserLiteSerializer, UserAdminLiteSerializer
from plane.db.models import (
Project,
ProjectMember,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Module imports
from .base import BaseSerializer
from .workspace import WorkspaceLiteSerializer
from .project import ProjectLiteSerializer


from plane.db.models import State

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from .notification import urlpatterns as notification_urls
from .page import urlpatterns as page_urls
from .project import urlpatterns as project_urls
from .public_board import urlpatterns as public_board_urls
from .search import urlpatterns as search_urls
from .state import urlpatterns as state_urls
from .user import urlpatterns as user_urls
Expand Down Expand Up @@ -43,7 +42,6 @@
*notification_urls,
*page_urls,
*project_urls,
*public_board_urls,
*search_urls,
*state_urls,
*user_urls,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
AnalyticsEndpoint,
AnalyticViewViewset,
SavedAnalyticEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.urls import path
from plane.api.views import ApiTokenEndpoint
from plane.app.views import ApiTokenEndpoint

urlpatterns = [
# API Tokens
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
FileAssetEndpoint,
UserAssetsEndpoint,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from rest_framework_simplejwt.views import TokenRefreshView


from plane.api.views import (
from plane.app.views import (
# Authentication
SignUpEndpoint,
SignInEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import ConfigurationEndpoint
from plane.app.views import ConfigurationEndpoint

urlpatterns = [
path(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
CycleViewSet,
CycleIssueViewSet,
CycleDateCheckEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ProjectEstimatePointEndpoint,
BulkEstimatePointEndpoint,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from django.urls import path


from plane.api.views import UnsplashEndpoint
from plane.api.views import ReleaseNotesEndpoint
from plane.api.views import GPTIntegrationEndpoint
from plane.app.views import UnsplashEndpoint
from plane.app.views import ReleaseNotesEndpoint
from plane.app.views import GPTIntegrationEndpoint


urlpatterns = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ServiceIssueImportSummaryEndpoint,
ImportServiceEndpoint,
UpdateServiceImportStatusEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
InboxViewSet,
InboxIssueViewSet,
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
IntegrationViewSet,
WorkspaceIntegrationViewSet,
GithubRepositoriesEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
IssueViewSet,
IssueListEndpoint,
IssueListGroupedEndpoint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
ModuleViewSet,
ModuleIssueViewSet,
ModuleLinkViewSet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
NotificationViewSet,
UnreadNotificationEndpoint,
MarkAllReadNotificationViewSet,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.urls import path


from plane.api.views import (
from plane.app.views import (
PageViewSet,
PageFavoriteViewSet,
PageLogEndpoint,
Expand Down
Loading

0 comments on commit ced5bfd

Please sign in to comment.