Marko Gaćeša
3274fca051
fix internal error in get PR activity list API
2023-05-12 13:26:39 +02:00
Marko Gaćeša
59b7cf5e69
comment status API
2023-05-08 16:03:23 +02:00
Marko Gaćeša
de0ab2bc75
return old/new-line-new values used to create cc
2023-05-04 11:08:24 +02:00
Marko Gaćeša
13e4ffe522
Add code comments
2023-04-13 14:12:01 +02:00
Marko Gaćeša
ce322ec596
Writing pull req activities in controllers ( #263 )
2023-01-31 12:34:18 +01:00
Marko Gaćeša
825336d0e4
Added missing context in some of the log calls ( #250 )
2023-01-25 14:06:48 +01:00
Johannes Batzill
085e63422b
[MISC] Explicitly type PullReqActivity.Payload ( #233 )
2023-01-20 12:29:13 -08:00
Johannes Batzill
335998505e
[MISC] Introduce PathStore and Move PathLogic to Controller Layer ( #226 )
...
This change is a follow up on the effort to remove transactions and sync stores from the database layer, and move them in the application layer. It is addressing the repo + space store.
The following changes are included:
- Introduce PathStore storing resource paths (repo + space)
- Add foreign key from path.repo_id/space_id to repo.id/space.id
- Add foreign key from repo/space.parent_id to space.id
- Remove repo_sync and space_sync
- Move path creation logic to repo/space controller (for both creating primary paths for new repos/spaces, as well as creating alias spaces)
- Reimplement repo/space moving on controller layer
2023-01-18 11:34:12 -08:00
Marko Gaćeša
091ff2d618
Removed joins from the PR-related list quieries ( #204 )
2023-01-13 13:58:49 +01:00
Marko Gaćeša
24e03c03e0
Added principal info cache ( #173 )
...
* added principal info cache
* updated code based on the PR comments
* updated implementation of deduplicate()
* minor changes
* [K, T] -> [K, V]
2023-01-11 20:32:37 +01:00
Johannes Batzill
06721dcf20
[Techdebt] merge user/service/serviceaccount stores into single principal store ( #160 )
...
This change merges the `UserStore`, `ServiceStore`, and `ServiceAccountStore` into a single `PrincipalStore`.
2023-01-05 15:58:18 -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
Marko Gaćeša
f14731455d
Add parent_id column to the pullreq_activities DB table ( #143 )
2022-12-28 18:51:34 +01:00
Marko Gaćeša
da53331ca1
PR comment: edit and delete APIs ( #138 )
2022-12-27 14:55:53 +01:00
Marko Gaćeša
b5bdeb8538
create comment API ( #137 )
2022-12-27 11:46:49 +01:00
Marko Gaćeša
7fc77396a9
Pull request timeline feature: DB and the list API ( #136 )
2022-12-26 12:17:38 +01:00