🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: remove unused files
sriramveeraghanta6bee97eb2686
diff --git a/ENV_SETUP.md b/ENV_SETUP.mddeleted file mode 100644index 54e0415a5f..0000000000--- a/ENV_SETUP.md+++ /dev/null@@ -1,90 +0,0 @@-# Environment Variables--Environment variables are distributed in various files. Please refer them carefully.--## {PROJECT_FOLDER}/.env--File is available in the project root folder--```-# Database Settings-POSTGRES_USER="plane"-POSTGRES_PASSWORD="plane"-POSTGRES_DB="plane"-PGDATA="/var/lib/postgresql/data"-# Redis Settings-REDIS_HOST="plane-redis"-REDIS_PORT="6379"-# AWS Settings-AWS_REGION=""-AWS_ACCESS_KEY_ID="access-key"-AWS_SECRET_ACCESS_KEY="secret-key"-AWS_S3_ENDPOINT_URL="http://plane-minio:9000"-# Changing this requires change in the nginx.conf for uploads if using minio setup-AWS_S3_BUCKET_NAME="uploads"-# Maximum file upload limit-FILE_SIZE_LIMIT=5242880-# GPT settings-OPENAI_API_BASE="https://api.openai.com/v1" # deprecated-OPENAI_API_KEY="sk-" # deprecated-GPT_ENGINE="gpt-3.5-turbo" # deprecated-# Settings related to Docker-DOCKERIZED=1 # deprecated-# set to 1 If using the pre-configured minio setup-USE_MINIO=1-# Nginx Configuration-NGINX_PORT=80-```--## {PROJECT_FOLDER}/apps/server/.env--```-# Backend-# Debug value for api server use it as 0 for production use-DEBUG=0-CORS_ALLOWED_ORIGINS="http://localhost"-# Database Settings-POSTGRES_USER="plane"-POSTGRES_PASSWORD="plane"-POSTGRES_HOST="plane-db"-POSTGRES_DB="plane"-POSTGRES_PORT=5432-DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}-# Redis Settings-REDIS_HOST="plane-redis"-REDIS_PORT="6379"-REDIS_URL="redis://${REDIS_HOST}:6379/"-# AWS Settings-AWS_REGION=""-AWS_ACCESS_KEY_ID="access-key"-AWS_SECRET_ACCESS_KEY="secret-key"-AWS_S3_ENDPOINT_URL="http://plane-minio:9000"-# Changing this requires change in the nginx.conf for uploads if using minio setup-AWS_S3_BUCKET_NAME="uploads"-# Maximum file upload limit-FILE_SIZE_LIMIT=5242880-# set to 1 If using the pre-configured minio setup-USE_MINIO=1-# Nginx Configuration-NGINX_PORT=80-# Email redirections and minio domain settings-WEB_URL="http://localhost"-# Gunicorn Workers-GUNICORN_WORKERS=2-# Base URLs-ADMIN_BASE_URL=-SPACE_BASE_URL=-APP_BASE_URL=-SECRET_KEY="gxoytl7dmnc1y37zahah820z5iq3iozu38cnfjtu3yaau9cd9z"-# RabbitMQ Settings-RABBITMQ_HOST="plane-mq"-RABBITMQ_PORT="5672"-RABBITMQ_USER="plane"-RABBITMQ_PASSWORD="plane"-RABBITMQ_VHOST="plane"-AMQP_URL=""-# Authentication Settings-ENABLE_SIGNUP=1-ENABLE_EMAIL_PASSWORD=1-ENABLE_MAGIC_LINK_LOGIN=0-```diff --git a/app.json b/app.jsondeleted file mode 100644index 6b1ab75288..0000000000--- a/app.json+++ /dev/null@@ -1,73 +0,0 @@-{- "name": "Plane",- "description": "Plane helps you track your issues, epics, and product roadmaps.",- "repository": "http://github.com/makeplane/plane",- "logo": "https://avatars.githubusercontent.com/u/115727700?s=200&v=4",- "website": "https://plane.so/",- "success_url": "/",- "stack": "heroku-22",- "keywords": ["plane", "project management", "django", "next"],- "addons": ["heroku-postgresql:mini", "heroku-redis:mini"],- "buildpacks": [- {- "url": "https://github.com/heroku/heroku-buildpack-python.git"- },- {- "url": "https://github.com/heroku/heroku-buildpack-nodejs#v176"- }- ],- "env": {- "EMAIL_HOST": {- "description": "Email host to send emails from",- "value": ""- },- "EMAIL_HOST_USER": {- "description": "Email host to send emails from",- "value": ""- },- "EMAIL_HOST_PASSWORD": {- "description": "Email host to send emails from",- "value": ""- },- "EMAIL_FROM": {- "description": "Email Sender",- "value": ""- },- "EMAIL_PORT": {- "description": "The default Email PORT to use",- "value": "587"- },- "AWS_REGION": {- "description": "AWS Region to use for S3",- "value": "false"- },- "AWS_ACCESS_KEY_ID": {- "description": "AWS Access Key ID to use for S3",- "value": ""- },- "AWS_SECRET_ACCESS_KEY": {- "description": "AWS Secret Access Key to use for S3",- "value": ""- },- "AWS_S3_BUCKET_NAME": {- "description": "AWS Bucket Name to use for S3",- "value": ""- },- "WEB_URL": {- "description": "Web URL for Plane this will be used for redirections in the emails",- "value": ""- },- "GITHUB_CLIENT_SECRET": {- "description": "GitHub Client Secret",- "value": ""- },- "NEXT_PUBLIC_API_BASE_URL": {- "description": "Next Public API Base URL",- "value": ""- },- "SECRET_KEY": {- "description": "Django Secret Key",- "value": ""- }- }-}diff --git a/apps/server/back_migration.py b/apps/server/back_migration.pydeleted file mode 100644index 69eb2f1df6..0000000000--- a/apps/server/back_migration.py+++ /dev/null@@ -1,224 +0,0 @@-# All the python scripts that are used for back migrations-import uuid-import random-from django.contrib.auth.hashers import make_password-from plane.db.models import ProjectIdentifier-from plane.db.models import (- Issue,- IssueComment,- User,- Project,- ProjectMember,- Label,- Integration,-)---# Update description and description html values for old descriptions-def update_description():- try:- issues = Issue.objects.all()- updated_issues = []-- for issue in issues:- issue.description_html = f"<p>{issue.description}</p>"- issue.description_stripped = issue.description- updated_issues.append(issue)-- Issue.objects.bulk_update(- updated_issues, ["description_html", "description_stripped"], batch_size=100- )- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_comments():- try:- issue_comments = IssueComment.objects.all()- updated_issue_comments = []-- for issue_comment in issue_comments:- issue_comment.comment_html = f"<p>{issue_comment.comment_stripped}</p>"- updated_issue_comments.append(issue_comment)-- IssueComment.objects.bulk_update(- updated_issue_comments, ["comment_html"], batch_size=100- )- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_project_identifiers():- try:- project_identifiers = ProjectIdentifier.objects.filter(- workspace_id=None- ).select_related("project", "project__workspace")- updated_identifiers = []-- for identifier in project_identifiers:- identifier.workspace_id = identifier.project.workspace_id- updated_identifiers.append(identifier)-- ProjectIdentifier.objects.bulk_update(- updated_identifiers, ["workspace_id"], batch_size=50- )- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_user_empty_password():- try:- users = User.objects.filter(password="")- updated_users = []-- for user in users:- user.password = make_password(uuid.uuid4().hex)- user.is_password_autoset = True- updated_users.append(user)-- User.objects.bulk_update(updated_users, ["password"], batch_size=50)- print("Success")-- except Exception as e:- print(e)- print("Failed")---def updated_issue_sort_order():- try:- issues = Issue.objects.all()- updated_issues = []-- for issue in issues:- issue.sort_order = issue.sequence_id * random.randint(100, 500)- updated_issues.append(issue)-- Issue.objects.bulk_update(updated_issues, ["sort_order"], batch_size=100)- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_project_cover_images():- try:- project_cover_images = [- "https://images.unsplash.com/photo-1677432658720-3d84f9d657b4?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1661107564401-57497d8fe86f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1332&q=80",- "https://images.unsplash.com/photo-1677352241429-dc90cfc7a623?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1332&q=80",- "https://images.unsplash.com/photo-1677196728306-eeafea692454?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1331&q=80",- "https://images.unsplash.com/photo-1660902179734-c94c944f7830?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1255&q=80",- "https://images.unsplash.com/photo-1672243775941-10d763d9adef?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1677040628614-53936ff66632?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1676920410907-8d5f8dd4b5ba?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1332&q=80",- "https://images.unsplash.com/photo-1676846328604-ce831c481346?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1155&q=80",- "https://images.unsplash.com/photo-1676744843212-09b7e64c3a05?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1676798531090-1608bedeac7b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1597088758740-56fd7ec8a3f0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1169&q=80",- "https://images.unsplash.com/photo-1676638392418-80aad7c87b96?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80",- "https://images.unsplash.com/photo-1649639194967-2fec0b4ea7bc?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1675883086902-b453b3f8146e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=774&q=80",- "https://images.unsplash.com/photo-1675887057159-40fca28fdc5d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1173&q=80",- "https://images.unsplash.com/photo-1675373980203-f84c5a672aa5?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1675191475318-d2bf6bad1200?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1332&q=80",- "https://images.unsplash.com/photo-1675456230532-2194d0c4bcc0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80",- "https://images.unsplash.com/photo-1675371788315-60fa0ef48267?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1332&q=80",- ]-- projects = Project.objects.all()- updated_projects = []- for project in projects:- project.cover_image = project_cover_images[random.randint(0, 19)]- updated_projects.append(project)-- Project.objects.bulk_update(updated_projects, ["cover_image"], batch_size=100)- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_user_view_property():- try:- project_members = ProjectMember.objects.all()- updated_project_members = []- for project_member in project_members:- project_member.default_props = {- "filters": {"type": None},- "orderBy": "-created_at",- "collapsed": True,- "issueView": "list",- "filterIssue": None,- "groupByProperty": None,- "showEmptyGroups": True,- }- updated_project_members.append(project_member)-- ProjectMember.objects.bulk_update(- updated_project_members, ["default_props"], batch_size=100- )- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_label_color():- try:- labels = Label.objects.filter(color="")- updated_labels = []- for label in labels:- label.color = f"#{random.randint(0, 0xFFFFFF+1):06X}"- updated_labels.append(label)-- Label.objects.bulk_update(updated_labels, ["color"], batch_size=100)- print("Success")- except Exception as e:- print(e)- print("Failed")---def create_slack_integration():- try:- _ = Integration.objects.create(provider="slack", network=2, title="Slack")- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_integration_verified():- try:- integrations = Integration.objects.all()- updated_integrations = []- for integration in integrations:- integration.verified = True- updated_integrations.append(integration)-- Integration.objects.bulk_update(- updated_integrations, ["verified"], batch_size=10- )- print("Success")- except Exception as e:- print(e)- print("Failed")---def update_start_date():- try:- issues = Issue.objects.filter(state__group__in=["started", "completed"])- updated_issues = []- for issue in issues:- issue.start_date = issue.created_at.date()- updated_issues.append(issue)- Issue.objects.bulk_update(updated_issues, ["start_date"], batch_size=500)- print("Success")- except Exception as e:- print(e)- print("Failed")diff --git a/start.sh b/start.shdeleted file mode 100644index 2685c38265..0000000000--- a/start.sh+++ /dev/null@@ -1,5 +0,0 @@-#!/bin/sh-set -x--echo "Starting Plane Frontend.."-node $1