Commit Graph

38 Commits

Author SHA1 Message Date
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
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
Atefeh Mohseni Ejiyeh
d06dd5c2fd fix:update default branch for empty repos if doesnt exist (#2127) 2024-06-28 02:16:39 +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
Darko Draskovic
8049651963 Temporarily comment out file size check (#2040) 2024-05-15 16:26:10 +00:00
Johannes Batzill
423801d51a [Secret Scanning] Add basic support for gitleaksignore (#2030) 2024-05-09 22:00:03 +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
781b3547c0 refactor git hook calling and shared repo (#1200) 2024-04-12 09:48:35 +00:00
Johannes Batzill
8ed9457cd3 fix indentation for secret scan CLI output (#1201) 2024-04-10 20:04:19 +00:00
Johannes Batzill
5652ca7bb3 Add Repo Path Listing API (#1197) 2024-04-10 20:04:08 +00:00
Atefeh Mohseni-Ejiyeh
b64f4c41fa Update default branch on empty repo for first commit (#1122) 2024-04-04 01:16:43 +00:00
Johannes Batzill
b02da4b78a Improve secret scanning output (#1170) 2024-03-29 19:33:08 +00:00
Johannes Batzill
594cb3bae5 Add summary line to secret scan (#1167) 2024-03-29 04:01:06 +00:00
Johannes Batzill
e4db4dc4ff Enable Secret Scanning for Empty Repo (#1165) 2024-03-29 00:40:16 +00:00
Johannes Batzill
6093a4cab8 Put secret scanning behind setting (#1160) 2024-03-28 06:43:37 +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
Johannes Batzill
39a998eacd Adding Repo Level Settings (#1145) 2024-03-28 03:36:15 +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
Darko Draskovic
8dc82433c5 Add generic pre/post receive extender (#1138) 2024-03-26 18:17:28 +00:00
Marko Gacesa
5d44bd0128 improve git push rule bypass messages (#1043) 2024-02-21 10:47:27 +00:00
Johannes Batzill
adf2046a94 [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
Darko Draskovic
dd49c18b2e Add a repo size limiter method to Unlimited limiter (#943) 2024-01-03 14:13:51 +00:00
Johannes Batzill
1d8d50a188 [Githook] Introduce InMemory Githook (#916) 2023-12-19 15:50:15 +00:00
Marko Gacesa
1899e70e56 detect force push (#856) 2023-12-07 10:25:08 +00:00
Marko Gacesa
941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Johannes Batzill
3418dd1127 [Protection Rules] Load user from store in pre-receive hook (#747) 2023-10-31 04:25:12 +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
Marko Gacesa
bd31faee07 block modifications of pullreq refs (#739) 2023-10-30 10:55:32 +00:00
Marko Gacesa
1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Marko Gacesa
059e9760c8 require push permission for PR merge (#725) 2023-10-26 17:34:28 +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
Johannes Batzill
1ea0025f99 [MISC] Fix Linting/Formatting/Generated Files (#697) 2023-10-19 00:36:07 +00:00
Marko Gaćeša
933d2d9703 remove sqlx.DB from controllers and services 2023-09-28 14:07:25 +02: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