Commits
- Commit:
34875d49d76084b885a5ee82586965a633787bb2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: render READMEs in the tree view
ok tracey@
- Commit:
df7661fbe80cd534a2bddad93e4d4279dd51558e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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@
- Commit:
184e6e6f6b03fddd8fe61537fd335053d23d6b7d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add actions in the diff view too
- Commit:
feaddee622f43226923713b48d635518d166e5e5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add patch action to serve diffs in plain text
ok tracey@
- Commit:
83d26b5a9e22759c3b6527a68e5d2953720652f9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
4f4afeeb5798d7a06ee8d6b8669890a667787649
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add actions to the blame view
ok tracey@
- Commit:
54f5c7d08171681a5416689c1732f6e9ead4b51c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add links for actions in the blob page
positive feedback from Kyle Ackerman
ok/tweak tracey@
- Commit:
57cfad1ea0aff5efd3a18978b8c1318408ea948d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: introduce .page_header_wrapper to avoid style repetitions
while here clean up some *_header id not used / not needed.
- Commit:
991e33532198872faa9edaedec4ad1c7d4f27afc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: adjust blob line number for text browsers
- Commit:
6da1aa18fd7de5e62a0e02b4739909a73eab9f42
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add breadcums to navigate the tree/blob views
ok tracey@
- Commit:
f85c939fb7758c7cad91e0705b4d932d52597867
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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@
- Commit:
4cc0851e23123ddf7f312ece3b974f652d01c6b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: render all the datetimes in a time tag
fixes an unused variable that should have been dropped in previous
commit too.
ok stsp@
- Commit:
10fa70e266dcd8539efd48ef30628e48068cb5b4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: inline the only use of TM_RFC822
- Commit:
cbe7b7d7141fcd8437b7ea83d5c1f4f84b9e6981
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: typo; fix closing of dd tag
- Commit:
882ee74dcf6c73130b57c0db7b8013d02d26a95a
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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@
- Commit:
fdd79f2f3fc3c04e0d548d15436f36fc7d39bb52
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
b2251e6e28d03b19582a716bf2b3e20bb663d037
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
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.
- Commit:
ecdb50ac822f296f9c26b7dd8cd4b010399b0da5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
drop hack; got_get_repo_commits() doesn't look at action anymore
- Commit:
aa2aecab69ed4f6ff9ab2a5bb7e32109cf95aefc
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: lower log priority of unexpected disconnections
no need to be so loud when a client disconnects earlier than expected,
log it only in verbose mode. Don't log GOT_ERR_CANCELLED too since
that is only used to communicate the callers that we need to stop.
ok stsp@
- Commit:
164b5ddc668e203c83442bd6cd0860eba648e885
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: reply with non-200 HTTP status code on error
ok tracey@
- Commit:
161663e7ebf5aa10caf7b4048f013d5e45db5fe3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: provide gotweb_render_page() entrypoint for all pages
simplify gotweb_process_request more, handling all the pages
inside the big switch. There's only one entrypoint for rendering
the templates gotweb_render_page() that takes the page' content
as argument.
The only real difference is that gotweb_render_index() now skips
directory entries which fails to handle.
ok tracey@
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: split out dependencies
Rather than assume all dependencies are required for all programs, split
them out.
This will make packaging easier, as well as splitting the code to use
subprojects.
Note that due to the use of config.h semantics, in most cases the
got_compat.h header file is now at the top of the .c file it is included
in, so that it can handle the system header inclusion properly.
- Commit:
98670ba726486c39efff220ab1e074c62023aae7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: rework SHA detection
Simply the SHA detection by not predicating on libcrypto, but instead
checking individual header files.
- Commit:
588a8092bc282294ee23585991e81586905a8fd4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
include sha2.h too where sha1.h is included
In preparation for wide sha256 support; stsp@ agrees. Change done
mechanically with
find . -iname \*.[cy] -exec sam {} +
X ,x/<sha1\.h>/i/\n#include <sha2.h>
- Commit:
283e0dd797af94cb97c099ffa83d57b55a595876
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: add missing colon after 'Message' in diff view
Patch by Josiah Frentsos, thanks!