Commits
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
This adds five new webhook event types alongside the existing `push` and
`repository:renamed` events:
- `pull_request:created`
- `pull_request:resubmitted`
- `pull_request:merged`
- `pull_request:closed`
- `pull_request:reopened`
Each event carries a payload with an `action` field, pull request metadata (number, title, state,
target branch, source branch/repo/sha), the repository object, and the sender. The patch itself is
not embedded; payloads include a `patch_url` pointing at the existing raw round-patch route instead.
Merge, close, and reopen reuse the existing `NewPullState` notifier call sites. `Resubmission`
previously emitted no notifier event at all, so this adds a `ResubmitPull` method to the `Notifier`
interface, fired from both the regular and stacked resubmit paths (stacked resubmits also now fire
`NewPull` for pulls newly added to a stack). Stack-pull abandonment intentionally emits no event.
The webhook notifier now takes the appview base URL so pull request `html_url`/`patch_url` point at the
appview, where pull routes live (`repository.html_url` keeps pointing at the knot, unchanged).
Refs #97, #94.
Fixes [#672](https://tangled.org/tangled.org/core/issues/672)
Signed-off-by: dawn <dawn@tangled.org>
Set the `color-scheme` property such that css functions like
`light-dark` work correctly, and any un-customised native elements use
the correct theme
This improves total commit count query about 10x.
10s -> 1s from kernel repository.
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
- the username field now explicity has a `.tngl.sh` suffix to indicate
the provisioned user handle
- an autoupdating hint below the handle field that shows the user their
full handle `Your handle will be <input>.tngl.sh`
Signed-off-by: oppiliappan <me@oppi.li>
instead of inline html string, which seems to have styling issues
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
If there are more than one follow/unfollow button in one screen, we want
to update them at once like we do with star button
Signed-off-by: Seongmin Lee <git@boltless.me>
We keep duplicated follow records in db to delete them on unfollow. So
instead of having unique constraint, we deduplicate them on query.
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
pings the spindle for pipeline statuses for a list of SHAs and
translates them into html fragments
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
if onboarding is quit midway, show the progress status in the home page
and the settings/profile pages
Signed-off-by: oppiliappan <me@oppi.li>
base layout for all onboarding related pages
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Lewis: May this revision serve well! <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
Signed-off-by: Seongmin Lee <git@boltless.me>
appview/pages/profile-fx/danschmidt.js: danschmidt <d_schmidt@coloradocollege.edu>
appview/pages/profile-fx/mihaizaurus.at.js: Mihai <73397939+mihaizaurus@users.noreply.github.com>
appview/state/profile.go: Lewis <lewis@tangled.org>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: teq <teqed@shatteredsky.net>
Signed-off-by: Seongmin Lee <git@boltless.me>
Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
appview/pages/profile-fx/oppili.js: oppi.li <me@oppi.li>
appview/pages/profile-fx/wilb.me.js: Wilhelm Berggren <wilhelmberggren@gmail.com>
appview/pages/profile-fx/kandake.js: ashex <ashex@chipnick.com>
appview/pages/profile-fx/gdorsi.bsky.social.js: Gustavo Dorsi <gu.dorsi@gmail.com>
appview/pages/profile-fx/punchcard-td.js: J.H. Roemer <jh.roemer@gmail.com>
appview/pages/profile-fx/willow.sh.js: Willow <git@willow.sh>
appview/pages/profile-fx/luisstd.js: Luis Steidle <luis@steidle.me>
appview/pages/profile-fx/chancey.dev.js: Jonathan Chancey <jonathan@chancey.dev>
appview/pages/profile-fx/matthewlipski.tngl.sh.js: Matthew Lipski <matthewlipski@gmail.com>
appview/state/profile.go: Lewis <lewis@tangled.org>
Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Lewis: May this revision serve well! <lewis@tangled.org>
Signed-off-by: dawn <dawn@tangled.org>
This adds five new webhook event types alongside the existing `push` and
`repository:renamed` events:
- `pull_request:created`
- `pull_request:resubmitted`
- `pull_request:merged`
- `pull_request:closed`
- `pull_request:reopened`
Each event carries a payload with an `action` field, pull request metadata (number, title, state,
target branch, source branch/repo/sha), the repository object, and the sender. The patch itself is
not embedded; payloads include a `patch_url` pointing at the existing raw round-patch route instead.
Merge, close, and reopen reuse the existing `NewPullState` notifier call sites. `Resubmission`
previously emitted no notifier event at all, so this adds a `ResubmitPull` method to the `Notifier`
interface, fired from both the regular and stacked resubmit paths (stacked resubmits also now fire
`NewPull` for pulls newly added to a stack). Stack-pull abandonment intentionally emits no event.
The webhook notifier now takes the appview base URL so pull request `html_url`/`patch_url` point at the
appview, where pull routes live (`repository.html_url` keeps pointing at the knot, unchanged).
Refs #97, #94.
Signed-off-by: oppiliappan <me@oppi.li>
appview/pages/profile-fx/oppili.js: oppi.li <me@oppi.li>
appview/pages/profile-fx/wilb.me.js: Wilhelm Berggren <wilhelmberggren@gmail.com>
appview/pages/profile-fx/kandake.js: ashex <ashex@chipnick.com>
appview/pages/profile-fx/gdorsi.bsky.social.js: Gustavo Dorsi <gu.dorsi@gmail.com>
appview/pages/profile-fx/punchcard-td.js: J.H. Roemer <jh.roemer@gmail.com>
appview/pages/profile-fx/willow.sh.js: Willow <git@willow.sh>
appview/pages/profile-fx/luisstd.js: Luis Steidle <luis@steidle.me>
appview/pages/profile-fx/chancey.dev.js: Jonathan Chancey <jonathan@chancey.dev>
appview/pages/profile-fx/matthewlipski.tngl.sh.js: Matthew Lipski <matthewlipski@gmail.com>
appview/state/profile.go: Lewis <lewis@tangled.org>
Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>