Marko Gaćeša
069a35a4d8
feat: [CODE-2484]: add API to squash commits on a branch ( #2793 )
...
* add openapi entry for squash
* minor fixes
* squash api
2024-10-15 16:49:02 +00:00
Akhilesh Pandey
950c917947
feat: [CODE-2312]: fix missing resource name issue ( #2814 )
...
* feat: [CODE-2312]: fix missing resource name issue
2024-10-15 13:00:58 +00:00
Akhilesh Pandey
3ef7f9f55a
feat: [CODE-2312]: Update UI labels for audit service ( #2805 )
...
* feat: [CODE-2312]: revert go-sdk changes in all places
* feat: [CODE-2312]: revert go.mod changes
* feat: [CODE-2312]: fresh reset
* feat: [CODE-2312]: go.mod changes
* feat: [CODE-2312]: address resourcename to commit.go
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address failure due to exceeding limit on resource labels
* feat: [CODE-2312]: lint
* feat: [CODE-2312]: MERGE
* feat: [CODE-2312]: Update wire
* feat: [CODE-2312]: update ui labels
* feat: [CODE-2312]: update resource and action
* feat: [CODE-2312]: Audit log new action : bypassed
* feat: [CODE-2312]: audit log object update
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch
* Merge branch 'main' into akp/CODE-2312
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: introduce parser and enclosing method
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-10-11 17:05:19 +00:00
Akhilesh Pandey
e3b3e983fd
feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch ( #2686 )
...
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address failure due to exceeding limit on resource labels
* feat: [CODE-2312]: lint
* feat: [CODE-2312]: MERGE
* feat: [CODE-2312]: Update wire
* feat: [CODE-2312]: update ui labels
* feat: [CODE-2312]: update resource and action
* feat: [CODE-2312]: Audit log new action : bypassed
* feat: [CODE-2312]: audit log object update
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch
* Merge branch 'main' into akp/CODE-2312
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: introduce parser and enclosing method
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-10-08 16:20:56 +00:00
Marko Gaćeša
746e3f0275
feat: [CODE-2335]: fix rebase API rule check ( #2731 )
...
* fix rebase API rule check
2024-09-24 15:38:09 +00:00
Marko Gaćeša
8dac8c2797
feat: [CODE-2335]: add dryrun option for rebase API ( #2721 )
...
* dryrun rebase
2024-09-23 14:46:17 +00:00
Karan Saraswat
8bc9714c92
feat: [CODE-2370]: changes for using PR source branch delete/restore API ( #2702 )
...
* fixed error for branch not found
* swagger.yaml prettier
* removed commitSha queryParam and do a getBranch to get the commitSha
* fixed lint issue
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2370-2
* added commit_sha query param to PR delete branch API
* fixed linting issues
* updated swagger
* feat: [CODE-2370]: changes for using PR source branch delete/restore API
2024-09-20 08:13:50 +00:00
Marko Gaćeša
fb58f8c04f
feat: [CODE-2380]: add error message to rebase api ( #2701 )
...
* add error message to rebase api
2024-09-18 12:25:58 +00:00
Karan Saraswat
93b642b2ba
feat: [CODE-2359]: PR source branch delete/restore API ( #2690 )
...
* passed 409 for open PRs for restore branch API
* addressed review comments
* fixed lint issue
* feat: [CODE-2359]: PR source branch delete/restore API
2024-09-18 12:17:21 +00:00
Karan Saraswat
80105035f4
feat: [CODE-2338]: Add dry run rules param to create branch API ( #2679 )
...
* return struct instead of pointer in deleteBranch and createBranch methods
* feat: [CODE-2338]: Add dry run rules param to create branch API
2024-09-11 09:51:44 +00:00
Akhilesh Pandey
a2cea52155
feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List ( #2640 )
...
* feat: [CODE-2327]: add usergroup change to rebase api
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: wrap error
* feat: [CODE-2327]: move resolver inside bypass.go and update tests
* feat: [CODE-2327]: newline
* feat: [CODE-2327]: update wire
* Merge remote-tracking branch 'origin' into akp/CODE-2327
* feat: [CODE-2327]: update tests
* feat: [CODE-2327]: fix build
* feat: [CODE-2327]: merge main
* feat: [CODE-2327]: add and update unit tests
* feat: [CODE-2327]: fix
* feat: [CODE-2312]: introduce parser and enclosing method
* Apply suggestion from code review
* feat: [CODE-2327]: annotate error
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: usergroup resolver via controller
* feat: [CODE-2312]: update interface in protection
* feat: [CODE-2312]: export and update deduplication use
* feat: [CODE-2327]: Branch Rules: Allow Group bypass.go
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-11 08:04:31 +00:00
Marko Gaćeša
16cb3d5bc1
add rebase api ( #2675 )
...
* add rebase api
2024-09-10 16:58:44 +00:00
Akhilesh Pandey
905d027cc3
feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List ( #2636 )
...
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-09 14:41:03 +00:00
Karan Saraswat
644678f50c
feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour ( #2672 )
...
* go lint issues and added return in the Deletebranch method
* removed the comment
* fixed go lint issues
* fixed query param in swagger
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ks/CODE-2339
* feat: [CODE-2339]: Send sha in delete branch API and fix dry run rules behaviour
2024-09-09 11:45:18 +00:00
Enver Biševac
61c794da0b
feat: unrealted histories error handling ( #2642 )
...
* comments added
* return proper status and message for unrelated history
* code cleanup
* requested changes
* feat: unrealted histories error handling
2024-09-06 11:41:21 +00:00
Karan Saraswat
55d2b1dee3
feat: [CODE-2297]: add dry run param for delete branch API ( #2590 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2297
* updated comment
* worked on review comments and added to openapi spec
* return empty violations array when dry_run = true
* feat: [CODE-2297]: add dry run param for delete branch API
2024-08-28 08:39:04 +00:00
Darko Draskovic
0346a91cda
Fix label value define permissions ( #2596 )
...
* Simplify if test and keep check- prefix
* Fix label value define permissions
2024-08-27 17:12:42 +00:00
Atefeh Mohseni Ejiyeh
d2dcc9213b
feat: [CODE-2245] (Public Access) Enforce repo-review permission ( #2522 )
...
* updated permission with review wherever is needed
2024-08-20 16:33:59 +00:00
Darko Draskovic
cd5de8fe62
Fix pullreq count when applying label/value id filter ( #2525 )
...
* Add sanitize func related to label define/update
* Fix pullreq count when applying label/value id filter
2024-08-20 10:46:20 +00:00
Enver Biševac
6d0db9512e
feat: instrumentation, intitial work ( #2475 )
...
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Darko Draskovic
c3c75d47aa
Refactor router and openapi related to labels to export setup funcs and params ( #2500 )
...
* Refactor router and openapi related to labels to export setup funcs and params
2024-08-14 14:06:04 +00:00
Atefeh Mohseni Ejiyeh
cef6708a1e
Support Repo Migration APIs (create repo, import PRs, webhooks, and branch rules) ( #2158 )
...
* update migrator mdoule
* added formatted forbidden error helper
* delete work sum
* check branch rule identifier check
* match migrator data contract for webhooks
* self review
* self review
* self review, code cleaning
* resolve conflicts
* updated import api calls
* resolve conflicts
* lint
* bypass pre-receive block ref update on push if it's migrator push
* migrate controller and apis
* pull main
* add migrate routes to terminate path prefix apis
* move apis to migrate pkg
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into atmsn/import_meta
* import branch rules API
* wip import webhooks
2024-08-07 23:40:09 +00:00
Darko Draskovic
0cb3c8a4cf
Add render pagination and incremental search to labels ( #2311 )
...
* Remove unused upsert method from label value store
* Add render pagination and incremental search to labels
2024-07-30 15:43:31 +00:00
Darko Draskovic
81fcd524c8
Add label feature ( #2073 )
...
* Address PR comments
* Add list label from ancestor scopes query param
* Add label feature
2024-07-25 14:57:56 +00:00
Abhinav Singh
d0562a573c
feat: [CODE-2146]: add new router paradigm
...
* lint
* address comment
* fix
* ssh ctx
* add ctx for new places
* generate wiregen
* Merge remote-tracking branch 'harness0/main' into abhinav/new-router-paradigm
* Merge branch 'main' into abhinav/new-router-paradigm
* add new discussion changes
* address comment
* address comment
* address comment
* address comment
* address comment
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* feat: abstract routers logic
* style
* remove nil context
* add ctx to missing
* style
* remvoe ctx
* remvoe ctx
* feat: provider should have ctx
2024-07-23 21:39:39 +00:00
Enver Biševac
da44afe021
improve audit logs ( #2242 )
...
* improve audit logs
2024-07-18 12:15:31 +00:00
Marko Gaćeša
4ac42fc6c9
Add additions and deletions to PRs ( #2196 )
2024-07-11 10:01:17 +00:00
Marko Gaćeša
5427130a42
pull request import ( #2121 )
...
* bypass lint
* bump golang version
* using types from migrator
* moving Importing to the RepositoryOutput
* minor changes; improved unit tests
* pr comments
* pr import
* pull request import
2024-07-06 00:46:36 +00:00
Enver Biševac
2f8900e463
[code-1946] initial work on ssh server ( #2075 )
2024-06-03 12:47:31 +00:00
Johannes Batzill
bc568edd85
fix cleanup for failed repo create, cleanup summary git api ( #2064 )
2024-05-24 00:38:29 +00:00
Darko Draskovic
adf041d747
Add repo summary endpoint ( #2037 )
2024-05-23 18:45:28 +00:00
Atefeh Mohseni Ejiyeh
c365ef246a
Support Public Access ( #2021 )
2024-05-23 04:56:26 +00:00
Abhinav Singh
a576087694
feat: add etag for raw api ( #2018 )
2024-05-03 20:03:37 +00:00
Enver Biševac
723377482c
[code-1822] Download repository as archive using git archive
command ( #2010 )
2024-04-26 20:03:51 +00:00
Johannes Batzill
9e7f80ebe0
Code Suggestions - Backend Support ( #2006 )
2024-04-26 16:54:50 +00:00
Enver Bisevac
2ce0f96b59
[code-1524] audit trail for import repositories ( #1209 )
2024-04-12 18:35:29 +00:00
Marko Gacesa
781b3547c0
refactor git hook calling and shared repo ( #1200 )
2024-04-12 09:48:35 +00:00
Johannes Batzill
5652ca7bb3
Add Repo Path Listing API ( #1197 )
2024-04-10 20:04:08 +00:00
Enver Bisevac
227aac90b5
[code-1524] audit trails package ( #1176 )
2024-04-08 21:13:57 +00:00
Atefeh Mohseni-Ejiyeh
fea9e46dc8
Mitigate racing condition between create repos and delete space ( #1178 )
2024-04-08 19:14:10 +00:00
Atefeh Mohseni-Ejiyeh
aa330928dd
Restore the space to its exact state at the time of deletion ( #1180 )
2024-04-08 18:19:07 +00:00
Atefeh Mohseni-Ejiyeh
b64f4c41fa
Update default branch on empty repo for first commit ( #1122 )
2024-04-04 01:16:43 +00:00
Atefeh Mohseni-Ejiyeh
719db4483c
Check limiter on restoring repo and spaces ( #1174 )
2024-04-03 00:36:57 +00:00
Johannes Batzill
39a998eacd
Adding Repo Level Settings ( #1145 )
2024-03-28 03:36:15 +00:00
Abhinav Singh
96f35b6e01
feat: add repochecks ( #1132 )
2024-03-26 22:22:30 +00:00
Enver Bisevac
cecfecdb06
[code-1016] Replace gitea
Usages (not wrapper) ( #1063 )
2024-03-26 20:31:30 +00:00
Atefeh Mohseni-Ejiyeh
5d0d28e4a3
Support Space Soft Delete, Restore, and Purge ( #1076 )
2024-03-21 23:34:19 +00:00
Abhinav Singh
16ef31bcb6
feat: support diff repo id check in harness code ( #1123 )
2024-03-21 00:38:18 +00:00
Darko Draskovic
564a0fef61
Add support for listing commit related per file stats ( #1116 )
2024-03-20 18:31:48 +00:00
Johannes Batzill
a79a5ca489
[AUTHZ] Fix scope of permission checks for checks without resource ( #1119 )
2024-03-15 16:10:30 +00:00