Commit graph

217 commits

Author SHA1 Message Date
Yorhel
1404ee6c47 www: Fix the 'prefer-Arch' comparison in getman() 2012-08-15 09:38:20 +02:00
Yorhel
8641867ff4 Fix indexing of core-manpages of FreeBSD 8.1 2012-08-15 09:26:36 +02:00
Yorhel
9143a0416e Added .gitignore to ignore some autogenerated ManUtils stuff 2012-08-14 20:39:04 +02:00
Yorhel
8eb4866c86 Added FreeBSD icon + description and future ideas on about page 2012-08-14 20:26:05 +02:00
Yorhel
8c94298bf4 Added and indexed FreeBSD 8.x and 9.0 2012-08-14 20:25:38 +02:00
Yorhel
ad0739ed7f Added and indexed FreeBSD 7.x 2012-08-08 18:38:19 +02:00
Yorhel
7e9acec5e6 Added and indexed FreeBSD 6.x + minor fixes in 5.x 2012-08-04 13:48:28 +02:00
Yorhel
aa47337cd1 Added and indexed FreeBSD 5.x 2012-08-01 19:40:43 +02:00
Yorhel
75741305c2 Added and indexed the remaining FreeBSD 4.x releases 2012-07-30 14:58:55 +02:00
Yorhel
5e963de411 Added and indexed FreeBSD 3.5, 3.5.1 and 4.0
Things are slowing down a bit now that the later releases have a
packages/ directory.
2012-07-27 18:10:25 +02:00
Yorhel
40f916c4cf Added and indexed FreeBSD 3.0 - 3.4 2012-07-27 12:54:51 +02:00
Yorhel
201cac722b Added and indexed FreeBSD 2.2.8
...including its packages/ directory.
2012-07-26 18:14:30 +02:00
Yorhel
61566c93fb Added and indexed FreeBSD 2.2.2, 2.2.5, 2.2.6 and 2.2.7.
Their repositories were all rather similar, so hardly anything special
needed. (2.2.8, on the other hand, is the first with a categorized
packages/ dir)
2012-07-26 14:16:06 +02:00
Yorhel
0c641931e5 Added and indexed FreeBSD 2.0.5, 2.1.5 and 2.1.7 2012-07-26 13:39:30 +02:00
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