Commit graph

162 commits

Author SHA1 Message Date
Yorhel
7e17853326 Remove HTML-formatted man pages 2016-10-03 20:04:23 +02:00
Yorhel
aa94548c71 Don't substr() section names in man page URLs
And improve man page lookup on "/man.section". If "man.section" itself
is a man page, then we display that. If it's not, we look for a man page
named "man" in section "section". (And if that section isn't available
we just show whatever the preferred version is for "man").

This fixes some occasional 404 links from the search results.
2016-10-03 19:36:37 +02:00
Yorhel
1f5418a10e CSS: Fix weird layout of systems listing on homepage 2016-10-02 20:23:50 +02:00
Yorhel
03d278e4ff Normalize package info tables + change browsing URLs
This splits the 'package' table into 'packages' and 'package_versions',
which should improve performance in some cases and simplify some future
queries.

Previously it wasn't very well defined whether packages were uniquely
identified by (system, name) or by (system, category, name). This is now
normalized to the latter form. This required changes to the package URLs
to include the category.
2016-10-02 20:07:57 +02:00
Yorhel
0c6964d0e3 Minor cleanup 2016-06-26 11:33:16 +02:00
Yorhel
8808b538f5 Add source page file name + fix handling of some odd suffixes 2015-12-19 11:47:42 +01:00
Yorhel
2da67d585c Various changes/fixes, 3 new distro versions 2015-04-28 08:27:29 +02:00
Yorhel
61d822a76b Added and indexed Ubuntu 13.10 2013-10-20 08:24:52 +02:00
Yorhel
32287f77bb www: Decrease importance of the section number in man page selection
The distro comparisons are more important, because otherwise some man
page lookups will result in receiving a very obscure man page from some
old version of FreeBSD or Gentoo, when you're more likely to look for
something modern.
2013-08-25 18:11:39 +02:00
Yorhel
a78c7c31d8 www: Removed broken package links from unsupported Ubuntu versions 2013-08-22 14:59:37 +02:00
Yorhel
dbc2cac13b Added and indexed Debian Wheezy 2013-05-10 15:14:44 +02:00
Yorhel
9346e4d794 Update site description that we're not really in early life anymore 2013-04-27 07:21:44 +02:00
Yorhel
7c9dbffd6a Added and indexed Ubuntu raring + disable TUWF debug mode 2013-04-27 07:12:51 +02:00
Yorhel
96ce9d3441 No more github link 2013-04-09 08:09:04 +02:00
Yorhel
0e8b61b053 Don't sync Ubuntu Natty anymore + remove broken Natty package links 2012-11-24 12:26:33 +01:00
Yorhel
f240d6117a Added and indexed Ubuntu 12.10 2012-10-18 16:57:30 +02:00
Yorhel
25920323c4 www: Unescape [ and ] in man name to fix 404's with Firefox 2012-08-17 14:09:21 +02:00
Yorhel
95776adf49 www: Added information link to package pages of some systems 2012-08-17 13:34:19 +02:00
Yorhel
56854e2438 Add COPYING, README and link to the public git repo
Copyright info and a README are kinda necessary for a public repo.
2012-08-15 18:22:49 +02:00
Yorhel
e76085014c www: Remove some unused 'use' lines
The functionality that used those modules has been moved into ManUtils
2012-08-15 09:49:05 +02:00
Yorhel
2ed30b214c js: Drop trailing a's from the nav view code
They hold no real information.
2012-08-15 09:45:55 +02:00
Yorhel
1404ee6c47 www: Fix the 'prefer-Arch' comparison in getman() 2012-08-15 09:38:20 +02:00
Yorhel
8eb4866c86 Added FreeBSD icon + description and future ideas on about page 2012-08-14 20:26:05 +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
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
c50e864ca3 Redirect to man page if there's only one search result 2012-07-17 21:33:09 +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
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
b463d8e87e Added Debian Lenny & Squeeze 2012-07-06 18:56:24 +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