Commit Graph

17 Commits

Author SHA1 Message Date
Dan McGee
71c0c7453a Implement torrent data parsing and extraction via bencode
This allows uploading of the actual torrent file itself into the webapp
and then pulling the relevant pieces of information out of it.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19 13:08:06 -06:00
Dan McGee
1a7e5d22f1 Add basic release list and details views
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19 12:08:31 -06:00
Dan McGee
8cfaa39a04 Add more metadata to releng Release model
Add a file_size field which we will use in the RSS feed, and also add a
field for future storage of the torrent data itself.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19 10:59:18 -06:00
Dan McGee
a732d3cebc Fix new magnet link generation
Apparently clients don't like urlencoded values in the magnet link, so
%3A isn't treated the same as ':'.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21 00:56:08 -05:00
Dan McGee
c81a9271b8 Show release notes on downloads page
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21 00:10:12 -05:00
Dan McGee
402487b007 Move some logic out of the templates to the Release model
This includes magnet URI generation, ISO paths, etc.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20 19:33:49 -06:00
Dan McGee
f7331a0eca Add Release model to releng
This should prevent the need for monthly template updates from Pierre
and Thomas; best to just let them enter the data themselves and have it
show up on the website.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20 19:16:25 -06:00
Dan McGee
df208fb0bd Signal attachment cleanup
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-01 09:20:38 -05:00
Dan McGee
79b0ff49bd Use GenericIPAddressField for releng test IP address field
We were already using this on package flag requests, and we can support
IPv6 addresses here as well with minimal hassle.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04 08:37:09 -05:00
Dan McGee
2e9094630b PEP8 spacing in releng models file
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-15 08:25:00 -05:00
Dan McGee
c5b370f432 Admin setup tweaks
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22 16:42:06 -05:00
Dan McGee
c80afa08c7 releng: refactor results overview page for performance
Use some annotation stuff and trickeration to reduce the number of
queries we need on the results overview page by quite a bit.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17 09:01:07 -05:00
Dan McGee
a489f355ec Implement get_absolute_url for Iso model
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17 07:57:41 -05:00
Dan McGee
f7626c0571 Add a removed date for releng ISOs
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16 14:39:41 -05:00
Dan McGee
5e85c5ac9e Move set_created_field() to shared utils class
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05 09:44:45 -05:00
Dan McGee
e6415c1a8b Remove unneeded import
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03 14:10:14 -05:00
Dan McGee
bfe6afcd7a Rename isotests to releng
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28 17:58:13 -05:00