summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-18Move maintainer/packager link code back into templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Break out Jinja2-specific template helpersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Convert bulk of package details page to Jinja2Dan McGee
We wrap the whole thing in a Django template so we don't have to convert our base template to Jinja2 (or have one for each templating engine). This also simplifies the static stuff so we can just keep using the Django tags. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Enable Jinja2 template bytecode cachingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Convert details sub-tempates to Jinja2Dan McGee
This is a start at improving performance of rendering the package details page, our most-visited and slowest page on the production website. The Django template system is not very efficient due to our heavy use of broken out templates and pulling of various attributes and such on related packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Install and wire up django-jinjaDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Disable eggs template loaderDan McGee
2014-10-18Only show arches/repos that are necessaryDan McGee
After the refactor in commit 7947d36c4, we weren't gathering arches and repos from the correct list of packages. Fix this. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-18Tweak sorting settings on stale relations pageDan McGee
* Don't allow sorting of packages columns, doesn't make much sense * Default to sorting by pkgbase on all tables * Ensure all JS is executed inside doc.ready function (wow, how has this been wrong for so long?) Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-30Update AUR feed URLDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-22Update to OrderedDict usage for Django 1.7Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11Properly start the Django application in WSGI contextDan McGee
Apparently things changed a while back, but no notice was given anywhere. https://code.djangoproject.com/ticket/23437 Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11Remove now unnecessary empty models.py filesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11Whoops, this shouldn't be commented outDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-11Merge branch 'django-1.7'Dan McGee
2014-09-02Bump Django requirement to 1.7Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
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-01More changes for move to Django 1.7Dan McGee
The removal of the root `__init__.py` file is so the testing framework does consistent imports of our models now that the loading strategy has changed. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Update for admin changes for Django 1.7Dan McGee
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 dependency on SouthDan 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-01Update to a version of django-countries compatible with 1.7Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Silence warning with 1.7 by using new test runnerDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Add details link to mirror status pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Save some space, (secs) -> (s)Dan McGee
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-09-01De-emphasize package files pagesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01Requirements bumpingDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-09-01update URLs to Arch wikiJakub Klinkovský
Signed-off-by: Jakub Klinkovský <j.l.k@gmx.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2014-06-28Bump some requirementsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-06-10Use last element in args tuple as error messageDan McGee
When things blow up in low-level C code, the tuple is sometimes of length one, such as when it contains this error message: _ssl.c:495: The handshake operation timed out Just use the last element of the tuple, which works for all of the cases. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-31Convert ~~~ to date/username text when editing mirror notesDan McGee
Requested by Florian to make leaving notes on mirrors a bit easier. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-31Bump markdown requirement versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-05-18Bump some requirementsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-04-29Bump Django version, againDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-04-22Bump Django versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-29Protect ORM migration portion in db.dry_runDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-29Add last_modified column to mirrorsDan McGee
This will make it easier in the future to clear out inactive mirrors that haven't been touched in a while. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-29Bump django-countries and pytz requirementsDan McGee
2014-03-22Make filename and directory name fields accept longer valuesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09Simplify filter reload codeDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09Use localStorage to save/restore developer report filtersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09Use localStorage to save/restore todolist filtersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09Use localStorage to save/restore signoffs filtersDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-03-09Allow filesize sorter to match &nbsp; characterDan McGee
This gets the sorter working correctly again on the developer reports pages where we show file sizes. Apparently the Django filesizeformat tag now uses non-breaking spaces. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22Split signature report into two reportsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22Generate list of reports dynamicallyDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22Break out developer reports into a separate moduleDan McGee
This code was getting quite unwieldy, and wasn't very modular. Introduce a DeveloperReport class that contains the content for a single report, and utilize it to create our various report metadata and package filtering operations. Utilize these report objects in the reports view, vastly simplifying it. We don't yet dynamically generate the list of reports on the developer index page; that will be coming soon. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22Upgrade django-countries to 2.0Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>