Yorhel
2f288c9eeb
Added and indexed FreeBSD 1.0
2012-07-26 11:42:00 +02:00
Yorhel
36301e1ffd
util: Added a 'common.sh' for some common stuff and removed add_tar.sh
2012-07-25 15:27:23 +02:00
Yorhel
181cf4ae69
add_dir.pl: Get rid of debug statement + Fix symlinked mans
2012-07-24 14:09:45 +02:00
Yorhel
c7b494d336
add_dir.pl: Be more paranoid with symlinks
2012-07-20 13:05:07 +02:00
Yorhel
fa7d4406ec
Added some spaces to the HTML output
2012-07-20 11:36:45 +02:00
Yorhel
7e5f165985
Fix HTTP date parsing for dates in December
2012-07-19 17:13:29 +02:00
Yorhel
2cc5ff9cd6
Send meaningful Last-Modified header with man and package pages
2012-07-19 16:53:12 +02:00
Yorhel
5d2afc1d7e
Added crappy favicon.ico to get rid of 404's
2012-07-19 12:29:13 +02:00
Yorhel
bf84ea2d73
Remember display of nav bar when selecting different man versions
...
This improves usability *a lot*. Too bad the code's quite ugly...
2012-07-18 19:48:04 +02:00
Yorhel
2622fad2d9
cron.sh: Fix typo
2012-07-18 11:01:38 +02:00
Yorhel
4fd6da6e4e
Various styling improvements
2012-07-18 11:01:17 +02:00
Yorhel
086615eb71
Friendlier 404 error
2012-07-18 10:36:25 +02:00
Yorhel
0738583243
Cache stats in the database (and auto-update them from cron)
2012-07-18 10:21:13 +02:00
Yorhel
f6564dfd9c
Improved formatting of about page
2012-07-17 21:42:16 +02:00
Yorhel
91c1367923
ManUtils: Widen rendered man page to 90 columns
...
Looks slightly less cramped.
2012-07-17 21:38:43 +02:00
Yorhel
c50e864ca3
Redirect to man page if there's only one search result
2012-07-17 21:33:09 +02:00
Yorhel
53857d5b84
ManUtils: Fix XSS vulnerability and rendering bug in URL formatting
...
The characters <>" are now simply not allowed in URLs. Incidentally,
this also fixes formatting of some URLs within brackets, e.g.
<http://blicky.net/ >.
2012-07-17 21:24:55 +02:00
Yorhel
2d200c35d9
Added simple search results page
...
Rather ugly and rushed, as usual.
2012-07-17 21:14:55 +02:00
Yorhel
4d699d8d47
Added quick-and-dirty javascript dropdown search thing
2012-07-17 20:18:19 +02:00
Yorhel
10e8d4acae
Added search index table + simple XML-based search interface
...
The XML thing is supposed to be used for auto-completion, of course. The
current search implementation is very, very stupid and simple: Just a
prefix match on the man name, and simple detection of section stuff. I
suppose it'll suffice for now.
2012-07-17 18:49:38 +02:00
Yorhel
5d39a55158
Initial search stuff
2012-07-17 16:45:05 +02:00
Yorhel
d9def9d542
Indexed snapshot.debian.org + give crawler a user-agent
2012-07-15 16:38:32 +02:00
Yorhel
f2bf6829c3
Style: Use images for gradients + image for search button
...
I couldn't get firefox to play nice with the search button styling, so
replaced it completely with an image. Its location still off by one
pixel in Firefox, though. :-(
2012-07-11 18:16:36 +02:00
Yorhel
e211524b8c
Style changes for links
2012-07-11 16:17:22 +02:00
Yorhel
166e59094f
Got rid of permalink link and moved 'source' link to a better place
2012-07-11 15:33:57 +02:00
Yorhel
9da5d16480
Some changes to the navigation thing
...
Hopefully this is an improvement...
2012-07-11 15:27:25 +02:00
Yorhel
147e76d405
ManUtils: Fix render issues when grog detects multiple macro packages
2012-07-11 14:29:15 +02:00
Yorhel
eb3e6cf929
ManUtils: Fix display of double-formatted characters
...
Grotty outputs double-formatted characters for some (old) manual pages.
This fix ignores the second part of the double-formatting, thus making
things readable again.
2012-07-11 13:53:35 +02:00
Yorhel
5f87ab9069
Rewrote manfmt to use AnyEvent and moved it to ManUtils
2012-07-11 11:33:12 +02:00
Yorhel
fadb0a1110
s/GrottyParser/ManUtils/g
2012-07-11 11:29:15 +02:00
Yorhel
fc6064f4b8
Let's add www/images to the git repo as well
2012-07-09 13:06:43 +02:00
Yorhel
99ec200895
Added simple cron script
...
To be run on a daily basis
2012-07-07 10:52:20 +02:00
Yorhel
b463d8e87e
Added Debian Lenny & Squeeze
2012-07-06 18:56:24 +02:00
Yorhel
39e61a3cfb
Auto-detect man compression from content rather than filename
...
This fixes the indexing of some packages. The most common error is to
have a doubly-gzip-compressed file with only one '.gz' extension, which
would previously not be detected.
2012-07-06 12:39:12 +02:00
Yorhel
862f42dce5
Added and indexed Debian woody, sarge and etch
2012-07-05 15:12:01 +02:00
Yorhel
1e97e055db
Improved package page with version selector and paginate man list
...
The pagination is kinda necessary, /arch/man-pages has more than 3500
manuals.
2012-07-05 14:02:12 +02:00
Yorhel
7c5e8b5f9c
Some more simple homepage improvements
2012-07-05 12:41:20 +02:00
Yorhel
109eae1860
Improved /browse/$system pages with pagination and an "ALL" listing
...
Or, well, a "next" button counts as pagination, right?
2012-07-05 12:34:26 +02:00
Yorhel
4f6ae4c539
Fix 'more...' links on the homepage
2012-07-05 11:59:42 +02:00
Yorhel
187c3b8e87
Some more "about manned.org" text
2012-07-05 10:21:06 +02:00
Yorhel
00f5ab0572
Added Debian hamm/slink/potato + about manned.org update
2012-07-04 13:56:54 +02:00
Yorhel
531882296f
Added and indexed early Debian versions
2012-07-04 12:34:08 +02:00
Yorhel
311b4ee327
Wrote a more dynamic navigation bar
...
Not finished yet, though.
2012-07-04 09:10:03 +02:00
Yorhel
43eca4c20e
Generate nav bar in JS + various optimizations
...
This allows for a more dynamic nav bar without inserting insanely huge
HTML code in the page (as the previous version did in some cases) and
without having to contact the server again.
The 'intro' man page has around 1500 versions, and only generates a page
of ~52KiB (~9.5KiB after compression). The previous HTML version was
106KiB (~10.3KiB after compression). Page generation times have been
improved on the server side (by 50ms for the intro man page), but I've
no idea how significant the effect is of JS is. Feels fast enough,
though.
2012-07-02 16:45:51 +02:00
Yorhel
1f4328a72c
Improved CSS browser compat. + misc layout improvements
2012-07-02 13:22:37 +02:00
Yorhel
e74ae0ae67
Added the remaining Ubuntu releases
2012-06-20 17:59:28 +02:00
Yorhel
b1d1da66e7
Added Ubuntu 6.10, 7.04 and 7.10
2012-06-18 15:18:07 +02:00
Yorhel
a47c5ea5a8
www: Improved homepage, +about page, CSS tweaks, manselect order fix
2012-06-18 15:16:18 +02:00
Yorhel
be675893f3
GrottyParser: Fix MANNEDINCLUDE link when the man name contains a dash
2012-06-18 15:14:55 +02:00
Yorhel
7015defba1
Added Ubuntu 6.06
2012-06-16 12:29:21 +02:00