summaryrefslogtreecommitdiffstats
path: root/templates
AgeCommit message (Collapse)AuthorFilesLines
2010-12-13Link to JSON mirror status viewDan McGee1-2/+5
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-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-04Display flag date in package search and allow sortingDan McGee1-0/+3
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-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-29Convert 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-29Use HTTPS for links to AURDan McGee4-5/+5
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-26Make package differences JS a bit more efficientDan McGee1-1/+1
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-22Add flag date column to developer dashboard listDan McGee1-0/+4
This only implements about 25% of FS#14656, but it is a good start and trivial to add for now. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Show a message when filelist is out of dateDan McGee2-3/+6
This addresses FS#21394 and ensures that the website is less misleading when a package gets new files but they are not yet reflected in the shown list. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-21Package differences small updatesDan McGee1-2/+2
* 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-10-19Show flag out-of-date date on package details pageDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-19Unify hyphenation of out-of-date textDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-18Comment out paypal donations for nowDan McGee2-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-10Update link to AirVMDan McGee2-3/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-10Fix trademarks email typoDan McGee1-1/+1
FS#21157. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-07Factor check completion pct into mirror scoreDan McGee1-2/+3
Use it as the divisor in our slightly longer equation. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-07Add a merchandise storeDan McGee1-2/+4
And also update the lingo we use here, 'schwag' implies free and can be a bit confusing for people to see, especially non-English speakers. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-06Make it actually possible to upload a new dev imageDan McGee1-1/+1
We need to both submit the form with the correct encoding and then bind the form itself to request.FILES and not just request.POST. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Adding changing of user profile detailsAngel Velasquez1-1/+8
The idea of this patch is allow to the developers who have an account, to change their data without asking some admin to do it for them. Dan: put private email address field back as it is used for a different purpose; add some help text and field names as appropriate. Signed-off-by: Angel Velasquez <angvp@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Update AirVM brandingDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-10-05Make user profile a OneToOneFieldDan McGee1-1/+1
We had this set up as a unique ForeignKey before, which adds some indirection due to the RelatedManager object being there. By making it a OneToOneField, we can get the profile object directly, enforce uniqueness, and also use it in select_related() calls to make our profiles page a bit more efficient. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Move most inline JS into script fileDan McGee6-122/+7
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>
2010-09-30Remove console.log statementsDan McGee1-2/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-30Mirror status improvementsDan McGee2-11/+50
* Fix sorting issues. '', 'unknown', and '∞' should now always sort after anything else in the list. * Add a completion percentage column; this will tell you at a glance if a mirror is sometimes unresponsive. This should probably be incorporated into the mirror score. * Make a few more things dynamic in the template, like the time back the page reflects. * Add some additional template tags for formatting things. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-25Add a basic mirror details pageDan McGee2-1/+60
Still some work to do here, but this covers the basics of the public view we can show for mirrors and their associated data. The upstream and downstream links should be working OK to aid navigation, but right now we have some potential dead links for non-authenticated users if they click a link to a "private" mirror. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-25Make general mirror list view publicDan McGee1-18/+20
Hide some columns when not logged in because they aren't relevant for the general public, but this will work nicely as a base page for all of our known mirrors. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-25Add note about mean syncing delayDan McGee1-1/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-25Give more information about mirror check runs and frequencyDan McGee1-4/+7
Show how many times the check has ran in the last 24 hours, as well as the average interval between checks. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-24Fix news permission checking in templatesDan McGee2-6/+6
We were still looking at the permissions on the main application; these need to be updated to point at the news application instead. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-23Update BBS and bugs links to use HTTPSDan McGee6-27/+27
Since we only do HTTPS now on these services, no point in sending someone through a useless redirect. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-23Update newsletter/magazine linkDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Switch mirror status delay display to average delayDan McGee2-5/+8
This takes a bit more work to compute, but since we cache all of this anyway it isn't too big of deal. Using average delay instead of last delay will be a bit more fair on mirrors that have odd syncing schedules, as well as exposing those that only sync once a day. Also fix an issue that will arise with cutoff_time being calculated once, and adjust mirror score to treat hours delay as a float rather than an integer. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Allow generated mirrorlist to take status info into accountDan McGee3-6/+21
By using the mirror score we calculate, we can sort the mirrors in the generated mirrorlist for people. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Fix self-closing anchor links for ChromeDan McGee1-3/+3
Apparently it can't parse a very normal looking <a/> because they forgot one of their original purposes doesn't require a body. Awesome. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Add link to mirror status toolDan McGee1-3/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-22Add ordering, sorting, and a lot more info to mirror status pageDan McGee2-5/+53
This should get this to the point where it is releasable to the general public for their use and pleasure. Still not sure on how often the check should be run, and we probably want to incorporate this mined data into some other things like the mirror list generator. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Add mirror status viewDan McGee2-0/+82
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-21Update news views to use slug instead of IDDan McGee2-4/+4
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-20Fix package differences pkgrel comparisonDan McGee1-3/+4
Using the right index in the array might help; we were comparing pkgver again and not pkgrel at all. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-15Ensure consistent date formatting everywhereDan McGee7-7/+7
Set up a default DATE_FORMAT in settings.py and use it everywhere we do the '|date' template filter rather than hardcoding the value in the template. This also fixes a regression with news date/time now that we changed the field to store both date and time. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-11Restore flagged package count by maintainer in dashboardDan McGee1-10/+4
We need to do a little dropping into SQL to accomplish this, but it isn't all that bad to actually do and we can do the whole thing in one query. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09Improve todo list view pageDan McGee1-3/+10
Add total package count and incomplete package count columns. Also reduce the number of total queries by killing the query per row that was happening before. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09Remove redundant text from groups package count columnDan McGee1-12/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-09Hide multilib by defaultDan McGee1-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Add links to arch differences pageDan McGee2-1/+4
Hopefully finishes FS#20416. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-08Developer dashboard fixesDan McGee1-32/+41
As reported by Thomas, the dashboard JS dies when we try to apply table sorting to a table with no entries (those in the top section). Use some selector magic to only apply tablesorting if the table actually has rows worth sorting. Also move the package todo lists table down in the dashboard as the other two tables are more relevant for the individual developer. Signed-off-by: Dan McGee <dan@archlinux.org>