ee000bb2
fix alignment in commit view
Gregory Mullen
parent 71ff254f
71ff254f
fuzz the css a bit
Gregory Mullen
parent 3606156e
3606156e
make buildable templates nullable
Gregory Mullen
parent 604694eb
604694eb
rewrite template printing code to new typed html syntax
Gregory Mullen
parent 57a432d3
57a432d3
move init fn
Gregory Mullen
parent 89191145
89191145
import cleanups
Gregory Mullen
parent 1398205d
1398205d
move directive fmt into directive.zig
Gregory Mullen
parent 87892983
87892983
mv Directive into directive.zig
Gregory Mullen
parent 093eb2ef
093eb2ef
delete datamap from active use
Gregory Mullen
parent e8ff94d0
e8ff94d0
copy test into data map for later resue
Gregory Mullen
parent 3483a160
3483a160
rename keyword to something better
Gregory Mullen
parent bafd4a21
bafd4a21
fix tree/repo view
Gregory Mullen
parent aa047f31
aa047f31
make blame a bit prettyer
Gregory Mullen
parent 0dca4970
0dca4970
rm unused imports
Gregory Mullen
parent 2f56085d
2f56085d
remove sendTemplate and it's helpers from context
Gregory Mullen
parent dc4aa588
dc4aa588
remove old user endpoints which are now replaced by search
Gregory Mullen
parent 6c30fce0
6c30fce0
convert issues and diffs to typed page
Gregory Mullen
parent aa27e3cf
aa27e3cf
migrate tree blame and blob to typed page
Gregory Mullen
parent a3639b4b
a3639b4b
migrate search to typed page
Gregory Mullen
parent bce1ca37
bce1ca37
migrate settings to typed page
Gregory Mullen
parent c64a717c
c64a717c
migrate admin.zig to typed page
TODO still fix these inbox buttons!
Gregory Mullen
parent 47b18ce0
47b18ce0
migrate admin.zig to typed page
important TODO fix inbox button
Gregory Mullen
parent c0c2759d
c0c2759d
remove templates as a dep of routes.zig
Gregory Mullen
parent f3b8e74c
f3b8e74c
add send raw slice to context
some internal pages will load their data at comptime, and we just send a raw
array of bytes for internally routed calls. See router.zig in next commit
Gregory Mullen
parent 0d420b1f
0d420b1f
rename commit-flex.html journal row to be namespaced
Gregory Mullen
parent 2e20749d
2e20749d
migrate commit flex to typed
Gregory Mullen
parent 8b394760
8b394760
move template datamap into subfile
I'm planning to delete it, but want to preseve the code for a while longer
Gregory Mullen
parent 897bc0e2
897bc0e2
add nullable usize to templates
Gregory Mullen
parent 2ade2fa6
2ade2fa6
wrap trailing spaces with quotes
Yes, I deleted them by mistake... no, I couldn't be arsed
Gregory Mullen
parent c8ebc238
c8ebc238
add basic int types to html templates
Gregory Mullen
parent f214f136
f214f136
I guess it's better to write correct code
Gregory Mullen
parent 4d2d7964
4d2d7964
rewrite threads to use message union
previously this was a raw comment, but eventually there will be support for addtional
types than just comments. e.g. events, reviews, changes, repo changes, mod actions,
etc.
Gregory Mullen
parent 33a01e99
33a01e99
add line ranges from main branch in diffs
Gregory Mullen
parent efc3099d
efc3099d
add skel for internal syntax highlighting
Gregory Mullen
parent d913c6d6
d913c6d6
add syntax for a few more langs via pygmentize
Gregory Mullen
parent 3e47b10f
3e47b10f
don't crash on naughty user strings
Gregory Mullen
parent 8851f468
8851f468
resolve code in the default branch
Gregory Mullen
parent 14707759
14707759
whoopsies
Gregory Mullen
parent 9a3f832b
9a3f832b
refactor line finding
Gregory Mullen
parent 2abf5f60
2abf5f60
print end of comment when diff line is found
Gregory Mullen
parent 60f43ced
60f43ced
add slugs.md
TODO add them as a random open graph tag/description
Gregory Mullen
parent 4ec5d056
4ec5d056
thanks @robinlinden for helping fuzz test my code
Gregory Mullen
parent e2bca9d5
e2bca9d5
enable building recursive templates
Gregory Mullen
parent 80e83a56
80e83a56
add Build directive to template
Gregory Mullen
parent 33eede74
33eede74
use thread for comment direct replies
Gregory Mullen
parent 208814dc
208814dc
half implentation for direct replies
this feature is unfinished, but I can't decide if comments should reply,
of if threads should be the container for direct replies.
Gregory Mullen
parent 821f1ca5
821f1ca5
bump css to save old color
Gregory Mullen
parent d4e07b84
d4e07b84
first pass at formatting inline diff references
currently in dire need of a refactor, but I'm happy for tonight
Gregory Mullen
parent a2858300
a2858300
delete whitespace
Gregory Mullen
parent 8f5bc6b5
8f5bc6b5
update internals to work on zig v0.13
Originally an update to test stdlib's new TLS on v0.14-dev but that
failed, and it just so happens this is where I update srctree to git
v0.13.
Gregory Mullen
parent 62acc684
More