commits
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>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: knxrqwrvtmylopmumymzxsqorunklwxz
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: prnxlqukyzkuwltoylruvunqkmmwrukx
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: sknkqpvptxsxtulrqrrzkwttmxqlykom
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: qrwynuorxvvqvznmqrrvpmykvmzktlwu
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: loymplokzmykltuxrtpkxmkvstvqzxzo
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Change-Id: ymqwzszwsmzlzzlulqurxnlzrzzypkkz
Also, sanitize the raw markdown before rendering.
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
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>
`POST /star`'s template was whole `repoActions` fragment but `hx-target`
was set to `#starBtn` only. Resulting wrapper div copied every time when
user starred/unstarred the repo.
This wasn't noticeable because fork button next to it was invisible due
to undefined `.DisableFork` field on RepoStarFragment
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.sh>
- remove returns at end of function
- replace loop with copy
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
- uses grid layout for more controlled column scaling
- fixes commit message layout to show "expand" pill inline
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Signed-off-by: oppiliappan <me@oppi.li>
- Make `db.New*()` methods to accept complete model object instead of
individual fields
- Remove `posthog` field from *most* Service structs. Oauth still has
one as an edge-case
- Add more notifier methods to replace posthog logics
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
As `issue.IssueId` is already retrieved from `NewIssue`, We don't need
`GetIssueId` to get last issue-id.
Using same, last inserted issue-id would be better.
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
This will help indexing Issues faster when we introduce external search
indexer
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
unifies layouts in repo-index and repo-tree.
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: dusk <y.bera003.06@protonmail.com>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: nelind <nel.n.lindberg@gmail.com>
fragment-in-a-fragment seems to break
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>
Adds a description of what a spindle is to the spindles page. Text is
pulled from the docs/spindle/architecture.md with a link to the self
hosting.
Signed-off-by: Ciel <jamie@longest.voyage>
Provide an explaination to what a Knot is. Pulled from the introducing
tangled blog post. Addsd a link to the self hosting documentation in
core. Removes additional padding to be more consistent with the other
setting pages.
Signed-off-by: Ciel <jamie@longest.voyage>
When in dev mode. Concurrent writes to the template map will cause a
concurrent write panic and crash appview. Quickly moving between pages
can trigger this crash. This is addressed by adding a RWMutex on the
templates. RWMutex allows multiple readers, but only one writer.
Signed-off-by: Ciel <jamie@longest.voyage>
Signed-off-by: oppiliappan <me@oppi.li>
`POST /star`'s template was whole `repoActions` fragment but `hx-target`
was set to `#starBtn` only. Resulting wrapper div copied every time when
user starred/unstarred the repo.
This wasn't noticeable because fork button next to it was invisible due
to undefined `.DisableFork` field on RepoStarFragment
Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>
Signed-off-by: oppiliappan <me@oppi.li>
When in dev mode. Concurrent writes to the template map will cause a
concurrent write panic and crash appview. Quickly moving between pages
can trigger this crash. This is addressed by adding a RWMutex on the
templates. RWMutex allows multiple readers, but only one writer.
Signed-off-by: Ciel <jamie@longest.voyage>