summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2013-01-27Fix todolist maintainer sortingDan McGee1-2/+2
And also fix up a place where we dereferenced a variable in a template that doesn't exist. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-23Spice up the release listing page a bitDan McGee1-4/+15
Add JS tablesorter code and add some style to the yesno column. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-22Show staging version on todolist view pageDan McGee1-0/+5
If one exists, it is easy enough to show it here so in-progress todolists can easily be cross-checked with the current state of the repository. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Implement torrent data parsing and extraction via bencodeDan McGee1-3/+21
This allows uploading of the actual torrent file itself into the webapp and then pulling the relevant pieces of information out of it. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add basic release list and details viewsDan McGee2-0/+68
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add more metadata to releng Release modelDan McGee1-1/+3
Add a file_size field which we will use in the RSS feed, and also add a field for future storage of the torrent data itself. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Publicize the releases feedDan McGee2-2/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-19Add double click event handler to hide imageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-16Convert all usages of flag icons to new spriteDan McGee7-6/+24
This uses a new template tag to avoid repeating construction of the necessary HTML element all over the place. The site should look exactly as it did before, except now you don't have to download 20+ images to see some pages. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-16Add a little easter egg for people to findDan McGee2-0/+17
Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-14Drop country column from mirror tableDan McGee6-13/+11
We now always look for this information at the URL level, not the mirror level. This simplifies quite a bit of code in and around the mirror views. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-31Fix todolist permission typoDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Add a todolist package details link template tagDan McGee3-5/+6
Given the way we retrieve certain related objects, it makes more sense to use a custom tag here rather than our generic package details link tag. When viewing a large todolist, this saves significantly on the number of queries we need to build the page. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Use todolist slugs for all URLsDan McGee1-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Convert to using new todolist models everywhereDan McGee5-36/+25
This is a rather widespread set of changes converting usage to the new todo list and todo list package model recently introduced. The data migration is not included in this commit. After this commit, the old model should no longer be referenced anywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28Make link to mirror overview list publicDan McGee2-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-27Update D3 to 3.0.0Dan McGee3-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-12Collapse really long signoff specifications using JSDan McGee1-1/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-11Use multiple separate document.ready() handlersDan McGee4-6/+13
If one of them breaks, we don't want to prevent the rest of the on-load events from firing. This is currently a problem on some browsers with the versions of jQuery and tablesorter we are using. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-04Add charset to meta tagsDan McGee1-0/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-27Don't cache package properties as aggressivelyDan McGee1-3/+3
For package signatures, it turns out it is way cheaper to just parse the signature again rather than going though all the decorator and cache_function_key business. This speeds up the mismatched signatures report significantly once this is removed. For base_package, given that we only call it once from our package details template, it makes little sense to cache the result. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Minor download template tweaksDan McGee1-10/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Show release notes on downloads pageDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Move some logic out of the templates to the Release modelDan McGee1-8/+8
This includes magnet URI generation, ISO paths, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-21Add Release model to relengDan McGee1-12/+10
This should prevent the need for monthly template updates from Pierre and Thomas; best to just let them enter the data themselves and have it show up on the website. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Move JSON keys view to public/ appDan McGee1-1/+1
This seems like a more appropriate place, and now the visualization is done here anyway so we should move the data backing it. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Move PGP key visualizations to master keys pageDan McGee2-7/+21
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Mirror details style and JS cleanupDan McGee1-3/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Slight master key template adjustmentDan McGee1-0/+4
This is in anticipation of moving the visualization stuff to this page rather than grouped with unrelated things. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Prefetch the available protocols on the mirror overview pageDan McGee1-1/+1
Otherwise we are doing one query per mirror, which at this point is over 100 separate queries. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-12Remove SevenL from sponsors listDan McGee2-19/+0
They've been good to us for several years, but our hardware requirements have changed and we've moved on to using different machines for the purposes this donated machine served. Thanks! Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-10Add initial version of mirror status chartDan McGee1-0/+7
Still have some hardcoded stuff to rip out and replace to make this a bit more dynamic on things like sizing, but for now, this is a great start. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-01Update for November ISO releaseDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-01download.html: Provide a magnet linkThomas Bächler1-2/+3
Some people prefer these over torrent files, as they're easier to pass than the torrent files themselves. On updates, this only needs the new info hash. The tracker bits are optional, but ensure that the torrent client gets peers more quickly to receive the actual torrent file. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-30Remove information regarding test ISOsThomas Bächler2-15/+0
The test builds are dead and nobody is taking care of them. With our monthly releases, they serve no purpose. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-27Fix news feed content displayDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-27Remove usages of 'django.contrib.markup'Dan McGee3-7/+5
Switch to the news model being able to spit out the HTML version of the content, and don't use the markup contrib module. This is deprecated as of Django 1.5 so we can move off it now to save trouble down the road when it is fully removed. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-26Enable safe mode for markdown parsingDan McGee3-4/+4
Although we don't allow unauthenticated users to post content, we should still cover our bases here and ensure people can't inject stuff into the production website via an inadvertent XSS. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-21Remove charset declaration <meta/> tagDan McGee1-1/+0
This belongs in HTTP headers, not here. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Remove print stylesheetDan McGee1-1/+0
This hasn't been updated in ages, and who is printing out pages from the website anyway? Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-15Convert Click & Pledge logo to PNGDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-10-06Update download page for new releaseDan 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-01Collapse long lists of related packagesDan McGee2-16/+9
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-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-26Use minified typeahead JS fileDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add structured data to developer listing pagesDan McGee1-5/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add a new column to developer repo statsDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-25Add typeahead dropdown to front page packages searchDan McGee1-0/+18
This uses the existing OpenSearch query endpoint to perform the search and displays the results accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>