summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17Allow for optional info in required by displayDan McGee2-16/+22
We need to make our root object the PackageDepend rather than the Package to get at this, so do a slight refactor on get_requiredby(). Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-17Read in optional deps and show in web interfaceDan McGee4-27/+44
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Move license to a related modelDan McGee7-8/+413
This allows us to store multiple licenses per package in a more elegant fashion, and will later allow us to search and filter on this information. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Allow optional deps in depends modelDan McGee2-0/+162
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Clean up Package related objects codeDan McGee5-11/+17
Main change is just to move groups from the default packagegroup_set location to a related_name of groups. Also refer to the Package class directly rather than by text string if we have it available. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-15Use date from model in news feedDan McGee1-4/+5
Now that this a datetime and not just a date, we can use it directly. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-01Fix JS date parsing sort helperDan McGee1-3/+6
How could I ever forget the awesomeness that is the JS date constructor that takes a month value between 0-11, not 1-12. Total insanity. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-01Use os.path.join for path manipulationDan McGee1-1/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-31Defer format string substitution to loggerDan McGee3-29/+30
Don't use 'fmtstr % (arg1, arg2)' type format; logger can be passed a format string and the arguments to populate it. Saves a bit of work for strings that never end up getting displayed anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-21Add an 'unflag all' optionDan McGee3-4/+16
This allows the exact opposite of the 'flag' option as presented to the end user, especially helpful for split packages. The original single unflag package option is also still available. Implements FS#22520. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Link dev names to email on clocks pageDan McGee1-8/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Add arch-specific group overview pagesDan McGee5-10/+21
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Small JS clarification for finding table cellDan McGee1-1/+1
Although it happened to be the parent element in this case, we are really just looking for the containing cell. Change the call to closest so we are future-proofed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-18Make package signoffs AJAX if JS is enabledDan McGee4-17/+45
This makes the signoffs page a heck of a lot more usable as you can go through and click a bunch at once without waiting for the rather slow page to reload. Hopefully the first step to bringing life back into this part of the site. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Clean up news redirect argumentDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Use more efficient updateCell event after todo list clickDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Update tablesorter minified versionDan McGee1-1/+3
2011-01-15Simplify JS selector for todo list complete linksDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-14Update tablesorter cache after clicking todo list statusDan McGee1-1/+4
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 McGee1-2/+2
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 McGee1-0/+1031
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 McGee1-8/+8
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 McGee1-25/+12
Cleans up the code a decent amount. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-10Fix old news URLs not redirecting properlyDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Convert function expressions to declarationsDan McGee1-6/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09gjslint recommended javascript cleanupsDan McGee1-26/+28
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Add a long datetime parser to table sorting codeDan McGee1-3/+19
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-09Only match full text on built-in short date parserDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-09Use common timezones onlyDan McGee1-1/+1
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 McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-08Link to dev clocks pageDan 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 versionsDan 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>