Commit Graph

1222 Commits (main)

Author SHA1 Message Date
Tan Nhu c7f852cbf4 Flow for edit file (#58) 2022-11-07 11:35:48 -08:00
Johannes Batzill 3ba0f75c8d Introduce UIDs for Space / Repo / Tokens, Add Custom Harness Validation, ... (#57)
This change adds the following:
- Space UID + Custom harness validation (accountId for top level space, harness identifier for child spaces)
- Repo UID + Custom harness validation (harness identifier)
- Store Unique casing of space / repo path and add Path.ValueUnique (with Unique index) to allow for application layer controlling the case sensitivity (case insensitive standalone vs partially case sensitive harness)
- Token UID (unique index over ownertype + ownerID + tokenUID)
- Add DisplayName for principals (replaces Name to avoid confustion)
- Store Unique casing of principal UID and add Principal.ValueUnique (with unique index) to allow for application layer, per principal type control of case sensitivity (required in embedded mode)
- Generate serviceAccount UID (+Email) Randomly (sa-{space|repo}-{ID}-{random}) - Allows to have a unique UID across all principals while reducing likelyhood of overlaps with users + avoid overlap across spaces / repos.
- Sync casing of space names (accountId orgId projectId) when creating spaces on the fly (to ensure case sensitivity of - harness code) or use the existing space to update casing.
- Update serviceaccount client to match updated NG Manager API
- in embedded mode create spaces for harness resources owning the service account
2022-11-06 23:14:47 -08:00
Tan Nhu 2fe8669119 Add clone tooltip (#56) 2022-11-06 12:39:14 -08:00
Tan Nhu 0d5771d706 Implement Branches page (#55) 2022-11-04 00:22:21 -07:00
Tan Nhu 23e597758a Refactor: abstract parameters into hooks + add placeholders for branches and settings (#54) 2022-11-03 15:48:55 -07:00
Tan Nhu 0bdae50be2 API integration for Commits page (#52) 2022-11-01 20:38:42 -07:00
Tan Nhu 3f7fc109d0 Branch search and styles (#50)
* Add LatestCommit component

* Add branches search

* Proper link for root
2022-11-01 00:53:46 -07:00
Tan Nhu c21b860e46 Refactor: Use types from SCM Service (#48) 2022-10-27 00:57:20 -07:00
Tan Nhu c8b978a6ed API integrations + simplify design (#46) 2022-10-25 03:25:46 -07:00
Enver Bisevac 00647d7d1b [MAINT] golangci-lint config changed (#31)
* goheader linter added

* file header consistency
2022-10-13 14:39:15 +02:00
Tan Nhu 6cadb048ba Initial skeleton for Repository Resource View flow (#30)
* API integration for Repos listing page

* Add custom branch when creating a repo

* Skeleton for Repository Resource View flow
2022-10-11 23:54:10 -07:00
Tan Nhu 788ee30ba3 Add prototyping for Repos page (#24) 2022-10-03 12:06:27 -07:00
Tan Nhu 2ccfb74a51 Rename SCM to Gitness 2022-08-29 14:28:46 -07:00
Tan Nhu bad786e769 Add typing improvements 2022-08-26 15:57:05 -07:00
Tan Nhu f2b65c7f77 Clean up unused files (cont) 2022-08-22 17:04:21 -07:00
Tan Nhu 88dff819c9 Clean up unused files 2022-08-22 16:44:07 -07:00
Tan Nhu 7f5a783416 Merge pull request #3 from harness/ui-template-improved
Simplify routing system
2022-08-22 16:04:37 -07:00
Tan Nhu 6d3d3d62f6 Simplify routing system 2022-08-22 16:04:00 -07:00
Johannes Batzill 813d343f6a Rename module to github.com/harness/scm. Fix web/dist.go 2022-08-18 15:15:50 -07:00
Tan Nhu 7c6da77a27 Sync UI template with latest updates 2022-08-18 11:44:33 -07:00
Tan Nhu 66fea2a730 Sync UI template with latest updates 2022-08-12 12:09:57 -07:00
Tan Nhu 5891818ce1 Initial commit 2022-08-09 12:37:37 -07:00