summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-14Update tablesorter minified versionDan McGee
2011-01-14Simplify JS selector for todo list complete linksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Update tablesorter cache after clicking todo list statusDan McGee
We didn't update this before, so sorting the last after checking off a few todos didn't work right, as it was using the old values. Fix it by adding a call to update; this can eventually be changed to the updateCell call commented out once I upgrade the minified tablesorter.js file. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Fix short date parsing in stock tablesorter JSDan McGee
This mirrors the change made to the minified file in 09bccb50e7. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Add non-minified tablesorter JS fileDan McGee
Helpful for places like being on an airplane and needing to look at the source, and just for development purposes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Fix JS null error when parsing non-matching dateDan McGee
We didn't escape early with some value, causing an invalid dereference. While fixing this, also touch up the other functions and move a few more thngs to parser dictionary attributes. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-13Make userpkgs a simple_tagDan McGee
Cleans up the code a decent amount. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-10Fix old news URLs not redirecting properlyrelease_2011-01-10Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Convert function expressions to declarationsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09gjslint recommended javascript cleanupsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add a long datetime parser to table sorting codeDan McGee
This comes into play on our new developer clocks page, where the last column was not sorting at all as expected. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Only match full text on built-in short date parserDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Use common timezones onlyDan McGee
No need to show historical and deprecated zone names. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add time zone format spec to clock pageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pagerelease_2011-01-08Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Merge branch 'dev-timezones'Dan McGee
2011-01-08Remove automatic ID column definitionsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Add developer world clocks pageDan McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Settings file tweaksDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Remove default adminsDan McGee
Set them in local_settings instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-06Update readmeDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-29Bump requirements files to latest versionsrelease_2010-12-29Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-29Commit during reporead on a per-arch basisDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Get rid of all references to repos.archlinux.orgThomas Bächler
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-14Fix urls precedence in mirror viewsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Refactor packages urls for clean lookDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move more URLs out of root urlconfDan McGee
Things are a bit cleaner now. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Move news urls into own fileDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Split urls.py up by view prefixDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13Add a mirror status JSON viewDan McGee
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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Fix mirror check unicode functionDan McGee
Needed a few self. qualifiers in there. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Slim down required by listingsDan McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-07Move some common package code to a functionDan McGee
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 McGee
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 McGee
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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-03Display flag date in package search and allow sortingrelease_2010-12-03Dan McGee
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 McGee
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 McGee
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 McGee
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 McGee
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>