Commit Graph

14 Commits

Author SHA1 Message Date
Johannes Batzill
45026edf2b Merge branch 'akp/deprecate-formvalue' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#188) 2023-07-19 00:01:25 +00:00
Johannes Batzill
e354f560a5 Replace QueryParamAsPositiveInt64 with QueryParamAsPositiveInt64OrDefault where the parameter is optional (#191) 2023-07-13 05:46:16 +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
Abhinav Singh
a0ce4fe88e feat: [CODE-345]: rename enhancement and committer addition 2023-05-23 18:02:31 -07:00
Abhinav Singh
a6615c91a2 feat: [CODE-200]: list commits with date filter 2023-05-17 15:22:59 -07:00
Abhinav Singh
7f6947f0ea feat: [CODE-200]: list commits with date filter 2023-05-17 14:37:19 -07:00
Abhinav Singh
943708dcc7 feat: [CODE-200]: list commits with date filter 2023-05-17 01:39:35 -07: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
c7c36e49e1 Add git blame API (#346) 2023-03-09 12:55:23 +01:00
Johannes Batzill
c5d92b498b [API] Add GetCommit API (#291) 2023-02-01 18:50:54 -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
3ee51e29a4 [MISC] move custom filter/sort parsing methods to their respective files 2023-01-12 23:08:45 -08: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
91a75ed601 Add GetContent and ListCommits APIs, Fix DefaultBranch support (#32)
Adds the following:
- Add GetContent API (with gitrpc, proto, gitadapter changes)
- Add ListCommits API (with gitrpc, proto, gitadapter changes)
- DefaultBranch (to repo table in DB, update branch in git-repo, have default value in config)
2022-10-17 00:14:31 -07:00