summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-30pkg_details_link template tag enhancementsDan McGee
* Output the blank string when passed None for pkg argument * Allow override of the link text if optional argument passed Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Fix template fragment caching on front pageDan McGee
Now that some users see staging packages and others do not, we need to be more careful about what variables the fragment depends on. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Show full date and time for package last updateDan McGee
Now that we do updates on the fly and not just once an hour, we can afford to show a bit more granularity here. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Fix usage of naïve datetime objectDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Remote errant print() statementDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Begin importing staging reposrelease_2012-09-30Dan McGee
This reverts 3530303c9a7d now that we have reasonably hidden most staging package confusion on the site for normal end users. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Optimize packages sitemap generationDan McGee
* Select arch and repo related models as we need the name off each * Only select the fields we actually need from the database * Exclude [staging] packages Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30PEP8 cleanups for main/modelsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Hide staging packages in search resultsDan McGee
This is for users that aren't logged in; developers will still see them. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Bump pytz version in requirements.txtDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add staging repos to repos JSON fixtureDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Don't show staging in package search repo listingDan McGee
This is temporary or at least a quick way to ensure regular users aren't confused by staging packages; later updates should re-enable display of this for logged in developers and trusted users. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Only watch non-staging repos in inotify reporeadDan McGee
This is temporary until we do more work to ensure staging packages don't show up and confuse regular users of the web interface. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Use minified typeahead JS fileDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Only show staging feeds to logged-in usersDan McGee
This doesn't prevent unauthenticated users from accessing the feeds, but it should reduce clutter and confusion on the feeds index page for users unlikely to need these feeds. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add structured data to developer listing pagesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Exclude inactive developers in maintainer countrelease_2012-09-24Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Add a new column to developer repo statsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Update jQuery to 1.8.2Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Don't auto-select the first item in typeaheadDan McGee
This assumption was baked into the Twitter bootstrap JS; kill it so it is still easy to do a freeform search if wanted. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Add typeahead dropdown to front page packages searchDan McGee
This uses the existing OpenSearch query endpoint to perform the search and displays the results accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Add stock Bootstrap typeahead JS filesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20chmod -x reporead_inotify.pyDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20Explicitly close the database connection in reporeadDan McGee
This is the cause of these warnings showing up in the PostgreSQL log: LOG: unexpected EOF on client connection with an open transaction All management commands are guilty of this as they do not clean up and close the connection when they exit, unlike the standard web request cycle. Other commands should probably be updated as well, but for now, this is the biggest culprit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20Defer content and other text items when building news sitemapDan McGee
We can get away with not retrieving these larger pieces of data when building the news sitemap. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20More minor updates to Kartenzia linkageThomas Bächler
The last update broke one of the links. Signed-off-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-18Sort mirrorlist by English country name, not ISO codeDan McGee
Fixes FS#31503. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-17Sort package list before inserting it into the databaserelease_2012-09-18Dan McGee
FS#30323. This will take some time to propagate to all existing packages, but all new and updated packages will start getting filelists in the right order. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-17Minor updates to Kartenzia linkageDan McGee
And add some transparent rounded corners to the logo so it fits in better with the rest of our sponsor buttons. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-17More structured data markup for news articlesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Remove now unnecessary importrelease_2012-09-15Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Add structured data markup from schema.org to news itemsDan McGee
We use the 'Article' type since this isn't print media. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Reduce Kartenzia button size with OptiPNGDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Switch to Kartenzia PNG logoDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15donate.html: Add kartenzia.deFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-09-15Add JS-based filtering to the developer reportsDan McGee
This can use the todolist filtering functions we made more generic in a previous commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Make todolist filtering functions more genericDan McGee
This will allow us to use them elsewhere in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Standardize spelling of 'todo list'Dan McGee
We use a space everywhere but a few places; fix the exceptions. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-08p/v/flag: Add reply-to to out-of-date notificationsFlorian Pritz
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-08local_settings.py: Add sqlite exampleFlorian Pritz
Sqlite should be sufficient for testing so make it the default. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-09-08Add structured data markup from schema.org to package detailsDan McGee
This might help out search engines show more helpful blurbs for our package details pages. Tested using the Google Rich Snippets Testing Tool at http://www.google.com/webmasters/tools/richsnippets. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-08Remove 'new' markers from home pageDan McGee
These things aren't so new anymore. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-07Update downloads page for September releaserelease_2012-09-07Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Upgrade jQuery to 1.8.1Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Add some HTML5-ization in JS of various input attributesDan McGee
On the login page, give focus to the username box when the page loads as well as turning autocorrection and auto-capitalization off on the username box. For the developer profile page, we can add some minor validation and typing of certain form fields that allow things like iPhone and Android to customize the presented keyboard to the user, as well as allowing browsers to do some client-side validation. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Bump django-countries requirementDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-05Split devel forms out of devel/views.pyDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Add a 'format_http_headers' methodDan McGee
This takes a HttpRequest object and grabs the HTTP headers out of it and pretty-prints them in a familiar format. This will come in handy if we want to log these when creating package FlagRequests, releng Tests, etc. in addition to already logging the IP address of the user posting the request. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Use GenericIPAddressField for releng test IP address fieldDan McGee
We were already using this on package flag requests, and we can support IPv6 addresses here as well with minimal hassle. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-04Filter out spam flag requests on package details pageDan McGee
No need to show these as a matching request. Signed-off-by: Dan McGee <dan@archlinux.org>