AgeCommit message (Collapse)AuthorFilesLines
2012-04-21Add an index on packages last update columnrelease_2012-04-21Dan McGee2-1/+132
Not sure why we don't have this already, given both the home page, the packages page when ordered by last update, and the generated feeds would see immediate benefit from it. Signed-off-by: Dan McGee <>
2012-04-20Fix ContentType related migrationsDan McGee5-33/+33
This should fix the issues reported in FS#23228 for the most part. Signed-off-by: Dan McGee <>
2012-04-20UserProfile model and fields shuffleDan McGee24-127/+388
Move this model into the devel/ application, and move the PGPKeyField which is used only by these models into the application as well. This involves updating some old migrations along the way to ensure we don't reference a field class that no longer exists. Signed-off-by: Dan McGee <>
2012-04-17Prune down table rows on ISO testing overview pageDan McGee3-3/+15
This table is getting very long as we have upwards of 210 ISOs in the production database. However, it doesn't make much sense to list ISOs that no longer exist and were never tested, so omit these from the results page if we know this to be the case. Signed-off-by: Dan McGee <>
2012-04-12Use commas rather than line breaks for multivalued details itemsDan McGee1-8/+7
Signed-off-by: Dan McGee <>
2012-04-12Show conflicts and replacements on package details pageDan McGee1-1/+13
Signed-off-by: Dan McGee <>
2012-04-08Don't blow up when no mirror status data is availableDan McGee1-1/+1
The check here was wrong before; in the case of no mirror log entries the returned value will not be empty, but will contain two empty values. Check the values instead to see if we have valid data available. Signed-off-by: Dan McGee <>
2012-04-08Change old packages report from two years to one yearDan McGee2-3/+3
Now that all packages are getting more attention, we can shorten the time period on the report to a shorter date range. Signed-off-by: Dan McGee <>
2012-04-08Add migrations for on_delete attributesDan McGee3-0/+293
I don't think these end up doing anything at the database level, but since South insists on generating alter_column() calls for these changes, do them once so they don't keep reappearing in auto-generated future migrations. Signed-off-by: Dan McGee <>
2012-04-07Add JSON search viewrelease_2012-04-07Dan McGee3-1/+28
This still might change and should not be viewed as a public API yet. This has been a longstanding request in FS#13026. Signed-off-by: Dan McGee <>
2012-04-07Prevent selection of many useless fields when getting todolistsDan McGee1-1/+5
This is a bit of a hack, but makes the resulting resultset returned from the database a lot smaller and kills off all the columns we don't care about and would never look at. Signed-off-by: Dan McGee <>
2012-04-07Allow sorting of lower table on master keys pageDan McGee2-9/+31
Add some styling for sortable pretty2 tables to the CSS, and convert the header row into a single row since that is all tablesorter seems to support correctly when assigning styles. Signed-off-by: Dan McGee <>
2012-04-07Move PackageJSONEncoder into package.utils moduleDan McGee2-37/+39
This will allow it to be used elsewhere, and doesn't really belong in views anyway. Signed-off-by: Dan McGee <>
2012-04-07Choose an up-to-date mirror for download URLsDan McGee2-9/+38
Given that we collect a lot of mirror status data, we can utilize it to ensure the download link on the website actually works and newly-added packages have actually been mirrored out. Add a method that attempts to use the mirror status data to determine a mirror we should redirect our download requests to. This can change on a regular basis, and falls back to the old method if no mirror status data is available. Signed-off-by: Dan McGee <>
2012-04-07Add a mismatched signatures developer reportDan McGee3-5/+44
This finds odd signatures in our repositories, which includes signature times not matching with build dates, different signer and packager, etc. We enhance our user lookup helper class to look up users by PGP key. Signed-off-by: Dan McGee <>
2012-04-05Show and link key_id if signer was an unknown keyDan McGee1-1/+1
Signed-off-by: Dan McGee <>
2012-04-03Use https:// links for all internal sitesDan McGee6-19/+19
We already use HTTPS exclusively for wiki, bugs, forums, etc. and we have it available for our other sites, so link only to the https:// protocol locations when pointing users at other sites. Signed-off-by: Dan McGee <>
2012-04-03Convert flaghelp page to HTML5 doctypeDan McGee1-3/+2
Signed-off-by: Dan McGee <>
2012-04-03Include category when linking to bug reportsDan McGee2-1/+2
Also change the default category to something legit. Signed-off-by: Dan McGee <>
2012-04-02Make hidden 'name' search field match exactlyDan McGee1-1/+1
This is much more useful than the old contains match if you are trying to narrow down your search to a specific package. Signed-off-by: Dan McGee <>
2012-04-02Skip default ordering in sitemaps outputDan McGee1-2/+2
The output is not required to be ordered by the specification, so save some effort by skipping any sorting. Signed-off-by: Dan McGee <>
2012-04-02Fix missing = sign in requirements_prodrelease_2012-04-02Dan McGee1-1/+1
Signed-off-by: Dan McGee <>
2012-03-29Use spaceless tag on package search resultsDan McGee1-2/+2
Signed-off-by: Dan McGee <>
2012-03-29Use spaceless tag on signoffs pageDan McGee2-7/+7
More whitespace collapsing to shrink the HTML size quite a bit. Signed-off-by: Dan McGee <>
2012-03-29Add developer status table to master keys pageDan McGee5-13/+82
This shows the cross-product of each master key with each developer key so you can see who has been signed, where signatures are missing, etc. Signed-off-by: Dan McGee <>
2012-03-29Use spaceless tag in mirror status outputDan McGee2-4/+4
This removes a lot of needless whitespace in the generated output, shrinking the uncompressed page size by 30KB to 54KB total on my current set of mirror test data. Signed-off-by: Dan McGee <>
2012-03-29Return files in default orderDan McGee1-2/+4
When we read the repository databases, we get a filelist in sorted order. Save time by returning the file list in that order rather than resorting it based on filename and directory. Signed-off-by: Dan McGee <>
2012-03-29Fix bad merge in releng section templateDan McGee1-1/+0
Signed-off-by: Dan McGee <>
2012-03-28Switch to recommending PostgreSQL by defaultDan McGee3-7/+7
Signed-off-by: Dan McGee <>
2012-03-26Remove media/ staticfiles URL locationDan McGee1-5/+0
Signed-off-by: Dan McGee <>
2012-03-26Rename 'packagedepend_set' attribute to 'depends'Dan McGee3-9/+5
We do this for every other related package attribute, so do it here too. Signed-off-by: Dan McGee <>
2012-03-26Add more info to package JSON dumpDan McGee1-7/+19
Signed-off-by: Dan McGee <>
2012-03-26Bump signoffs and mirror status JSON API versionsDan McGee2-2/+2
Due to datetime formatting changes in Django 1.4, we know follow the ECMA specification more closely and use 'yyyy-mm-ddThh:mm_ssZ' format. As this could break existing users of the JSON data, bump the version. Signed-off-by: Dan McGee <>
2012-03-24Use bulk_create() when inserting mirror log entriesrelease_2012-03-25Dan McGee1-2/+1
Signed-off-by: Dan McGee <>
2012-03-24Revert "Add some dev dashboard info regarding signed package count"Dan McGee3-17/+0
This reverts commit 797185faed0555efb88a1e6a18e447548a9935fd. Now that all packages in the Arch repos are signed, this column isn't very useful as it just reflects the total package count. Conflicts: packages/ -> packages/views/ Signed-off-by: Dan McGee <>
2012-03-24Use staticfiles_storage in jQuery tagDan McGee1-2/+4
To get the local URL to the jQuery JS file. Signed-off-by: Dan McGee <>
2012-03-24Convert retro pages to use {% retro_static %} template tagDan McGee11-92/+90
Signed-off-by: Dan McGee <>
2012-03-24Add retro_static template tagDan McGee2-0/+13
Unfortunately {% static %} cannot interpret any context variables passed into it, so we need to customize things in order to use it here since our resources are sorted by year. Signed-off-by: Dan McGee <>
2012-03-24Convert STATIC_URL usage to {% static %} template tagDan McGee19-37/+59
This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee <>
2012-03-24Remove cdnprefix template tagDan McGee2-14/+0
Signed-off-by: Dan McGee <>
2012-03-24Convert art template to use Django static filesDan McGee1-39/+39
Done with: sed -i \ -e 's@{% cdnprefix %}/media/\([^"]*\)"@{% static "\1" %}"@g' \ templates/public/art.html Signed-off-by: Dan McGee <>
2012-03-24Begin removal of cdnprefix tagDan McGee4-27/+29
This starts the removal of this code I wrote a while ago in favor of the now core Django static files application and the helpful static template tag. Signed-off-by: Dan McGee <>
2012-03-24Remove some unneeded whitespace and comments from base tempateDan McGee1-14/+6
Signed-off-by: Dan McGee <>
2012-03-24Add favicon retro resources and correctly link themDan McGee14-12/+12
Signed-off-by: Dan McGee <>
2012-03-23Change default SVN URLDan McGee1-1/+1
Signed-off-by: Dan McGee <>
2012-03-23Fix svg rendering window heightDan McGee1-0/+1
For reference, FF changed behavior: Signed-off-by: Dan McGee <>
2012-03-23Differentiate between Unsigned and unknown signerDan McGee1-3/+6
This can happen when we add a new developer but the key isn't in the system yet. Signed-off-by: Dan McGee <>
2012-03-23reporead: use bulk_create() for more propertiesDan McGee1-13/+17
Depends, conflicts, provides, etc. can all be done via bulk_create. Signed-off-by: Dan McGee <>
2012-03-23Merge branch 'django14'Dan McGee44-155/+183
Conflicts: templates/releng/result_section.html
2012-03-23releng: ensure links are valid for option names with spacesDan McGee2-1/+2
Can't believe this went unnoticed for so long. Signed-off-by: Dan McGee <>