Commit Graph

47 Commits

Author SHA1 Message Date
Atefeh Mohseni-Ejiyeh
fc9e77c91c Support soft delete, restore and purge repos plus a cleanup job for old deleted repos (#1005) 2024-02-14 01:39:39 +00:00
Darko Draskovic
d96afd89bd Add additions and deletions stats to commit file response (#1015) 2024-02-07 16:07:53 +00:00
Johannes Batzill
adf2046a94 [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
Enver Bisevac
f39852dc62 [fix] internal error should be always logged in error level (#982) 2024-01-24 12:28:01 +00:00
Enver Bisevac
7f7f8bf625 [code-1288] new diff api features [paths, line expanders] (#968) 2024-01-23 12:36:04 +00:00
Atefeh Mohseni-Ejiyeh
29f781201f support update default branch (#973) 2024-01-20 07:10:16 +00:00
Johannes Batzill
8be57c6f09 [MISC] fix repo delete for older repos that failed import (#972) 2024-01-17 19:10:10 +00:00
Darko Draskovic
9f69a4fee1 Add missing parameters to repo count limiter func (#944) 2024-01-09 17:20:27 +00:00
Atefeh Mohseni-Ejiyeh
4c90cec3e5 remove default Admin account /environment variables (#938) 2024-01-03 18:31:47 +00:00
Darko Draskovic
1a8e99f0b6 Add noop repo resource limiter to controller (#926) 2023-12-22 17:31:15 +00:00
Marko Gacesa
a7f11126fa remove gogit (#887) 2023-12-11 10:15:15 +00:00
Atefeh Mohseni-Ejiyeh
5aec7bf37f move job package to the top level (#883) 2023-12-08 17:06:44 +00:00
Marko Gacesa
25d282073d return user info for rule bypass users (#867) 2023-12-05 19:04:04 +00:00
Marko Gacesa
03b33aca77 store PR commit count in the DB (#842) 2023-11-30 15:01:18 +00:00
Johannes Batzill
5cdbde8100 [GA] Add feature flag for enable/disable public resource creation (#845) 2023-11-30 02:20:34 +00:00
Shubham Agrawal
1a2a456550 Add interfaces for keyword search (#816) 2023-11-29 18:02:46 +00:00
Marko Gacesa
1d06026d05 handle merge conflict not as an error (#823) 2023-11-28 11:14:51 +00:00
Marko Gacesa
3d97474dcf feat: [CODE-1132]: dryrun requires view permission (#819) 2023-11-22 22:38:44 +00:00
Marko Gacesa
7811559c4d skip repo dir delete when deleting importing repo (#807) 2023-11-20 10:39:00 +00:00
Marko Gacesa
f3bfdeaf8e add dry_run_rules option to the commit API (#808) 2023-11-17 12:07:20 +00:00
Marko Gacesa
2c618b33b3 add bypassable to rule violation (#802) 2023-11-15 14:37:52 +00:00
Enver Bisevac
67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Johannes Batzill
07951e7d7e [Rules] Delete of rule should not be publicly available (#799) 2023-11-14 23:37:45 +00:00
Marko Gacesa
fcf9ce6a5d allow rule rename (#793) 2023-11-14 07:27:28 +00:00
Akhilesh Pandey
66ff29d36e feat: introduce new event for repo deletion and refactor existing pullreqevents to repoevents (#736) 2023-11-13 18:37:53 +00:00
Johannes Batzill
972c7d6c67 [BugBash] Rule Descriptions & Reordering, UID Validation, Improved Error Messages (#790) 2023-11-11 00:59:17 +00:00
Marko Gacesa
941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Vistaar Juneja
bf9a5953c3 perform user validation before triggering import (#760) 2023-11-03 15:30:16 +00:00
Johannes Batzill
b0e519b571 [WIP] Move from space_owner to repo_admin for protection rules (#745) 2023-10-30 22:35:52 +00:00
Abhinav Singh
e0df722ce3 feat: add codeowner validate api (#733) 2023-10-30 22:16:39 +00:00
Marko Gacesa
1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Marko Gacesa
8d8535aa77 protect branch/tag create/delete APIs (#727) 2023-10-26 17:24:39 +00:00
Dan Wilson
b9b80197a4 Fix repo listing case for bitbucket (#720) 2023-10-26 08:47:53 +00:00
Marko Gacesa
6ee49f9848 API returns status 422 in case of rule violations (#718) 2023-10-26 08:35:42 +00:00
Johannes Batzill
adeb965723 [MISC] Make Update Action sha optional in Commit API. (#722) 2023-10-25 19:51:21 +00:00
Johannes Batzill
0961ee0906 [MISC] Separate Git Smart HTTP Protocol Into Handler and Controller (#717) 2023-10-25 17:23:19 +00:00
Marko Gacesa
266b3a4fa1 lifecycle protection rules (#715) 2023-10-24 20:20:20 +00:00
Marko Gacesa
7ab52c1764 add protection to prevent direct push (#712) 2023-10-24 14:22:06 +00:00
Vistaar Juneja
5771f9f5e9 add bitbucket support for import repo (#711) 2023-10-23 15:08:45 +00:00
Johannes Batzill
1ea0025f99 [MISC] Fix Linting/Formatting/Generated Files (#697) 2023-10-19 00:36:07 +00:00
Abhinav Singh
1a07ee90d2 fix: [CODE-965]: codeowners file parse (#684) 2023-10-18 06:38:50 +00:00
Marko Gacesa
419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
Marko Gacesa
e124b917ac add option not to convert pipelines for repo import (#625) 2023-10-02 11:20:02 +00:00
Marko Gaćeša
933d2d9703 remove sqlx.DB from controllers and services 2023-09-28 14:07:25 +02:00
Johannes Batzill
f51f97adb2 [MISC] Make Internal/Container URL Generic (and fix GetTreeNode) (#621) 2023-09-28 03:33:45 +00:00
Johannes Batzill
5b33258589 [MISC] Abstract URL Provider (#617) 2023-09-27 02:42:33 +00:00
Johannes Batzill
a8cb5dc8d2 remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00