Commit Briefs

50b6e2b853 Omar Polo

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@


5d6193d0d0 Omar Polo

gotwebd: remove PAGE handling

The page querystring parameter is long gone and currently unused. It was replaced mith the "more" buttons in all the views, except INDEX that uses `index_page'. ok jamsek


976ccb693d Omar Polo

gotwebd: add foldable commit briefs

with input/ok from jamsek, tracey and Kyle Ackerman, thanks!


723721e290 Omar Polo

gotwebd: use 'more' for the tag listing too

prodded by stsp and jamsek; ok stsp@


8957da7c28 Omar Polo

gotwebd: dedup the bulk of the tree listing code


71e574645c Stefan Sperling

plug a memleak in previous; from op@


1be82a4454 Stefan Sperling

show tree and README at the bottom of the summary page

ok op@


89f6914cfb Omar Polo

gotwebd: swap the tags and branch listing in the index page

discussed / ok stsp@


ac15152e21 Omar Polo

gotwebd: render READMEs in the tree view

ok tracey@


d0b9836b2f Omar Polo

gotwebd: use breadcumbs in more actions

Breadcumbs are useful not only in the TREE and BLOB action, but also in COMMITS/BRIEFS and BLOB. prodded by stsp@


e6b69762aa Omar Polo

gotwebd: add actions in the diff view too


7f65bb55b8 Omar Polo

gotwebd: add patch action to serve diffs in plain text

ok tracey@


4ba8b606a0 Omar Polo

gotwebd: make blame view work in text browsers

While here pad line numbers with spaces instead of zeroes to match the blob view.


2faeb3c616 Omar Polo

gotwebd: add actions to the blame view

ok tracey@


4dfd979496 Omar Polo

gotwebd: add links for actions in the blob page

positive feedback from Kyle Ackerman ok/tweak tracey@


6595d7300a Omar Polo

gotwebd: introduce .page_header_wrapper to avoid style repetitions

while here clean up some *_header id not used / not needed.


edc930eb84 Omar Polo

gotwebd: adjust blob line number for text browsers


c2abf03cde Omar Polo

gotwebd: add breadcums to navigate the tree/blob views

ok tracey@


26678adde2 Omar Polo

gotwebd: get rid of proc.[ch]

proc.c really shines when there's a network of different types of processes, potentially with a various number of instances each, that needs to exchange messages. Gotwebd instead has a much simpler design, and using proc.c causes more overhead (/headaches) than it solves. So, this attempts to provide the same functionalities but with a much simpler implementation that fits gotwebd better. ok stsp@


7781b9910f Omar Polo

gotwebd: render all the datetimes in a time tag

fixes an unused variable that should have been dropped in previous commit too. ok stsp@


bf26a63363 Omar Polo

gotwebd: inline the only use of TM_RFC822


f827551193 Omar Polo

gotwebd: typo; fix closing of dd tag


de8c0409ea Omar Polo

gotwebd: don't loose track of the file in commit listing

When browsing the history of a file, the more button should generate a link containing the file= parameter, otherwise we switch back to the 'global' history. Spotted by stsp@


424803ac44 Omar Polo

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@


13d9dc7e2e Omar Polo

bubble up got_repo_commits()

now that got_get_repo_commits() doesn't look at `action' we can stop fetching the commits during the rendering and bubble up the call. This yields better error messages and better replies codes on failure.