summaryrefslogtreecommitdiffstats
path: root/devel
AgeCommit message (Collapse)AuthorFilesLines
2010-02-27reporead: whitespace cleanupsDan McGee1-11/+11
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: only reset needsupdate when setting last_updateDan McGee1-1/+1
Otherwise a --force will clear out all our flagged packages. :/ Whoops. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: build date data is crazyDan McGee1-1/+4
Just ignore it if it is completely screwed up. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: accommodate old-school build dateDan McGee1-1/+4
I can't believe we still have some of these around, but they are relatively straightforward to handle. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27reporead: allow a force updateDan McGee1-11/+20
This allows re-running repoadd on all packages in case of adding data or fixing a bug without rendering the last_update values in the database useless. For packages that aren't geting their version bumped, don't touch last_update on a force import but do touch the rest of the fields. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-27Add some additional fields to package importDan McGee1-0/+4
We can capture the build date, compressed size, and installed size when reporead runs. Even if we don't show all of it, we should pull it in. FS#14270 is requesting that the package size be shown on the website. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-17reporead: use different timestamp for each packageDan McGee1-3/+2
Since these timestamps will differ across repos and arches anyway (for a total of 10 distinct timestamps currently per hour), it isn't really necessary to only use one timestamp. Allow each package to get a unique creation time. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-11reporead: small touchups, mostly in argument validationDan McGee1-23/+30
Check the arch, check the filename for existence, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-11reporead: turn into a django-admin commandDan McGee3-0/+339
Rather than struggle with getting the environment set up, let's make this a custom Django admin command and use the flexibility that gives us. This is the initial rough cut of making it happen; further commits should clean up some of the rough edges. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-10Remove archweb prefix from all importsDan McGee1-4/+4
Unnecessary, and lets us standardize on not using it everywhere. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-02-01Make marking out of date actually workDan McGee1-5/+3
And honor the packager's notify flag, as Pierre pointed out. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31Adjust models and views for nullable maintainerEvangelos Foutras1-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-30Use select_related() for some mirror pagesDan McGee1-1/+1
We also traverse relationships here, so select the associated items. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-12-02Add credential requirements tests to devel appIsmael Carnales3-4/+41
* Add models.py required file to app * Use user_passes_test instead of custom superuser checking in new_user_form as it implements the same "next" redirection as login_required Signed-off-by: Ismael Carnales <icarnales@gmail.com>
2009-11-10added login_required to devel viewsIsmael Carnales1-0/+5
2009-11-10changed landing viewIsmael Carnales1-9/+0
- moved devel.views.siteindex to public.views.index - using template from public view with added devel menu - added extra styles and images
2009-11-10modified import paths from archweb_dev to archwebIsmael Carnales1-4/+4
2009-09-16Add a basic mirror view for the dev siteDan McGee1-0/+6
Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-12merge fixDusty Phillips1-3/+3
2009-08-11So now the created user passwords should work and Aaron will be less pissed ↵Dusty Phillips1-4/+4
off at me.
2009-08-10Sometimes its better if you test your code before deploying. Other times, ↵Dusty Phillips1-0/+1
you just fix the missing imports in a second commit.
2009-08-10Add a page to aid Aaron in user creation.Dusty Phillips1-1/+52
2009-01-31Put maintainer list by last name.Dusty Phillips1-1/+1
2008-11-15alphabetical order on maintainers and packagesDusty Phillips1-1/+1
2008-11-09don't show inactive users in dev listDusty Phillips1-1/+1
2008-10-12simplify both look and code for dashboardDusty Phillips1-13/+11
2008-10-11use RequestContext because its standardDusty Phillips1-6/+7
2008-10-11drop useless viewDusty Phillips1-6/+3
2008-10-11fix broken maintainer packages linksDusty Phillips1-14/+6
2008-10-07make form submit some but not all valuesDusty Phillips1-2/+2
2008-10-07move validation template tage temporarily; it will be removed eventuallyDusty Phillips2-15/+0
2008-10-07fairly invasive refactor to developer dashboard to be more django friendlyDusty Phillips1-22/+5
2008-10-07indicate that index is the dev dashboardDusty Phillips1-1/+1
2008-10-07fix bug introduced by previous code removalDusty Phillips1-0/+2
2008-10-07Dusty's 80 char issueDusty Phillips1-2/+2
2008-10-07remove senseless codeDusty Phillips1-5/+0
2008-10-07drop a bunch of static stuff necessary only in archweb_pubDusty Phillips1-28/+0
2008-10-07remove reference to old cvs entryDusty Phillips1-3/+0
2008-10-06drop a bunch of unusued importsDusty Phillips1-3/+1
2008-09-17port profile_form to newformsDusty Phillips1-15/+25
2008-06-22Remove guide from dashboard and link to wikiFix for FS#10647Dusty Phillips1-7/+0
2008-06-05Added an ex-developer 'fellows' page.eliott1-0/+4
2008-04-10Removed login_required from the individual views.eliott1-6/+0
Not entire dev site requires login.
2008-04-10Changed to arches and repos in the db.eliott1-16/+13
Added them to the django admin interface as well.
2008-04-05Fix for FS#9554eliott1-1/+4
Backported and modified from 'master'
2008-03-23Added the ability to see flagged packages only, per use or repoeliott1-9/+16
2008-03-23Refactored the model to remove arch and repo tables.eliott1-8/+8
Refactored the model to remove the arch and repo tables. Those data points are now encapsulated in the package table as an ENUM field. Changes to models and templates as needed.
2008-03-08More changes to the multiarch model.eliott1-8/+15
2008-03-08renamed donator model to donor.eliott1-6/+6
remove category model
2008-03-08Moved models aroundeliott2-63/+3