templates: fix tags
Anirudh Oppiliappan x@icyphox.sh
Sun, 05 Feb 2023 16:04:33 +0530
tree: directories first, add size column, fix .. Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens nilix@nilfm.cc
Wed, 01 Feb 2023 23:01:36 -0700
fix line count for files that don't end in a newline Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens nilix@nilfm.cc
Wed, 01 Feb 2023 22:08:04 -0700
routes: Implement support for categories This changes the code so that in the routes we now build up the repository path from the category and the name. If no category is provided you simply end up with the name. This path is now used everywhere a path to a repository is constructed which takes care of 80% of making categories work. Handlers on the mux are added for the category matching and reordered to ensure we hit the right entry first. The new repository struct contains all info we need for a repository and we default to allowing some fields to be empty if we can't retrieve the information whereas previously we might've returned an error. The entries is a single level tree of sorts that lifts the category, if available, to be its name and otherwise uses the repo name. We can use this to sort all entries alphabetically and now loop over them in our template.
Daniele Sluijters daenney@users.noreply.github.com
Tue, 03 Jan 2023 14:48:59 +0100
utils: Add helper to get all repos This does a filepath.WalkDir of the config.ScanPath and tries to find all valid git repos. It returns a list of repoInfo structs holding basic information of each repository.
Daniele Sluijters daenney@users.noreply.github.com
Tue, 03 Jan 2023 14:42:34 +0100
docs: Expand on repo.ignore Make it clear the expectation is the paths are relative to scanPath.
Daniele Sluijters daenney@users.noreply.github.com
Tue, 03 Jan 2023 14:36:58 +0100
config: Ensure we always have an absolute path Having this consistent across the code is handy when we're building paths, counting separators and other path manipulation.
Daniele Sluijters daenney@users.noreply.github.com
Tue, 03 Jan 2023 14:35:36 +0100
readme: tiny thing
Anirudh Oppiliappan x@icyphox.sh
Sun, 05 Feb 2023 15:17:27 +0530
only add go meta import tag if go.mod exists in repo root This is a multipart message in MIME format. Pretty self-explanitory :3 Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens nilix@nilfm.cc
Tue, 31 Jan 2023 21:30:40 -0700
sort tags and deduplicate This sorts the tags reverse-chronologically. If any tags have the same name (shouldn't happen but it does in some of my repos), we use whichever one is "newer". Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens nilix@nilfm.cc
Tue, 31 Jan 2023 21:29:38 -0700
add style tweaks Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Derek Stevens nilix@nilfm.cc
Tue, 31 Jan 2023 21:28:42 -0700
markdown: more file exts, fix img
Anirudh Oppiliappan x@icyphox.sh
Mon, 26 Dec 2022 12:04:09 +0530
css: fix ul padding in readme
Anirudh Oppiliappan x@icyphox.sh
Mon, 26 Dec 2022 11:57:00 +0530
routes: render markdown readmes in repo index (#11)
James Mills 1290234+prologic@users.noreply.github.com
Mon, 26 Dec 2022 16:20:08 +1000
css: set repo desc font weight to normal
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 16:50:44 +0530
css: bottom padding in refs pre
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 15:13:40 +0530
css: lose grid layout in refs
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 15:11:48 +0530
unveil: remove git executable and /dev/null
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 15:05:04 +0530
git: pure go git clone
Anirudh Oppiliappan x@icyphox.sh
Sat, 24 Dec 2022 14:57:44 +0530
css: wrap refs pre
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 21:19:00 +0530
readme: unveil and ideas
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 21:15:57 +0530
config: add repo.ignore
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 21:13:49 +0530
unveil: /dev/null
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 16:24:31 +0530
unveil: reorder
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 16:18:15 +0530
css: reduce pre font size
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 14:45:22 +0530
css: set pre font lol
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 14:27:54 +0530
css: ui-monospace ref: https://stackoverflow.com/a/64133415
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 13:33:27 +0530
unveil: add git executable
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:22:47 +0530
clean up long line
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:20:02 +0530
unveil: cleanup code in main.go
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:37:04 +1000
unveil: log each call
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:22:08 +1000
unveil: initial commit
zak e-zk@users.noreply.github.com
Thu, 22 Dec 2022 00:17:33 +1000
css: change iOS mono font
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 11:02:48 +0530
templates: improve this & parent commit
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 10:58:41 +0530
Link to parent commit file version in commit view It makes sense for [oldfile] in [oldfile]->[newfile] to link to the previous version. This is also how cgit behaves.
phire me@phire.cc
Tue, 20 Dec 2022 09:41:55 +0100
css: scroll file content x-axis only - we don't need any overflow scrolling for the y-axis. - set overflow-x to 'auto' so that the scroll bar only shows when the content does overflow.
zak e-zk@users.noreply.github.com
Tue, 20 Dec 2022 11:45:29 +1000
readme: add note clarifying cloning
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 22:33:33 +0530
diff: scroll diff on overflow
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 22:15:03 +0530
add license closes #2
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 18:09:45 +0530
diff: show diff type
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 18:07:13 +0530
file: separate content and line numbers
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:52:42 +0530
css: add bg to readme/file content
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:49:32 +0530
index: turn off logging, it's too noisy
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:38:21 +0530
readme: clarify license
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:37:30 +0530
css: scroll file content
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 17:12:42 +0530
decrease prominence of author info in ui
Alexander Cobleigh angellus.falsus@gmail.com
Mon, 19 Dec 2022 12:25:56 +0100
unveil: clarify its uselessness
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 12:08:31 +0530
git: check for binary files
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 11:36:50 +0530
add favicon
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 11:25:49 +0530
readme: more info
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 10:52:16 +0530
config: fix yaml
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 09:57:25 +0530
all: no more pretty urls
Anirudh Oppiliappan x@icyphox.sh
Mon, 19 Dec 2022 09:02:23 +0530
templates: message under tag name
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 22:15:58 +0530
css: default monospace font
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 22:08:03 +0530
config: fix go-import pretty url
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 21:00:36 +0530
css: single column index on small screens
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 20:07:27 +0530
all: go-import, clone url
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 20:00:19 +0530
log: cleaner view
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 12:18:43 +0530
routes: skip unopenable dirs
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 11:43:50 +0530
config: scan path
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 11:22:26 +0530
routes: sort repo index by last idle
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 11:19:14 +0530
templates: add title tags
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 11:14:38 +0530
unveil: init
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 11:04:11 +0530
git: rework diff to fetch initial commit
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 10:42:29 +0530
templates: unified repo-header
Anirudh Oppiliappan x@icyphox.sh
Sun, 18 Dec 2022 10:42:18 +0530
git, templates: diff view
Anirudh Oppiliappan x@icyphox.sh
Sat, 17 Dec 2022 22:35:48 +0530
templates: repo and log
Anirudh Oppiliappan x@icyphox.sh
Sat, 17 Dec 2022 21:33:04 +0530
css: wrong name
Anirudh Oppiliappan x@icyphox.sh
Sat, 17 Dec 2022 12:47:54 +0530
templates: index rework
Anirudh Oppiliappan x@icyphox.sh
Sat, 17 Dec 2022 12:46:09 +0530
routes: serve static content from /static
Anirudh Oppiliappan x@icyphox.sh
Sat, 17 Dec 2022 12:45:21 +0530
readme: some bs
Anirudh Oppiliappan x@icyphox.sh
Thu, 15 Dec 2022 11:31:03 +0530
routes: disable git push
Anirudh Oppiliappan x@icyphox.sh
Wed, 14 Dec 2022 21:40:01 +0530
routes: wildcard multiplex route at the end
Anirudh Oppiliappan x@icyphox.sh
Wed, 14 Dec 2022 21:19:34 +0530
routes: multiplex git and web ui
Anirudh Oppiliappan x@icyphox.sh
Wed, 14 Dec 2022 21:14:34 +0530
routes: description and humanized time to index
Anirudh Oppiliappan x@icyphox.sh
Wed, 14 Dec 2022 17:38:48 +0530
template: line numbers for file view
Anirudh Oppiliappan x@icyphox.sh
Tue, 13 Dec 2022 11:50:39 +0530
git: find main branch from config
Anirudh Oppiliappan x@icyphox.sh
Tue, 13 Dec 2022 09:58:40 +0530
deps: bump go-git Now builds without cgo.
Anirudh Oppiliappan x@icyphox.sh
Tue, 13 Dec 2022 09:11:52 +0530
config: server host and port
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 22:58:23 +0530
templates: tree and log links for tags
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 22:13:19 +0530
routes: refs view
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 21:58:47 +0530
routes: index view
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 21:33:09 +0530
routes: render readme
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 20:53:58 +0530
templates: fix 404 and 500
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 20:53:44 +0530
template: render diff header lines
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 18:02:07 +0530
git, routes: commit diff view
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 17:17:49 +0530
routes, templates: tree and log views
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 21:17:04 +0530
git: fix trees
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 21:16:42 +0530
routes: file content view
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 14:18:39 +0530
git: file content at ref
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 14:18:25 +0530
routes: split repo index and files views
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 12:29:50 +0530
git: fetch files only using ref
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 12:29:33 +0530
all: init
Anirudh Oppiliappan x@icyphox.sh
Sun, 11 Dec 2022 11:22:47 +0530