3060 Commits

Author SHA1 Message Date
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
Marko Gaćeša
fe9118e074 PullReq list API: Added pagination headers (#121) 2022-12-09 17:02:45 +01:00
Marko Gaćeša
6bde210adf added branch params to PR list API (#119) 2022-12-09 15:45:02 +01:00
Marko Gaćeša
a0646e9935 using a lib for sql null types (#117) 2022-12-08 16:30:49 +01:00
Marko Gaćeša
15163f3daa pullreq: dedicated struct for pulling data from DB (#116) 2022-12-08 12:52:31 +01:00
Marko Gaćeša
efcb047f46 pullreq refactor: fix linter issues (#115) 2022-12-07 14:22:44 +01:00
Marko Gaćeša
9e86875217 Returning author and merger info for PRs (#114) 2022-12-07 14:03:17 +01:00
Marko Gaćeša
8bdb31a4e2 checking branch existence in PR create (#105)
* checking branch existence in PR create
* added new methods to gitrpc: existence check for branch and tag
2022-12-06 12:26:12 +01:00
Tan Nhu
d898f4edb7 Add placeholders for PR page (#113)
* Add placeholders for PR page

* Add placeholders for PR page
2022-12-05 10:44:47 -08:00
Tan Nhu
225199b008 feat: Add Create Git Pull Request flow (#111) 2022-12-02 21:32:42 -08:00
Sahithi Kolichala
7c4fe6292f feat: [SCM-42]: added tabs to settings page (#108)
* feat: [SCM-42]: added setting tabs

* feat: [SCM-42]: added settingtabs

* feat: [SCM-42]: added tabs to the settings page

* feat: [SCM-42]: fixed review comments
2022-12-02 21:08:03 -08:00
Shubham Banthia
c6e178c71c adding server hook implementation for post and pre receive (#109)
* adding server hook implementation for post and pre receive

* addressing comments

* update logging

* updating import order

* adding file header for license
2022-12-02 13:25:53 -08:00
Marko Gaćeša
a50e9a9951 fix list pullreq API openapi spec (#110) 2022-12-02 14:29:10 +01:00
Sahithi Kolichala
4c8323584b feat: [SCM-42]: fixed the reposetings content (#107) 2022-12-01 13:59:04 -08:00
Sahithi Kolichala
caea272046 feat: [SCM-42]: added listing page (#106) 2022-12-01 13:55:04 -08:00
Tan Nhu
edb6baabc6 Refactor to use shorter names + initial code for PR (#104) 2022-12-01 11:21:25 -08:00
Enver Bisevac
c64874143d allow line endings from input 2022-11-30 23:30:41 +01:00
Enver Bisevac
7a54ef9d65 fix with file content on commit, fix linter, removed unused provider 2022-11-30 22:36:01 +01:00
Sahithi Kolichala
08f8c14055 feat: [SCM-42]: added createwebhook form (#103)
* feat: [SCM-42]: added createwebhook form

* fix: [SCM-42]: mdified the string

* fix: [SCM-42]: use strings for strings
2022-11-30 11:02:42 -08:00
Marko Gaćeša
1f4ac7e4b4 pullreq: list API (#99) 2022-11-30 13:56:29 +01:00
Tan Nhu
6e5147578b Minor padding improvements (#102) 2022-11-29 20:01:13 -08:00
Shubham Banthia
c7df722c8a adding server side hook for update (#94)
* adding server side hook for update

* addressing comments

* update comments for command
2022-11-29 19:51:08 -08:00
Sahithi Kolichala
e410681739 fix: [SCM-42]: fixed the webhook page header (#101) 2022-11-29 14:09:50 -08:00
Marko Gaćeša
49cd521593 comment fix (#98) 2022-11-29 17:00:28 +01:00
Marko Gaćeša
1eba93695b feat: pull requests (#89)
* feat: pull requests, data layer

* pull requests: api layer

* add pull request number

* added auth check
2022-11-29 13:51:59 +01:00
Tan Nhu
a567a6ce76 Fix highlighting not enable at root level (#97) 2022-11-29 03:11:27 -08:00
Tan Nhu
a90fc1c59e Fix 500 exception when editing a file (#96) 2022-11-29 02:48:37 -08:00
Tan Nhu
505d72049b Finalize API integration for commits (#95) 2022-11-29 02:21:23 -08:00
Enver Bisevac
2b1bf42e3d merged changes 2022-11-29 11:09:06 +01:00
Enver Bisevac
9257abcd91 Merge branch 'main' of github.com:harness/gitness 2022-11-29 11:07:25 +01:00
Enver Bisevac
ee40f2af7a title + description in commit files 2022-11-29 11:05:35 +01:00
Sahithi Kolichala
b8cc24c491 feat: [SCM-42]: added route for createwebhook (#93)
* feat: added route for createwebhook

* feat: added createwebhook route
2022-11-28 14:48:30 -08:00
Enver Bisevac
732e1914ae minor refactoring and optimization 2022-11-25 18:58:20 +01:00
Tan Nhu
17c93350ae feat: [SCM-36]: Refactor SCM to CODE (#92) 2022-11-23 16:39:41 -08:00
Sahithi Kolichala
bb6850f13f added settings empty flow (#90) 2022-11-23 13:38:03 -08:00
Tan Nhu
68de8e236b Fix branches pagination (#88) 2022-11-23 02:53:51 -08:00
Enver Bisevac
630c9b553f ordering imports linter and writer (#85) 2022-11-22 23:42:39 +01:00
Tan Nhu
cc6fbbf58d Resolve cicular dependency (#87) 2022-11-22 14:12:16 -08:00
Enver Bisevac
ad619c7e3c [feat]ability to commit files using REST api (#82)
* initial work on commit files

* minor improvements, grpc server interceptors and more

* compare file old sha and current sha

* added some validation steps

* config immutable, introduce temp repos dir

* handler added to standalone

* fix CI linter, fix minor bug on update

* wire generator files
2022-11-22 19:24:40 +01:00
Tan Nhu
362137440f Use new BranchTagSelect in creating a new branch modal (#84)
* Use new BranchTagSelect in creating a new branch modal

* Use new BranchTagSelect in creating a new branch modal
2022-11-22 03:16:24 -08:00
Tan Nhu
49736b308c Add BranchTagSelect component (#83)
* Fix message encoding

* Add prototype for BranchTagSelect component

* Finish BranchAndTag component
2022-11-22 02:35:18 -08:00
Tan Nhu
e5fe4b67fe Fix message encoding (#81) 2022-11-17 03:03:50 -08:00
Tan Nhu
21eb0f61b6 Fix branch sorting (#80)
* Implement Branch item actions

* Implement Branch item actions

* Fix sorting
2022-11-17 02:02:26 -08:00
Tan Nhu
6d8c979e7c Implement Branch item actions (#79)
* Implement Branch item actions

* Implement Branch item actions
2022-11-17 01:48:48 -08:00
Marko Gaćeša
f1644f8e98 fixed headers write when handling openapi.yaml (#76) 2022-11-17 10:31:29 +01:00
Tan Nhu
7116c2fbe4 Implement Create Branch (#78)
* Update new icons

* Implement Create Branch
2022-11-17 00:16:57 -08:00
Johannes Batzill
60f0ea969d [API] Add API For Commit Divergence Calulation (#77)
This commit contains the following changes:
- Add `commits/calculate_divergence` API to calculate commit divergence of reference pairs
- Rename `serviceAccounts` to `service_accounts` to follow REST best practices
2022-11-16 16:53:31 -08:00
Tan Nhu
f204a5a2f8 Fix double ? in API URL (#75) 2022-11-15 13:21:31 -08:00
Enver Bisevac
86716b4a0c [bug] authentication on push to public repo (#74)
* authentication on push to public repo

* receivepack or uploadpack this should also be enum.PermissionRepoEdit or enum.PermissionRepoView

* accountID used for realm
2022-11-15 21:59:58 +01:00
Tan Nhu
782c6f2bd7 Refactor type system + add flow to copy/edit/delete a file (#73)
* Fix double query

* Add file toolbar buttons + wire up copy, delete, etc...

* Refactor type system
2022-11-15 02:42:59 -08:00