summaryrefslogtreecommitdiffstats
path: root/templates/todolists
AgeCommit message (Collapse)AuthorFilesLines
2013-05-11Add a 'last touched by' column to todolist detail viewDan McGee1-0/+2
This allows you to see very easily who last manipulated a package todolist item in case you have a need to know. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-04-20Move all script blocks into {% script_block %} sectionDan McGee2-0/+6
I added this a while back, but didn't roll it out to all templates. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Make todolists fully publicDan McGee1-0/+2
Remove the login_required decorator from the index and detail views to allow everyone to see the same thing. Of course, when I say "same" here, unauthenticated users don't see the same links developers do to mark packages complete and incomplete. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Add some explanatory info back to todolist index pageDan McGee1-4/+7
This is similar to what we had before on the public list page; put it here too so the page explains at least a little to the general public. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Sort incomplete todolists firstDan McGee1-1/+1
And continue sorting by creation date after that. Turns out most people care about incomplete todolists more than complete ones. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-03-12Remove public todolists viewDan McGee1-69/+0
Replace this with a redirect to the developer todolist index page. Signed-off-by: Dan McGee <dan@archlinux.org>
2013-01-29Fix missing template variable for removed todolist packagesDan McGee1-1/+3
When there was no longer an attached package, running in template debug mode showed we were trying to dereference a variable that didn't exist. Fix the issue by adding a bit more to the if conditional block. Signed-off-by: Dan McGee <dan@archlinux.org>
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-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>
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 McGee2-4/+4
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 McGee4-31/+20
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-11Use multiple separate document.ready() handlersDan McGee1-1/+3
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-09-15Make todolist filtering functions more genericDan McGee1-3/+4
This will allow us to use them elsewhere in a future commit. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-09-15Standardize spelling of 'todo list'Dan McGee1-3/+3
We use a space everywhere but a few places; fix the exceptions. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-25Add arch and repo filter to todolist packagesDan McGee1-2/+14
This matches what we do on signoffs. Also beef up the styling a bit and add the dynamically updated package count info. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Enable filtering of todolist packagesDan McGee1-2/+20
This matches the filtering options we have on the signoffs and package differences pages. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-09Add a new jquery_tablesorter CDN template tagDan McGee3-6/+3
And use it everywhere we were including the file before. This should make updating the version a heck of a lot easier. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24Convert STATIC_URL usage to {% static %} template tagDan McGee3-6/+9
This is a lot more flexible and will allow more than just simple prefixing of the static file resources. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-20Fix todolist sort by maintainerDan McGee1-1/+1
FS#28546. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-12Show current version in todolist details viewDan McGee1-4/+10
This also reorders the columns to be in the same order as package search for consistency. Addresses FS#28369. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-04Add new todolist pkgbase list viewDan McGee1-0/+5
This is for use after rebuilds when moving packages out of the staging and testing repositories. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-06Convert to and enable staticfiles contrib applicationDan McGee3-5/+6
This moves our site static files into the sitestatic directory if they are shared resources, and also moves a handful of things (such as the artwork logos) into application-specific static/ directories. This allows the staticfiles contrib app to work after a few settings tweaks, a run of collectstatic, and massaging the hardcoded '/media/' prefix out of our templates. Django 1.4 is going to make this a lot easier to move things to a CDN and provides better template tags; for now this is setting the stage before we can move to that. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-04Allow signoff manipulation if you are a maintainerDan McGee1-1/+1
This is a more expensive and not-yet-optimized way of doing this, but we can fix that later as needed. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-03Add URL to todolist emailDan McGee1-4/+5
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-10Use new package details link tag in templatesDan McGee2-4/+5
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09Ascii-ize the todo list email package listDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-15Use date template filter on datetime field displayDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-08Todo list styling and info cleanupsDan McGee3-7/+10
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-04Send only one email per todolistDan McGee1-9/+4
Customize each email on a per-maintainer basis and list all the relevant packages inside, rather than spamming people. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-03-03Template fine-grained permissioningDan McGee1-0/+4
Rather than use user.is_authenticated, rely on certain permissions being set for the user. This allows us to open up the developer side and not assume everyone is a package maintainer. Allow all logged-in users to still view todo lists, but don't show the complete/incomplete links (only the text) unless they are allowed to mess with todo lists. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-01-15Simplify JS selector for todo list complete linksDan McGee1-3/+3
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-09-30Move most inline JS into script fileDan McGee1-23/+2
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-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-01Make sort work on developer todo list statusDan McGee1-1/+13
Because it was a link, the sort didn't properly sort on the complete/incomplete status when viewing a todo list. Add a custom parser to fix it. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Make public todolist view more usefulDan McGee3-16/+42
Show all the details the developer page does, make the lists always visible, and add JS table sorting to each table on the page. This commit also adds table sorting to the developer list view as well. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Mark todolist description as being safe to contain HTMLDan McGee5-6/+7
Hopefully we can trust our developers on this one. :) Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Restore odd/even markup after JS sortDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-27Add table sorting to a handful of pagesDan McGee1-2/+8
Anything that it makes sense to add it to gets the treatment here. Anything with pagination can wait as that will be tougher. We also need to deal with odd/even formatting. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add box style to public todo list pageDan McGee1-0/+3
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Hide the details of the todo list until clickingDusty Phillips1-2/+11
Dan: don't load jQuery until late in the page load. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Add a basic view for todo listsDusty Phillips1-0/+18
Dan: rename template and view to something a bit more concise. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-25Remove an extra trailing slash that is causing a broken url on todolists.Dusty Phillips1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-07-06Add absolute URL method for todo listsDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-21Fix template syntax errorDan McGee1-1/+1
Whoops, forgot the closing tag when I was playing with autoescape. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-17Fix autoescape in plain text emailsDan McGee1-2/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-12Remove action when submitting to same URLDan McGee1-1/+1
It looks like the `action="."` business was screwing up some browsers, notably lynx and links. We don't need it as the default is to submit to the same page anyway, so kill this gunk and see if it fixes a login CSRF issue. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-05Updates for CSRF protection in Django 1.2.XDan McGee1-1/+1
Signed-off-by: Dan McGee <dan@archlinux.org>