Age | Commit message (Collapse) | Author |
|
|
|
|
|
In Python 3 for Django, class method __unicode__ must be changed to
__str__. This commit replaces all models that use __unicode__ to
__str__.
|
|
this makes it easier to upgrade to Python 3 since less on_delete lines
have to be fixed.
|
|
squash all migrations
|
|
|
|
|
|
|
|
Instead of importing json and loading the response.content using
json.loads use Django's response.json() method.
|
|
Add missing migration which removes the old releng models and remove the
old json fixtures.
|
|
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
In 875d50d8f the Iso Model was removed and also the release_detail view
which should have stayed since it's still used.
|
|
The ISO model was used for the releng feedback form which was removed
earlier. All this code is therefore now unused.
|
|
Add a few simple tests for some of the releases views.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Syncisos
|
|
|
|
|
|
|
|
Reduce nesting for readability.
|
|
Print a user friendly error instead of traceback, a traceback is
avaliable by increasing the verbosity (-v 2)
|
|
Fixes warnings for releng.Test.modules and releng.Test.rollback_modules
(fields.W340) null has no effect on ManyToManyField.
|
|
Fixes FS#53524 and FS#53520
|
|
|
|
|
|
Signed-off-by: Angel Velasquez <angvp@archlinux.org>
Signed-off-by: Thomas Bachler <thomas@archlinux.org>
|
|
safe_mode is now deprecated, so adjust things accordingly.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
FS#35049.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|