Commit graph

100 commits

Author SHA1 Message Date
Hiltjo Posthuma
ef3f1ef854 add stagit.c 2015-12-26 21:07:47 +01:00
Hiltjo Posthuma
81dd454368 rename urmoms to stagit, improve documentation 2015-12-26 21:05:55 +01:00
Hiltjo Posthuma
8c58750b63 nvm, dont strip .git from bare repos 2015-12-26 20:58:28 +01:00
Hiltjo Posthuma
781beb4950 add example script to make repo index and files per dir 2015-12-26 20:46:33 +01:00
Hiltjo Posthuma
114899a22d rename EXTRAOBJ to COMPATOBJ 2015-12-26 20:11:59 +01:00
Hiltjo Posthuma
664e60ede5 Makefile: link for COMPAT 2015-12-26 13:08:41 +01:00
Hiltjo Posthuma
597e3cdbed add compat.h 2015-12-26 13:01:41 +01:00
Hiltjo Posthuma
e4e03b3bf9 strip suffix .git used typically for bare repos 2015-12-26 12:57:33 +01:00
Hiltjo Posthuma
3da41fa5dd humanreadable filemodes (code from sbase ls) 2015-12-26 12:57:14 +01:00
Hiltjo Posthuma
a7dd8c5f08 align filesize header right, minor code-style 2015-12-26 12:56:56 +01:00
Hiltjo Posthuma
9c7e2c5678 fix dirname for glibc 2015-12-26 12:56:23 +01:00
Hiltjo Posthuma
1778cba979 allow to specify clone url, displayed in header 2015-12-26 12:55:59 +01:00
Hiltjo Posthuma
955c3779ef update TODO 2015-12-26 12:54:44 +01:00
Hiltjo Posthuma
63a71643d0 index: highlight row on mouseover 2015-12-26 12:54:09 +01:00
Hiltjo Posthuma
9295d3f190 remove TODO from code, see TODO file 2015-12-25 17:49:54 +01:00
Hiltjo Posthuma
1cc9f5fcb1 README: atleast libgit2 v0.22 is required (API)
update TODO
2015-12-25 17:49:03 +01:00
Hiltjo Posthuma
55556b66bc compat: add strlcpy, strlcat, for glibc 2015-12-25 17:48:46 +01:00
Hiltjo Posthuma
543e74e64f fix libgit2 include, it is in the include path 2015-12-24 20:58:22 +01:00
Hiltjo Posthuma
ae620515b0 remove double newline bloat 2015-12-20 21:49:23 +01:00
Hiltjo Posthuma
b8fc56187e update README and improve man pages 2015-12-20 21:34:40 +01:00
Hiltjo Posthuma
2e4ed81390 urmoms-index: kill some lines 2015-12-20 21:13:54 +01:00
Hiltjo Posthuma
75cba4e6fd rewrite writefiles, now works with bare repos
dont use the index but get the tree by the last commit id (revparse HEAD).
2015-12-20 20:42:53 +01:00
Hiltjo Posthuma
09e1377c68 README: add install and dependencies instructions 2015-12-20 20:42:31 +01:00
Hiltjo Posthuma
304c896bd4 style.css: maximize contrast for text 2015-12-20 20:42:16 +01:00
Hiltjo Posthuma
5436dd7892 update TODO 2015-12-20 17:11:34 +01:00
Hiltjo Posthuma
7102cfd3f7 add urmoms-index, initial version 2015-12-20 17:11:25 +01:00
Hiltjo Posthuma
372fe8d86e writelog: remove return value, it was unused 2015-12-20 17:11:06 +01:00
Hiltjo Posthuma
e01336e656 improve fopen flag: remove b and r+ in some case
don't require rw rights for just reading
2015-12-20 17:10:07 +01:00
Hiltjo Posthuma
2ab268d5b1 use relative url in header, escape name and description too 2015-12-20 17:09:51 +01:00
Hiltjo Posthuma
6414c8b212 set diff options 2015-12-17 22:59:19 +01:00
Hiltjo Posthuma
8ea5831438 free the tree 2015-12-17 22:56:32 +01:00
Hiltjo Posthuma
d073ffa0a2 file_size is uint32_t on latest libgit2, thanks uggedal for reporting it! 2015-12-17 19:53:07 +01:00
FRIGN
c3014aaaba Add config.def.h and make summary length configurable 2015-12-14 12:49:58 +01:00
Eivind Uggedal
f33bca44bd Dynamic relpath for blob pages 2015-12-11 12:36:17 +01:00
Eivind Uggedal
57d70b0a2d Right align numbers in tables 2015-12-10 23:40:13 +01:00
Eivind Uggedal
0a4451bc15 Line numbers on blob pages 2015-12-10 23:29:49 +01:00
Hiltjo Posthuma
3f77fb211d fix warning 2015-12-10 19:51:15 +01:00
Eivind Uggedal
d77d972007 file page improvements
- header with filename and size
- handle binary files
- small style changes
2015-12-10 19:50:03 +01:00
Hiltjo Posthuma
23fdbb0c8c fix warning + minor style 2015-12-09 23:56:42 +01:00
Eivind Uggedal
27397b310d Write blobs to files/
This is work in progress:

- relpath is broken under files/
- mkdirp was stolen from sbase
- strlcpy wrapper might be needed
2015-12-09 23:55:59 +01:00
FRIGN
43a7d4dc2c Make border solid 2015-12-09 23:48:20 +01:00
Hiltjo Posthuma
a0e2be52c1 update TODO 2015-12-09 23:02:43 +01:00
Hiltjo Posthuma
0f5deec0a2 open repo: dont try to detect repos above the specified dir 2015-12-09 22:55:59 +01:00
Hiltjo Posthuma
e489408b99 walk revision by time and only "flat" 2015-12-09 22:55:34 +01:00
Eivind Uggedal
b634cfd860 Simplify diff markup
Remove <span> for inserted/deleted lines and use
the <a> for coloring.
2015-12-09 22:15:25 +01:00
Eivind Uggedal
1363b8b51e Simplify style and make output more legible
- Combines and removes some redundancy.
- Makes <hr> softer by using dashed lines.
- Removes <a> underlines since the file/log view
  have tons of links and reading them is a bit
  distracting. Underlines are added on hover.
- Makes diff headers darkcyan to match the default
  command line colors and not conflict with new
  <a> style.
2015-12-09 22:15:23 +01:00
Hiltjo Posthuma
21ffbb062e also free objects for haslicense and hasreadme checks, cleanup 2015-12-09 21:02:49 +01:00
Eivind Uggedal
5fdaca3a10 Free git objects 2015-12-09 20:48:56 +01:00
FRIGN
db7fb9b2ae Add myself to LICENSE 2015-12-08 00:36:06 +01:00
FRIGN
2aa0e2421b Remove hardcoded right-align
Dramatically reduces the filesize. There also was no reason to have
the aligns.
It now is even easier to read how many lines have changed in the commits
and given the table doesn't expand itself over the size of its entries,
we're cool anyway.
2015-12-08 00:34:32 +01:00