Commit Graph

41 Commits (try-new-ui)

Author SHA1 Message Date
Darko Draskovic 8e08be96fe fix: [CODE-3288]: Revert "Block any push that contains commits not committed by the user (#3512)" (#3532)
* Revert "feat: [CODE-3288]: Block any push that contains commits not committed by the user (#3512)"

This reverts commit 53000fe59d.
2025-03-10 16:49:41 +00:00
Darko Draskovic 53000fe59d feat: [CODE-3288]: Block any push that contains commits not committed by the user (#3512)
* Move output error init and error print outside of refupdates loop
* Merge remote-tracking branch 'origin/main' into dd/git-commiter
* Merge remote-tracking branch 'origin/main' into dd/git-commiter
* Merge remote-tracking branch 'origin/main' into dd/git-commiter
* Return commit sha email map and print user commiter mismatches
* Merge remote-tracking branch 'origin/main' into dd/git-commiter
* Move user commiter match check into separate func/file and add user_commiter_match setting
* Address empty repo push case
* Add GetBranchCommiterEmails func
* Add alt obj dirs to git GetCommit and getCommit
* Block any push that contains commits not committed by the user
2025-03-10 12:43:23 +00:00
Darko Draskovic ec12dda66b fix: [CODE-3315]: Rename parameter max to maxCount (#3529)
* Rename parameter max to maxCount
2025-03-07 15:23:28 +00:00
Atefeh Mohseni Ejiyeh a75e6ec4ec fix: [CODE-2501] Return 200 with an empty list for commits on non-existing references (#3366) 2025-02-01 02:28:29 +00:00
Enver Biševac 92e39dee79 feat: [CODE-3129]: add ignore whitespace for diff (#3327)
* better parsing of query param ignore_whitespace
* replace hideWhitespace with ignoreWhitespace
* replace rest client literals with vars
* added openapi
* add ignore whitespace for diff
2025-01-31 21:48:57 +00:00
Enver Biševac d131a4f2aa feat: [CODE-3112]: write response using pkt error format in service pack and advertise refs (#3348)
* write to response pkt error format in service pack
2025-01-30 08:33:28 +00:00
Atefeh Mohseni Ejiyeh 9f9505dbb6 fix: [CODE-2501] fix handling non-cmd errors (#3305) 2025-01-21 22:15:29 +00:00
Marko Gaćeša 40dd6a19ed feat: [CODE-3061]: make git functions return not found if commit is not found (#3304)
* linter fix
* make git functions return not found if commit is not found
2025-01-21 16:15:41 +00:00
Enver Biševac 0a042b66e5 feat: [code-2984]: fix datarace on branch and tag counts, improved cmd package with mutex (#3202)
* requested changes
* fix datarace on beanch and tag counts, improved cmd package with mux
2024-12-25 13:22:48 +00:00
Atefeh Mohseni Ejiyeh a6bb491688 fix: [CODE-2501] Handle Internal Server Error When Querying Non-existing Git References (#3136) 2024-12-13 02:27:30 +00:00
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
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 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
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
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
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
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
Darko Draskovic adf041d747 Add repo summary endpoint (#2037) 2024-05-23 18:45:28 +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 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
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
Marko Gacesa 032bbeb066 improve implementation of git FS (#1229) 2024-04-18 12:45:30 +00:00
Marko Gacesa c28a618dd4 added git FS; removed clone from generate pipeline (#1219) 2024-04-16 08:02:21 +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
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
Johannes Batzill e96ab4159b Add alternate_object_dirs support to githook handlers (#1141) 2024-03-26 23:52:49 +00:00
Enver Bisevac cecfecdb06 [code-1016] Replace `gitea` Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +00:00