summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-01-08Link to dev clocks pagerelease_2011-01-08Dan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Merge branch 'dev-timezones'Dan McGee7-2/+237
2011-01-08Remove automatic ID column definitionsDan McGee2-10/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add developer world clocks pageDan McGee3-1/+74
This should make it easier for everyone to figure out whether someone is awake, sleeping, and all that fun stuff. It does require everyone to update their profile and fill in the field, but that shouldn't be too hard of a task. Don't suggest jokes to me Saturday morning on IRC unless you really want to see them implemented. Thanks, Pierre! Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add time zone field to developer profileDan McGee2-2/+161
This will be used by the developer world clock page soon to come. Default everyone to "UTC" for now. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add pytz as a project requirementDan McGee2-0/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Settings file tweaksDan McGee1-14/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Remove default adminsDan McGee1-3/+1
Set them in local_settings instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Update readmeDan McGee1-10/+14
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-29Bump requirements files to latest versionsrelease_2010-12-29Dan McGee2-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-29Commit during reporead on a per-arch basisDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Get rid of all references to repos.archlinux.orgThomas Bächler2-17/+19
The packages/community repositories can now be viewed via cgit. Point links to cgit instead of websvn, as websvn is buggy and nobody wants to maintain it. This allows us to get rid of websvn entirely. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Add note about UTC datetimesDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Fix urls precedence in mirror viewsDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Refactor packages urls for clean lookDan McGee1-13/+13
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move more URLs out of root urlconfDan McGee4-49/+64
Things are a bit cleaner now. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move news urls into own fileDan McGee2-12/+18
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Split urls.py up by view prefixDan McGee1-63/+81
This makes things a lot cleaner and easier to read; we were getting quite clunky. It also sets the stage for url inclusion rather than one base urls.py file. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Link to JSON mirror status viewDan McGee1-2/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Add a mirror status JSON viewDan McGee2-1/+37
Requested in FS#21144. This should provide most if not all of the data that was provided on the archlinux.de website, although there are some differences in what is returned to the user. It is nearly the same data as that provided in the HTML view, the difference being things are a bit more machine-friendly and the list is not split into good and bad portions. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move database interaction out of the threaded sectionDan McGee1-14/+22
We were seeing a lot of hangs and long-running never-ending processes. This might be due to some multithreading issues within Django, so move the save() calls to a loop after the join() on the threads doing the mirror polling. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-12Use check count for this URL, not max of all mirrorsDan McGee1-1/+1
Prevents a recently enabled mirror from getting unfairly represented as far as completion percentage goes. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-11Update requirements.txtrelease_2010-12-11Dan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Fix mirror check unicode functionDan McGee1-1/+1
Needed a few self. qualifiers in there. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Slim down required by listingsDan McGee1-6/+33
If we have testing/non-testing packages in this list, and we are looking at a package that is in both testing and non-testing, we can show only the packages that correspond with the relevant repo. I'm not sure any explanation will make this easier to understand, but the end result is we don't show a bunch of duplicates where we used to. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Save DB query when filtering dependencies for testingDan McGee1-4/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Move some common package code to a functionDan McGee1-7/+10
We do this determination of 'applicable arches' a few times, so move it to a method on the package object and also clean things up so items aren't duplicated in the list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Add repo name to recent updates package tooltipDan McGee1-4/+6
Should handle the suggestion/question in FS#11078 in the easiest way possible. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Always allow a developer to disown a packageDan McGee1-17/+22
Don't check the valid repos when disowning; this should address the biggest part of FS#20687 where a package going from [community] to [extra] can't lose it's old maintainer due to permission issues. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Update public todo list templateDan McGee1-36/+56
Add a TOC as suggested in FS#20720. Fix closing tag span/a mixup that snuck in from the private developer template, and finally use a different div box for each todo list which should make them stand out better. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Don't require country on mirrorlist submissionDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-03Display flag date in package search and allow sortingrelease_2010-12-03Dan McGee2-2/+5
This exposes something we added a while back, and has been shown elsewhere, but will now be available for everyone to see. Also change the default search order to just be by pkgname; we don't need to do a multi-column search by default. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-30Make dev dashboard columns a bit prettierDan McGee1-4/+4
We don't need to force widths on the upper tables, and ensure the todo list description can wrap if it is a long one. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-27Fix feeds for case-sensitive databasesDan McGee1-1/+1
This worked in MySQL because of it's case-insensitive matching, but does not work in other databases unless we coerce the value. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-27Simplify sorting attrgetter callsDan McGee1-2/+2
Don't use dotted notation now that we have less-than implemented methods on the respective objects (which also allows this code to work under PyPy). Switch a lambda call to use attrgetter as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-27Add less-than methods for Repo and ArchDan McGee1-0/+6
These are the methods guaranteed to be used by the python sort functions; define them so we can simplify sorting code elsewhere as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-27Ignore other sqlite3 created files by defaultDan McGee1-0/+1
If using the defaults, this will ignore archweb.db-journal, and we can also ignore the files created when in WAL mode. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-27Remove print statementDan McGee1-1/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-04reporead: fix small issues when loading files databasesrelease_2010-11-04Dan McGee1-4/+14
We didn't verify that the version in the files database was the same as in the SQL side of things, so we could load old files for a new package and lose track of this fact. When loading files, ensure the database version matches the version in the package before continuing with the file load operation. There are also a few other small updates in here, like skipping the sanity check for filesonly as we never delete packages, and removing some unnecessary string concatenation operations. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-04reporead: Use transparent compression on openDan McGee1-2/+2
And make filename check more lenient. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-04Ensure mirrorlist generator works if no status availableDan McGee1-4/+7
Saw this error come through on the live site today, as well as being reproducible when no mirror check runs have happened in the last 24 hours on a development machine. Let mirrors that have no available checks show up on this page, but be sorted last and show a score of unknown. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-04reporead: orphaning code cleanup and debug removalDan McGee1-18/+12
Cleanup to some of the orphan code cleanup, especially so we are never lying in the percentage we print, and remove a bunch of debug prints that aren't all that useful. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-11-01Point to release specific wiki page for more infoDieter Plaetinck1-1/+1
Signed-off-by: Dieter Plaetinck <dieter@plaetinck.be> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Convert a bunch of links to HTTPSDan McGee8-25/+26
Now that the wiki is HTTPS for the most part, we should skip the redirects and link directly. Also switch some www links for mailman resources to the mailman subdomain. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Use HTTPS for links to AURDan McGee4-5/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-28Always use HTTPS for jQueryDan McGee1-4/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-27Use CDN on the artwork pageDan McGee1-38/+40
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-27Allow index and donate page to use resources from CDNDan McGee2-12/+20
The index page is obviously hit more than just about every other page, so this will benefit the most from moving the sponsor images to a different domain. The donate page uses the same images. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-27Add tag for inserting CDN prefix on media URLsDan McGee1-2/+18
This tag will just be placed before any media reference that is available on the CDN; if the CDN is enabled and CDN_PATH/CDN_PATH_SECURE are defined the correct URL will be generated. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-26Make package differences JS a bit more efficientDan McGee2-15/+21
Use an id-based selector so we can get the necessary table rows to filter a lot more quickly than a lengthy CSS selector. Also use traversal rather than selectors when grabbing the package versions. This looked like a 3x-4x increase in speed while testing locally. Signed-off-by: Dan McGee <dan@archlinux.org>