summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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>
2014-02-22Change long out-of-date report to 30 daysDan McGee
At the request of barthalion. This bumps the report from currently showing 36 packages to 109 packages. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-22Upgrade markdown versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-16Ensure correct value gets submitted on package search typeaheadDan McGee
Populate the form field with the chosen item before submitting the form. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-06Bump requirements including Django versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-02-02Releng release JSON viewDan McGee
FS#35049. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27Cleanups and enhancments to JS package search typeaheadDan McGee
Remove the need to press enter twice when using this typeahead box. Submit the form on enter, regardless of whether an item is selected or not. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27Fix linebreak issues in preformatted code blocksDan McGee
In text blocks that have preformatted code, such as news items, we don't handle the overflow case very well. Let the browser do the job and wrap things if absolutely required. Fixes FS#35649. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-27Bump pgpdump required versionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-26Revert "Change old packages report from two years to one year"Dan McGee
This reverts commit 8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d. Turns out we aren't updating packages quite as often anymore. There are currently 1900+ packages in the repos built more than one year ago. Signed-off-by: Dan McGee <dan@archlinux.org> Conflicts: devel/views.py
2014-01-25Add 'Latest Update' column to stale package relationsDan McGee
This helps when doing the irregular cleanup of these things and making sure a relation has been stale for some time and not just a couple minutes or hours. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-21Flag out-of-date message is no longer optionalDan McGee
Changed way back in commit ef9d1c1e, but I didn't update the actual text at the same time. FS#38126. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-11Add a 'last_modified' function for mirror status pagesDan McGee
We can use this on both the HTML and JSON views of this data to prevent recomputation for smart clients that respect the modified date header. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-11Speed up feeds generation by batching writesDan McGee
The XML generation underlying our package feeds was doing 1600+ calls to the write() method on the outfile. For some reason, the Python standard library insists on calling flush() after every write, which really makes performance take a nosedive. Wrap the write calls and do them in batches to remove some of the overhead and make feed generation a bit snappier. Signed-off-by: Dan McGee <dan@archlinux.org>
2014-01-09Bump psycopg2 versionDan McGee
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>
2014-01-09Remove remaining references to release file_size fieldDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-12-23A few more tweaks to the URL details templateDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-12-23Set all attributes to default values on status URL fetchDan McGee
We were missing two duration-related attributes here, causing some 500 errors to happen if we had cached status_data around that didn't agree with our current list of checked mirrors. Don't blow up on the JSON data fetch by ensuring we provide a value, even if it is out of date. Signed-off-by: Dan McGee <dan@archlinux.org>