summaryrefslogtreecommitdiff
path: root/media/archweb.js
AgeCommit message (Collapse)Author
2011-05-02Ensure we can handle all values in file size columnsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-05-02Add filesizeformat filter to sizes in reports/bigEvangelos Foutras
We also add a new 'filesize' tablesorter parser that handles all the suffixes found in django's filesizeformat filter. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-21Fix news preview with CSRF and AJAX in Django 1.2.5release_2011-03-21Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-01Fix JS date parsing sort helperDan McGee
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-01-18Small JS clarification for finding table cellDan McGee
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 McGee
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-14Use more efficient updateCell event after todo list clickDan 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 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-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>
2010-10-26Make package differences JS a bit more efficientDan McGee
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>
2010-10-20Package differences small updatesDan McGee
* Add 'multilib-testing' to the CSS class list to hide for [multilib] * Select 'Only In Both' by default, which is probably the most useful option * Unselect 'Minor Version Mismatches' by default Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Move most inline JS into script filerelease_2010-09-30Dan McGee
We're getting to the point where we are starting to have a good chunk of JS scattered about. Centralize a lot of it for maintenance and performance purposes. Signed-off-by: Dan McGee <dan@archlinux.org>