summaryrefslogtreecommitdiffstats
path: root/releng
AgeCommit message (Collapse)AuthorFilesLines
2014-01-09Remove release fields we can pull from the torrentDan McGee2-5/+123
This makes entering new releases a bit less cumbersome as we don't really need to enter either the file size or the torrent infohash. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-17Various minor code cleanups and fixesDan McGee3-3/+3
Most of these were suggested by PyCharm, and include everything from little syntax issues and other bad smells to dead or bad code. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-09Use 'update_fields' model.save() kwargDan McGee1-1/+1
This was added in Django 1.5 and allows saving only a subset of a model's fields. It makes sense in a few cases to utilize it. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Extract torrent trackers into a settings variableDan McGee1-2/+3
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 McGee2-1/+125
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-28Don't error on empty torrent dataDan McGee1-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-20Add a view to download the torrent available for a given releaseDan McGee2-5/+26
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-20Mark release version string as uniqueDan McGee2-1/+118
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 McGee1-0/+33
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 McGee3-1/+21
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add more metadata to releng Release modelDan McGee2-0/+130
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 generationDan McGee1-8/+7
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 McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Move some logic out of the templates to the Release modelDan McGee1-0/+18
This includes magnet URI generation, ISO paths, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Add Release model to relengDan McGee3-12/+151
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 McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Use GenericIPAddressField for releng test IP address fieldDan McGee2-2/+103
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 fileDan McGee1-0/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-08-14releng views code cleanupDan McGee1-17/+37
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Replace deprecated direct_to_template() with render() shortcutDan McGee1-8/+7
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-25Remove custom utc_now() function, use django.utils.timezone.now()Dan McGee1-3/+2
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 McGee1-2/+8
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-24Merge branch 'django14'Dan McGee2-3/+4
Conflicts: templates/releng/result_section.html
2012-03-24releng: ensure links are valid for option names with spacesDan McGee1-0/+1
Can't believe this went unnoticed for so long. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Make all datetime objects fully timezone awareDan McGee1-2/+3
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-24Change Django urls.py importDan McGee1-1/+1
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-24Add date_hierarchy for releng ISOs in adminDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-22Admin setup tweaksDan McGee2-3/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-18Use verbose name for releng options displayDan McGee1-2/+3
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 McGee1-2/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17releng: refactor results overview page for performanceDan McGee2-34/+41
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 McGee1-2/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17Implement get_absolute_url for Iso modelDan McGee1-0/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17New page ISO OverviewTom Willemsen2-0/+15
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 McGee3-1/+104
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-07-05Move set_created_field() to shared utils classDan McGee1-10/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-24clarify that issues should still be reported on the bugtrackerDieter Plaetinck1-3/+7
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 McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15Fix typo introduced in fixture creationDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-15releng: Add more (and more precise) clock choicesTom Willemsen1-3/+52
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 McGee1-2/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-10Ensure releng modules links work correctlyDan McGee1-9/+10
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2011-05-09releng: fix typosDieter Plaetinck1-3/+3
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-09releng: clarify some text and optionsDieter Plaetinck3-5/+7
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-03Remove unneeded importDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02releng: ensure we save M2M values from submission formDan McGee1-0/+1
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 McGee1-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: auto-deactivate old ISO namesDan McGee2-5/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29releng: final touches before public showingDan McGee1-2/+5
* 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 McGee1-4/+5
Signed-off-by: Dan McGee <dan@archlinux.org>