summaryrefslogtreecommitdiff
path: root/releng
AgeCommit message (Collapse)Author
2015-04-15Merge tag 'release_2014-12-08' into archweb-genericLuke Shumaker
Minor fixes and package updates
2015-04-15Merge tag 'release_2014-10-28' into archweb-genericLuke Shumaker
Fix django_countries issues
2015-04-13Merge tag 'release_2014-10-21' into archweb-genericLuke Shumaker
More tweaks and changes
2014-12-08Upgrade to python-markdown 2.5.2Dan McGee
safe_mode is now deprecated, so adjust things accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-26Add last modified date to releasesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Remove queryset specialization in JSON encoderDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-02Merge branch 'archweb' into archweb-genericLuke Shumaker
Conflicts: templates/public/download.html templates/public/index.html
2014-09-01Fix up some IP address field issuesDan McGee
Ensure we always coerce values to unicode in our __unicode__ method, and remove some now unneeded verbosity and comments since the upstream bug has been fixed. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Add auto-generated migrations from new Django migrations frameworkDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Remove old south migrationsDan McGee
Django 1.7 has built-in migrations support, so we no longer want these around. All existing installs should be fully migrated at this point to the latest schema. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Add default value for boolean fieldDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-25Merge tag 'release_2014-03-22' into archweb-genericLuke Shumaker
Fix long filenames; local storage for filter prefs Conflicts: templates/public/download.html
2014-02-02Releng release JSON viewDan McGee
FS#35049. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-09Remove release fields we can pull from the torrentDan McGee
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-23introduce BRANDING_SLUG for relengLuke Shumaker
2013-04-23reduce differencesLuke Shumaker
2013-04-16Various minor code cleanups and fixesrelease_2013-04-16Dan McGee
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 McGee
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 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>