Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1ed72c5
fix: package version fixes and mentions build error fixes (#2665)
sriramveeraghanta Nov 6, 2023
7421437
fix: existing issues modal for cycle and module (#2664)
aaryan610 Nov 6, 2023
13389d1
dev: On Demand Code Build for any branch (#2668)
mguptahub Nov 6, 2023
6eb0bf4
Fix/mentions spaces fix (#2667)
henit-chobisa Nov 6, 2023
a6dea3a
fix: render the estimate select if estimate is enabled for the projec…
aaryan610 Nov 6, 2023
1dce72c
style: updated layouts UI in the space app (#2671)
aaryan610 Nov 6, 2023
46f307f
chore: update avatar group logic (#2672)
aaryan610 Nov 6, 2023
984b36f
fix: In kanban issues can be shifted between the column in order_by (…
gurusainath Nov 6, 2023
b372ccf
fix: slack integration workflow (#2675)
pablohashescobar Nov 6, 2023
d8c9653
fix: bug fixes and ui improvement (#2674)
anmolsinghbhatia Nov 6, 2023
37bf465
style: update border across workspace and project settings. (#2669)
prateekshourya29 Nov 7, 2023
baf17a1
style: update project description as per design. (#2682)
prateekshourya29 Nov 7, 2023
0afb900
fix: kanban card state name and drop down items text overflow (#2686)
rameshkumarchandra Nov 7, 2023
4de64f1
fix: slack project integration (#2684)
pablohashescobar Nov 7, 2023
040563d
fix: replacing jira importer image (#2685)
sriramveeraghanta Nov 7, 2023
98974fd
fix: cycle and module bug fixes and improvement (#2691)
anmolsinghbhatia Nov 7, 2023
93d03f8
chore: spreadsheet layout improvement (#2677)
anmolsinghbhatia Nov 7, 2023
f30b16e
chore: user profile issue improvement (#2679)
anmolsinghbhatia Nov 7, 2023
25f3a5b
chore: peek overview improvement and bug fixes (#2683)
anmolsinghbhatia Nov 7, 2023
1986c0d
fix: state icon (#2678)
aaryan610 Nov 7, 2023
26de35b
fix: environment config changes in the API are replicated in web and …
sriramveeraghanta Nov 7, 2023
1412c1c
dev: modified the branch wise build (#2702)
mguptahub Nov 7, 2023
63d1ad2
style: update font weight in project general setting section. (#2697)
prateekshourya29 Nov 7, 2023
f7cc2ec
dev: Modified the branch-build action yaml (#2704)
mguptahub Nov 7, 2023
86379c5
dev: worker count (#2573)
pablohashescobar Nov 7, 2023
6e461dd
style: update user profile button alignment. (#2695)
prateekshourya29 Nov 7, 2023
30d6235
fix: add issues to cycles and modules (#2659)
NarayanBavisetti Nov 7, 2023
8d3853b
fix: issue draft delete functionality (#2696)
NarayanBavisetti Nov 7, 2023
b56d188
add errors for duplicate labels (#2706)
rahulramesha Nov 7, 2023
9f20633
style: spinner component improvement (#2708)
anmolsinghbhatia Nov 7, 2023
53e7da0
fix: quick add not working for labels & assignee (#2689)
dakshesh14 Nov 8, 2023
5a84ed2
refactor: replace keyboard events with command palette store (#2688)
aaryan610 Nov 8, 2023
621d551
fix: project select validation (#2723)
dakshesh14 Nov 8, 2023
da799b5
Fix: Render bar chart axis labels in lighter color when dark theme ap…
AnkushD Nov 8, 2023
df8bdfd
fix: project automation settings flickering (#2680)
aaryan610 Nov 8, 2023
83e0c4e
chore: remove active ids from the MobX stores if not present in the r…
aaryan610 Nov 8, 2023
4096136
style: ui consistency and improvement (#2725)
anmolsinghbhatia Nov 8, 2023
5a3bac9
fix: bug fixes and ui improvements (#2703)
1akhanBaheti Nov 8, 2023
6ebee05
fix: unwanted go back button in onboarding step 2 (#2714)
1akhanBaheti Nov 8, 2023
2d71377
fix: added empty project state when no project exists. (#2727)
1akhanBaheti Nov 8, 2023
f800285
fix: issue property height and peek view date picker border radius (#…
sabith-tu Nov 8, 2023
faaba45
fix: all issues values not changeable and assignee image not renderin…
sabith-tu Nov 8, 2023
206f574
[fix]: Error Handling for Images and Table Fix for Form Submissions i…
Palanikannan1437 Nov 8, 2023
bd1a850
style: kanban card label overflow (#2722)
rameshkumarchandra Nov 8, 2023
20fb795
fix: project states fixes (#2731)
sriramveeraghanta Nov 8, 2023
931f9d2
fix: toast alert inconsistency (#2730)
sabith-tu Nov 8, 2023
1003722
fix: Tooltip content on assignee hover in all layouts (#2724)
1akhanBaheti Nov 8, 2023
556b2d2
feat: state list endpoint (#2717)
pablohashescobar Nov 8, 2023
a6567bb
fix: workspace members store added and implemented across the app (#2…
sriramveeraghanta Nov 8, 2023
96862e0
fix: cystom analytics bar graph index alignment (#2737)
1akhanBaheti Nov 9, 2023
d733a53
fix: Add horizontal scroll bar to views (#2736)
rahulramesha Nov 9, 2023
8832d8e
style: sidebar UI improvements (#2735)
prateekshourya29 Nov 9, 2023
7676aab
fix: UI improvements. (#2734)
prateekshourya29 Nov 9, 2023
79df59f
fix: spliting out the project members from project store and service …
sriramveeraghanta Nov 9, 2023
34bccd7
refactor: gantt sidebar (#2705)
dakshesh14 Nov 9, 2023
515dba0
chore: configuration add tracker variables (#2709)
pablohashescobar Nov 9, 2023
894ffb6
fix: mention notification (#2670)
NarayanBavisetti Nov 9, 2023
630e21b
fix: favourite cycle and modules displayed at top (#2719)
NarayanBavisetti Nov 9, 2023
4469814
feat: issues v2 endpoint (#2713)
pablohashescobar Nov 9, 2023
c291ff0
fix: fliter list item clear button alignment fix (#2741)
anmolsinghbhatia Nov 9, 2023
162faf8
fix: date select tooltip fix (#2740)
anmolsinghbhatia Nov 9, 2023
884b219
refactor: cycles store (#2716)
aaryan610 Nov 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
213 changes: 213 additions & 0 deletions .github/workflows/build-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@

name: Branch Build

on:
pull_request:
types:
- closed
branches:
- master
- release
- qa
- develop

env:
TARGET_BRANCH: ${{ github.event.pull_request.base.ref }}

jobs:
branch_build_and_push:
if: ${{ (github.event_name == 'pull_request' && github.event.action =='closed' && github.event.pull_request.merged == true) }}
name: Build-Push Web/Space/API/Proxy Docker Image
runs-on: ubuntu-20.04

steps:
- name: Check out the repo
uses: actions/checkout@v3.3.0

# - name: Set Target Branch Name on PR close
# if: ${{ github.event_name == 'pull_request' && github.event.action =='closed' }}
# run: echo "TARGET_BRANCH=${{ github.event.pull_request.base.ref }}" >> $GITHUB_ENV

# - name: Set Target Branch Name on other than PR close
# if: ${{ github.event_name == 'push' }}
# run: echo "TARGET_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV

- uses: ASzc/change-string-case-action@v2
id: gh_branch_upper_lower
with:
string: ${{env.TARGET_BRANCH}}

- uses: mad9000/actions-find-and-replace-string@2
id: gh_branch_replace_slash
with:
source: ${{ steps.gh_branch_upper_lower.outputs.lowercase }}
find: '/'
replace: '-'

- uses: mad9000/actions-find-and-replace-string@2
id: gh_branch_replace_dot
with:
source: ${{ steps.gh_branch_replace_slash.outputs.value }}
find: '.'
replace: ''

- uses: mad9000/actions-find-and-replace-string@2
id: gh_branch_clean
with:
source: ${{ steps.gh_branch_replace_dot.outputs.value }}
find: '_'
replace: ''
- name: Uploading Proxy Source
uses: actions/upload-artifact@v3
with:
name: proxy-src-code
path: ./nginx
- name: Uploading Backend Source
uses: actions/upload-artifact@v3
with:
name: backend-src-code
path: ./apiserver
- name: Uploading Web Source
uses: actions/upload-artifact@v3
with:
name: web-src-code
path: |
./
!./apiserver
!./nginx
!./deploy
!./space

- name: Uploading Space Source
uses: actions/upload-artifact@v3
with:
name: space-src-code
path: |
./
!./apiserver
!./nginx
!./deploy
!./web
outputs:
gh_branch_name: ${{ steps.gh_branch_clean.outputs.value }}

branch_build_push_frontend:
runs-on: ubuntu-20.04
needs: [ branch_build_and_push ]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0

- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Downloading Web Source Code
uses: actions/download-artifact@v3
with:
name: web-src-code

- name: Build and Push Frontend to Docker Container Registry
uses: docker/build-push-action@v4.0.0
with:
context: .
file: ./web/Dockerfile.web
platforms: linux/amd64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plane-frontend-private:${{ needs.branch_build_and_push.outputs.gh_branch_name }}
push: true
env:
DOCKER_BUILDKIT: 1
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}

branch_build_push_space:
runs-on: ubuntu-20.04
needs: [ branch_build_and_push ]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0

- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Downloading Space Source Code
uses: actions/download-artifact@v3
with:
name: space-src-code

- name: Build and Push Space to Docker Hub
uses: docker/build-push-action@v4.0.0
with:
context: .
file: ./space/Dockerfile.space
platforms: linux/amd64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plane-space-private:${{ needs.branch_build_and_push.outputs.gh_branch_name }}
push: true
env:
DOCKER_BUILDKIT: 1
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}

branch_build_push_backend:
runs-on: ubuntu-20.04
needs: [ branch_build_and_push ]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0

- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Downloading Backend Source Code
uses: actions/download-artifact@v3
with:
name: backend-src-code

- name: Build and Push Backend to Docker Hub
uses: docker/build-push-action@v4.0.0
with:
context: .
file: ./Dockerfile.api
platforms: linux/amd64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plane-backend-private:${{ needs.branch_build_and_push.outputs.gh_branch_name }}
env:
DOCKER_BUILDKIT: 1
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}

branch_build_push_proxy:
runs-on: ubuntu-20.04
needs: [ branch_build_and_push ]
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.5.0

- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Downloading Proxy Source Code
uses: actions/download-artifact@v3
with:
name: proxy-src-code

- name: Build and Push Plane-Proxy to Docker Hub
uses: docker/build-push-action@v4.0.0
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
tags: ${{ secrets.DOCKERHUB_USERNAME }}/plane-proxy-private:${{ needs.branch_build_and_push.outputs.gh_branch_name }}
push: true
env:
DOCKER_BUILDKIT: 1
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pnpm-lock.yaml
pnpm-workspace.yaml

.npmrc
.secrets
tmp/

## packages
dist
32 changes: 16 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Before submitting a new issue, please search the [issues](https://github.com/mak

While we want to fix all the [issues](https://github.com/makeplane/plane/issues), before fixing a bug we need to be able to reproduce and confirm it. Please provide us with a minimal reproduction scenario using a repository or [Gist](https://gist.github.com/). Having a live, reproducible scenario gives us the information without asking questions back & forth with additional questions like:

- 3rd-party libraries being used and their versions
- a use-case that fails
- 3rd-party libraries being used and their versions
- a use-case that fails

Without said minimal reproduction, we won't be able to investigate all [issues](https://github.com/makeplane/plane/issues), and the issue might not be resolved.

Expand All @@ -19,10 +19,10 @@ You can open a new issue with this [issue form](https://github.com/makeplane/pla

### Requirements

- Node.js version v16.18.0
- Python version 3.8+
- Postgres version v14
- Redis version v6.2.7
- Node.js version v16.18.0
- Python version 3.8+
- Postgres version v14
- Redis version v6.2.7

### Setup the project

Expand Down Expand Up @@ -81,20 +81,20 @@ If you would like to _implement_ it, an issue with your proposal must be submitt

To ensure consistency throughout the source code, please keep these rules in mind as you are working:

- All features or bug fixes must be tested by one or more specs (unit-tests).
- We use [Eslint default rule guide](https://eslint.org/docs/rules/), with minor changes. An automated formatter is available using prettier.
- All features or bug fixes must be tested by one or more specs (unit-tests).
- We use [Eslint default rule guide](https://eslint.org/docs/rules/), with minor changes. An automated formatter is available using prettier.

## Need help? Questions and suggestions

Questions, suggestions, and thoughts are most welcome. We can also be reached in our [Discord Server](https://discord.com/invite/A92xrEGCge).

## Ways to contribute

- Try Plane Cloud and the self hosting platform and give feedback
- Add new integrations
- Help with open [issues](https://github.com/makeplane/plane/issues) or [create your own](https://github.com/makeplane/plane/issues/new/choose)
- Share your thoughts and suggestions with us
- Help create tutorials and blog posts
- Request a feature by submitting a proposal
- Report a bug
- **Improve documentation** - fix incomplete or missing [docs](https://docs.plane.so/), bad wording, examples or explanations.
- Try Plane Cloud and the self hosting platform and give feedback
- Add new integrations
- Help with open [issues](https://github.com/makeplane/plane/issues) or [create your own](https://github.com/makeplane/plane/issues/new/choose)
- Share your thoughts and suggestions with us
- Help create tutorials and blog posts
- Request a feature by submitting a proposal
- Report a bug
- **Improve documentation** - fix incomplete or missing [docs](https://docs.plane.so/), bad wording, examples or explanations.
18 changes: 17 additions & 1 deletion ENV_SETUP.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Environment Variables

Environment variables are distributed in various files. Please refer them carefully.
Environment variables are distributed in various files. Please refer them carefully.

## {PROJECT_FOLDER}/.env

File is available in the project root folder​

```
Expand Down Expand Up @@ -41,25 +43,37 @@ USE_MINIO=1
# Nginx Configuration
NGINX_PORT=80
```


## {PROJECT_FOLDER}/web/.env.example


```
# Enable/Disable OAUTH - default 0 for selfhosted instance
NEXT_PUBLIC_ENABLE_OAUTH=0
# Public boards deploy URL
NEXT_PUBLIC_DEPLOY_URL="http://localhost/spaces"
```


## {PROJECT_FOLDER}/spaces/.env.example


```
# Flag to toggle OAuth
NEXT_PUBLIC_ENABLE_OAUTH=0
```


## {PROJECT_FOLDER}/apiserver/.env


```
# Backend
# Debug value for api server use it as 0 for production use
Expand Down Expand Up @@ -126,7 +140,9 @@ ENABLE_SIGNUP="1"
# Email Redirection URL
WEB_URL="http://localhost"
```

## Updates​

- The environment variable NEXT_PUBLIC_API_BASE_URL has been removed from both the web and space projects.
- The naming convention for containers and images has been updated.
- The plane-worker image will no longer be maintained, as it has been merged with plane-backend.
Expand Down
3 changes: 3 additions & 0 deletions apiserver/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ ENABLE_MAGIC_LINK_LOGIN="0"
# Email redirections and minio domain settings
WEB_URL="http://localhost"


# Gunicorn Workers
GUNICORN_WORKERS=2
2 changes: 1 addition & 1 deletion apiserver/bin/takeoff
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ python manage.py migrate
# Create a Default User
python bin/user_script.py

exec gunicorn -w 8 -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --max-requests 1200 --max-requests-jitter 1000 --access-logfile -
exec gunicorn -w $GUNICORN_WORKERS -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --max-requests 1200 --max-requests-jitter 1000 --access-logfile -
4 changes: 2 additions & 2 deletions apiserver/plane/api/serializers/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from rest_framework import serializers

# Module imports
from .base import BaseSerializer
from .base import BaseSerializer, DynamicBaseSerializer
from .user import UserLiteSerializer
from .state import StateSerializer, StateLiteSerializer
from .project import ProjectLiteSerializer
Expand Down Expand Up @@ -548,7 +548,7 @@ class Meta:
]


class IssueLiteSerializer(BaseSerializer):
class IssueLiteSerializer(DynamicBaseSerializer):
workspace_detail = WorkspaceLiteSerializer(read_only=True, source="workspace")
project_detail = ProjectLiteSerializer(read_only=True, source="project")
state_detail = StateLiteSerializer(read_only=True, source="state")
Expand Down
2 changes: 0 additions & 2 deletions apiserver/plane/api/serializers/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@


class StateSerializer(BaseSerializer):
workspace_detail = WorkspaceLiteSerializer(read_only=True, source="workspace")
project_detail = ProjectLiteSerializer(read_only=True, source="project")

class Meta:
model = State
Expand Down
2 changes: 1 addition & 1 deletion apiserver/plane/api/urls/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .analytic import urlpatterns as analytic_urls
from .asset import urlpatterns as asset_urls
from .authentication import urlpatterns as authentication_urls
from .configuration import urlpatterns as configuration_urls
from .config import urlpatterns as configuration_urls
from .cycle import urlpatterns as cycle_urls
from .estimate import urlpatterns as estimate_urls
from .gpt import urlpatterns as gpt_urls
Expand Down
Loading