Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-01 | Provide SVN links to trunk/ for each package | Dan McGee | 1 | -3/+10 | |
This is, at least for me, more useful than the link to a specific build of a package. We provide both so no one should lose here. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Make looking up a package with many required by entries faster | Dan McGee | 1 | -1/+1 | |
We were doing a 2 queries for each 'Required By' entry- arch and repo as usual. Add it to the original query so we don't waste time. Noticed while looking at the glibc description page. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Handle empty pkgdesc and url a bit better | Dan McGee | 1 | -0/+211 | |
Put an actual NULL in the database and handle it for both display and import. Also add a migration to clean up any bad data we currently have in there. Fixes FS#17144. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Make bugs link more useful | Dan McGee | 1 | -0/+9 | |
Link directly to the right project in Flyspray instead of whatever the user looked at last. Fixes FS#13166. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Kill a no longer necessary hack in the admin | Dan McGee | 2 | -15/+1 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Use select_related() to make a few more places more performant | Dan McGee | 1 | -4/+10 | |
Especially when looking at packages, we always want the arch and repo. Another big hunk of changes deals with the very inefficient signoffs code. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Add a pkgname index | Dan McGee | 2 | -2/+210 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Reintroduce optimized code for Todo listings | Evangelos Foutras | 1 | -4/+4 | |
Now that maintainer is nullable, Django will use a LEFT OUTER JOIN with this code, so orphan packages won't be omitted. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Adjust models and views for nullable maintainer | Evangelos Foutras | 1 | -1/+1 | |
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> [Dan: made a few other small touchups] Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Add migrations for nullable Package.maintainer | Evangelos Foutras | 2 | -0/+398 | |
Signed-off-by: Evangelos Foutras <foutrelis@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-31 | Add initial South migration for 'main' app | Dan McGee | 2 | -0/+440 | |
Thanks to Evangelos Foutras for the inspiration. Recreated from scratch only to make sure everything is in sync. From this point on, you will need to have the 'south' Django/Python package installed to use archweb. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-30 | Fix todolist bug with select_related() | Dan McGee | 1 | -1/+4 | |
Hey, what do you know? Using a relational DB in a non-relational way can come back to bite you. Go foreign keys! Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-01-30 | Drastically reduce loading time of Todo lists | Evangelos Foutras | 1 | -1/+1 | |
Use Django's select_related() on the TodolistPkg QuerySet to avoid making 4 database queries per package. This way we're making just one query, regardless of the number of packages in the Todo list. Local testing with 1000 entries in a Todo list show that the loading time has been reduced from 2675 ms to around 560 ms, while the number of queries has been cut down from 8005, to only 5. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-11-10 | removed RequireLoginMiddleware | Ismael Carnales | 1 | -19/+0 | |
2009-11-10 | modified import paths from archweb_dev to archweb | Ismael Carnales | 2 | -2/+2 | |
2009-10-18 | Adjust SVN links to the WebSVN URL scheme | Thomas Bächler | 1 | -4/+4 | |
2009-10-17 | Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to ↵ | Thomas Bächler | 1 | -0/+14 | |
archweb_dev. This is the original commit message by Dan: "Make package SVN links always work This should clean up the links for all varieties of things- different arches (including any), different repos (community and community-testing), and split packages. All of the logic is in one place now and any further changes should be made to the method on the package object." | |||||
2009-10-07 | Set verify_exists=False on ExternalProjects model | Aaron Griffin | 1 | -1/+1 | |
This causes issues when entering some URLs. See http://code.djangoproject.com/ticket/9918 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> | |||||
2009-09-26 | Update reporead and model to store pkgbase | Dan McGee | 1 | -0/+1 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-08-21 | Add an 'external projects' model and admin for managing the projects page. | Dusty Phillips | 2 | -1/+10 | |
2009-08-12 | Too many columns in mirror admin | Dusty Phillips | 1 | -1/+1 | |
2009-08-12 | Add a couple columns to user admin at Aaron's request. | Dusty Phillips | 1 | -0/+2 | |
2009-08-12 | Add a couple fields to mirror admin at Aaron's request | Dusty Phillips | 2 | -1/+5 | |
2009-07-24 | Allow setting allowed repos to empty. | Dusty Phillips | 1 | -1/+1 | |
2009-07-24 | Repo-based permissions when adopting packages. | Dusty Phillips | 1 | -0/+1 | |
2009-04-03 | Make donor name unique | Dan McGee | 1 | -1/+1 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-02-08 | Store IP address as a char field | Dan McGee | 1 | -1/+1 | |
Otherwise the netmask portion can get cut off because of the way Django by default limits IP Address fields to 15 characters. Oops. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-02-08 | Add DB index on country field | Dan McGee | 1 | -1/+1 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-02-07 | Mirror rsync IP: allow netmask specification | Dan McGee | 1 | -0/+17 | |
Noticed this was necessary while trying to get all the rsync IPs into the database. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-02-06 | Use __unicode__ over __str__ | Dusty Phillips | 1 | -8/+8 | |
2009-02-06 | Ensure all mirror URLs are saved with a trailing slash | Dan McGee | 1 | -2/+14 | |
Add a clean_url() function to a custom ModelForm to accomplish this. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-02-06 | Refactor mirror model | Dan McGee | 2 | -12/+54 | |
Break the original model down into a few different components that should give us a lot more flexibility. Mirror is now the top level entity with one-to-many relationships to both URLs and rsync IP addresses. This should allow the DB model to serve all of our currently unsynced needs. Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2009-01-01 | display the license field on package descriptions | Dusty Phillips | 1 | -0/+1 | |
2008-12-06 | User profiles are cool. Go go power notebook | Dusty Phillips | 1 | -1/+12 | |
2008-11-15 | alphabetical order on maintainers and packages | Dusty Phillips | 1 | -0/+1 | |
2008-10-13 | backport some archweb_pub changes into archweb_dev | Dusty Phillips | 1 | -3/+13 | |
2008-10-12 | separate copyrighted middleware from my additions | Dusty Phillips | 2 | -16/+2 | |
2008-10-12 | simplify both look and code for dashboard | Dusty Phillips | 1 | -2/+2 | |
2008-10-11 | use RequestContext because its standard | Dusty Phillips | 1 | -4/+0 | |
2008-10-11 | fix another inefficient query | Dusty Phillips | 1 | -21/+1 | |
2008-10-11 | replace an ugly query with a nice query | Dusty Phillips | 1 | -10/+4 | |
2008-10-07 | need better than ids for options | Dusty Phillips | 1 | -0/+3 | |
2008-10-07 | fairly invasive refactor to developer dashboard to be more django friendly | Dusty Phillips | 1 | -19/+5 | |
2008-10-07 | these tests will be broken and should have some real tests written later | Dusty Phillips | 1 | -49/+0 | |
2008-10-07 | optimize get_flag_stats | Dusty Phillips | 1 | -9/+8 | |
2008-10-06 | drop references to the wiki | Dusty Phillips | 1 | -1875/+0 | |
2008-10-06 | drop a bunch of unusued imports | Dusty Phillips | 2 | -4/+1 | |
2008-10-06 | port admin to django 1.0 | Dusty Phillips | 2 | -32/+38 | |
2008-10-06 | port news to django 1.0 using generic views | Dusty Phillips | 1 | -1/+3 | |
2008-10-06 | use an autouser middleware to set the creator of an object | Dusty Phillips | 1 | -0/+15 | |