summaryrefslogtreecommitdiff
path: root/releng
AgeCommit message (Collapse)Author
2013-01-28Extract torrent trackers into a settings variableDan McGee
This allows them to be overridden and changed in a central location, like we do with the SVN URL, PXE boot URL, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Add MD5 and SHA1 fields for releasesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Don't error on empty torrent dataDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add a view to download the torrent available for a given releaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Mark release version string as uniqueDan McGee
It should be unique anyway, but it is especially important now that we are using it in URL patterns for lookup. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Implement torrent data parsing and extraction via bencodeDan McGee
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-19Add basic release list and details viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add more metadata to releng Release modelDan McGee
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>
2012-11-21Fix new magnet link generationrelease_2012-11-20Dan McGee
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-21Show release notes on downloads pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20Move some logic out of the templates to the Release modelDan McGee
This includes magnet URI generation, ISO paths, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-20Add Release model to relengDan McGee
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-01Signal attachment cleanupDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Use GenericIPAddressField for releng test IP address fieldDan McGee
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-08-15PEP8 spacing in releng models filerelease_2012-08-15Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-13releng views code cleanupDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Replace deprecated direct_to_template() with render() shortcutDan McGee
Now that Django actually provides a concise way to use a RequestContext object without instantiating it, we can use that rather than the old function-based generic view that worked well to do the same. Additionally, these function-based generic views will be gone in Django 1.5, so might as well make the move now. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Remove custom utc_now() function, use django.utils.timezone.now()Dan McGee
This was around from the time when we handled timezones sanely and Django did not; now that we are on 1.4 we no longer need our own code to handle this. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-04-17Prune down table rows on ISO testing overview pageDan McGee
This table is getting very long as we have upwards of 210 ISOs in the production database. However, it doesn't make much sense to list ISOs that no longer exist and were never tested, so omit these from the results page if we know this to be the case. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Merge branch 'django14'Dan McGee
Conflicts: templates/releng/result_section.html
2012-03-23releng: ensure links are valid for option names with spacesDan McGee
Can't believe this went unnoticed for so long. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Make all datetime objects fully timezone awareDan McGee
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to ensure we don't mix aware and non-aware datetime objects when dealing with datetimes in the code. Add a utc_now() helper method that we can use most places, and ensure there is always a timezone attached when necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Change Django urls.py importDan McGee
Until Django 1.3, the functions include(), patterns() and url() plus handler404, handler500 were located in a django.conf.urls.defaults module. In Django 1.4, they live in django.conf.urls. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23Add date_hierarchy for releng ISOs in adminDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22Admin setup tweaksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Use verbose name for releng options displayDan McGee
So we see something like 'Hardware Type' instead of 'Hardware_Type'. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17releng syncisos: reactive inactive ISOs if availableDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17releng: refactor results overview page for performanceDan McGee
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-17Add architecture to releng results listingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Implement get_absolute_url for Iso modelDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17New page ISO OverviewTom Willemsen
ISO Overview shows a simple list of all the ISOs that are available and how many times they've been tested successfully or have failed. Signed-off-by: Tom Willemsen <ryuslash@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16Add a removed date for releng ISOsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Move set_created_field() to shared utils classDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-24clarify that issues should still be reported on the bugtrackerDieter Plaetinck
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Use proper punctuation/grammar in help textDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Fix typo introduced in fixture creationrelease_2011-05-15Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15releng: Add more (and more precise) clock choicesTom Willemsen
Signed-off-by: Tom Willemsen <ryuslash@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-12Put most recent ISOs first in listsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-10Ensure releng modules links work correctlyDan McGee
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-05-09releng: fix typosDieter Plaetinck
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-09releng: clarify some text and optionsDieter Plaetinck
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03Remove unneeded importDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02releng: ensure we save M2M values from submission formrelease_2011-05-02Dan McGee
Whoops- forgot to add this rather important call back in here when I made the form not auto-commit. Fixes FS#24019. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02releng: fix FS#24021, allow unselection of rollback FSDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: auto-deactivate old ISO namesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: final touches before public showingrelease_2011-04-29Dan McGee
* Move URL prefix to /releng/feedback/ * Move link on main page to Development, not Community Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: make rollback fs a standard_optionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: enhance admin, remove errant print statementDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28releng: add initial migrationDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28Rename isotests to relengDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>