Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove the unused Konami code library, the functionality was already
removed in c79dc7dcf4a13e3.
|
|
Added the .coverage file to gitignore.
|
|
The readme instructs the user to run:
./manage.py syncisos
But this custom function no longer exists and therefore generates an
error.
This commit removes the reference from the readme.
|
|
Calls to order_by() without passing any parameters was causing
UnorderedObjectListWarning during unit tests. The failing unit tests
were testing the sitemap functionality. Sitemaps utilize Paginators,
which require either the entity ordering as specified in their Meta
object, or a specific ordering in the QuerySet, otherwise this warning
is issued.
|
|
mirrors: Allow listing mirrors in only a specific tier
|
|
public: Add vagrant image link to download page
|
|
Mention the official Vagrant image on the download page and where to
find it.
|
|
requirements: Update django to 1.11.13
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Minor bugfix release which fixes two regressions and one crash.
|
|
Clean up CSS
|
|
Remove leftover css which is obsolete since 2ff2b26aa92c8e
|
|
depressed doesn't seem to be a css property, nor being parsed by the
browser, therefore remove it.
|
|
Form
|
|
Update django to 1.11.12
|
|
Fix a typo
|
|
|
|
Also, remove test_generate(), as it was testing no more than
test_mirrorlist_filter() already was.
Signed-off-by: Genki Sky <sky@genki.is>
|
|
This fixes a regression. Originally request.REQUEST was used, but django
1.9 removed this. In its stead, request.POST was used unconditionally.
However, this results in any GET request returning *all* mirrors, rather
than filtering as requested in the parameters.
This patch uses POST or GET based on the request method. This fixes the
behavior of the [mirror-filter-form], and any scripts depending on the
generated URL format. Accordingly, make test_mirrorlist_filter() test
both the success and failure cases, rather than just success.
[mirror-filter-form]: https://www.archlinux.org/mirrorlist/
Signed-off-by: Genki Sky <sky@genki.is>
|
|
This django release contains two small bugfixes.
|
|
Fix the StaffGroup query
|
|
Due to changes to Django 1.11, this didn't return the object. Fix to get the object instead
of the queryset.
|
|
Upgrade django
|
|
Add missing add_argument to parse args.
|
|
Passing Context has been removed in Django 11, a dict should rather be
passed.
|
|
The test uses database queries and should therefore be a TestCase.
|
|
|
|
|
|
Use user__userprofile instead of user__username for filter.
|
|
|
|
According to the docs cycle takes two string arguments.
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Django explicitly recommends against using CachedStaticFilesStorage,
partially because it performs worse. It also breaks our tests with our
Minified subclassing of it.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Wonder how old this bug is..
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Mark jquery script tag as safe otherwise django won't output it as html.
|
|
It's available already since we're no longer in the past, and can't load
from future *in* the future.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
|
|
Instead of syncdb, migrate should be used now.
|
|
Built-in template context processors were moved from
django.core.context_processors to django.template.context_processors in
Django 1.8.
|
|
|
|
Make rematch_developers compatible with Django 1.10 by switching to a
BaseCommand class.
|
|
Remove the management command which reloads permissions for specified
apps or all apps if no args are specified. This management command looks
broken since create_permissions has verbosity as it's second parameter
and not a list of models.
|
|
Update to BaseCommand.
|
|
Use BaseCommand instead of the deprecated NoArgsCommand.
|
|
Update the code to use BaseCommand instead of the removed NoArgsCommand.
|
|
|
|
Django 1.9 removed the option_list and requires an add_arguments to be
overloaded to specify the arguments.
|