Commit Graph

37 Commits (4f1767d512214c3eaefcf98431ac1f6479c6c48e)

Author SHA1 Message Date
Marko Gaćeša 4f1767d512 dedicated api to get the last commit info 2023-08-10 18:42:10 +02:00
Enver Bisevac 7546f2cd6b initial work - diff stats, (files changed) 2023-08-02 14:34:39 +02:00
Johannes Batzill c7e3620de9 [Tags] Improvements towards creation / listing /deletion (#220) 2023-07-25 00:04:47 +00:00
Johannes Batzill e354f560a5 Replace QueryParamAsPositiveInt64 with QueryParamAsPositiveInt64OrDefault where the parameter is optional (#191) 2023-07-13 05:46:16 +00: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
Abhinav Singh a0ce4fe88e feat: [CODE-345]: rename enhancement and committer addition 2023-05-23 18:02:31 -07:00
Abhinav Singh 7d3443850b feat: [CODE-200]: list commits with date filter 2023-05-17 14:09:58 -07: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 59a7cdf8a8 feat: [CODE-260]: commit api should have path filter 2023-05-08 22:54:00 -07: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 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 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 6a7cc4e518 [scm-63] fix for empty commits and diff in PR (#228) 2023-01-20 02:27:51 +01:00
Johannes Batzill 7ada1af3aa [API] Add `after` Support to Commit Listing (#155) 2023-01-04 16:59:43 -08:00
Enver Bisevac 72485456ab swagger ref added for rawdiff 2023-01-02 10:56:32 +02:00
Marko Gaćeša a79e187a88 DB & API refactor: Use snake case (#144)
Update DB and API to follow Harness Standard
2022-12-29 13:53:08 -08:00
Enver Bisevac 630c9b553f ordering imports linter and writer (#85) 2022-11-22 23:42:39 +01:00
Enver Bisevac ad619c7e3c [feat]ability to commit files using REST api (#82)
* initial work on commit files

* minor improvements, grpc server interceptors and more

* compare file old sha and current sha

* added some validation steps

* config immutable, introduce temp repos dir

* handler added to standalone

* fix CI linter, fix minor bug on update

* wire generator files
2022-11-22 19:24:40 +01:00
Johannes Batzill 60f0ea969d [API] Add API For Commit Divergence Calulation (#77)
This commit contains the following changes:
- Add `commits/calculate_divergence` API to calculate commit divergence of reference pairs
- Rename `serviceAccounts` to `service_accounts` to follow REST best practices
2022-11-16 16:53:31 -08:00
Johannes Batzill 681e1f1c14 [SWAGGER] Add create/delete branch swagger, fix existing swagger (#71)
This change includes the following:
- add swagger for create / delete branch api
- remove `json` tag from fields of swagger objects that only occur in the path
2022-11-10 21:21:38 -08:00
Johannes Batzill 2d4db78991 Add Tag Listing API (#49)
This change is adding the List Tags API. To do so, a few changes were necessary:
- Refactor List Branches on giteaAdapter / repo_service
- Expose WalkReferences via giteaAdapter
2022-10-28 13:10:26 -07:00
Johannes Batzill c0258b34ef Add search capability to repo and space listing (for child spaces) (#44)
This change is adding search capability to the following apis:
- child repositories
- child spaces
*NOTE* The search space is limited to direct child repos/spaces.
2022-10-24 18:57:55 -07:00
Johannes Batzill 5337c46a4f Add Query and Sorting Capability to ListBranches API (#42)
This change adds the following to the list branches api:
- 'query' parameter for querying branches using arbitrary substrings
- 'sort' parameter for sorting the branches (name and date supported)
- 'direction' parameter for specifing the direction of the sorted output
2022-10-21 20:45:26 -07:00
Johannes Batzill f655c2fae3 Add Standalone API to Harness Router (#40)
To simplify UI code we are going to expose both Harness API and Standalone API (restricted to harness embedded functionalities) when running in harness mode.

Furthermore, this PR adds a middleware that allows us to reuse standalone Handlers for Harness API for operations that don't require any request/response manipulation.
2022-10-19 18:35:40 -07:00
Johannes Batzill 743aee6029 [API] Add List Branches, Improve latestCommit Performance for listing directory (#38)
This commit has the following changes:
- API for listing branches
- Improve performance of content API for dir type responses with includeCommit=true
- swagger for git operations
- fix file names from camelCase to kebab_case
2022-10-17 23:05:50 -07:00
Enver Bisevac 41cbb6622f server urls added, resource moved to the root path (#35) 2022-10-18 02:24:20 +02:00
Enver Bisevac 2b69b3d24a [MAINT] added repos endpoints to swagger (#33)
* added repos endpoints

* todo comments removed in create repo method
2022-10-18 00:10:36 +02:00