Commit Graph

105 Commits (release/3.1.0)

Author SHA1 Message Date
Enver Biševac 8c5a5b6716 feat: [code-2296] minor improvements on command package (#3046)
* Merge remote-tracking branch 'origin/main' into eb/code-2296
* requested changes
* added unit test and description
* refactor command parser
* minor improvements on command package
2024-12-07 17:10:47 +00:00
Darko Draskovic f0d58cdda7 fix: [CODE-2833]: Ignore Redis related cache errors when get/set key (#3059)
* Ignore Redis related cache errors when get/set key
2024-11-28 18:19:12 +00:00
Marko Gaćeša ad8f74ce71 feat: [CODE-2531]: replace os.IsNotExist(err) with error.Is(err, fs.ErrNotExist) (#3036)
* replace os.IsNotExist(err) with error.Is(err, fs.ErrNotExist)
2024-11-22 12:17:56 +00:00
Marko Gaćeša f1eb44a30a feat: [CODE-2531]: ignore not found error in delete repo (#3023)
* remove err==NotFound check in controller layer
* ignore not found error in delete repo
2024-11-22 10:24:00 +00:00
Darko Draskovic 335eaa73c1 feat: [CODE-2498]: Add time and author filter params to list commits page (#3000)
* Remove redundant consts and annotate errors
* Add a Regex bool field to the api.CommitFilter
* Add use author/commiter regex bool to list commit filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add commiter IDs
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add regex quote for author
* Add time and author filter params to list commits page
2024-11-21 10:31:32 +00:00
Johannes Batzill ccce5ad646 fix: [CODE-2717]: Modify Sync to take DefaultBranch as input (#2962) 2024-11-11 23:18:28 +00:00
Andreas Deininger ff2da8563e [GH] Fix typos (#3566)
This PR fixes various typos i spotted in the project.
2024-11-07 11:34:07 -08:00
Marko Gaćeša d79a1a290c feat: [PIPE-21976]: add flattened directory listing (#2869)
* remove unused parameter
* updated open api to include flatten_driectories param
* add flattened directory listing
2024-10-30 13:26:42 +00:00
Marko Gaćeša 7d58dcca04 feat: [CODE-2618]: remove old unused code from git/operations.go (#2863)
* remove old unused code from git/operations.go
2024-10-24 15:49:20 +00:00
Marko Gaćeša 8c5e7546c3 feat: [CODE-2567]: improve git commit message handling (#2849)
* make the change backward compatible
* improve git commit message handling
2024-10-24 10:08:36 +00:00
Johannes Batzill 5cbd33bd5d feat: [PIPE-22535]: Include previous commit in blame (#2812) 2024-10-17 18:21:51 +00:00
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
Johannes Batzill 966cd70c4a fix: [CODE-2489]: Expand detection of repo not found cases in git error parsing (#2797) 2024-10-09 22:53:10 +00:00
Marko Gaćeša 2892378036 feat: [CODE-1474]: add check PR rebaseability (#2763)
* update migration number
* rename UpdateConflict->UpdateMergeOutcome
* small fixes
* handle mergeability for all merge methods
* alway separate rebaseability check
* add check PR rebaseability
2024-10-04 12:36:32 +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
Marko Gaćeša 7c83c5520e feat: [CODE-2385]: add fast-forward merge (#2718)
* add fast-forward merge
2024-09-23 11:34:19 +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
Marko Gaćeša ffe585f8c4 add missing error check in CommitFiles (#2605)
* add missing error check in CommitFiles
2024-08-28 12:51:18 +00:00
Enver Biševac 7c2c732c9f fix complex file extensions like tar.gz (#2143)
* fix complex file extensions like tar.gz
2024-07-15 14:41:58 +00:00
Marko Gaćeša 4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Darko Draskovic fe7b1941ef Add omitempty to stats and run get change info for changes and types in parallel (#2105) 2024-06-14 15:41:53 +00:00
Enver Biševac 2f8900e463 [code-1946] initial work on ssh server (#2075) 2024-06-03 12:47:31 +00:00
Johannes Batzill 43897cd593 Fix DiffCut For New File (#2065) 2024-05-24 01:10:29 +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
Darko Draskovic d4ca33b82d Temporary rename info/alternates so --batch-all-objects doesn't follow it (#2039) 2024-05-20 18:43:52 +00:00
Marko Gaćeša fdd401c989 fix: [CODE-1858]: fix reading too long lines in diff hunk headers (#2036) 2024-05-16 11:37:38 +00:00
Johannes Batzill 423801d51a [Secret Scanning] Add basic support for gitleaksignore (#2030) 2024-05-09 22:00:03 +00:00
Johannes Batzill f6614fe151 Minor Fixes (#2028) 2024-05-09 00:01:52 +00:00
Enver Biševac fb5e38dd2c [code-1822-maint] add validation method to git archive params (#2016) 2024-04-26 22:54:08 +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
Johannes Batzill 86537b2c39 Fix merge related issues (#2012) 2024-04-25 22:00:53 +00:00
Darko Draskovic e2689a3b40 Add push file size limit and report func (and use it in githook) (#1173) 2024-04-24 16:31:18 +00:00
Johannes Batzill a690fa4ebc small fixes (#1232) 2024-04-19 01:36:03 +00:00
Marko Gacesa 032bbeb066 improve implementation of git FS (#1229) 2024-04-18 12:45:30 +00:00
Marko Gacesa 5076c71b78 introduce init states for the refupdater (#1212) 2024-04-17 06:59:27 +00:00
Marko Gacesa c28a618dd4 added git FS; removed clone from generate pipeline (#1219) 2024-04-16 08:02:21 +00:00
Enver Bisevac 650b6ba7df [maint] added NewOrEmpty for optional SHA value (#1218) 2024-04-15 14:39:06 +00:00
Marko Gacesa 9414262618 commit API uses action SHA as string (#1217) 2024-04-15 14:03:39 +00:00
Marko Gacesa 261b1f3e95 fix git command's end-of-options (#1213) 2024-04-12 14:20:42 +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
Marko Gacesa ad5989dae4 Handle symlinks and submodules in diffcut (#1185) 2024-04-08 10:46:40 +00:00
Darko Draskovic 3fea99155e Fix reg exp for extracting binary file stats (#1184) 2024-04-05 10:40:56 +00:00
Johannes Batzill b02da4b78a Improve secret scanning output (#1170) 2024-03-29 19:33:08 +00:00
Atefeh Mohseni-Ejiyeh bd2e9f4899 [GITLEAKS] Support Secret Scanning in Git and Pre-receive Hook (#1155) 2024-03-28 05:49:04 +00:00
Enver Bisevac 4deed68349 [fix] Conflict error on git not properly displayed (#1158) 2024-03-28 02:07:48 +00:00
Darko Draskovic 9a1e656be1 Add alternateObjectDirs param to get blob related funcs (#1157) 2024-03-28 02:02:06 +00:00