Commit Graph

11 Commits

Author SHA1 Message Date
Akhilesh Pandey
b8c239ed6d [CODE-617]: Lint issues 2023-07-20 19:03:25 +05:30
Akhilesh Pandey
fe9bc1a4db [CODE-617]: Add API support to registration check 2023-07-20 18:48:30 +05:30
Akhilesh Pandey
cff02b9d90 [CODE-617]: Lint fixes 2023-07-20 17:49:02 +05:30
Akhilesh Pandey
e93e4500a0 [CODE-617]: Move disable logic to handler and remove todo for it 2023-07-20 16:47:21 +05:30
Akhilesh Pandey
9fb093bad3 Merge branch 'main' into akp/CODE-617 2023-07-20 16:35:43 +05:30
Akhilesh Pandey
4c92c32c0a [CODE-617]: Add env variable in Gitness to allow/disallow sign-ups 2023-07-20 16:34:07 +05:30
Akhilesh Pandey
ee683aa2c8 Update struct attribute names and pass register logic from handler to controller 2023-07-18 00:57:06 +05:30
Akhilesh Pandey
959fb7b462 CODE-610: Remove FormValue and start using Query().Get() for all APIs doing get requests and sync required parameters in swagger schema 2023-07-12 21:16:07 +05:30
Enver Bisevac
00647d7d1b [MAINT] golangci-lint config changed (#31)
* goheader linter added

* file header consistency
2022-10-13 14:39:15 +02:00
Johannes Batzill
5786ad2409 [Embedded] Harness Router, Inline Space Creation, Bootstrap, Harness/Admin User Setup (#28)
Adds the basic for harness embedded mode:
- Harness dedicated router with custom APIHandler
- Inline Space Creation
- Client for Account/Org/Project
- Bootstrap (Allows for automated creation of admin user and gitness service (used for all platform required ops))
- Inline harness service principal creation
- Ignore flag for ACL.
2022-10-10 21:32:14 -07:00
Johannes Batzill
fad6e18898 Introduce Controller for Repo, Space, User, and ServiceAccount (#25)
Preparing the support for harness specific API router + http handler, which allows us to have complete control over the rest api naming and functionality, without having to do complex path rewrites or request / reponse rewrites inline.
2022-10-03 18:56:49 -07:00