summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-10-12reporead: don't print full backtrace if unnecessaryrelease_2012-10-12Dan McGee1-3/+6
In the architecture agnostic case, this error is much more likely to happen, so printing it like an error message is deceiving. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-12Make wrong permissions query more efficientDan McGee1-5/+6
This removes the subplan and per-row query in favor of a LEFT JOIN where we look for non-matching rows. Tested in sqlite3 and PostgreSQL. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-10Make mirror log time query a bit more efficientDan McGee1-4/+6
We don't need the full mirror log objects; we just need a very small subset of values from them here to do the required math and object building. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-08archweb.js: Fix syntax error in filter_signoffs()release_2012-10-08Evangelos Foutras1-0/+2
Commit 1decbc079ff8ab9798cef0ca02310357f8f4ba0c "JSLint suggested script cleanups" mistakenly removed the closing brace and parenthesis of a jQuery .each() call, along with a following comment. This commit brings back the two removed lines. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-06Update download page for new releaserelease_2012-10-06Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-04Update bugs link for feeds for all projectsDan McGee1-3/+3
Apparantly 'project=99' is not the correct way to do this; 'project=0' is. Flip the links so they all use the new form. FS#31561. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-02JSLint suggested script cleanupsDan McGee1-25/+26
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-02Add a few more redirects for old linksDan McGee1-0/+10
This covers more .php pages noticed in Google webmaster tools, as well as some links to former documentation. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Collapse long lists of related packagesDan McGee3-17/+32
Just like we did with the rows of depends and required by, collapse down conflicts, provides, etc. comma-separated lists if they grow too large. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Add caching of sitemapsDan McGee1-7/+8
Upstream Django bug #2713 was fixed in https://github.com/django/django/commit/123f567093, so we can now enable caching of sitemaps. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30pkg_details_link template tag enhancementsDan McGee1-2/+6
* 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 McGee1-2/+3
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 McGee1-1/+1
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 McGee1-2/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Remote errant print() statementDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Begin importing staging reposrelease_2012-09-30Dan McGee1-1/+1
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 McGee1-1/+2
* 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 McGee1-0/+9
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-30Hide staging packages in search resultsDan McGee1-3/+12
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 McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add staging repos to repos JSON fixtureDan McGee1-0/+60
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Don't show staging in package search repo listingDan McGee1-1/+2
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 McGee1-1/+1
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 McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Only show staging feeds to logged-in usersDan McGee1-1/+4
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 McGee2-5/+15
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Exclude inactive developers in maintainer countrelease_2012-09-24Dan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Add a new column to developer repo statsDan McGee2-0/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Update jQuery to 1.8.2Dan McGee3-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-24Don't auto-select the first item in typeaheadDan McGee2-5/+6
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 McGee2-0/+43
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 McGee2-0/+301
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20chmod -x reporead_inotify.pyDan McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-20Explicitly close the database connection in reporeadDan McGee1-0/+1
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 McGee1-1/+1
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ächler1-1/+1
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 McGee1-1/+1
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 McGee1-1/+4
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 McGee2-2/+2
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 McGee1-3/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Remove now unnecessary importrelease_2012-09-15Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Add structured data markup from schema.org to news itemsDan McGee1-2/+12
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 McGee1-0/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Switch to Kartenzia PNG logoDan McGee3-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15donate.html: Add kartenzia.deFlorian Pritz2-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-09-15Add JS-based filtering to the developer reportsDan McGee2-2/+32
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 McGee2-9/+12
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 McGee1-3/+3
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 Pritz1-3/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-08local_settings.py: Add sqlite exampleFlorian Pritz1-6/+14
Sqlite should be sufficient for testing so make it the default. Signed-off-by: Florian Pritz <bluewind@xinu.at>