summaryrefslogtreecommitdiffstats
path: root/releng
AgeCommit message (Collapse)AuthorFilesLines
2020-05-31Add PGP key to the Release modelJelle van der Waa2-0/+22
Add a pgp_key field to the Release model so we can display the PGP fingerprint of the used PGP key on the download page. Closes: #282
2020-05-22Fix Python formatting in releng.modelsJelle van der Waa1-3/+2
2019-02-28releng: reduce SELECT's for archlinux.ipxe requestJelle van der Waa1-2/+1
Only querying the required fields makes the code smaller and 20% faster on Sqlite. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2019-01-21Update migrations for Python 3Jelle van der Waa2-12/+28
2019-01-21Update django reverse importJelle van der Waa2-2/+2
2019-01-21Refactor Python 3 __unicode__ to __str__Frank Vanderham1-1/+1
In Python 3 for Django, class method __unicode__ must be changed to __str__. This commit replaces all models that use __unicode__ to __str__.
2019-01-21Remove all squashed migrationsJelle van der Waa5-360/+0
this makes it easier to upgrade to Python 3 since less on_delete lines have to be fixed.
2018-12-16Merge pull request #154 from jelly/squashmigrationsjelle van der Waa1-0/+288
squash all migrations
2018-11-20releng: Add test for netboot configJelle van der Waa1-1/+5
2018-11-17Squash all migrationsJelle van der Waa1-0/+288
2018-09-23releng: remove empty directoriesJelle van der Waa2-0/+0
2018-06-17test: use response.json()Jelle van der Waa1-3/+1
Instead of importing json and loading the response.content using json.loads use Django's response.json() method.
2018-06-16releng: remove old fixtures and add missing migrationJelle van der Waa11-370/+103
Add missing migration which removes the old releng models and remove the old json fixtures.
2018-04-08Update urls.py to non relative importsJelle van der Waa1-1/+1
2018-04-08Change urls.py from patterns to list of url()Johannes Löthberg1-19/+16
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-03-13Re-add missing release details viewJelle van der Waa1-0/+6
In 875d50d8f the Iso Model was removed and also the release_detail view which should have stayed since it's still used.
2018-02-17Remove unused Iso Model (#82)jelle van der Waa4-124/+3
The ISO model was used for the releng feedback form which was removed earlier. All this code is therefore now unused.
2018-02-17releng: Add tests for a few views (#83)jelle van der Waa3-0/+32
Add a few simple tests for some of the releases views.
2018-01-29Remove old releng feedback form (#80)jelle van der Waa4-294/+5
Remove the old feedback functionality for released iso's. The last submission was in 2012 and it's no longer used by the current released iso's.
2017-07-11releng.views: fix list declaration styleJelle van der Waa1-1/+1
2017-07-11mirrors.models: remove unused importsJelle van der Waa1-1/+1
2017-07-11releng.models: remove unused importJelle van der Waa1-1/+0
2017-07-11releng.tests: remove unused importsJelle van der Waa1-3/+0
2017-06-12Merge pull request #32 from jelly/syncisosAngel Velásquez1-6/+16
Syncisos
2017-06-11tests: add tests for sitemapsJelle van der Waa1-0/+4
2017-06-11releng: Add Release model testsJelle van der Waa2-0/+43
2017-06-11tests: test feedJelle van der Waa1-0/+7
2017-06-07syncisos: reduce nesting in handle_starttagJelle van der Waa1-5/+9
Reduce nesting for readability.
2017-06-07syncisos: print user friendly errorJelle van der Waa1-1/+7
Print a user friendly error instead of traceback, a traceback is avaliable by increasing the verbosity (-v 2)
2017-05-24releng: Fix django warningsJelle van der Waa2-2/+31
Fixes warnings for releng.Test.modules and releng.Test.rollback_modules (fields.W340) null has no effect on ManyToManyField.
2017-04-02Use x86_64 instead of dual postfix for ISO image namesPierre Schmitz2-3/+3
Fixes FS#53524 and FS#53520
2017-03-05netboot: Disable i686 supportThomas Bächler1-1/+0
2016-06-03Add information and ipxe images for the new netboot systemThomas Bächler2-1/+5
2016-05-26Add netboot ipxe environment to archwebrelease_2016-05-29Angel Velasquez2-1/+25
Signed-off-by: Angel Velasquez <angvp@archlinux.org> Signed-off-by: Thomas Bachler <thomas@archlinux.org>
2014-12-08Upgrade to python-markdown 2.5.2Dan McGee1-4/+2
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 McGee4-0/+45
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21Remove queryset specialization in JSON encoderDan McGee1-4/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Fix up some IP address field issuesDan McGee1-3/+1
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 McGee1-0/+185
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Remove old south migrationsDan McGee8-1061/+0
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 McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-02Releng release JSON viewrelease_2014-02-02Dan McGee2-0/+47
FS#35049. Signed-off-by: Dan McGee <dan@archlinux.org>
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-16Various minor code cleanups and fixesrelease_2013-04-16Dan 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-19Add a view to download the torrent available for a given releaseDan McGee2-5/+26
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Mark 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>