Commit Graph

13 Commits

Author SHA1 Message Date
Jelle van der Waa
2c044ad130 todolists: remove old_id from todolist model
Old todolist items contained an old_id to keep links working, these
items where most recenlty created 6 years ago. Since old todolists of a
long time ago aren't particularly interesting they will be removed.

Closes #141
2018-10-02 13:46:22 +02:00
Jelle van der Waa
411e1c5479 todolists: Add json endpoint for todo detail view
Add a /todo/$name/json endpoint which returns the json for a todo list
item.
2018-07-06 22:08:26 +02:00
Johannes Löthberg
996ef6ec72 Change urls.py from patterns to list of url()
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00
Dan McGee
327bd4cfc5 Paginate the todolist listing page
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-11-08 19:15:38 -06:00
Dan McGee
6172b6dd09 Make todolists fully public
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-11 18:48:31 -05:00
Dan McGee
827b426b4d Fix list_pkgbases view call
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-31 11:04:41 -06:00
Dan McGee
0c94cc4465 Use todolist slugs for all URLs
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-12-28 14:48:29 -06:00
Dan McGee
c8ece67cec Convert to using new todolist models everywhere
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-28 14:48:29 -06:00
Dan McGee
b8c20439c0 Change Django urls.py import
Until Django 1.3, the functions include(), patterns() and url() plus
handler404, handler500 were located in a django.conf.urls.defaults
module.

In Django 1.4, they live in django.conf.urls.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-23 19:54:40 -05:00
Dan McGee
7b7dcfaa7c Add new todolist pkgbase list view
This is for use after rebuilds when moving packages out of the staging
and testing repositories.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-01-04 12:15:29 -06:00
Dan McGee
064813560c Show more info about todolists on developer dashboard
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-09 16:34:10 -05:00
Dan McGee
d456ff32aa Convert todolist delete to class-based view
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-07 17:03:33 -05:00
Dan McGee
6e3dc1be01 Move more URLs out of root urlconf
Things are a bit cleaner now.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-13 14:56:43 -06:00