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>
`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>
There was a change the environment variables in spindle that were not
reflected in this nix module, specifically STEP_TIMEOUT was renamed to
WORKFLOW_TIMEOUT, which means that there was no way to set the timeout
in the nix module.
With the option name being updated, this is a breaking change that will
require you to update your nix config if you are using the spindle module.
Signed-off-by: Samuel Shuert <me@thecoded.prof>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
Signed-off-by: oppiliappan <me@oppi.li>
content occupies 8 columns on medium screens and above, and blocks are
defined for left and right sides of content, with col spans of 2 each
(and contentAfter).
Signed-off-by: oppiliappan <me@oppi.li>
do not use the empty string, but use the calculated default branch
instead.
Signed-off-by: oppiliappan <me@oppi.li>
this falls back to calling RepoLanguages on the knot, and caches that
info at the appview.
Signed-off-by: oppiliappan <me@oppi.li>
and db helpers to set and get.
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: 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>
There was a change the environment variables in spindle that were not
reflected in this nix module, specifically STEP_TIMEOUT was renamed to
WORKFLOW_TIMEOUT, which means that there was no way to set the timeout
in the nix module.
With the option name being updated, this is a breaking change that will
require you to update your nix config if you are using the spindle module.
Signed-off-by: Samuel Shuert <me@thecoded.prof>