Commit Graph

278 Commits

Author SHA1 Message Date
pablohashescobar
9064709d5d
feat: user activities endpoint (#590) 2023-03-30 01:25:55 +05:30
pablohashescobar
6d8eda9814
chore: update API endpoints for analytics (#574)
* chore: return workspace details on project create and update

* chore: update endpoints to return workspace and project details

---------

Co-authored-by: Vamsi Kurama <vamsi.kurama@gmail.com>
2023-03-30 01:25:32 +05:30
pablohashescobar
7eaec16381
chore: add cycle id and module id in issues list endpoint (#586) 2023-03-30 01:25:16 +05:30
pablohashescobar
d7ed237f78
feat: add API limit for AI assistance (#592) 2023-03-30 01:23:56 +05:30
pablohashescobar
1255f4756d fix: uuid serilaizable error 2023-03-29 16:25:06 +05:30
pablohashescobar
3ba9cddc2a chore: add user id when logging for analytics 2023-03-29 16:15:11 +05:30
pablohashescobar
628591854d
fix: search endpoint to return distint results (#566)
Co-authored-by: Vamsi Kurama <vamsi.kurama@gmail.com>
2023-03-29 00:23:35 +05:30
pablohashescobar
05e9c0f76f
fix: cycle validation for completed cycles (#559) 2023-03-29 00:23:16 +05:30
pablohashescobar
3bebcc4714
chore: return gpt response in html (#555)
* chore: return gpt response in html

* chore: update the response br
2023-03-29 00:23:02 +05:30
pablohashescobar
d16d32cea8
feat: move issues from one cycle to another (#554)
* feat: move issues from one cycle to another

* fix: push method when updating

* fix: new cycle completed validation
2023-03-29 00:22:48 +05:30
dependabot[bot]
d9f31a1eb7
chore(deps): bump redis from 4.4.2 to 4.5.3 in /apiserver/requirements (#556)
Bumps [redis](https://github.com/redis/redis-py) from 4.4.2 to 4.5.3.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.4.2...v4.5.3)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 03:41:58 +05:30
pablohashescobar
a06d59f77d
feat: sync flag for syncing issues with page blocks (#547) 2023-03-28 01:52:46 +05:30
pablohashescobar
722a053461
fix: date for earlier this week (#540) 2023-03-28 01:52:34 +05:30
pablohashescobar
d6818e74fd
feat: page view toggle in project settings (#536) 2023-03-28 01:52:21 +05:30
pablohashescobar
a5a96d9f66
fix: add slack sdk in requirements file (#546) 2023-03-28 00:33:14 +05:30
pablohashescobar
691ea0c080
feat: slack bot setup (#545) 2023-03-27 23:37:00 +05:30
pablohashescobar
8bd557a743
feat: gzip compressor for performance upgrades (#538) 2023-03-27 23:36:13 +05:30
pablohashescobar
35b80b422d
fix: gpt task and prompt (#537) 2023-03-27 23:36:00 +05:30
pablohashescobar
d6ffc3176e
fix: global search endpoint to show entities within projects and add filtering through identifiers (#543) 2023-03-27 23:34:04 +05:30
pablohashescobar
52d4828e1d
fix: issue filters for start date and target date (#530) 2023-03-25 23:57:31 +05:30
pablohashescobar
c5baa6183c
fix: pages endpoint for dates and access (#531)
* fix: pages endpoint for dates and access

* fix: recent pages endpoint

* fix: recent pages endpoint

* fix: date object in recent pages endpoint

* dev: update nomenclature
2023-03-25 23:57:16 +05:30
pablohashescobar
69387ffd8c
fix: page labels update (#532) 2023-03-25 23:57:06 +05:30
pablohashescobar
32ab7951f7
perf: update issue serializer (#534) 2023-03-25 23:56:53 +05:30
pablohashescobar
578d724e41
feat: global search endpoint for workspace (#529) 2023-03-25 11:16:33 +05:30
pablohashescobar
a3a792741f
feat: GPT integration (#526)
* feat: GPT integration

* dev: move engine value to env variable
2023-03-25 11:14:26 +05:30
pablohashescobar
31624f3ae6
fix: start date and target date issue filter (#525) 2023-03-25 11:14:16 +05:30
pablohashescobar
5152deb2d0
fix: model ordering (#521)
* fix: model ordering

* fix: my pages and create by others pages
2023-03-25 11:14:05 +05:30
pablohashescobar
c6ba93da72
fix: dashboard issues filters (#519)
* fix: upcoming issues filters

* dev: update dashboard endpoint to return correct month
2023-03-25 11:13:14 +05:30
pablohashescobar
28b3c999ae
dev: update recent pages endpoint and return blocks on page listing (#517)
* dev: update recent pages endpoint and return blocks on page listing

* fix: yesterday's pages
2023-03-25 11:12:54 +05:30
pablohashescobar
6c6f9a5bfd
fix: dashboard endpoint for overdue and upcoming issues (#502)
* fix: dashboard endpoint for overdue and upcoming issues

* dev: update for upcoming issue to get target date null issues as well

* dev: update the filter
2023-03-24 00:13:48 +05:30
pablohashescobar
3056727190
dev: endpoints for my, other, recent and favorite pages, add sort order and color for pages (#499)
* dev: endpoints for my, other, recent and favorite pages, add sort order and color for pages

* dev: fix state attribute error while saving page blocks
2023-03-24 00:13:26 +05:30
pablohashescobar
053ae2063e
fix: issue filtering keyerror (#494) 2023-03-24 00:13:05 +05:30
pablohashescobar
2501c819d3
fix: keyerror on comment create and update (#492) 2023-03-24 00:12:56 +05:30
pablohashescobar
4e3c9397ea
feat: page labels and favorites (#487)
* dev: initiate page labels

* dev: page labels

* dev: my pages endpoint
2023-03-22 23:41:30 +05:30
pablohashescobar
27b1308227
fix: file asset uploading and deleting (#496) 2023-03-22 23:38:47 +05:30
vamsi
818d1147d5 dev: new migrations for added fields and introducing Pages 2023-03-22 01:39:53 +05:30
pablohashescobar
c4594bff01
feat: cycles and modules issues state group percentages (#484)
* dev: state group issue percentage on cycle list

* dev: add issue percentage fields for modules and query updates on cycle apis
2023-03-22 01:36:52 +05:30
pablohashescobar
5e81600e38
feat: jira issue importer (#476)
* dev: initialize jira importer

* dev: create service import for jira

* dev: update task to create all users for project and workspace and also create assignees when importing bulk assignees

* dev: create bulk modules import endpoint for jira epics

* dev: create bulk module issues when importing modules
2023-03-22 01:36:38 +05:30
pablohashescobar
846e73e3b8
feat: add issue filters for cycles and modules (#475) 2023-03-22 01:36:06 +05:30
pablohashescobar
4dc76eac19
fix: project url max length (#471) 2023-03-22 01:35:53 +05:30
pablohashescobar
f7dbc5e9c0
feat: page and page-blocks (#468)
* dev: initiate paper models

* feat: page and page-blocks

* dev: page id filter for page blocks
2023-03-22 01:34:10 +05:30
pablohashescobar
025c8b3835
feat: sub issue toggle (#464) 2023-03-22 01:33:56 +05:30
pablohashescobar
9339138c0e
feat: user workspace dashboard endpoint (#461)
* dev: initiate new dashboard endpoint

* fix: updated issue week for this count and pending issues

* dev: add try catch block

* dev: add exception

* dev: issue state distribution endpoint

* dev: move from state name to state group

* dev: add overdue issues and upcoming issues
2023-03-22 01:33:44 +05:30
pablohashescobar
a3bacbfef1
fix: workspace invitation datetime import (#456)
* chore: update the endpoint to return last 6 months data

* dev: add datetime import
2023-03-22 01:33:19 +05:30
pablohashescobar
698718aa8d
chore: rename analytics env variable keys (#455) 2023-03-22 01:33:06 +05:30
pablohashescobar
7fd775ab05
chore: update the endpoint to return last 6 months data (#453) 2023-03-22 01:32:51 +05:30
pablohashescobar
e5f8c94de8
feat: add flag for toggling issue views (#452) 2023-03-22 01:32:37 +05:30
pablohashescobar
350e183375
dev: update importer task to create user automatically and adding it to project and workspace (#467) 2023-03-17 22:57:10 +05:30
vamsi
8370511a66 dev: new migrations Importer, IssueView, IssueViewFavorite and a few alterations 2023-03-16 00:41:50 +05:30
pablohashescobar
836dc4027b
feat: jitsu events for sign in and sign up (#423)
* feat: jitsu events for sign in and sign up

* dev: update event data
2023-03-15 23:25:38 +05:30
pablohashescobar
88754e6fc0
dev: separate endpoints for workspace assets and user assets (#420) 2023-03-15 23:25:23 +05:30
pablohashescobar
b6ee197b40
feat: issue filter views (#418)
* dev: views initiated

* dev: refactor filtering logic

* dev: move state grouping filter to util function

* dev: view issues create endpoint and update on filters for time

* dev: rename views to issue views

* dev: rename in serilaizer and views

* dev: update issue filters

* dev: update filter

* feat: create issue favorites

* dev: update query keys

* dev: update create and update method
2023-03-15 23:25:09 +05:30
pablohashescobar
46f6b61928
refactor: grouper function to fix priority keys (#415) 2023-03-15 23:24:55 +05:30
pablohashescobar
5d8f2b6b75
feat: github importer (#425)
* dev: init github importer

* dev: add endpoint for creating import

* dev: create endpoint to bulk create issues

* dev: bulk issue importer

* dev: bulk create endpoints for labels and updates in issue bulk create endpoint to create labels and links

* dev: add comments in bluk create

* dev: status import endpoint and user invitaion workflow

* dev: initiate github repo sync

* dev: bulk issue sync endpoint and fix key issue in bg task

* dev: update endpoints for service imports

* dev: update labels logic

* dev: update importer task

* dev: bulk issue activities

* dev: update importer task for mapped users

* dev: update importer endpoint to send github token

* dev: update bulk import endpoint

* fix: workspace get query

* dev: update bulk import endpoints
2023-03-15 23:24:44 +05:30
pablohashescobar
d3ca8560fc
fix: project list ordering (#427) 2023-03-15 23:24:26 +05:30
pablohashescobar
ab9e0cf559
refactor: update response structure for cycle issue and module issues (#432) 2023-03-15 23:21:37 +05:30
pablohashescobar
c07cfee018
refactor: update favorites for project, cycle and module (#434)
* dev: refactor favorites

* dev: fix typo
2023-03-15 23:21:23 +05:30
pablohashescobar
ed8f0b8473
feat: user activity graph (#437)
* feat: user activity graph

* dev: issue completed and activity graph
2023-03-15 23:21:08 +05:30
pablohashescobar
0082a98d53
dev: add cycle date validation (#442) 2023-03-15 23:20:49 +05:30
pablohashescobar
d6aadb115d
refactor: users endpoint to return invites and assigned issues count (#449) 2023-03-15 23:20:31 +05:30
pablohashescobar
6de6522a41
chore: permissions for api endpoints (#419) 2023-03-11 23:51:06 +05:30
pablohashescobar
0416e07f46
refactor: self hosting setup (#411)
* merge-commit: self hosted updates

* dev: updates in self hosting setup

* dev: update script to get the instance IP

* dev: update script to generate backend secret key
2023-03-09 20:49:12 +05:30
pablohashescobar
cf72a187fe
fix: rename db host name for docker setup (#380) 2023-03-08 01:00:52 +05:30
pablohashescobar
2967fb1bee
dev: add back migration for project cover images (#381) 2023-03-08 01:00:34 +05:30
pablohashescobar
1a04eda613
fix: make api token only view once (#382) 2023-03-08 01:00:10 +05:30
pablohashescobar
0bd3e8ae95
fix: project member filter for bot accounts (#391) 2023-03-08 00:59:48 +05:30
vamsi
b54a1f221f dev: migrations added for ProjectFavorite, ModuleFavorite, CycleFavorite including a bunch of other attribs 2023-03-07 03:09:04 +05:30
pablohashescobar
d28fe930a6
feat: module favourites for user (#370) 2023-03-06 19:00:00 +05:30
pablohashescobar
cb8b6b43dc
feat: cycle favourites for user (#369)
* feat: cycle favourites for user

* chore: update nomenclature

* chore: update on nomenclature

* feat: add favorites for completed and current cycle endpoints
2023-03-06 18:59:47 +05:30
pablohashescobar
79d7b6fec3
feat: already exisiting url validation (#368) 2023-03-06 18:58:10 +05:30
pablohashescobar
39f54d8265
fix: cycle and module issue filtering (#363) 2023-03-06 18:57:58 +05:30
pablohashescobar
3d57edfcf8
fix: cycle date filtering for current and upcoming cycle (#357)
* fix: update filtering for completed cycles

* fix: filter updated for upcoming cycles
2023-03-06 18:57:46 +05:30
pablohashescobar
ae64b53cf3
feat: add cover image to project (#353) 2023-03-06 18:57:20 +05:30
pablohashescobar
689eaad0f0
feat: add project to favourites (#352)
* feat: add project to favourites

* feat: add project is_favourite attribute to list endpoints

* refactor: updated destroy endpoint to send project_id

* chore: nomenclature update
2023-03-06 18:57:07 +05:30
pablohashescobar
697e7f13b5
fix: module issue viewset typo (#349) 2023-03-06 18:56:53 +05:30
pablohashescobar
cee8a6a8cd
fix: workspace member listing endpoint (#348) 2023-03-06 18:56:41 +05:30
pablohashescobar
cecd025a78
feat: delete file assets from storage (#373) 2023-03-06 18:56:05 +05:30
pablohashescobar
3a81a6c186
feat: add endpoint for draft cycles and add validation for creating draft cycles (#355)
* feat: add endpoint for draft cycles and add validation for creating draft cycles

* fix: key error in cycle create endpoint
2023-03-06 18:45:20 +05:30
pablohashescobar
1b369feb6a
refactor: update links to different endpoints (#338) 2023-02-28 02:09:22 +05:30
pablohashescobar
7b4d7f12f5
fix: remove project slug (#340) 2023-02-28 02:09:09 +05:30
pablohashescobar
1255552ebe
refactor: create new endpoints for date checking getting current upcoming and past cycles (#343)
* refactor: create new endpoints for date checking getting current upcoming and past cycles

* refactor: rename endpoint to match consistency
2023-02-28 02:08:55 +05:30
pablohashescobar
1ff0970ed6
fix: remove bot accounts from list api (#344) 2023-02-28 02:08:34 +05:30
pablohashescobar
90b8d66946
fix: add pagination for github repositories endpoint (#345) 2023-02-28 02:08:17 +05:30
pablohashescobar
ec4332ea6b
feat: filtering for cycle and module issue and updated grouper function for grouping in modules and cycles (#342) 2023-02-27 15:32:15 +05:30
pablohashescobar
517600ac89
fix: add filter for workspace integrations (#325)
* fix: add filter for workspace integrations

* fix: update url for delete

* fix: remove github installation when deleted

* fix: delete old repos

* fix: add filter on repository endpoints
2023-02-23 23:56:48 +05:30
vamsi
702cfeb4ee dev: added new migrations 2023-02-23 01:04:44 +05:30
pablohashescobar
937222fdd4
feat: assignee and label details in cycle and module issues (#319) 2023-02-23 01:01:09 +05:30
pablohashescobar
a9802f816e
feat: github integration (#315)
* feat: initiate integrations

* feat: initiate github integration create models for the same

* feat: github integration views

* fix: update workspace integration view to create bot users

* refactor: rename repository model

* refactor: update github repo sync endpoint to create repo and sync in one go

* refactor: update issue activities to post the updates to segway hook

* refactor: update endpoints to get project id and add actor as a member of project in repo sync

* fix: make is bot as a read only field

* fix: remove github repo imports

* fix: url mapping

* feat: repo views

* refactor: update webhook request endpoint

* refactor: rename repositories table to github_repositories

* fix: workpace integration actor

* feat: label for github integration

* refactor: issue activity on create issue

* refactor: repo create endpoint and add db constraints for repo sync and issues

* feat: create api token on workpsace integration and avatar_url for integrations

* refactor: add uuid primary key for Audit model

* refactor: remove id from auditfield to maintain integrity and make avatar blank if none supplied

* feat: track comments on an issue

* feat: comment syncing from plane to github

* fix: prevent activities created by bot to be sent to webhook

* feat: github app installation id retrieve

* feat: github app installation id saved into db

* feat: installation_id for the github integragation and unique provider and project base integration for repo

* refactor: remove actor logic from activity task

* feat: saving github metadata using installation id in workspace integration table

* feat: github repositories endpoint

* feat: github and project repos synchronisation

* feat: delete issue and delete comment activity

* refactor: remove print logs

* FIX: reading env names for github app while installation

* refactor: update bot user firstname with title

* fix: add is_bot value in field

---------

Co-authored-by: venplane <venkatesh@plane.so>
2023-02-22 19:40:57 +05:30
pablohashescobar
f17ecd597b
Merge pull request #278 from makeplane/feat/multiple_sub_issues
feat: assign multiple sub issues
2023-02-21 23:52:33 +05:30
pablohashescobar
33ed2f6c35
Merge pull request #287 from makeplane/fix/state_ordering
fix: state ordering in group
2023-02-21 23:52:21 +05:30
pablohashescobar
a904c4a7de
Merge pull request #302 from makeplane/feat/issue_sorting_grouping
feat: updated issue grouping and filtering
2023-02-21 23:52:08 +05:30
pablohashescobar
71f9ae41f3
feat: created_by details for links (#313) 2023-02-21 23:50:54 +05:30
sriram veeraghanta
bdca84bd09
Feat: Dockerizing using nginx reverse proxy (#280)
* minor docker fixes

* eslint config changes

* dockerfile changes to backend and frontend

* oauth enabled env flag

* sentry enabled env flag

* build: get alternatives for environment variables and static file storage

* build: automatically generate random secret key if not provided

* build: update docker compose for next url env add channels to requirements for asgi server and save files in local machine for docker environment

* build: update nginx conf for backend base url update backend dockerfile to make way for static file uploads

* feat: create a default user with given values else default values

* chore: update docker python version and other dependency version in docker

* build: update local settings file to run it in docker

* fix: update script to run in default production setting

* fix: env variable changes and env setup shell script added

* Added Single Dockerfile to run the Entire plane application

* docs build fixes

---------

Co-authored-by: Narayana <narayana.vadapalli1996@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2023-02-21 11:31:43 +05:30
pablohashescobar
d50cc14972 fix: typo in model aggregation key 2023-02-18 18:21:42 +05:30
pablohashescobar
495ac0ca00 feat: improved grouper with grouping function 2023-02-18 15:43:47 +05:30
pablohashescobar
236c660cc7 feat: sort order during create 2023-02-18 12:35:42 +05:30
pablohashescobar
eba0f02aeb feat: back migration script to populate random sort_order values 2023-02-18 12:29:46 +05:30
pablohashescobar
2505417dbd feat: updated issue grouping and filtering 2023-02-18 12:22:17 +05:30
pablohashescobar
7c1f357bed
feat: issue links (#288)
* feat: links for issues

* fix: add issue link in serilaizer

* feat: links can be added to issues

---------

Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
2023-02-17 17:04:12 +05:30
dependabot[bot]
6ed5c05164
build(deps): bump django in /apiserver/requirements (#289)
Bumps [django](https://github.com/django/django) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.17...3.2.18)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 16:04:26 +05:30