Commit graph

56 commits

Author SHA1 Message Date
Nikhil
7249f84e18
dev: code improvements and minor performance upgrades (#2201)
* dev: remove len for empty comparison

* dev: using in instead of multiple ors

* dev: assign expression to empty variables

* dev: use f-string

* dev: remove list comprehension and use generators

* dev: remove assert from paginator

* dev: use is for identity comparison with singleton

* dev: remove unnecessary else statements

* dev: fix does not exists error for both project and workspace

* dev: remove reimports

* dev: iterate a dictionary

* dev: remove unused commented code

* dev: remove redefinition

* dev: remove unused imports

* dev: remove unused imports

* dev: remove unnecessary f strings

* dev: remove unused variables

* dev: use literal structure to create the data structure

* dev: add empty lines at the end of the file

* dev: remove user middleware

* dev: remove unnecessary default None
2023-11-01 20:35:06 +05:30
Nikhil
7edaa49c21
revert: issues endpoint (#2555) 2023-10-30 15:05:25 +05:30
Nikhil
55b2927a17
chore: total issues count for issue listing endpoint (#2534)
* chore: total issues count for issue listing endpoint

* dev: add print for DEBUG mode

* fix: changed assignees_list and label_list

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2023-10-27 15:30:28 +05:30
Bavisetti Narayan
0b79f8687e
refactor: exception handling (#2454)
* chore: implemented global exception handler

* dev: remove something went wrong

* chore: exception handling cleanup

* chore: changed the status code

* chore: added status 500 internal server error

---------

Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2023-10-17 14:38:06 +05:30
Nikhil
1fc5d2bd45
chore: api endpoints (#2407)
* refactor: folder structure for urls

* chore: deleted the urls file

* chore: proper naming for urls

* chore: reset password url

* dev: create refresh token endpoint and endpoint to get settings for user

* dev: workspace member me serializer

* dev: remove extra fields from project list and retrieve endpoints

* dev: update the project list endpoint with member details and deploy boolean

* dev: enable user favorite project endpoint and remove is_favorite from project list

* dev: analytics refactoring

* dev: revert is_favorite settings

* dev: create new serializer for project list and add pagination from projects

* dev: fix analytics api

* dev: module and cycle

* dev:  update error message, fix module analytics and add null check for labels

* dev: member serializer

* dev: dynamic base serializer

* dev: remove view issues endpoint

* dev: url pattern updates

* dev: add comments to delete this file

* dev: last workspace id

* dev: analytics export

* dev: export analytics validation

* dev: update python runtime

* dev: update notification endpoints

* dev: cycle and validation fix

* dev: issue activity validation when creating updating and deleting issue and comments

* dev: update issue activity logging for link and reactions

* dev: update module issue activity logging

* dev: update module issue activity

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2023-10-16 19:18:45 +05:30
Bavisetti Narayan
02060f654c
chore: added epoch in draft (#2244)
* chore: added epoch in draft

* chore: removed extra spaces
2023-09-22 16:32:53 +05:30
Nikhil
daa0b16960
fix: cycle and module stats when issues are archived (#2185)
* fix: cycle and module stats when issues are archived

* fix: added draft filter

---------

Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
2023-09-22 15:17:31 +05:30
Bavisetti Narayan
a6a0eb9774
chore: added epoch in issue activity (#2187) 2023-09-19 19:46:57 +05:30
Bavisetti Narayan
9033ceb03c
fix: sub groups in cycle module and my issues (#2176) 2023-09-13 19:50:34 +05:30
Nikhil
dc26e1ea50
chore: cycle update errors (#2070) 2023-09-04 14:37:29 +05:30
Nikhil
3a0d96a48d
chore: cycle endpoint to return display name as well in the assignee distribution (#2041)
* chore: cycle endpoint to return display name as well in the assignee distribution

* fix: value error
2023-09-01 11:21:34 +05:30
Nikhil
edaeae1b69
chore: sort order for cycle and modules (#1835) 2023-08-11 12:48:02 +05:30
Nikhil
085cd1960e
fix: project members endpoint email (#1804)
* fix: project members endpoint email

* dev: cycle and module assignee display name
2023-08-11 12:44:20 +05:30
Nikhil
c947a6dd64
fix: cycles n+1 (#1689) 2023-07-27 17:30:00 +05:30
Nikhil
68108c9fe9
fix: favorite permissions (#1549)
* chore: add triggered by details for notifications

* dev: update issue activity json to include extra fields

* dev: fix permissions for cycle and views
2023-07-18 15:09:18 +05:30
pablohashescobar
464c0f2308
chore: add assignee avatar and minor refactor on cycles list and retrieve endpoint (#1320) 2023-06-20 10:25:47 +05:30
pablohashescobar
6b1d20449b
chore: add labels data in cycles (#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
2023-06-16 18:57:49 +05:30
pablohashescobar
e9a0eb87cc
feat: inbox (#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>
2023-06-16 18:57:17 +05:30
pablohashescobar
e608b58e70
refactor: cycle views endpoint (#1128) 2023-05-25 12:24:39 +05:30
pablohashescobar
06618006c2
fix: cycle date check endpoint (#1074) 2023-05-19 13:00:38 +05:30
pablohashescobar
fb165d080e
feat: estimate points data in cycles list endpoint (#1015)
* feat: estimate points data in cycles list endpoint

* dev: prefetch for assignees

* dev: update sum for estimate points
2023-05-11 16:56:48 +05:30
pablohashescobar
fd96c54b43
fix: cycle date check endpoint for updation (#1006)
* fix: cycle date check endpoint for updation

* dev: update the cycle date check endpoint to exclude current cycle when updating
2023-05-05 15:13:22 +05:30
pablohashescobar
993cf3faba
chore: add assignee avatar in cycle endpoint (#996)
* chore: add assignee avatar in cycle endpoint

* dev: update the structure to return avatar and firstname

* dev: return distinct users

* dev: update the structure to return id

* dev: update the prefetch queryset to distinct by id

* dev: remove id from distinct

* dev: add unique condition
2023-05-05 15:13:03 +05:30
pablohashescobar
99fb3c9bfe
chore: log cycle delete and cycle issue delete activities (#975)
* chore: log cycle delete and cycle issue delete activities

* dev: remove print logs
2023-05-02 01:21:48 +05:30
pablohashescobar
6279a04267
feat: attachment and link count in issues list (#777) 2023-04-11 18:47:36 +05:30
pablohashescobar
62e736677a
fix: cycle date check endpoint (#748) 2023-04-10 10:58:32 +05:30
pablohashescobar
ec818a5523
refactor: move all background task from rqworker to celery (#668)
* refactor: move all background task from rqworker to celery

* dev: update background job to take input in parameters rather than a single dict

* dev: update procfile for new worker

* dev: docker updates for new celery worker
2023-04-06 22:56:36 +05:30
pablohashescobar
1d7b65ad83
fix: transfer issues endpoint (#620) 2023-03-30 18:58:23 +05:30
pablohashescobar
9c4fcca6c1
fix: ordering in queryset (#598) 2023-03-30 16:33:16 +05:30
pablohashescobar
6a40dd911f
fix: cycles date check for null and incomplete cycles endpoint (#580)
Co-authored-by: Vamsi Kurama <vamsi.kurama@gmail.com>
2023-03-30 01:26:14 +05:30
pablohashescobar
05e9c0f76f
fix: cycle validation for completed cycles (#559) 2023-03-29 00:23:16 +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
pablohashescobar
8bd557a743
feat: gzip compressor for performance upgrades (#538) 2023-03-27 23:36:13 +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
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
846e73e3b8
feat: add issue filters for cycles and modules (#475) 2023-03-22 01:36:06 +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
0082a98d53
dev: add cycle date validation (#442) 2023-03-15 23:20:49 +05:30
pablohashescobar
6de6522a41
chore: permissions for api endpoints (#419) 2023-03-11 23:51:06 +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
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
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
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
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
67a1052b7b refactor: track cycles and modules for issue 2023-02-06 15:31:05 +05:30
pablohashescobar
a4f095fb59 refactor: update cycle and module issue create 2023-02-03 19:03:27 +05:30
pablohashescobar
3036014ea2
refactor: add annotations in queryset to return sub_issues_count and total members in workspace (#185)
* refactor: add anotations in queryset to return sub_issues_count

* refactor: add sub issue count in modules cycles and my issues endpoint
2023-01-26 11:41:11 +05:30
pablohashescobar
894e26116b
refactor: performance booster optimization (#176)
* refactor: setup multiple select related

* chore: upgrade sentry sdk to latest version

* refactor: update module and cycle views to increase performance

* refactor: remove pagination and make the response simillar to paginated API

* fix: update staging to DEBUG True for all logging

* refactor: update the query count print statement

* refactor: my issues endpoint to remove n+1

* refactor: optimize queries for workspace and project

* fix: project member endpoint

* fix: revert back workspace members

* refactor: update base file to remove workspace and project query and update permission layer accordingly

* refactor: update read_only fields in read serializers

* fix: read only serializers

* chore: update drf package

* revert: drf version upgrade

* revert: read only fields update

* revert: update serializer to old state

* chore: update drf to latest version

* refactor: update dispatch to display method as well

* refactor: optimize  cycle and module issue queries

* refactor: optimize module endpoint and issue list endpoint

* refactor: update prefetch related in modules and cycles

* refactor: create permission mapping in permission file
2023-01-17 01:50:27 +05:30