Commit Graph

176 Commits

Author SHA1 Message Date
Johannes Batzill
b0e519b571 [WIP] Move from space_owner to repo_admin for protection rules (#745) 2023-10-30 22:35:52 +00:00
Dan Wilson
fb892a8ca8 Add gogs import org/repo support to gitness (#735) 2023-10-27 14:04:44 +00:00
Calvin Lee
79448a3c77 feat: [code-980]: add branch protection page (#723) 2023-10-26 21:45:26 +00:00
Dan Wilson
072a133ac6 add gitea support (#728) 2023-10-26 19:41:44 +00:00
Dan Wilson
3701d4a24f add bitbucket support for import space and repo (#721) 2023-10-26 11:12:10 +00:00
Tan Nhu
3c83ecb0df Treat file without extension as text + more syntax highlighted mapping (#708) 2023-10-20 20:27:44 +00:00
Dan Wilson
363ad84635 add edit button to execution header (#700) 2023-10-20 08:48:10 +00:00
Calvin Lee
3e396fa81e fix: [code-664]: fix ref tag issue (#666) 2023-10-10 16:43:19 +00:00
Tan Nhu
f1411da8cb Fix commit message color when it's long + add some UI clean-up (#665) 2023-10-09 21:57:24 +00:00
Tan Nhu
2df8b470f7 Keep branch name when switching between Files and Commits (#664) 2023-10-09 21:16:51 +00:00
Calvin Lee
d4e221f539 fix: [code-924]: Support Import with .git at the end of URL (#644) 2023-10-03 20:27:37 +00:00
Johannes Batzill
a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Tan Nhu
ecfe2b5cff Leverage requestAnimationFrame to schedule logs rendering / Render 100k lines of log without lagging (#603) 2023-09-22 18:35:26 +00:00
Hitesh Aringa
69b5d0c619 fix: [code-886]: add address field in import space form (#597) 2023-09-21 05:15:18 +00:00
Dan Wilson
a93a0ee41a fix secrets bugs and some eslint errors (#571) 2023-09-20 15:43:51 +00:00
Dan Wilson
78d2c8632b fix skipped icon (#568) 2023-09-20 10:49:34 +00:00
Tan Nhu
4042c3404f Change the majority of font-size from 12px to 13px (#561) 2023-09-20 02:06:56 +00:00
Tan Nhu
c00c3c0947 Unify Pipelines Checks / Terminal scrolling experience + bolder icons (#559) 2023-09-19 23:27:46 +00:00
Tan Nhu
f326fd5640 Add syntax highlighting support for cc, toml, env, Makefile (#558) 2023-09-19 22:29:31 +00:00
Johannes Batzill
fde1490c59 [UI] Dynamic reloading of code comments (#547) 2023-09-19 21:42:33 +00:00
Tan Nhu
ef98a74e41 Fixed Project/Space creation with spaces / special text file / markdown / gitblame (#553) 2023-09-19 21:37:57 +00:00
Dan Wilson
d02e74f490 add cancel build button, fix small css issues on console, fix some eslint issues (#544) 2023-09-19 15:31:05 +00:00
Calvin Lee
806525a8db fix: [code-886]: ui bug fixes (#530) 2023-09-18 21:59:47 +00:00
Tan Nhu
1572618093 Pipeline Checks refactoring and bug fixes (#515) 2023-09-18 20:52:38 +00:00
Johannes Batzill
27de7971b9 [File Viewed] Adding Full Stack Support for File Viewed Feature (#516) 2023-09-18 15:59:40 +00:00
Dan Wilson
300518806e small ui fixes (#505) 2023-09-15 18:17:35 +00:00
Hitesh Aringa
788b7807d6 feat: [code-860]: export modal (#499) 2023-09-15 15:08:01 +00:00
Dan Wilson
a6dcc0a6ef small ui fixes in pipelines (#501) 2023-09-15 11:21:22 +00:00
Tan Nhu
e1b6e6dbcb Integrate Pipelines into PR Checks (#477) 2023-09-14 03:22:49 +00:00
Calvin Lee
fdfa3ff39f feat: [code-695]: fix username and password on forms (#465) 2023-09-13 22:38:09 +00:00
Calvin Lee
2de6217401 feat: [code-695]: import git repo (#274) 2023-09-13 20:46:43 +00:00
Dan Wilson
e0061153d9 small execution fixes 2023-09-13 10:22:12 +01:00
Tan Nhu
ce6d798fb2 Implement Semantic Search (#440) 2023-09-12 22:16:40 +00:00
Vardan Bansal
48a76ae1d5 Merge branch 'main' into add-pipeline-editor 2023-09-11 16:02:56 -07:00
Tan Nhu
ef84e6085f Use typed-scss-modules to generate SCSS module .d.ts files (#425) 2023-09-10 23:39:23 +00:00
Vardan Bansal
94e4cca4d6 Merge branch 'main' into add-pipeline-editor 2023-09-08 21:27:59 -07:00
Tan Nhu
4b36713c0d Update Monaco lib / Fix Git Blame font (#417) 2023-09-08 18:44:52 +00:00
Dan Wilson
2d0fc6f3c9 UI log streaming and some secrets WIP 2023-09-08 14:51:29 +01:00
Vardan Bansal
4940b3b3e5 sync with main 2023-09-07 03:31:30 -07:00
Dan Wilson
f7969d3bf5 use shared status icon component and remove rem usage 2023-09-04 13:48:43 +01:00
Vardan Bansal
e785cd82b0 Merge branch 'main' into add-pipeline-editor 2023-09-01 15:49:56 +05:30
Calvin Lee
c131873c82 add support for submodules and symlinks (#378) 2023-08-31 17:38:53 +00:00
Dan Wilson
1e67bf15ec execution list WIP 2023-08-30 17:49:50 +01:00
Vardan Bansal
0436628aea Schema integration 2023-08-30 15:37:59 +05:30
Tan Nhu
96ac05789a Migrate UICore to version 4 to support Gitness fully open source (#338) 2023-08-22 06:25:45 +00:00
Johannes Batzill
f8d1ca6460 [UI] Membership Add Is not filtering for Users (#317) 2023-08-15 03:41:23 +00:00
Calvin Lee
c6fa9c0218 fix: [code-754]: changing branch on file view doesnt change file content (#315) 2023-08-14 22:42:53 +00:00
Tan Nhu
f9f728debd Fix last commit info is not rendered when scrolling quickly (#303) 2023-08-11 17:10:00 +00:00
“tan-nhu”
c1a23445dd CODE-520: FE: optimize loading of file lists for large repos 2023-08-10 10:17:49 -07:00
Tan Nhu
4e1c852a01 Improve PR Checks polling in case PR does not have any checks (#297) 2023-08-09 21:31:58 +00:00
Calvin Lee
99f6e4334e feat: [CODE-677]: Commit Range Dropdown in PR Changes Tab (#235) 2023-08-08 23:39:39 +00:00
Tan Nhu
7d000706f0 Implement PR Checks (#289) 2023-08-08 08:50:50 +00:00
Calvin Lee
d3c70f0dfb fix: [code-682]: fix wrap on pr review box (#272) 2023-08-03 18:38:20 +00:00
Calvin Lee
ea5ed851d1 feat: [code-661]: add space listing popover and space settings (#238) 2023-07-26 05:52:11 +00:00
“tan-nhu”
8e06f49017 [CODE-655]: Refactor Nav system to adapt with new design 2023-07-24 14:56:27 -07:00
Calvin Lee
4c1ba4a11c feat: [code-645]: fix signup and signin pages (#209) 2023-07-18 22:49:07 +00:00
Calvin Lee
a43c69465e feat: [code-644]: add .env file types (#208) 2023-07-18 22:49:01 +00:00
Calvin Lee
c49bc0f1be feat: [code-591]: add signup and signin page (#201) 2023-07-17 20:17:52 +00:00
Tan Nhu
5bb6084b68 Initial commit to support Gitness standalone shell (#174) 2023-07-14 17:14:36 +00:00
“tan-nhu”
37286e478d [CODE-570]: [UI] Unable to Edit files + add extra text file types 2023-06-27 12:55:04 -07:00
Calvin Lee
4d1160f224 feat: [code-475]: add pr reviewers in pr page (#155) 2023-06-22 21:54:58 +00:00
Tan Nhu
2ba2d48f43 Add support for rendering pdf, video, image and other binary files (#151) 2023-06-19 22:36:01 +00:00
calvin
24b3ec9fe9 feat: [code-288]: file commit history 2023-06-05 15:52:15 -06:00
“tan-nhu”
404631a22d feat: Allow empty PR description 2023-06-02 17:21:32 -07:00
Tan Nhu
674dcc11d2 feat: Add some improvements into Pull Request creation flow (#110) 2023-06-02 17:44:10 +00:00
calvin
7a6b24aa4c fix: [code-390]: fix comments 2023-05-29 13:26:05 -06:00
“tan-nhu”
993c31e5a2 feat: [CODE-307/308]: Submitting a PR review requires commit SHA + Resolve/Unresolve comments 2023-05-10 16:50:56 -07:00
“tan-nhu”
4e18c009bb feat: [CODE-298]: Code Comment API integration + Optimize PR polling + implement unchecked status 2023-05-10 02:13:52 -07:00
“tan-nhu”
3840b36285 feat: [CODE-263]: API integration for new PR Code Comment API 2023-04-28 14:59:04 -07:00
“tan-nhu”
821d79d53c Implememnt diff view in editing file 2023-04-28 10:23:12 -07:00
“tan-nhu”
dc15e6bb18 feat: [CODE-215]: Move GitBlame to a separate tab + UI tweaks per Design 2023-04-25 17:46:40 -07:00
Calvin Lee
47bca44bc0 Merge branch 'code-213' of _OKE5H2PQKOUfzFFDuD4FA/default/CODE/gitness (#38) 2023-04-24 20:15:12 +00:00
“tan-nhu”
1873bf57d6 Resolve Editor slowness by replacing Editor React wrapper lib 2023-04-24 12:41:42 -07:00
calvin
077d4a5faf feat: [code-213]: clone credential dialog 2023-04-24 12:37:01 -06:00
“tan-nhu”
bd35901bc2 Update Blame UI with new API types 2023-04-05 13:11:51 -07:00
calvin
9887d42685 feat: [code-181]: rbac 2023-04-03 10:14:56 -07:00
“tan-nhu”
ae906126e9 Add Git Blame UI + API integration 2023-04-02 22:50:52 -07:00
“tan-nhu”
1ff1809990 Prototype for PR Checks UI 2023-03-16 11:00:10 -07:00
Calvin Lee
5241762772 feat: [code-51]: image preview on conversation (#365) 2023-03-07 16:20:36 -07:00
Tan Nhu
ddce5e817d Proper decoding UTF8 content to support Emoji / special UTF8 chars (#360) 2023-03-01 10:29:59 -08:00
Calvin Lee
a50e95b8ad feat: [CODE-133]: add sort filters and active state (#347) 2023-02-16 16:40:32 -07:00
Calvin Lee
e179696678 feat: [code-120]: internal page refresh button (#316) 2023-02-09 13:00:44 -07:00
Tan Nhu
a2cac1e82b API integration for different type of merges (#268)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-31 08:41:46 -08:00
Johannes Batzill
2227e13e7d [MISC] Fix Swagger and Regenerate WEB Services (#246) 2023-01-24 15:46:49 -08:00
Tan Nhu
b700603fef Sort PR activities + add animation when creating a new comment (#243)
Co-authored-by: Tan Nhu <tnhu@users.noreply.github.com>
2023-01-23 23:48:37 -08:00
Tan Nhu
56a6dba484 Implement PR code commenting using payload field (#235) 2023-01-19 16:29:38 -08:00
Tan Nhu
1aa1123bd2 Consolidate pagination for the whole codebase + Use SearchInputWithSpinner component (#222)
* Remove center layout for empty repo info - hard to read

* Consolidate pagination for the whole codebase

* Use SearchInputWithSpinner component

* Use SearchInputWithSpinner component
2023-01-17 14:59:56 -08:00
Tan Nhu
797e339e02 Implement flow to create a new file when repo is empty (#216)
* Implement flow to create a new file when repo is empty

* Implement flow to create a new file when repo is empty

* Fix edit file does not show content
2023-01-16 11:51:00 -08:00
Tan Nhu
3b5542a61d Add Pagination for Diff view (#208) 2023-01-13 09:23:10 -08:00
Johannes Batzill
65c59d0b5b [MISC] Fix review bugs, regenerate swagger from latest service, fix webhook.has_secret in swagger (#198)
This change contains the following changes:
- allow submitting reviews without comment for approve
- fix openapi for /reviews api and fix UI calls for submitting reviews
- fix recently broken openapi for webhook (it removed has_secret field as part of openapi refactor)
- fix fatal submit review bug (we passed repo.UID not repo.GitUID to gitrpc - not sure how that ever worked?)
- add missing merge pr activity to list of all pr activity enum values
- return all PR states by default
- show Open PRs by default (instead of all) and fix state filtering query
- regenerate code services based on latest swagger
- fix UI code to work with regenerated code service
2023-01-12 22:39:38 -08:00
Tan Nhu
b7e0f6cce5 Minor change to disable Review changes button (#197)
* Minor change to disable Review changes button

* Update PR listing icons
2023-01-12 21:04:08 -08:00
Tan Nhu
6719e11c09 Add styling for two PR states (#187)
* Refresh activities after merging

* Fix activities API call using wrong PR number

* Update logic to submit webhook secret

* Update webhook with new fields (display_name, desc)

* Add styling for two PR states
2023-01-12 01:14:26 -08:00
Tan Nhu
58a2d90973 Redirect to Compare when editing a file with new branch created (#149) 2022-12-29 22:41:43 -08:00
Marko Gaćeša
a79e187a88 DB & API refactor: Use snake case (#144)
Update DB and API to follow Harness Standard
2022-12-29 13:53:08 -08:00
Tan Nhu
e4ae2b269b Implement components to support PR commenting (#146) 2022-12-28 15:58:02 -08:00
Johannes Batzill
63c3740e58 [UI] Consume Latest OpenAPI Specs (#134)
* regenerate CODE service code to match latest API specs

* update readme
2022-12-22 21:58:38 -08:00
Tan Nhu
97e70cd581 Implement commenting thread (#132)
* Implement commenting thread

* Add extra comment example
2022-12-22 15:06:56 -08:00
Tan Nhu
43c7e94e06 Add markdown editor into commenting (#128)
* Small refactoring

* Refactoring: Make it a bit easier for DOM manipulation

* Add markdown editor into commenting
2022-12-20 11:28:56 -08:00
Tan Nhu
0d49ef1d69 Prototyping for diff annotations (#127) 2022-12-16 09:57:52 -08:00
Tan Nhu
619fd2c9de Add PR listing page + Commits tab for PR detail page (#123)
* Add PR listing page + Commits tab for PR detail page

* Add commits place-holder in Compare view

* Add commits place-holder in Compare view

* Correct PR number after creation

* Minor CSS improvement

* Add diff sample

* Diff side by side (3.4.2 is better than latest)

* Big PR diff example

* Implement diff view

* Scrolling optimization

* Add placeholder to allow click at line number
2022-12-12 16:39:14 -08:00