Commit Graph

91 Commits

Author SHA1 Message Date
Johannes Batzill
9436855194 Proposal - Remove PR diff api and use repo API (#242) 2023-07-26 23:37:22 +00:00
Johannes Batzill
338271fb14 feat: [CODE-674]: user's space membership; membership API pagination (#241) 2023-07-26 20:53:42 +00:00
Johannes Batzill
c7e3620de9 [Tags] Improvements towards creation / listing /deletion (#220) 2023-07-25 00:04:47 +00:00
Johannes Batzill
baa4eb5ac9 feat: [CODE-626,CODE-627]: space membership API&DB (#194) 2023-07-20 21:20:56 +00:00
Johannes Batzill
45026edf2b Merge branch 'akp/deprecate-formvalue' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#188) 2023-07-19 00:01:25 +00:00
Akhilesh Pandey
6b764b4eb0 [CODE-619]: Move update admin route from user to users (#207) 2023-07-18 19:08:52 +00:00
Akhilesh Pandey
e26e578da2 CODE-623: API to logout a user and delete the session token from database (#202) 2023-07-18 10:19:00 +00:00
Akhilesh Pandey
a57f4f22a9 Update user-admin update API to use the user_uid instead of user_id 2023-07-18 15:20:57 +05:30
Akhilesh Pandey
07b04f2d77 CODE-619: Add Handler and Route for Service update admin 2023-07-14 20:10:43 +05:30
Johannes Batzill
e354f560a5 Replace QueryParamAsPositiveInt64 with QueryParamAsPositiveInt64OrDefault where the parameter is optional (#191) 2023-07-13 05:46:16 +00:00
Johannes Batzill
5543fba0b4 [GIHA] Introduce githa custom githook binary (#186) 2023-07-12 15:49:06 +00:00
Akhilesh Pandey
959fb7b462 CODE-610: Remove FormValue and start using Query().Get() for all APIs doing get requests and sync required parameters in swagger schema 2023-07-12 21:16:07 +05:30
Akhilesh Pandey
e1b6be7655 CODE-610: Update swagger schema (#181) 2023-07-11 11:35:00 +00:00
Johannes Batzill
59e3bff412 fix missed error and linting errors 2023-06-26 11:37:08 -07:00
Akhilesh Pandey
699156d56d CODE-548: API support to remove reviewers from pull request 2023-06-22 22:31:52 +05:30
Johannes Batzill
06067d4f6c Fix Linting errors (#142) 2023-06-15 21:27:06 +00:00
Johannes Batzill
e1a24699c3 CODE-385: Search and Add reviewers to Database API (#126) 2023-06-15 20:26:36 +00:00
Abhinav Singh
6de9c127e0 Merge branch 'abhinav/CODE-318' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#116) 2023-06-09 12:58:12 +00:00
Marko Gaćeša
cdc1370564 feat: [CODE-389]: status checks API layer 2023-06-08 12:38:20 +02:00
Abhinav Singh
6810a60297 techdebt: [CODE-318]: remove commits v2 2023-06-07 12:29:53 -07:00
Abhinav Singh
23f299fb64 techdebt: [CODE-318]: remove commits v2 2023-06-07 12:26:26 -07:00
Akhilesh Pandey
24a9888cfc feat: Update HTTP status code to 201 when returning from successful create operations 2023-06-01 15:09:17 +05:30
Abhinav Singh
a0ce4fe88e feat: [CODE-345]: rename enhancement and committer addition 2023-05-23 18:02:31 -07:00
Abhinav Singh
f41b8bc7ce Merge remote-tracking branch 'origin' into abhinav/CODE-200 2023-05-17 14:10:24 -07:00
Abhinav Singh
7d3443850b feat: [CODE-200]: list commits with date filter 2023-05-17 14:09:58 -07:00
Marko Gaćeša
9f4e45be74 fix swagger reviewer API response 2023-05-17 13:40:29 +02:00
Abhinav Singh
1765fef3fd feat: [CODE-200]: list commits with date filter 2023-05-17 02:10:38 -07:00
Abhinav Singh
0f650f8c28 feat: [CODE-200]: list commits with date filter 2023-05-17 01:59:46 -07:00
Abhinav Singh
943708dcc7 feat: [CODE-200]: list commits with date filter 2023-05-17 01:39:35 -07:00
Enver Bisevac
8fcff7a25c Merge branch 'ap/add-swagger-schema' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#71) 2023-05-16 17:39:23 +00:00
Abhinav Singh
7dcccc323e Merge branch 'abhinav/CODE-260' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#58) 2023-05-10 21:06:57 +00:00
Abhinav Singh
59a7cdf8a8 feat: [CODE-260]: commit api should have path filter 2023-05-08 22:54:00 -07:00
Marko Gaćeša
59b7cf5e69 comment status API 2023-05-08 16:03:23 +02:00
Johannes Batzill
cd9b8f1413 add raw api to swagger and regenerate web/services 2023-04-18 12:17:22 -07:00
Enver Bisevac
5c266ad78f fix for merge-check response 2023-03-30 20:51:25 +02:00
Enver Bisevac
75ec201c2b Merge branch 'eb/gitrpc_error_handling' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#8) 2023-03-21 10:19:21 +00:00
Marko Gaćeša
c7c36e49e1 Add git blame API (#346) 2023-03-09 12:55:23 +01:00
Enver Bisevac
56d8f304a6 gitrpc error handling - initial work 2023-03-06 16:36:19 +01:00
Enver Bisevac
fd08fa9775 [maint] api for PR metadata added (#319) 2023-02-12 21:39:56 -08:00
Enver Bisevac
82b8679d6f [fix] diff-stats api returns total commits and files changed in compare branches (#323) 2023-02-13 00:47:23 +01:00
Enver Bisevac
13a456e357 [scm-58] Add merge-check and Integrate with PR (#318)
Co-authored-by: Johannes Batzill <johannes.batzill@harness.io>
2023-02-11 23:22:12 -08:00
Johannes Batzill
bf9906c4ce [API] Add principals API, move users to admin, simplify user/service/serviceaccount validation (#300) 2023-02-03 00:15:11 -08:00
Johannes Batzill
c5d92b498b [API] Add GetCommit API (#291) 2023-02-01 18:50:54 -08:00
Johannes Batzill
fe83493623 [API] Add GetBranch API (#290) 2023-02-01 18:13:27 -08:00
Enver Bisevac
baa3822acc [SCM-55] initial work on PR metadata (#262) 2023-01-31 02:08:23 +01:00
Johannes Batzill
2227e13e7d [MISC] Fix Swagger and Regenerate WEB Services (#246) 2023-01-24 15:46:49 -08:00
Enver Bisevac
6a7cc4e518 [scm-63] fix for empty commits and diff in PR (#228) 2023-01-20 02:27:51 +01:00
Hitesh Aringa
66cc979334 [SCM-61]: sort in webhook list api (#199)
* [SCM-61]: order by in webhook api

* [SCM-61]: comment change

* [SCM-61]: added query filter on display name
2023-01-17 09:59:27 -08:00
Marko Gaćeša
8151b4591e PR change state API; Removed rejected state (#220) 2023-01-17 16:04:30 +01:00
Johannes Batzill
65c59d0b5b [MISC] Fix review bugs, regenerate swagger from latest service, fix webhook.has_secret in swagger (#198)
This change contains the following changes:
- allow submitting reviews without comment for approve
- fix openapi for /reviews api and fix UI calls for submitting reviews
- fix recently broken openapi for webhook (it removed has_secret field as part of openapi refactor)
- fix fatal submit review bug (we passed repo.UID not repo.GitUID to gitrpc - not sure how that ever worked?)
- add missing merge pr activity to list of all pr activity enum values
- return all PR states by default
- show Open PRs by default (instead of all) and fix state filtering query
- regenerate code services based on latest swagger
- fix UI code to work with regenerated code service
2023-01-12 22:39:38 -08:00