summaryrefslogtreecommitdiff
path: root/devel/views.py
AgeCommit message (Collapse)Author
2012-12-12Merge tag 'release_2012-04-21'Luke Shumaker
Migrations, moving code around, random small improvements
2012-12-12Merge tag 'release_2012-04-07'Luke Shumaker
I hate writing tag messages. Conflicts: packages/templatetags/package_extras.py templates/packages/flag.html templates/packages/flaghelp.html templates/public/download.html templates/public/index.html templates/public/svn.html
2012-12-12Merge commit '822898e' (Merge branch 'django14')Luke Shumaker
Conflicts: requirements.txt requirements_prod.txt templates/base.html templates/devel/clock.html templates/public/download.html templates/public/index.html templates/releng/results.html
2012-12-12Merge commit 'ea87160' (update)Luke Shumaker
2012-11-15Merge commit '314608a' (update)parabolaweb-2012-11-15-1Luke Shumaker
2012-11-15Merge tag 'release_2012-02-18'Luke Shumaker
Defend against bogus URLs, mirrorlist no FTP by default Conflicts: templates/public/index.html
2012-11-14Merge tag 'release_2012-01-11'Luke Shumaker
Pkgbase view in todos, other changes related to caching Conflicts: public/views.py
2012-11-14Merge commit 'd198137' (update)Luke Shumaker
2012-04-20UserProfile model and fields shuffleDan McGee
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 <dan@archlinux.org>
2012-04-08Change old packages report from two years to one yearDan McGee
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 <dan@archlinux.org>
2012-04-07Add a mismatched signatures developer reportDan McGee
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 <dan@archlinux.org>
2012-03-23Make all datetime objects fully timezone awareDan McGee
This is most of the transition to Django 1.4 `USE_TZ = True`. We need to ensure we don't mix aware and non-aware datetime objects when dealing with datetimes in the code. Add a utc_now() helper method that we can use most places, and ensure there is always a timezone attached when necessary. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-21Ensure clocks Expires header works in 59th minute of hourDan McGee
This was a rather careless oversight on my part. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-07Exclude all compressed manpagesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-28Merge commit '20e9a83' from ArchwebLuke Shumaker
Conflicts: main/fixtures/groups.json packages/templatetags/package_extras.py
2012-02-12Reduce false positives returned by uncompressed manpages reportDan McGee
Explicitly exclude '.html' files from the report. This fixes the issue noted in FS#28372. We also add `is_directory=False` to both the manpage and info page queries; this could help the database come up with a better plan. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-05Adjust page and content caching lengths and decoratorsDan McGee
Remove never_cache from many places now that we don't actually need it since we aren't caching by default. Adjust our cache_function decorator times be shorter values, and also randomize them a bit to make cache invalidations not all line up. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-11PyLint suggested cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-09Prefilter packages when looking up uncompressed man/info pagesDan McGee
This vastly speeds up the reports if you just want to look at your own packages and not the complete list, especially if the list of packages you maintain is relatively short. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-03Exclude Latin Name from developer profile formDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-01I think this fixes all the broken links (that point to parabolagnulinux.org ↵Luke Shumaker
anyway)
2011-11-26Merged with archweb trunkJohannes Krampf
2011-11-21Better support for non-latin full namesrelease_2011-11-21Dan McGee
Add a 'latin_name' field to the user profile so we can better support those developers with names in non-Latin scripts, and yet still show a Latin name as necessary on the developer profile page. This field only shows up if populated. Also, use consistent sorting everywhere- rather than using username, always use first_name and last_name fields. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-11Show relevant signoffs on dashboardDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Use UTC now everywhereDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-05Allow developer index to work with a non-authenticated userDan McGee
This is not the normal case given the decorator on the view, but during testing and development it is sometimes useful so others don't have to log in over a non-secure connection to check things out. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-03Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: packages/urls.py templates/packages/details.html
2011-08-03Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: templates/base.html
2011-06-28Add a bad compression ratio reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-23Add (hidden) ability to search by last packagerDan McGee
This is used from the developer dashboard to add a new column to the stats of # of packages for a given developer where they were the last to do the packaging. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-15Refactor common select_related into manager methodDan McGee
For a Package object query, we almost always did .select_related('arch', 'repo). Refactor this into the manager as a 'normal()' method so we can avoid sprinkling the same logic everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-13Add a long out-of-date developer reportDan McGee
This shows packages that have been marked out of date for more than 90 days in the repos. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-02Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
2011-06-02Add a PGP key field on the dev profileDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-26Remove now uneeded pytz bug workaroundDan McGee
2011-05-21Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
2011-05-21Merge branch 'master' of git://projects.archlinux.org/archwebNicolás Reynolds
Conflicts: devel/views.py feeds.py templates/devel/index.html templates/packages/flag.html templates/public/index.html todolists/views.py urls.py
2011-05-15Allow screening developer reports by maintainerDan McGee
A simple link is added for each user, but the URLs are flexible enough to screen by any maintainer if you know how they are constructed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-12More rebrandingNicolás Reynolds
2011-05-04Make uncompressed info query slightly easier on the databaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Add filesizeformat filter to sizes in reports/bigEvangelos Foutras
We also add a new 'filesize' tablesorter parser that handles all the suffixes found in django's filesizeformat filter. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Add unneeded orphans reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Change big packages reportDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29Use single quotes only in dev report viewDan McGee
2011-04-25Developer reportsDan McGee
This commit adds four initial developer reports that are hopefully useful to developers and packages in checking up on the state of things. They include: * big : the 100 biggest packages in the repos * old : packages built > 2 years ago * uncompressed-man : self-explanatory * uncompressed-info : self-explanatory There should obviously be some sort of index page to access all of these, so that will be coming soon. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Show more info about todolists on developer dashboardrelease_2011-04-09Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Rename local variables for clarityDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Work out kinks in create new user viewDan McGee
We allowed repo selection before, but never actually called save_m2m() so selections would have to be repeated on the next page. Add in group selection as well to the form, and ensure we do all of our database operations in one transaction so it is a lot easier to test and roll back if things go wrong. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Log user additions via new user formDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-29Show important fields first on new user formDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>