Skip to content

Commit

Permalink
update to the latest develop (#1)
Browse files Browse the repository at this point in the history
* Update README.md (makeplane#1189)

change in readme of docker-compose

* Revert "Update README.md (makeplane#1189)" (makeplane#1193)

This reverts commit 37442f4.

* fix: workspace member role update (makeplane#1203)

* chore: update docker uploads (makeplane#1202)

* fix: issue search for blocking and blocked_by condition (makeplane#1182)

* fix: issue search for blocking and blocked_by condition

* fix: issue search endpoint blockers

* fix: rectify the filter parameters

* fix: minio settings (makeplane#1172)

* feat: plane proxy setup (makeplane#1181)

* feat: plane proxy setup

* dev: remove port mapping from web, api and minio containers

* fix: project member role update (makeplane#1205)

* fix: user public authentication workflow updates (makeplane#1207)

* auth integration fixes

* auth integration fixes

* auth integration fixes

* auth integration fixes

* dev: update user api to return fallback workspace and improve the structure of the response

* dev: fix the issue keyerror and move onboarding logic to serializer method field

* dev: use-user-auth hook imlemented for route access validation and build issues resolved effected by user payload

* fix: global theme color fix

* style: new onboarding ui , fix: use-user-auth hook implemented

* fix: command palette, project invite modal and issue detail page mutation type fix

* fix: onboarding redirection fix

* dev: build isuue resolved

* fix: use user auth hook fix

* fix: sign in toast alert fix, sign out redirection fix and user theme error fix

* fix: user response fix

* fix: unAuthorizedStatus logic updated

* dev: Implemented SEO in app.tsx

* dev: User public auth workflow updates.

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: anmolsinghbhatia <anmolsinghbhatia@caravel.tech>

* fix: email tls when selfhosting (makeplane#1206)

* chore: move minio endpoint url to environment configuration (makeplane#1210)

* chore: reset password url (makeplane#1220)

* chore: reset password url

* dev: update password reset endpoint

* dev: update reset password url

* fix: file upload size limit (makeplane#1218)

* chore: workspace invite created detail (makeplane#1209)

* chore: workspace invite created detail

* dev: select related workspace member invite list

* fix: bug and auth fixes (makeplane#1224)

* fix: sign in and invitation page fixes

* fix: project and workspace services track event fix

* fix: user onboarding complete track event fix

* fix: issue track event fix

* fix: partial property , issue comment and mark as done issue track event fix

* fix: bulk delete , move to cycle or module and issue label track event fix

* fix: state , cycle and module track event fix

* fix: pages and block track event fix

* fix: integration , estimate , importer , analytics and gpt track event fix

* fix: view track event fix

* fix: build fix

* fix: build fix

* feat: reset password page for self-hosted added (makeplane#1221)

* feat: reset password page for self-hosted added

* chore: change reset password workflow

* dev: update email template for reset password

* chore: updated restricted workspace slugs list

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>

* chore: replace nextjs Image element (makeplane#1227)

* fix: onboarding ui fix (makeplane#1225)

* fix: forgot password email subject and update template (makeplane#1233)

* fix: file asset uploads in workspace (makeplane#1234)

* Improve apk usages in Dockerfile (makeplane#1198)

* fix: last workspace id (makeplane#1237)

* dev: route validation on non authenticated pages (makeplane#1238)

* fix: assignee dropdown, sign in button, and onboarding flicker fix (makeplane#1242)

* chore: fetch only high priority issues for the active cycle (makeplane#1228)

* fix: user profile data mutation (makeplane#1243)

* fix: workspace and project member user deletion (makeplane#1241)

* fix: workspace and project member user deletion

* fix: workspace member deletion

* dev: add comments

* chore: update workspace invitation email redirection url (makeplane#1236)

* chore: update workspace invitation email redirection url

* dev: update workspace invitation mail

* chore: update remove file function logic (makeplane#1259)

* chore: update remove file function logic

* fix: workspace file delete endpoint

* fix: social auth authentication workflow (makeplane#1264)

* fix: github login mutation

* dev: updated social auth workflow and handled multiple loads on user

* dev: mutaing user and updated analytics logout issue resolved

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>

* dev: upgrade python runtime (makeplane#1256)

* chore: onboarding workflow in authentication (makeplane#1281)

* refactor: onboarding workflow (makeplane#1286)

* chore: onboarding steps workflow verification

* chore: onboarding variable update

* refactor: onboarding user role validation (makeplane#1287)

* chore: updating last_workspace_id under user (makeplane#1289)

* chore: onboarding steps workflow verification

* chore: onboarding onboarding variable update

* chore: role check in onboarding

* chore: updated last_workspace_id under user

* chore: auth workflow in magic-link (makeplane#1292)

* chore: enable/disable signup in self hosted environments (makeplane#1271)

* dev: new onboarding workflow for self hosted instance

* dev: additional flag on user creation

* dev: segregate sign up and sign in endpoint

* dev: update sign in endpoint for not existing users

* chore: project list endpoint to show is_member status (makeplane#1166)

* fix: email ssl setting for docker environment (makeplane#1299)

* feat: inbox (makeplane#1023)

* dev: initialize inbox

* dev: inbox and inbox issues models, views and serializers

* dev: issue object filter for inbox

* dev: filter for search issues

* dev: inbox snooze and duplicates

* dev: set duplicate to null by default

* feat: inbox ui and services

* feat: project detail in inbox

* style: layout, popover, icons, sidebar

* dev: default inbox for project and pending issues count

* dev: fix exception when creating default inbox

* fix: empty state for inbox

* dev: auto issue state updation when rejected or marked duplicate

* fix: inbox update status

* fix: hydrating chose with old values

filters workflow

* feat: inbox issue filtering

* fix: issue inbox filtering

* feat: filter inbox issues

* refactor: analytics, border colors

* dev: filters and views for inbox

* dev: source for inboxissue and update list inbox issue

* dev: update list endpoint to house filters and additional data

* dev: bridge id for list

* dev: remove print logs

* dev: update inbox issue workflow

* dev: add description_html in issue details

* fix: inbox track event auth, chore: inbox issue action authorization

* fix: removed unnecessary api calls

* style: viewed issues

* fix: priority validation

* dev: remove print logs

* dev: update issue inbox update workflow

* chore: added inbox view context

* fix: type errors

* fix: build errors and warnings

* dev: update issue inbox workflow and log all the changes

* fix: filters logic, sidebar fields to show

* dev: update issue filtering status

* chore: update create inbox issue modal, fix: mutation issues

* dev: update issue accept workflow

* chore: add comment to inbox issues

* chore: remove inboxIssueId from url after deleting

* dev: update the issue triage workflow

* fix: mutation after issue status change

* chore: issue details sidebar divider

* fix: issue activity for inbox issues

* dev: update inbox perrmissions

* dev: create new permission layer

* chore: auth layer for inbox

* chore: show accepting status

* chore: show issue status at the top of issue details

---------

Co-authored-by: Dakshesh Jain <dakshesh.jain14@gmail.com>
Co-authored-by: gurusainath <gurusainath007@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>

* chore: add labels data in cycles (makeplane#1223)

* dev: add labels data for all cycles

* dev: add assignees and labels percentage

* dev: initial peice on cycle burn down chart

* dev: cycles burn down chat

* chore: update docker setup to mount env file (makeplane#1270)

* fix: member invite (makeplane#1303)

* fix: member invite

* dev: fix integer errors

* dev: workspace issue count (makeplane#1298)

* chore: link and attachment count for cycles and modules (makeplane#1307)

* feat: sign up page added (makeplane#1306)

* fix: lower role user cannot invite higher role user (makeplane#1302)

* 馃敤 updated missing migration file (makeplane#1321)

Co-authored-by: saitharunsai <sai.tharun@livehealth.in>

* chore: change charts library (makeplane#1305)

* fix: dashboard charts

* fix: cycles new charts

* chore: sidebar burn down chart and calendar graph

* chore: update dashboard line and pie graph

* chore: update axes width of burndown chart

---------

Co-authored-by: Dakshesh Jain <dakshesh.jain14@gmail.com>

* LICENSE change for Plane

* fix: issue details page auth (makeplane#1331)

* chore: added DEBUG value for docker setup (makeplane#1327)

* chore: add DEBUG value for docker setup

* refactor: removed the extra DEFAULT value

* fix: importer delete when imported_data is None (makeplane#1328)

* chore: add assignee avatar and minor refactor on cycles list and retrieve endpoint (makeplane#1320)

* remove: time line issues (makeplane#1316)

* remove: shortcut module (makeplane#1315)

* fix: inbox issue activity (makeplane#1310)

* chore: toggle sub issue view and sub issue count in sub issues (makeplane#1312)

* chore: add assignee, label and burndown plot in module details (makeplane#1313)

* chore: add assignee, label and burndown plot in module details

* dev: fix typo and key error

* dev: add avatar in module retrieve

* chore: update issue search for cycle and modules (makeplane#1314)

* chore: update issue search for cycle and modules

* dev: return state name, group and color in search

* dev: sub issue search

* chore: update cycle and module stats logic (makeplane#1323)

* refactor: cycles stats

* chore: show assignee avatar in stats

* chore: cycles and modules sidebar stats refactor

* fix: build errors

* fix: inbox mutation fixes (makeplane#1324)

* chore: inbox status update mutation

* fix: inbox issue activity mutation

* refactor: code structure

* chore: snoozed status message

* chore: disable older dates for snoozing

* chore: extend snooze time

* chore: hide copy link from inbox

* chore: show inbox applied filters list (makeplane#1334)

* chore: decline issue mutation (makeplane#1354)

* fix: clear inbox status filter button (makeplane#1355)

* chore: link and attachment count in sub issues (makeplane#1352)

* chore: inbox issue permissions (makeplane#1341)

* chore: inbox issue permissions

* dev: update delete endpoint

* chore: enable print logs for background workers when in DEBUG mode (makeplane#1357)

* chore: updated user onboarded response (makeplane#1365)

* chore: set sentry dsn from environment variable (makeplane#1366)

* chore: set sentry dsn from env variable for backend and worker

* dev: sentry dsn for docker compose hub file

* fix: create new issue when grouped by label (makeplane#1308)

* style: profile settings, activity, preference page padding (makeplane#1335)

* fix: cycle stats empty state (makeplane#1338)

* chore: active cycle percentage fix

* fix: progress chart x-axis values

* fix: issue title breaking in issue card (makeplane#1339)

* fix: description not loading while editing an issue (makeplane#1349)

* fix: bulk delete issues mutation (makeplane#1351)

* chore: info icon for activity graph (makeplane#1353)

* feat: search endpoint (makeplane#1317)

* feat: search endpoint for parent issue selection

* feat: blocker and blocked by search endpoint

* refactor: blocker and blocked by components and types

* refactor: blocker and blocked by components, feeat: cycle and module new search endpoints

* chore: sub-issues param change

* style: show selected issues list

* chore: route to issue after creating it (makeplane#1359)

* chore: navigate to newly created inbox issue

* refactor: inbox

* fix: hide ai modal after issue creation

* chore: hide action buttons after acting upon them

* chore: add icon to inbox status

* chore: update inbox status colors

* refactor: inbox issues (makeplane#1370)

* refactor: inbox issue endpoints

* dev: update inbox issues endpooint

* chore: inbox issue ordering (makeplane#1367)

* feat: spreadsheet view (makeplane#1369)

* feat: spreadsheet view

* fix: fix scroll and overflow issues, feat: updated issue properties component, style: ui improvements

* feat: sub-issue toggle and sub-issue hook added, chore: code refactor

* fix: only render parent issue

* feat: sub issue fetching hook updated and nested sub issue added, chore: code refactor

* style: title sticky to left on scroll and column styling

* fix: tooltip , filter and view z-index fix

* feat: spreadsheet view column sorting, fix: sticky scroll issue fix

* feat: updated issue view filter for spreadsheet view

* style: spreadsheet view column

* feat: double click to edit title

* fix: estimate sorting fix

* style: spreadsheet view columns

* fix: spreadsheet view mutation, feat: edit , copy and delete option added

* fix: edit sub issue fix

* chore: triage state filtering (makeplane#1372)

* fix: inbox issue update (makeplane#1373)

* fix: auth error messages (makeplane#1376)

* fix: onboarding tracker (makeplane#1360)

* fix: update task for ai requests (makeplane#1368)

* fix: words breaking abruptly (makeplane#1371)

* chore: show error messages from request (makeplane#1375)

* chore: accept issue confirmation modal (makeplane#1377)

* chore: accept issue confirmation modal

* chore: add inbox option to the command menu

* fix: status colors not loading

* chore: show state name on the inbox issue sidebar

* feat: spreadsheet view improvements (makeplane#1379)

* feat: quick menu for spreadsheet view added ,style: spreadsheet view column updated ,fix: z-index issue

* feat: sorting indicator, style: spreadsheet column

* fix: state and priority ordering (makeplane#1378)

* fix: progress chart to show ideal line only when data is present (makeplane#1384)

* fix: spreadsheet view bug fixes (makeplane#1383)

* fix: due date sorting fix

* fix: update and delete sub-issue fix

* fix: spreadsheet bug fixes (makeplane#1385)

* fix: sub issue accordion fix

* chore: assignees sort order updated

* fix: issue duplication when ordering by labels and assignee (makeplane#1388)

* feat: editable label option added in all view , fix: view page list and kanban view mutation fix, chore: code refactor (makeplane#1390)

* feat: editable label select component added in spreadsheet view

* feat: editable label select option added in all view, chore: code refactor

* fix: view page list and kanban view mutation fix and sub issue mutation, chore: refactor partial update issue function

* fix: build fix

* fix: sidebar toggle button on workspace dashboard (makeplane#1389)

* fix: bug fixes (makeplane#1394)

* fix: multi level dropdown fix

* style: spreadsheet view add issue button

* fix: spreadsheet view sub-issue label mutation

* fix: create issue modal not working on workspace level (makeplane#1393)

* chore: add tooltip to line graphs (makeplane#1392)

* chore: workspace dashboard line graph tooltip

* chore: burndown chart and analytics line graph tooltip added

* fix: priority filtering (makeplane#1398)

* feat: add existing issue option added in spreadsheet view (makeplane#1397)

* fix: filter none updated (makeplane#1399)

* fix: cannot change the state if it's the only state in group  (makeplane#1358)

* fixed loohole with groups and added tooltip

* muted text when dropdown disabled

* fix: spreadsheet quick action menu fix (makeplane#1404)

* fix: resolve z-index issue with quick action menu and disable it for completed cycles (makeplane#1405)

* fixL inbox status colors (makeplane#1408)

* fix: priority none filter (makeplane#1407)

* fix: progress chart x-axis values (makeplane#1409)

* fix: x-axis dates value in the progress chart

* chore: loader for active cycle

* Update README.md (makeplane#1411)

Edited the security email.

* fix: github importer issue (makeplane#1414)

* dev: migrations for removal of timelineissues and shortcut (makeplane#1417)

* style: issue detail page layout (makeplane#1424)

* style: adjust tooltip position and spacing in workspace id and title in spreadsheet (makeplane#1420)

* fix: charts design and mutation (makeplane#1426)

* fix: pie chart overlap issue

* fix: burndown chart mutation

* fix: burndown chart mutation

* docs: update readme.md for self hosting setup and remove pnpm from contribution guidelines (makeplane#1423)

* Add network timeout option to yarn install (makeplane#1382)

Inside of the Dockerfile.web, the yarn install command is susceptible to encountering a ECONNECT timeout error on aarch64 and ARM devices (such as a raspberry pi). This explicit overwrite of the default network timeout extends the window for low power CPU devices.

* chore: Dry up docker compose environment variables (makeplane#1438)

* chore: Use docker compose extensions to dry up duplicate environment
variables between worker and api services.
See: https://docs.docker.com/compose/compose-file/11-extension/

* dev: update packages to latest version (makeplane#1431)

---------

Co-authored-by: tarunratan <tarunratan6@gmail.com>
Co-authored-by: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com>
Co-authored-by: guru_sainath <gurusainath007@gmail.com>
Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
Co-authored-by: anmolsinghbhatia <anmolsinghbhatia@caravel.tech>
Co-authored-by: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com>
Co-authored-by: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com>
Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
Co-authored-by: Vamsi Kurama <vamsi.kurama@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: Dakshesh Jain <dakshesh.jain14@gmail.com>
Co-authored-by: Sai Tharun <65693649+saitharunsai@users.noreply.github.com>
Co-authored-by: saitharunsai <sai.tharun@livehealth.in>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
Co-authored-by: M. Palanikannan <73993394+Palanikannan1437@users.noreply.github.com>
Co-authored-by: Rhea Jain <65884341+rhea0110@users.noreply.github.com>
Co-authored-by: tajkirkpatrick <50558516+tajkirkpatrick@users.noreply.github.com>
Co-authored-by: Mark Percival <m@mdp.im>
  • Loading branch information
20 people committed Jul 1, 2023
1 parent c234f2a commit 7da6376
Show file tree
Hide file tree
Showing 301 changed files with 11,696 additions and 5,100 deletions.
18 changes: 18 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,38 @@ 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=""
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
EMAIL_PORT=587
EMAIL_FROM="Team Plane <team@mailer.plane.so>"
EMAIL_USE_TLS="1"
EMAIL_USE_SSL="0"

# 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
Expand All @@ -53,6 +67,8 @@ GITHUB_CLIENT_SECRET="" # For fetching release notes

# Settings related to Docker
DOCKERIZED=1
# set to 1 If using the pre-configured minio setup
USE_MINIO=1

# Nginx Configuration
NGINX_PORT=80
Expand All @@ -61,4 +77,6 @@ NGINX_PORT=80
DEFAULT_EMAIL="captain@plane.so"
DEFAULT_PASSWORD="password123"

# SignUps
ENABLE_SIGNUP="1"
# Auto generated and Required that will be generated from setup.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ yarn-error.log*

## Django ##
venv
.venv
*.pyc
staticfiles
mediafiles
Expand Down
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ You can open a new issue with this [issue form](https://github.com/makeplane/pla
- Python version 3.8+
- Postgres version v14
- Redis version v6.2.7
- pnpm version 7.22.0

### Setup the project

Expand Down
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM node:18-alpine AS builder
RUN apk add --no-cache libc6-compat
RUN apk update
# Set working directory
WORKDIR /app
ENV NEXT_PUBLIC_API_BASE_URL=http://NEXT_PUBLIC_API_BASE_URL_PLACEHOLDER
Expand All @@ -14,7 +13,6 @@ RUN turbo prune --scope=app --docker
FROM node:18-alpine AS installer

RUN apk add --no-cache libc6-compat
RUN apk update
WORKDIR /app
ARG NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
# First install the dependencies (as they change less often)
Expand Down Expand Up @@ -48,7 +46,7 @@ ENV DOCKERIZED 1

WORKDIR /code

RUN apk --update --no-cache add \
RUN apk --no-cache add \
"libpq~=15" \
"libxslt~=1.1" \
"nodejs-current~=19" \
Expand All @@ -60,8 +58,8 @@ RUN apk --update --no-cache add \

COPY apiserver/requirements.txt ./
COPY apiserver/requirements ./requirements
RUN apk add libffi-dev
RUN apk --update --no-cache --virtual .build-deps add \
RUN apk add --no-cache libffi-dev
RUN apk add --no-cache --virtual .build-deps \
"bash~=5.2" \
"g++~=12.2" \
"gcc~=12.2" \
Expand All @@ -82,7 +80,7 @@ COPY apiserver/plane plane/
COPY apiserver/templates templates/

COPY apiserver/gunicorn.config.py ./
RUN apk --update --no-cache add "bash~=5.2"
RUN apk --no-cache add "bash~=5.2"
COPY apiserver/bin ./bin/

RUN chmod +x ./bin/takeoff ./bin/worker
Expand Down

0 comments on commit 7da6376

Please sign in to comment.