Commits
- Commit:
2fbb00a4292fb45faa409c8983136a105cbda7ba
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix colour of target lines in dark mode
reported by xs on IRC, thanks!
- Commit:
50b6e2b853641f2523a175298f865fc44f44d8a7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: try to improve copy-paste from BLOB pages
This moves the space inside the line anchor and makes it non-selectable,
so that when copy-pasting, only the content of line lines is actually
copied.
At the moment, this seems to behave slightly incorrectly in firefox
which inserts a double line break due to the presence of unselectable
elements inside the selection. Hopefully it will be fixed, chromium
behaves fine.
It also still works decently on text-browsers.
ok stsp@
- Commit:
452d8310907a64cc34ef0d0f1258a3ddc8bb5aea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix (again) the styling for the next/prev buttons
- Commit:
976ccb693d1bc5f0f91152b31e2d92d6e9064581
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add foldable commit briefs
with input/ok from jamsek, tracey and Kyle Ackerman, thanks!
- Commit:
f6c7567b8a08e575b7caa23fcea4f93569553835
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: tweak site_owner_wrapper style for dark mode
- Commit:
ac15152e219bed9c7f41007a39c3cbce83ea9386
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: render READMEs in the tree view
ok tracey@
- Commit:
af8b29d8cf480fa20a09387923b39cb3b5394b8a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: tweak hr styling in the dark mode
Kyle Ackerman agrees
- Commit:
6ecb0b8c6b2aa36b6af31c856909b1ddccdb301c
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
make diff color-highlighting in gotwebd's dark-mode more accessible
A red/green color scheme is bad for people with red/green colorblindness.
Use similar colors as used by 'tog diff' to avoid this issue.
Patch by Kyle Ackerman
ok op@
- Commit:
4ba8b606a0a1ebe0d9a9daf6909948315c313d36
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make blame view work in text browsers
While here pad line numbers with spaces instead of zeroes to match
the blob view.
- Commit:
446026cb9332485a4c570afd42fb493d451f7251
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add a dark mode
Diff from Kyle Ackerman.
tracey@ and I likes it.
- Commit:
6595d7300a0803b0372c4bae0ee3a077e4739f59
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: introduce .page_header_wrapper to avoid style repetitions
while here clean up some *_header id not used / not needed.
- Commit:
cf056aa6a5812e8ea8b6777a842bd374ad23d4da
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: tweak .tree_wrapper styling; no functional change
there's no need to override the background-color for the 'even'
row. This will simplify the addition of a dark mode.
- Commit:
cea040d131a5c2248c94a55976a83d255a4d3a06
- From:
- Omar Polo <op@omarpolo.com>
- Date:
vertical align briefs age and author
- Commit:
424803ac446821016c55b334cd85a83aba4d3f37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotweb: style improvements
First round of polishing, css simplification and responsiveness for
gotwebd. The new HTML is now actually usable on text-only browsers
and the fonts are bigger on smaller screens; close to no changes
for "normal" desktop usage.
A few regressions were spotted by Lucas on IRC, thanks!
No objections from stsp@
- Commit:
e3662697ead34d1fb3bcd51c379deea19361ac96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix briefs/tags navigation overlap
Introduces a separate field for the "next" button (now called "More")
and adjusted the CSS/HTML so it's used. Finally, drops the old code used
to handle the pagination for the BRIEFS/COMMITS cases.
Needs a small hack for the time being, setting the action to TAGS. This
is due how qs->action is changed in gotweb.c while handling the request.
ok jamsek
- Commit:
49632cd3b1c81b19229e3a4a523e411d29cd8827
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make commit page more like `got log' / tog
- drop the "diff commit1 commit2" header; it's already showed in the
body of the diff.
- hide the tree id (not that useful to show.)
- show the committer if different from the author.
- use From/Via for Committer/Author.
discussed with jamsek, stsp, tracey
ok jamsek tracey
- Commit:
5eeb13e79b508eacc001662d742ea375c069d7f7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: css: fix horizontal overflow in blob and blame pages
spotted by + "looks good" tracey@
- Commit:
298f95fb39537cc43237be56aeb86ffbc21e38f0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: render BLOB inline, add BLOBRAW for serving raw blobs
binary blobs are automatically redirected to the BLOBRAW page (which is
the old BLOB.)
ok jamske
- Commit:
025c25369f278576ed92bc0c80a5b9a61a2e851f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove erratic horizontal scrolling
In some pages gotwebd shows horizontal scrollbars because the error
message overflows the width.
Remove the explicit width in the CSS, the message is still rendered fine
and doesn't overflow the page.
spotted by and ok tracey@
- Commit:
bf80b15220f51490025e916633cdd70816113604
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix alternate colors in tree entries
it was broken in 7ecc454 because now we're emitting tags with multiple
`class' attributes (by mistake) and only the first one is used.
However, instead of fixing the HTML `class' attribute, use a CSS
selector to alternate the background colors.
ok tracey@
- Commit:
7ecc4542fefb0ad0b7babe055da2f9ac447a906b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: switch some HTML IDs to classes
HTML IDs are meant to be unique across the page. While here fix two
small errors in the generated HTML (one missing closing div and one
extra.)
ok tracey@
- Commit:
a596b9579655b53f1549498aff25ae1d2c9dfc81
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
import gotwebd
thread fcgi response to client for rendering in browser as data is returned
fix potential problem with a stuck loop if the client is hammering the server with random clicks and stop/restarts
render our index! WOOHOO! small var refactoring.
fcgi.c to handle all clean-up, various error clean-up
remove output used to trace down got bug
temporarily stop overloading a socket, but a better solution needs to be found
return on fcgi_gen_response, so we can track if a client is writable or not
this stops page creation when the client is unavailable
remove old comments
enable profile building, although, i don't think this works thoroughly in a priv/proc daemon
catch more errors
correctly count repos
remove temp logger
we don't need to start our responder thread so early. move it to fcgi.c and start when we start processing html
kill the unneeded thread, stop queueing responses, and just write to clients immediately
clean up some memory leaks and dead stores
rework querystring so an error can be displayed instead of showing the index on
querystring error
get framework in place for the rest of the content
add server struct to response struct
bo last commit
get back a usable gotweb. not sure what i was thinking yesterday
properly move our structs around this time
remember index page for sitelink, fix leak
unused var is annoying, so stop it for now. don't forget to change this!
style
briefs nearly completed.
finish briefs output
add briefs to summary
cleanup some html
properly retrieve next and previous commit ids for list navigation
follow naddy's stailq macro change
we will never have a previous link on the summary page
goto correct label, so we get a previous link on the last page of briefs
don't wrap short line
simplify got_get_repo_commits code
start rendering a diff
start rendering a diff
this was by accident
finish diff output
functions cleanup
prepare for fd request
that was a stupid idea, just flush the priv_fd
bo that too. that won't work eith with append in mkstemp
that isn't going to work
actually zero out the priv_fd
missed seek to beginning of file was overwriting first line of diff
fsync our fd as well
add link to repo path by sitelink and add back verbose fcgi debugging that was removed
add modest write heuristics to fcgi_send_response
fix dead assignments and XXX comment where a leak is happening that I can't find right now
there was no leak. stsp is brilliant and knew it was the cache growing
prevent double-free, render prettier err output if we can
remove unused variables
correctly fix double-free
fix gotwebd to build with main's changes after rebase
fix double-free
don't error on index if pack files missing and fixup some error handling
render commits
finish up tag briefs and start the tag page
finish up tag page
unbreak TAGS and SUMMARY actions
grab the correct tag from the queue
unbreak TAGS and SUMMARY actions again
update some error handling
clean up unneeded code and start tree output
render tree
render branches
remove tags from summary if there aren't any
fix tree div structure and start blob render
render blob
render blame
fix tree href in briefs
clean up some css
add headref to querystrings
load correct commit for tree and diff
fixup some error output
update some copyright dates
add full SNI support
rm debug line found by Lucas6023, notified via IRC. thanks!!
fix tree
fix crash when querystring is manipulated to not have a commit id in certain
instances. also break a stuck while loop on client error.
fix for new got_object_id_by_path arguments
rebase and fix
prep for multiple fds per socket, instead of just one
fix overlooked shift/reduce conflicts
backout priv_fds as a list. after discussion with stsp, an array and length are the better direction
prepare array of fds to pass into got functions
make a new set of pack fds, which will be passed to got_repo_open
work with new pack_fds in got_repo_open
give output when no tags exist
escape html in blame output
change files listed in tree view to show blob, file commits, and blame, instead of blob, blob, blame. idea from mp4 on irc. this is way more handy.
stop populating the queue from the headref and figure out previous commit id
while iterating. this should reduce some overhead.
actually purge our sockets instead of not using the function
start work with new blob
rm volatile
use new diff
change func names
no more temp files
increase blame number line width
set content-type to text/plain so firefox won't download files
rm test infra for now
account for -Wwrite-strings
fix for sigs and algorithm choice
clean up some leaks and other mistakes