Commits
- 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:
2faeb3c616089a458cbffa3a46b9a15c484f0e80
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add actions to the blame view
ok tracey@
- Commit:
4dfd9794964c0817a9cab3b2b8ea8858589b28ab
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add links for actions in the blob page
positive feedback from Kyle Ackerman
ok/tweak tracey@
- 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:
edc930eb84ed02c76531f9db419b1d6477805eef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: adjust blob line number for text browsers
- Commit:
c2abf03cdeba468cb636cd3fca4c730c88f3566a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add breadcums to navigate the tree/blob views
ok tracey@
- Commit:
26678adde25a1fb7fa3e4b78c82a888cc3b767e4
- From:
- Omar Polo <op@omarpolo.com>
- 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:
7781b9910fcbba579c2e112bbfdea73a64ccad70
- From:
- Omar Polo <op@omarpolo.com>
- 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:
bf26a633636ba2058b6bb747b0dd4ab17cb185a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: inline the only use of TM_RFC822
- Commit:
f82755119394cfc406b17844a3a159cc75369275
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: typo; fix closing of dd tag
- Commit:
de8c0409ea9206f320235deea0781cac753fae53
- From:
- Omar Polo <op@omarpolo.com>
- 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:
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:
13d9dc7e2e880cfe93cf23a39c48427cda7ff636
- From:
- Omar Polo <op@omarpolo.com>
- 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:
dcb3fe6d633a560ba73f75438928084d3f1b3e46
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop hack; got_get_repo_commits() doesn't look at action anymore
- Commit:
8a078d7f1359fdf37e7bc18d6ace3c3579b98b33
- From:
- Omar Polo <op@omarpolo.com>
- 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:
8f37175d25c1d0451e8296399000433f716d8218
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: reply with non-200 HTTP status code on error
ok tracey@
- Commit:
df2d3cd2545e0a1579ce83ae137e52135755ed1f
- From:
- Omar Polo <op@omarpolo.com>
- 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:
5822e79e39a8777984e08b5d89a8c55d6aa0356d
- From:
- Omar Polo <op@omarpolo.com>
- 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:
af48e677ec38c47d1177ca776b01e299b0f2a96d
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: add missing colon after 'Message' in diff view
Patch by Josiah Frentsos, thanks!
- Commit:
0af50e0455eece3f9c6da7f13bc957ea9006fef0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an arrow after "more" as per jamsek suggestion
- 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:
cb93ab40659f5d64c7a4f56919d203efa2d8a565
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: turn gotweb_get_time_str into gotweb_render_age
ok jamsek
- Commit:
8319855fa7affdb1199a46d76f87b9fec409eb81
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_blame
ok and tweak from jamsek
- Commit:
69525b4e7234cc5d81905e84a67d9b1768606e34
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: templateify gotweb_render_summary
ok jamsek
- Commit:
d60961d296583c78051ab30aeee8171fd9611aac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: bubble up got_get_repo_tags
This bubbles up the call to got_get_repo_tags from gotweb_render_tags to
its caller, gotweb_process_request and gotweb_render_summary. It helps
simplifying gotweb_render_summary and making it easier to templateify,
but also helps in untangling a bit the code.
At this point gotweb_render_tags becomes just a wrapper to
gotweb_render_tags_tmpl so switch completely to it.
ok jamsek