Enver Bisevac
63145686f4
fix commit adn files changed counters
2023-08-14 17:17:08 +02:00
Vistaar Juneja
29c494c23f
Merge branch 'ci_gitness' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #273 )
2023-08-11 16:55:54 +00:00
Vistaar Juneja
d1d50377fc
address comments
2023-08-11 11:36:39 +01:00
Akhilesh Pandey
a8f6f9528a
fix: Update the code to use registerInput along with createInput for user registration and subsequent creation
2023-08-11 00:52:05 +05:30
Marko Gaćeša
4f1767d512
dedicated api to get the last commit info
2023-08-10 18:42:10 +02:00
Vistaar Juneja
01fffd56a3
address comments
2023-08-10 14:33:02 +01:00
Vistaar Juneja
2bf73fbb5c
add UpdateOptLock
2023-08-09 23:56:47 +01:00
Vistaar Juneja
5574fcac47
address comments
2023-08-09 22:25:13 +01:00
Vistaar Juneja
f35d8fe03d
add list secrets
2023-08-09 17:19:26 +01:00
Vistaar Juneja
26d6651168
address comments, complete secret CRUD
2023-08-09 15:02:48 +01:00
Vistaar Juneja
1e7e4c98dd
fix some TODOs
2023-08-08 00:25:58 +01:00
Vistaar Juneja
bc921ac1a2
add execution endpoints
2023-08-07 02:19:41 +01:00
Vistaar Juneja
2c5c781a3c
Add execution db interface
2023-08-06 18:13:42 +01:00
Vistaar Juneja
4390376acd
add list, fix delete
2023-08-04 16:44:51 +01:00
Enver Bisevac
2efe0614da
remove unused files
2023-08-04 17:28:32 +02:00
Vistaar Juneja
c9eb9003cf
address comments
2023-08-04 16:01:38 +01:00
Vistaar Juneja
f04a695732
add copyright header to all files
2023-08-04 10:50:39 +01:00
Vistaar Juneja
8cdcecb56f
add pipelines and executions handlers to gitness
2023-08-04 10:50:39 +01:00
Enver Bisevac
7546f2cd6b
initial work - diff stats, (files changed)
2023-08-02 14:34:39 +02:00
Akhilesh Pandey
8f2c1d93ef
Merge branch 'main' into akp/CODE-617
2023-08-01 17:40:50 +05:30
Marko Gaćeša
6946df193b
add pagination to the status check list API
2023-07-31 13:23:34 +02:00
Marko Gaćeša
f5084697b1
Minor fixes and refactoring
2023-07-28 12:57:16 +02:00
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
Akhilesh Pandey
f18f142401
[CODE-621]: Add new func type in system controller constructor
2023-07-26 00:39:19 +05:30
Akhilesh Pandey
2759673713
[CODE-621]: Remove config from function parameter and initialize it in the constructor
2023-07-26 00:20:21 +05:30
Johannes Batzill
c7e3620de9
[Tags] Improvements towards creation / listing /deletion ( #220 )
2023-07-25 00:04:47 +00:00
Akhilesh Pandey
0539a21719
[CODE-617]: Create new component for system controller and move configs API to it
2023-07-24 20:01:41 +05:30
Akhilesh Pandey
8800af5245
[CODE-617]: Update endpoint and handler to be universal
2023-07-21 23:24:00 +05:30
Johannes Batzill
baa4eb5ac9
feat: [CODE-626,CODE-627]: space membership API&DB ( #194 )
2023-07-20 21:20:56 +00:00
Akhilesh Pandey
b8c239ed6d
[CODE-617]: Lint issues
2023-07-20 19:03:25 +05:30
Akhilesh Pandey
fe9bc1a4db
[CODE-617]: Add API support to registration check
2023-07-20 18:48:30 +05:30
Akhilesh Pandey
cff02b9d90
[CODE-617]: Lint fixes
2023-07-20 17:49:02 +05:30
Akhilesh Pandey
e93e4500a0
[CODE-617]: Move disable logic to handler and remove todo for it
2023-07-20 16:47:21 +05:30
Akhilesh Pandey
9fb093bad3
Merge branch 'main' into akp/CODE-617
2023-07-20 16:35:43 +05:30
Akhilesh Pandey
4c92c32c0a
[CODE-617]: Add env variable in Gitness to allow/disallow sign-ups
2023-07-20 16:34:07 +05:30
Johannes Batzill
45026edf2b
Merge branch 'akp/deprecate-formvalue' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #188 )
2023-07-19 00:01:25 +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
d55ff28174
Update error message when unable to parse user_uid
2023-07-18 15:31:56 +05:30
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
ee683aa2c8
Update struct attribute names and pass register logic from handler to controller
2023-07-18 00:57:06 +05:30
Akhilesh Pandey
03cc7de4f2
CODE-619: Update API to use UserID from Path
2023-07-14 20:50:00 +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
2dd4d73da5
CODE-385: Fix delete response ( #170 )
2023-06-28 16:13:25 +00:00
Akhilesh Pandey
9ebc5c1bea
CODE-548: Update search to prID
2023-06-23 00:47:19 +05:30
Akhilesh Pandey
699156d56d
CODE-548: API support to remove reviewers from pull request
2023-06-22 22:31:52 +05:30
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
Atefeh Mohseni-Ejiyeh
0df1335855
[HARNESS] Delete Space on Harness Account/Org/Project deletion ( #83 )
2023-06-08 00:09:34 +00: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
atefeh
c88de09a2a
code cleaning
2023-05-22 17:04:30 -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
Enver Bisevac
7c6a28ecd1
Merge branch 'ap/add-tag-api' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #36 )
2023-05-16 15:35:52 +00:00
Akhilesh Pandey
527b3e18fa
Add Validate to Service and Handler
2023-05-15 22:14:55 +05:30
Akhilesh Pandey
f41b918129
feat: [CODE-199]: Update success status code to 204
2023-05-12 22:04:10 +05:30
Marko Gaćeša
2cfe58c699
block merge if there are unresolved comments
2023-05-12 13:53:29 +02: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
Marko Gaćeša
8aea16d96a
add headers with SHAs for PR raw diff API
2023-04-27 18:40:52 +02:00
Johannes Batzill
0de0d2fcef
updating permission check to april milestone
2023-04-19 09:24:38 -07:00
Enver Bisevac
fffb37bfa2
Merge branch 'eb/rbac' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness ( #25 )
2023-04-19 15:29:46 +00:00
Johannes Batzill
89bb0f6b99
update gitRPC getBlob api to stream blob content, add 'raw' api.
2023-04-18 11:39:59 -07:00
Enver Bisevac
b092c1b8df
added go-rbac dependency
2023-04-18 03:10:30 +02: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
b0c8c91c08
[MISC] Hide email from public principals
API. ( #314 )
2023-02-06 11:33:41 -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
e2b350e704
[maint] pr statistic is in pr response now ( #269 )
2023-01-31 15:21:05 +01:00
Enver Bisevac
baa3822acc
[SCM-55] initial work on PR metadata ( #262 )
2023-01-31 02:08:23 +01:00
Johannes Batzill
7da9bce7c1
[Githook] Add GitHook binary ( #259 )
...
This PR adds a githook sub-package to our cmd packages, introducing the githook binary.
The binary is linked as pre-receie/update/post-receive by gitrpc if configured.
This is required to have a gitrpc deployment without requiring the one-in-all gitness binary on the same machine.
2023-01-27 13:04:58 -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
335998505e
[MISC] Introduce PathStore and Move PathLogic to Controller Layer ( #226 )
...
This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store.
The following changes are included:
- Introduce PathStore storing resource paths (repo + space)
- Add foreign key from path.repo_id/space_id to repo.id/space.id
- Add foreign key from repo/space.parent_id to space.id
- Remove repo_sync and space_sync
- Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces)
- Reimplement repo/space moving on controller layer
2023-01-18 11:34:12 -08: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
Enver Bisevac
63de576d08
[feat] initial work on merging PR ( #170 )
...
* initial work on merging PR
* code refactored based on requested changes
* requested changes
2023-01-10 02:09:43 +01:00
Johannes Batzill
5cb824debd
[feat]: Add Git Server Hook Support ( #159 )
...
This change is adding git server hook components:
- githook CLI implementation
- githook api handlers
- githook controler
2023-01-06 12:15:11 -08:00
Marko Gaćeša
65b49a933a
pull request reviewers ( #167 )
2023-01-06 20:29:20 +01:00
Johannes Batzill
2006f769c9
[Webhook] Add url.Provider, Add principal to branch webhooks ( #163 )
2023-01-06 01:57:26 -08:00
Johannes Batzill
6c567b38d0
[MISC] Move GitRPC to Read/WriteRequest, Update Create/Delete Branch to use Push, Setup githook Symlink, Accept Incoming X-Request-Id ( #157 )
2023-01-05 11:03:35 -08:00
Johannes Batzill
7ada1af3aa
[API] Add after
Support to Commit Listing ( #155 )
2023-01-04 16:59:43 -08:00
Johannes Batzill
1f1118f624
[Webhook] Add Event Processing and Retrigger ( #148 )
...
This change includes:
- webhook event processor (includes actual webhook execution)
- webhook retrigger API allowing to retrigger previous webhook executions
2023-01-04 14:43:36 -08:00
Johannes Batzill
44ec7ceb07
[Webhook] Add API and DB Basics ( #142 )
...
This change introduces:
- webhook type / store / controller / handler
- webhookExecution type / store / controller / handler
- foreign key fix for sqlite3
2022-12-28 13:07:48 -08:00
Marko Gaćeša
da53331ca1
PR comment: edit and delete APIs ( #138 )
2022-12-27 14:55:53 +01:00
Marko Gaćeša
b5bdeb8538
create comment API ( #137 )
2022-12-27 11:46:49 +01:00